Bugfix in the LibAvContextHandle when a file with multiple streams is
selected
This commit is contained in:
1 parent
b93038904b
commit
1b4efd76b0
2 files changed
+7
-6
No files matched your search
@@ -62,7 +62,8 @@ QString InputStream::supportedReadFormats()
|
||||
{
|
||||
QString formats;
|
||||
formats = "*.yuv " // Raw video
|
||||
"*.avi"// Audio video interleaved
|
||||
"*.avi "// Audio video interleaved
|
||||
"*.wmv "// Windows media video
|
||||
;
|
||||
return formats;
|
||||
}
|
||||
@@ -84,6 +85,7 @@ QStringList InputStream::supportedReadFormatsList()
|
||||
QStringList formats;
|
||||
formats << "Raw video (*.yuv)" // Raw video
|
||||
<< "Audio video interleaved (*.avi)" // Audio video interleaved
|
||||
<< "Windows media video (*.wmv)" // Windows media video
|
||||
;
|
||||
|
||||
return formats;
|
||||
@@ -190,7 +192,7 @@ Void InputStream::readFrame()
|
||||
if( bytes_read != frame_bytes_input )
|
||||
{
|
||||
m_iErrorStatus = READING;
|
||||
qDebug() << " Reading error !!!" << endl;
|
||||
qDebug( ) << " Reading error !!!" << endl;
|
||||
return;
|
||||
}
|
||||
m_cCurrFrame->FrameFromBuffer( m_pInputBuffer, m_iPixelFormat );
|
||||
|
||||
Reference in new issue
Block a user