Commit f135a526 authored by Antoine Cellerier's avatar Antoine Cellerier

Remove tabs.

parent c1e7c9f2
......@@ -78,7 +78,7 @@ void input_SendEventLength( input_thread_t *p_input, mtime_t i_length )
{
vlc_value_t val;
/* FIXME ugly + what about meta change event ? */
/* FIXME ugly + what about meta change event ? */
if( var_GetTime( p_input, "length" ) == i_length )
return;
......@@ -104,20 +104,20 @@ void input_SendEventRate( input_thread_t *p_input, int i_rate )
}
void input_SendEventAudioDelay( input_thread_t *p_input, mtime_t i_delay )
{
vlc_value_t val;
vlc_value_t val;
val.i_time = i_delay;
var_Change( p_input, "audio-delay", VLC_VAR_SETVALUE, &val, NULL );
val.i_time = i_delay;
var_Change( p_input, "audio-delay", VLC_VAR_SETVALUE, &val, NULL );
Trigger( p_input, INPUT_EVENT_AUDIO_DELAY );
}
void input_SendEventSubtitleDelay( input_thread_t *p_input, mtime_t i_delay )
{
vlc_value_t val;
vlc_value_t val;
val.i_time = i_delay;
var_Change( p_input, "spu-delay", VLC_VAR_SETVALUE, &val, NULL );
val.i_time = i_delay;
var_Change( p_input, "spu-delay", VLC_VAR_SETVALUE, &val, NULL );
Trigger( p_input, INPUT_EVENT_SUBTITLE_DELAY );
}
......@@ -125,33 +125,33 @@ void input_SendEventSubtitleDelay( input_thread_t *p_input, mtime_t i_delay )
/* TODO and file name ? */
void input_SendEventRecord( input_thread_t *p_input, bool b_recording )
{
vlc_value_t val;
vlc_value_t val;
val.b_bool = b_recording;
var_Change( p_input, "record", VLC_VAR_SETVALUE, &val, NULL );
val.b_bool = b_recording;
var_Change( p_input, "record", VLC_VAR_SETVALUE, &val, NULL );
Trigger( p_input, INPUT_EVENT_RECORD );
}
void input_SendEventTitle( input_thread_t *p_input, int i_title )
{
vlc_value_t val;
vlc_value_t val;
val.i_int = i_title;
var_Change( p_input, "title", VLC_VAR_SETVALUE, &val, NULL );
val.i_int = i_title;
var_Change( p_input, "title", VLC_VAR_SETVALUE, &val, NULL );
input_ControlVarTitle( p_input, i_title );
input_ControlVarTitle( p_input, i_title );
Trigger( p_input, INPUT_EVENT_TITLE );
}
void input_SendEventSeekpoint( input_thread_t *p_input, int i_title, int i_seekpoint )
{
vlc_value_t val;
vlc_value_t val;
/* "chapter" */
val.i_int = i_seekpoint;
var_Change( p_input, "chapter", VLC_VAR_SETVALUE, &val, NULL );
val.i_int = i_seekpoint;
var_Change( p_input, "chapter", VLC_VAR_SETVALUE, &val, NULL );
/* "title %2i" */
char psz_title[10];
......@@ -167,10 +167,10 @@ void input_SendEventSignal( input_thread_t *p_input, double f_quality, double f_
vlc_value_t val;
val.f_float = f_quality;
var_Change( p_input, "signal-quality", VLC_VAR_SETVALUE, &val, NULL );
var_Change( p_input, "signal-quality", VLC_VAR_SETVALUE, &val, NULL );
val.f_float = f_strength;
var_Change( p_input, "signal-strength", VLC_VAR_SETVALUE, &val, NULL );
var_Change( p_input, "signal-strength", VLC_VAR_SETVALUE, &val, NULL );
Trigger( p_input, INPUT_EVENT_SIGNAL );
}
......@@ -190,7 +190,7 @@ void input_SendEventCache( input_thread_t *p_input, double f_level )
vlc_value_t val;
val.f_float = f_level;
var_Change( p_input, "cache", VLC_VAR_SETVALUE, &val, NULL );
var_Change( p_input, "cache", VLC_VAR_SETVALUE, &val, NULL );
Trigger( p_input, INPUT_EVENT_CACHE );
}
......@@ -202,19 +202,19 @@ void input_SendEventMeta( input_thread_t *p_input )
{
Trigger( p_input, INPUT_EVENT_ITEM_META );
/* FIXME remove this ugliness ? */
vlc_event_t event;
/* FIXME remove this ugliness ? */
vlc_event_t event;
event.type = vlc_InputItemMetaChanged;
event.u.input_item_meta_changed.meta_type = vlc_meta_ArtworkURL;
vlc_event_send( &p_input->p->p_item->event_manager, &event );
event.type = vlc_InputItemMetaChanged;
event.u.input_item_meta_changed.meta_type = vlc_meta_ArtworkURL;
vlc_event_send( &p_input->p->p_item->event_manager, &event );
}
void input_SendEventMetaInfo( input_thread_t *p_input )
{
Trigger( p_input, INPUT_EVENT_ITEM_INFO );
/* FIXME remove this ugliness */
/* FIXME remove this ugliness */
vlc_event_t event;
event.type = vlc_InputItemInfoChanged;
......@@ -225,7 +225,7 @@ void input_SendEventMetaName( input_thread_t *p_input, const char *psz_name )
{
Trigger( p_input, INPUT_EVENT_ITEM_NAME );
/* FIXME remove this ugliness */
/* FIXME remove this ugliness */
vlc_event_t event;
event.type = vlc_InputItemNameChanged;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment