Qt: fix profiles with vcodec=copy (fix #9342, fix #9485)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 29 Nov 2013 09:28:14 +0000 (10:28 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Fri, 29 Nov 2013 09:31:58 +0000 (10:31 +0100)
modules/gui/qt4/components/sout/profile_selector.cpp

index 5b5a724..b9f7ea8 100644 (file)
@@ -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" );