From 4bc48fb2e27e0f3215f5b5250b8763f5e2cdb902 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Mon, 2 Feb 2015 16:04:25 +0000 Subject: [PATCH] Fix displaying pel values --- app/VideoSubWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/VideoSubWindow.cpp b/app/VideoSubWindow.cpp index 7641cb5..c59d566 100644 --- a/app/VideoSubWindow.cpp +++ b/app/VideoSubWindow.cpp @@ -486,7 +486,7 @@ Void VideoSubWindow::updatePixelValueStatusBar( const QPoint& pos ) Int ColorSpace = m_pcCurrFrame->getColorSpace(); if( ColorSpace == PlaYUVerFrame::COLOR_GRAY ) { - sPixelValue = m_pcCurrFrame->getPixelValue( pos.x(), pos.y(), PlaYUVerFrame::COLOR_YUV ); + sPixelValue = m_pcCurrFrame->getPixelValue( pos.x(), pos.y(), PlaYUVerFrame::COLOR_GRAY ); strStatus.append( QString( "Y: %1" ).arg( sPixelValue.Y() ) ); } if( ColorSpace == PlaYUVerFrame::COLOR_YUV )