mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +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
|
static void
|
||||||
video_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
video_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
||||||
{
|
{
|
||||||
g_object_set (pipeline, "current-video", gtk_combo_box_get_active (combo),
|
gint active;
|
||||||
NULL);
|
|
||||||
|
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
|
static void
|
||||||
audio_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
audio_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
||||||
{
|
{
|
||||||
g_object_set (pipeline, "current-audio", gtk_combo_box_get_active (combo),
|
gint active;
|
||||||
NULL);
|
|
||||||
|
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
|
static void
|
||||||
text_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
text_combo_cb (GtkComboBox * combo, GstPipeline * pipeline)
|
||||||
{
|
{
|
||||||
g_object_set (pipeline, "current-text", gtk_combo_box_get_active (combo),
|
gint active;
|
||||||
NULL);
|
|
||||||
|
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
|
static gboolean
|
||||||
|
|
Loading…
Reference in a new issue