fix default pixel format
This commit is contained in:
1 parent
f979a837aa
commit
b2810affe8
1 file changed
+1
-1
@@ -127,7 +127,7 @@ Void VideoSubWindow::reloadFile()
|
|||||||
Bool VideoSubWindow::loadFile( QString cFilename, Bool bForceDialog )
|
Bool VideoSubWindow::loadFile( QString cFilename, Bool bForceDialog )
|
||||||
{
|
{
|
||||||
UInt Width = 0, Height = 0, FrameRate = 30;
|
UInt Width = 0, Height = 0, FrameRate = 30;
|
||||||
Int InputFormat = -1;
|
Int InputFormat = PlaYUVerFrame::YUV420p;
|
||||||
|
|
||||||
if( m_pCurrStream )
|
if( m_pCurrStream )
|
||||||
m_pCurrStream->getFormat( Width, Height, InputFormat, FrameRate );
|
m_pCurrStream->getFormat( Width, Height, InputFormat, FrameRate );
|
||||||
|
|||||||
Reference in new issue
Block a user