From b2810affe869331ce2b615d30cf15f1e68b837f3 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 6 Jan 2015 17:57:11 +0000 Subject: [PATCH] fix default pixel format --- app/VideoSubWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/VideoSubWindow.cpp b/app/VideoSubWindow.cpp index c32a39e..0f4aed1 100644 --- a/app/VideoSubWindow.cpp +++ b/app/VideoSubWindow.cpp @@ -127,7 +127,7 @@ Void VideoSubWindow::reloadFile() Bool VideoSubWindow::loadFile( QString cFilename, Bool bForceDialog ) { UInt Width = 0, Height = 0, FrameRate = 30; - Int InputFormat = -1; + Int InputFormat = PlaYUVerFrame::YUV420p; if( m_pCurrStream ) m_pCurrStream->getFormat( Width, Height, InputFormat, FrameRate );