]> git.sesse.net Git - vlc/commitdiff
* also do vlm options fix on sout.
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 20 Mar 2006 01:35:15 +0000 (01:35 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 20 Mar 2006 01:35:15 +0000 (01:35 +0000)
share/http/js/vlm.js

index 25da245c99d1073f291a57596f8f07acbe8a439f..40c5df1933188d8439f6e4efedcae92ec4504125 100644 (file)
@@ -49,7 +49,7 @@ function vlm_output_edit( dest )
 
 function vlm_output_change()
 {
-    document.getElementById( value( 'sout_dest' ) ).value = value( 'sout_mrl' ).substr(6); /* substr <-> remove :sout= */
+    document.getElementById( value( 'sout_dest' ) ).value = value( 'sout_mrl' ).substr(6).replace( /\ :/g, " option " ); /* substr <-> remove :sout= */
     hide( 'sout' );
     document.getElementById( value( 'sout_dest' ) ).focus();
 }