Commit 04e08a2a authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: sout_mrl: fix mrl generation for *codec=none||copy

parent 64e0dbf7
...@@ -282,8 +282,10 @@ void VLCProfileSelector::updateOptions( int i ) ...@@ -282,8 +282,10 @@ void VLCProfileSelector::updateOptions( int i )
} else { } else {
HASHPICK( "video", "copy" ); HASHPICK( "video", "copy" );
if ( ! value.isEmpty() ) if ( ! value.isEmpty() )
smrl.option( "vcodec", "none" ); smrl.option( "vcodec", "copy" );
} }
} else {
smrl.option( "vcodec", "none" );
} }
HASHPICK( "audio", "enable" ); HASHPICK( "audio", "enable" );
...@@ -305,8 +307,10 @@ void VLCProfileSelector::updateOptions( int i ) ...@@ -305,8 +307,10 @@ void VLCProfileSelector::updateOptions( int i )
} else { } else {
HASHPICK( "audio", "copy" ); HASHPICK( "audio", "copy" );
if ( ! value.isEmpty() ) if ( ! value.isEmpty() )
smrl.option( "acodec", "none" ); smrl.option( "acodec", "copy" );
} }
} else {
smrl.option( "acodec", "none" );
} }
HASHPICK( "subtitles", "enable" ); HASHPICK( "subtitles", "enable" );
......
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