Remove Qt dependencies inside PlaYUVerFrame: one step closer to define PlaYUVerLib

This commit is contained in:
jfmcarreira committed 2015-01-24 04:30:51 +00:00
1 parent dfa2c92a9a
commit 1b84cbb18a
9 files changed
+33 -29

No files matched your search

+2 -1
View File
@@ -218,7 +218,8 @@ Void VideoHandle::update()
QString resolution;
if( pcFrame )
{
m_pcColorSpace->setText( PlaYUVerFrame::supportedPixelFormatListNames().at( pcFrame->getPelFormat() ) );
QString pelFmt( PlaYUVerFrame::supportedPixelFormatListNames()[pcFrame->getPelFormat()].data() );
m_pcColorSpace->setText( pelFmt );
resolution.append( QString( "%1x%2" ).arg( pcFrame->getWidth() ).arg( pcFrame->getHeight() ) );
}