mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
seek: Add some more debug
Add some more info about the selected streams.
This commit is contained in:
parent
554b3aafe4
commit
153e07e125
1 changed files with 18 additions and 6 deletions
|
@ -1798,22 +1798,34 @@ update_streams (GstPipeline * pipeline)
|
|||
static void
|
||||
video_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
||||
{
|
||||
g_object_set (pipeline, "current-video", gtk_combo_box_get_active (combo),
|
||||
NULL);
|
||||
gint active;
|
||||
|
||||
active = gtk_combo_box_get_active (combo);
|
||||
|
||||
g_print ("setting current video track %d\n", active);
|
||||
g_object_set (pipeline, "current-video", active, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
audio_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
||||
{
|
||||
g_object_set (pipeline, "current-audio", gtk_combo_box_get_active (combo),
|
||||
NULL);
|
||||
gint active;
|
||||
|
||||
active = gtk_combo_box_get_active (combo);
|
||||
|
||||
g_print ("setting current audio track %d\n", active);
|
||||
g_object_set (pipeline, "current-audio", active, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
text_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
||||
{
|
||||
g_object_set (pipeline, "current-text", gtk_combo_box_get_active (combo),
|
||||
NULL);
|
||||
gint active;
|
||||
|
||||
active = gtk_combo_box_get_active (combo);
|
||||
|
||||
g_print ("setting current text track %d\n", active);
|
||||
g_object_set (pipeline, "current-text", active, NULL);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue