Commit 323bacce authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: sout mlr generator: only apply x264 options when required

parent 79f0eec7
...@@ -256,8 +256,9 @@ void VLCProfileSelector::updateOptions( int i ) ...@@ -256,8 +256,9 @@ void VLCProfileSelector::updateOptions( int i )
if( !value.isEmpty() ) if( !value.isEmpty() )
codecoptions << QUrl::fromPercentEncoding( value.toAscii() ); codecoptions << QUrl::fromPercentEncoding( value.toAscii() );
smrl.option( "venc", if ( codecoptions.count() )
QString("x264{%1}").arg( codecoptions.join(",") ) ); smrl.option( "venc",
QString("x264{%1}").arg( codecoptions.join(",") ) );
} }
HASHPICK( "vcodec", "framerate" ); HASHPICK( "vcodec", "framerate" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment