Improve Stream class to be binary compatible

Add "*" to pixel format when it is not native in App
This commit is contained in:
jfmcarreira committed 2018-02-03 03:01:21 +00:00
1 parent 5b91c91b90
commit ee24e5a7d3
9 files changed
+165 -202

No files matched your search

+3
View File
@@ -413,6 +413,9 @@ Void VideoSubWindow::updateVideoWindowInfo()
if( m_pcCurrFrame )
{
QString m_cPelFmtName = QString::fromStdString( m_pcCurrFrame->getPelFmtName() );
if( m_pCurrStream )
if( !m_pCurrStream->isNative() )
m_cPelFmtName += "*";
m_cStreamInformation += " | " + m_cPelFmtName;
}
//#endif