+ else if( !strcmp( psz_cmd, "mosaic-alpha" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-alpha", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-height" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-height", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-width" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-width", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-xoffset" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-xoffset", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-yoffset" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-yoffset", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-align" ) )
+ {
+ if( strlen( newval.psz_string ) > 0 )
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-align", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-vborder" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-vborder", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-hborder" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-hborder", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-position" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-position", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-rows" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-rows", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-cols" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-cols", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "mosaic-keep-aspect-ratio" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "mosaic-keep-aspect-ratio", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "time-format" ) )
+ {
+ if( strlen( newval.psz_string ) > 0 )
+ {
+ val.psz_string = newval.psz_string;
+ var_Set( p_input->p_libvlc, "time-format", val );
+ }
+ else
+ {
+ val.psz_string = "";
+ var_Set( p_input->p_libvlc, "time-format", val);
+ }
+ }
+ else if( !strcmp( psz_cmd, "time-x" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "time-x", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "time-y" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "time-y", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "time-position" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "time-position", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "time-color" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = strtol( newval.psz_string, NULL, 0 );
+ var_Set( p_input->p_libvlc, "time-color", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "time-opacity" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = strtol( newval.psz_string, NULL, 0 );
+ var_Set( p_input->p_libvlc, "time-opacity", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "time-size" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "time-size", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "logo-file" ) )
+ {
+ if( strlen( newval.psz_string ) > 0 )
+ {
+ val.psz_string = newval.psz_string;
+ var_Set( p_input->p_libvlc, "logo-file", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "logo-x" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "logo-x", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "logo-y" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "logo-y", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "logo-position" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = atoi( newval.psz_string );
+ var_Set( p_input->p_libvlc, "logo-position", val );
+ }
+ }
+ else if( !strcmp( psz_cmd, "logo-transparency" ) )
+ {
+ if( strlen( newval.psz_string ) > 0)
+ {
+ val.i_int = strtol( newval.psz_string, NULL, 0 );
+ var_Set( p_input->p_libvlc, "logo-transparency", val );
+ }
+ }
+