mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
playback/player: gtk-play: Fix indention
This commit is contained in:
parent
7a874938a0
commit
f68bac6318
1 changed files with 46 additions and 39 deletions
|
@ -887,7 +887,8 @@ seekbar_value_changed_cb (GtkRange * range, GtkPlay * play)
|
|||
}
|
||||
|
||||
G_MODULE_EXPORT void
|
||||
volume_button_value_changed_cb (GtkScaleButton * button, gdouble value, GtkPlay * play)
|
||||
volume_button_value_changed_cb (GtkScaleButton * button, gdouble value,
|
||||
GtkPlay * play)
|
||||
{
|
||||
gst_player_set_volume (play->player, value);
|
||||
}
|
||||
|
@ -1282,7 +1283,8 @@ mouse_button_pressed_cb (GtkWidget * unused, GdkEventButton * event,
|
|||
}
|
||||
|
||||
static gboolean
|
||||
video_area_leave_notify_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * play)
|
||||
video_area_leave_notify_cb (GtkWidget * widget, GdkEvent * event,
|
||||
GtkPlay * play)
|
||||
{
|
||||
start_toolbar_hide_timer (play);
|
||||
|
||||
|
@ -1290,7 +1292,8 @@ video_area_leave_notify_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * play
|
|||
}
|
||||
|
||||
static gboolean
|
||||
video_area_toolbar_show_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * play)
|
||||
video_area_toolbar_show_cb (GtkWidget * widget, GdkEvent * event,
|
||||
GtkPlay * play)
|
||||
{
|
||||
toolbar_show (play);
|
||||
|
||||
|
@ -1300,7 +1303,8 @@ video_area_toolbar_show_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * play
|
|||
}
|
||||
|
||||
static gboolean
|
||||
overlay_leave_notify_event_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * play)
|
||||
overlay_leave_notify_event_cb (GtkWidget * widget, GdkEvent * event,
|
||||
GtkPlay * play)
|
||||
{
|
||||
start_toolbar_hide_timer (play);
|
||||
|
||||
|
@ -1308,7 +1312,8 @@ overlay_leave_notify_event_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * p
|
|||
}
|
||||
|
||||
static gboolean
|
||||
overlay_enter_notify_event_cb (GtkWidget * widget, GdkEvent * event, GtkPlay * play)
|
||||
overlay_enter_notify_event_cb (GtkWidget * widget, GdkEvent * event,
|
||||
GtkPlay * play)
|
||||
{
|
||||
toolbar_show (play);
|
||||
|
||||
|
@ -1632,6 +1637,7 @@ gtk_play_get_cover_image (GstPlayerMediaInfo * media_info)
|
|||
|
||||
return pixbuf;
|
||||
}
|
||||
|
||||
static void
|
||||
media_info_updated_cb (GstPlayer * player, GstPlayerMediaInfo * media_info,
|
||||
GtkPlay * play)
|
||||
|
@ -1644,8 +1650,9 @@ media_info_updated_cb (GstPlayer * player, GstPlayerMediaInfo * media_info,
|
|||
title = gst_player_media_info_get_title (media_info);
|
||||
|
||||
if (!title) {
|
||||
filename = g_filename_from_uri(
|
||||
gst_player_media_info_get_uri (media_info), NULL, NULL);
|
||||
filename =
|
||||
g_filename_from_uri (gst_player_media_info_get_uri (media_info), NULL,
|
||||
NULL);
|
||||
basename = g_path_get_basename (filename);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue