vlc_value_t val;
p_input_thread = libvlc_get_input_thread ( p_input, p_e);
- if( libvlc_exception_raised( p_e ) )
+ if( !p_input_thread )
return -1;
var_Get( p_input_thread, "length", &val );
vlc_value_t val;
p_input_thread = libvlc_get_input_thread ( p_input, p_e );
- if( libvlc_exception_raised( p_e ) )
+ if( !p_input_thread )
return -1;
var_Get( p_input_thread , "time", &val );
vlc_value_t value;
p_input_thread = libvlc_get_input_thread ( p_input, p_e );
- if( libvlc_exception_raised( p_e ) )
+ if( !p_input_thread )
return;
value.i_time = time*1000LL;
val.f_float = position;
p_input_thread = libvlc_get_input_thread ( p_input, p_e);
- if ( libvlc_exception_raised( p_e ) )
+ if( !p_input_thread )
return;
var_Set( p_input_thread, "position", val );
vlc_value_t val;
p_input_thread = libvlc_get_input_thread ( p_input, p_e);
- if ( libvlc_exception_raised( p_e ) )
+ if( !p_input_thread )
return -1.0;
var_Get( p_input_thread, "position", &val );
input_thread_t *p_input_thread;
p_input_thread = libvlc_get_input_thread ( p_input, p_e );
- if ( libvlc_exception_raised( p_e ) )
+ if( !p_input_thread )
return 0.0;
if( (NULL == p_input_thread->p->input.p_demux)
{
input_thread_t *p_input_thread =
libvlc_get_input_thread ( p_input, p_e);
- if ( libvlc_exception_raised( p_e ) )
+ if ( !p_input_thread )
return VLC_FALSE;
if ( !p_input_thread->b_die && !p_input_thread->b_dead )
val.i_int = 1000.0f/rate;
p_input_thread = libvlc_get_input_thread ( p_input, p_e);
- if ( libvlc_exception_raised( p_e ) )
+ if ( !p_input_thread )
return;
var_Set( p_input_thread, "rate", val );
vlc_value_t val;
p_input_thread = libvlc_get_input_thread ( p_input, p_e);
- if ( libvlc_exception_raised( p_e ) )
+ if ( !p_input_thread )
return -1.0;
var_Get( p_input_thread, "rate", &val );
vlc_value_t val;
p_input_thread = libvlc_get_input_thread ( p_input, p_e );
- if ( libvlc_exception_raised( p_e ) )
+ if ( !p_input_thread )
return 0;
var_Get( p_input_thread, "state", &val );