Commit 4d1026c8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Trailing spaces and comments.

parent 015ae8d0
......@@ -234,6 +234,7 @@ static void Run( intf_thread_t *p_intf )
}
}
/* Quit */
if( i_action == ACTIONID_QUIT )
{
if( p_playlist )
......@@ -248,6 +249,7 @@ static void Run( intf_thread_t *p_intf )
vlc_object_release( p_input );
continue;
}
/* Volume and audio actions */
else if( i_action == ACTIONID_VOL_UP )
{
audio_volume_t i_newvol;
......@@ -278,10 +280,12 @@ static void Run( intf_thread_t *p_intf )
}
}
}
/* Interface showing */
else if( i_action == ACTIONID_INTF_SHOW )
var_SetBool( p_playlist, "intf-show", VLC_TRUE );
else if( i_action == ACTIONID_INTF_HIDE )
var_SetBool( p_playlist, "intf-show", VLC_FALSE );
/* Video Output actions */
else if( i_action == ACTIONID_SNAPSHOT )
{
if( p_vout ) vout_Control( p_vout, VOUT_SNAPSHOT );
......@@ -308,6 +312,24 @@ static void Run( intf_thread_t *p_intf )
var_SetBool( p_vout, "fullscreen", VLC_FALSE );
}
}
else if( i_action == ACTIONID_ZOOM_QUARTER ||
i_action == ACTIONID_ZOOM_HALF ||
i_action == ACTIONID_ZOOM_ORIGINAL ||
i_action == ACTIONID_ZOOM_DOUBLE )
{
if( p_vout )
{
if( i_action == ACTIONID_ZOOM_QUARTER )
val.f_float = 0.25;
if( i_action == ACTIONID_ZOOM_HALF )
val.f_float = 0.5;
if( i_action == ACTIONID_ZOOM_ORIGINAL )
val.f_float = 1;
if( i_action == ACTIONID_ZOOM_DOUBLE )
val.f_float = 2;
var_Set( p_vout, "zoom", val );
}
}
else if( i_action == ACTIONID_WALLPAPER )
{
if( p_vout )
......@@ -323,6 +345,7 @@ static void Run( intf_thread_t *p_intf )
var_Set( p_playlist, "directx-wallpaper", val );
}
}
/* Playlist actions */
else if( i_action == ACTIONID_LOOP )
{
/* Toggle Normal -> Loop -> Repeat -> Normal ... */
......@@ -352,24 +375,6 @@ static void Run( intf_thread_t *p_intf )
val.b_bool = !val.b_bool;
var_Set( p_playlist, "random", val );
}
else if( i_action == ACTIONID_ZOOM_QUARTER ||
i_action == ACTIONID_ZOOM_HALF ||
i_action == ACTIONID_ZOOM_ORIGINAL ||
i_action == ACTIONID_ZOOM_DOUBLE )
{
if( p_vout )
{
if( i_action == ACTIONID_ZOOM_QUARTER )
val.f_float = 0.25;
if( i_action == ACTIONID_ZOOM_HALF )
val.f_float = 0.5;
if( i_action == ACTIONID_ZOOM_ORIGINAL )
val.f_float = 1;
if( i_action == ACTIONID_ZOOM_DOUBLE )
val.f_float = 2;
var_Set( p_vout, "zoom", val );
}
}
else if( i_action == ACTIONID_PLAY_PAUSE )
{
val.i_int = PLAYING_S;
......@@ -397,6 +402,7 @@ static void Run( intf_thread_t *p_intf )
playlist_Play( p_playlist );
}
}
/* Input options */
else if( p_input )
{
/* FIXME --fenrir
......
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