vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Wed Sep 26 
23:05:28 2012 +0200| [04e08a2ad5ae7f6f5df1202a80b85235c2639d1b] | committer: 
Francois Cartegnie

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=04e08a2ad5ae7f6f5df1202a80b85235c2639d1b
---

 modules/gui/qt4/components/sout/profile_selector.cpp |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/sout/profile_selector.cpp 
b/modules/gui/qt4/components/sout/profile_selector.cpp
index 751f4bd..d86d7b4 100644
--- a/modules/gui/qt4/components/sout/profile_selector.cpp
+++ b/modules/gui/qt4/components/sout/profile_selector.cpp
@@ -282,8 +282,10 @@ void VLCProfileSelector::updateOptions( int i )
         } else {
             HASHPICK( "video", "copy" );
             if ( ! value.isEmpty() )
-                smrl.option( "vcodec", "none" );
+                smrl.option( "vcodec", "copy" );
         }
+    } else {
+        smrl.option( "vcodec", "none" );
     }
 
     HASHPICK( "audio", "enable" );
@@ -305,8 +307,10 @@ void VLCProfileSelector::updateOptions( int i )
         } else {
             HASHPICK( "audio", "copy" );
             if ( ! value.isEmpty() )
-                smrl.option( "acodec", "none" );
+                smrl.option( "acodec", "copy" );
         }
+    } else {
+        smrl.option( "acodec", "none" );
     }
 
     HASHPICK( "subtitles", "enable" );

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to