pl.appendChild( document.createTextNode( elt.getAttribute( 'name' ) ) );
var duration = elt.getAttribute( 'duration' );
if( duration > 0 )
- pl.appendChild( document.createTextNode( " (" + format_time( elt.getAttribute( 'duration' ) / 1000000 ) + ")" ) );
+ pl.appendChild( document.createTextNode( " (" + format_time( elt.getAttribute( 'duration' ) ) + ")" ) );
pos.appendChild( pl );
if( elt.getAttribute( 'ro' ) == 'rw' )
remove_input_options( ":fake" );
var mrl = document.getElementById( 'input_mrl' );
- mrl.value = "fake:";
+ mrl.value = "fake://";
add_input_option( ":fake-file=" + value( "input_fake_filename" ) );
if( ( transcode || output ) && checked( 'sout_all' ) )
input_options.push( ":sout-all" );
- /*var mrl = document.getElementById( 'sout_mrl' );
- mrl.value = input_options.join( " " )*/
+ var mrl = document.getElementById( 'sout_mrl' );
+ mrl.value = option;
refresh_input_options_list();
}