Change functions in PlaYUVerFrame in order to enable more advance comparison between frames in PlaYUVerModules

This commit is contained in:
jfmcarreira committed 2015-11-08 01:42:27 +00:00
1 parent 51fa281693
commit 3ed990c102
10 files changed
+213 -188

No files matched your search

+4 -2
View File
@@ -359,7 +359,8 @@ Void FramePropertiesDock::setSelection( const QRect &selectionArea )
if( selectionArea.isValid() )
{
histogramWidget->stopHistogramComputation();
histogramWidget->updateSelectionData( new PlaYUVerFrame( m_pcFrame, selectionArea.x(), selectionArea.y(), selectionArea.width(), selectionArea.height() ) );
histogramWidget->updateSelectionData(
new PlaYUVerFrame( m_pcFrame, selectionArea.x(), selectionArea.y(), selectionArea.width(), selectionArea.height() ) );
fullImageButton->show();
selectionImageButton->show();
selectionImageButton->click();
@@ -376,7 +377,8 @@ Void FramePropertiesDock::setSelection( const QRect &selectionArea )
Void FramePropertiesDock::updateDataHistogram()
{
if( m_pcFrame->isValid() && isVisible() )
//if( m_pcFrame->isValid() && isVisible() )
if( m_pcFrame && isVisible() )
{
if( !( *pbMainPlaySwitch && m_pbIsPlaying ) )
{