Fix displaying pel values

This commit is contained in:
2015-02-02 16:04:25 +00:00
parent 4f5d8f4cd6
commit 4bc48fb2e2
+1 -1
View File
@@ -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 )