Commit 7ca3f99c authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: fix profiles with vcodec=copy (fix #9342, fix #9485)

parent cb475372
......@@ -287,10 +287,6 @@ void VLCProfileSelector::updateOptions( int i )
HASHPICK( "vcodec", "height" );
if ( !value.isEmpty() && value.toInt() > 0 )
smrl.option( "height", value );
} else {
HASHPICK( "video", "copy" );
if ( ! value.isEmpty() )
smrl.option( "vcodec", "copy" );
}
} else {
smrl.option( "vcodec", "none" );
......@@ -320,10 +316,6 @@ void VLCProfileSelector::updateOptions( int i )
smrl.option( "afilter", valuesList.join( ":" ) );
}
} else {
HASHPICK( "audio", "copy" );
if ( ! value.isEmpty() )
smrl.option( "acodec", "copy" );
}
} else {
smrl.option( "acodec", "none" );
......
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