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 )
if( !value.isEmpty() )
codecoptions << QUrl::fromPercentEncoding( value.toAscii() );
smrl.option( "venc",
QString("x264{%1}").arg( codecoptions.join(",") ) );
if ( codecoptions.count() )
smrl.option( "venc",
QString("x264{%1}").arg( codecoptions.join(",") ) );
}
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