function update_input_fake()
{
    remove_input_options( ":fake" );
    var mrl = document.getElementById( 'input_mrl' );

    mrl.value = "fake://";

    add_input_option( ":fake-file=" + value( "input_fake_filename" ) );

    if( value( "input_fake_width" ) )
        add_input_option( ":fake-width=" + value( "input_fake_width" ) );
    if( value( "input_fake_height" ) )
        add_input_option( ":fake-height=" + value( "input_fake_height" ) );
    if( value( "input_fake_ar" ) )
        add_input_option( ":fake-ar=" + value( "input_fake_ar" ) );
}
/* update the input MRL using data from the input fake helper */
update the input MRL using data from the input fake helper
update the input MRL using data from the input fake helper
function update_input_fake()
{
    remove_input_options( ":fake" );
    var mrl = document.getElementById( 'input_mrl' );
    mrl.value = "fake://";
    add_input_option( ":fake-file=" + value( "input_fake_filename" ) );
    if( value( "input_fake_width" ) )
        add_input_option( ":fake-width=" + value( "input_fake_width" ) );
    if( value( "input_fake_height" ) )
        add_input_option( ":fake-height=" + value( "input_fake_height" ) );
    if( value( "input_fake_ar" ) )
        add_input_option( ":fake-ar=" + value( "input_fake_ar" ) );
}
function update_input_fake ( ) { remove_input_options ( ":fake" ) ; var mrl = document . getElementById ( 'input_mrl' ) ; mrl . value = "fake://" ; add_input_option ( ":fake-file=" + value ( "input_fake_filename" ) ) ; if ( value ( "input_fake_width" ) ) add_input_option ( ":fake-width=" + value ( "input_fake_width" ) ) ; if ( value ( "input_fake_height" ) ) add_input_option ( ":fake-height=" + value ( "input_fake_height" ) ) ; if ( value ( "input_fake_ar" ) ) add_input_option ( ":fake-ar=" + value ( "input_fake_ar" ) ) ; }
update the input MRL using data from the input fake helper
update the input MRL using data from the input fake helper