Transfer endianess from frame to stream only
This commit is contained in:
1 parent
c8d7fb1c43
commit
a69c32bfbf
12 files changed
+52
-51
No files matched your search
+12
-1
@@ -319,8 +319,19 @@ Void VideoHandle::update()
|
||||
if( pcFrame )
|
||||
{
|
||||
resolution.append( QString( " %1 bpp" ).arg( pcFrame->getBitsPel() ) );
|
||||
m_pcResolutionLabel->setText( resolution );
|
||||
}
|
||||
if( pcStream && pcFrame->getBitsPel() > 8 )
|
||||
{
|
||||
if( pcStream->getEndianess() == PLAYUVER_BIG_ENDIAN )
|
||||
{
|
||||
resolution.append( QStringLiteral( " (BE)" ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
resolution.append( QStringLiteral( " (LE)" ) );
|
||||
}
|
||||
}
|
||||
m_pcResolutionLabel->setText( resolution );
|
||||
|
||||
m_pcFramePropertiesSideBar->setFrame( pcFrame );
|
||||
|
||||
|
||||
Reference in new issue
Block a user