Fix load file and reload button
This commit is contained in:
1 parent
0bc716c0a5
commit
47d0636624
3 files changed
+8
-6
No files matched your search
@@ -157,11 +157,11 @@ Bool VideoSubWindow::loadFile( QString cFilename, Bool bForceDialog )
|
||||
{
|
||||
m_pCurrStream = new PlaYUVerStream;
|
||||
}
|
||||
else
|
||||
{
|
||||
delete m_pCurrStream;
|
||||
m_pCurrStream = new PlaYUVerStream;
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// delete m_pCurrStream;
|
||||
// m_pCurrStream = new PlaYUVerStream;
|
||||
// }
|
||||
|
||||
if( guessFormat( cFilename, Width, Height, InputFormat, FrameRate ) || bForceDialog )
|
||||
{
|
||||
|
||||
@@ -138,9 +138,11 @@ PlaYUVerFrame::~PlaYUVerFrame()
|
||||
{
|
||||
if( m_pppcInputPel )
|
||||
freeMem3ImageComponents<Pel>( m_pppcInputPel );
|
||||
m_pppcInputPel = NULL;
|
||||
|
||||
if( m_pcARGB32 )
|
||||
freeMem1D( m_pcARGB32 );
|
||||
m_pcARGB32 = NULL;
|
||||
|
||||
closePixfc();
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ PlaYUVerFrameStats::~PlaYUVerFrameStats()
|
||||
{
|
||||
if( m_puiHistogram )
|
||||
freeMem1D( m_puiHistogram );
|
||||
|
||||
m_puiHistogram = NULL;
|
||||
}
|
||||
|
||||
// statistics
|
||||
|
||||
Reference in new issue
Block a user