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