playback/player: player/gtk: Fix indention

This commit is contained in:
Sebastian Dröge 2015-04-26 18:31:30 +02:00
parent 81238fdbcd
commit bf8604dcf3

View file

@ -57,12 +57,14 @@ typedef struct
gboolean playing;
} GtkPlay;
enum {
enum
{
COL_TEXT = 0,
COL_NUM
};
enum {
enum
{
VIDEO_INFO_START,
VIDEO_INFO_RESOLUTION,
VIDEO_INFO_FPS,
@ -190,8 +192,7 @@ skip_next_clicked_cb (GtkButton * button, GtkPlay * play)
}
static gchar *
stream_info_get_string (GstPlayerStreamInfo *stream, gint type,
gboolean label)
stream_info_get_string (GstPlayerStreamInfo * stream, gint type, gboolean label)
{
switch (type) {
case AUDIO_INFO_RATE:
@ -302,7 +303,8 @@ is_current_stream (GtkPlay *play, GstPlayerStreamInfo *stream)
GstPlayerStreamInfo *s;
GstPlayerVideoInfo *video = gst_player_get_current_video_track (play->player);
GstPlayerAudioInfo *audio = gst_player_get_current_audio_track (play->player);
GstPlayerSubtitleInfo *sub = gst_player_get_current_subtitle_track(play->player);
GstPlayerSubtitleInfo *sub =
gst_player_get_current_subtitle_track (play->player);
if (GST_IS_PLAYER_VIDEO_INFO (stream))
s = (GstPlayerStreamInfo *) video;
@ -339,8 +341,7 @@ create_and_fill_model (GtkPlay *play, GstPlayerMediaInfo *info)
count = 0;
tree = gtk_tree_store_new (COL_NUM, G_TYPE_STRING);
for (l = gst_player_media_info_get_stream_list(info);
l != NULL; l = l->next) {
for (l = gst_player_media_info_get_stream_list (info); l != NULL; l = l->next) {
gchar *buffer;
gint i, start, end;
GstPlayerStreamInfo *stream = (GstPlayerStreamInfo *) l->data;