From 1e57021ef3379cae107d2d2d92ca3c9c2e48dc84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 18 Oct 2006 09:46:35 +0000 Subject: [PATCH] gst/playback/gstplaybin.c: The old pad activation spiel. Original commit message from CVS: * gst/playback/gstplaybin.c: (setup_sinks): The old pad activation spiel. --- ChangeLog | 5 +++++ gst/playback/gstplaybin.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 93f0edf07a..319045a1ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-18 Tim-Philipp Müller + + * gst/playback/gstplaybin.c: (setup_sinks): + The old pad activation spiel. + 2006-10-18 Tim-Philipp Müller * gst/playback/gstplaybasebin.c: (setup_source): diff --git a/gst/playback/gstplaybin.c b/gst/playback/gstplaybin.c index 28caf15dd7..67e3ef4aa1 100644 --- a/gst/playback/gstplaybin.c +++ b/gst/playback/gstplaybin.c @@ -1552,11 +1552,13 @@ setup_sinks (GstPlayBaseBin * play_base_bin, GstPlayBaseGroup * group) goto beach; } + gst_pad_set_active (ghost, TRUE); if (gst_element_add_pad (GST_ELEMENT_CAST (grandparent), ghost)) { gst_object_unref (textsrcpad); textsrcpad = gst_object_ref (ghost); } else { GST_WARNING_OBJECT (ghost, "failed adding ghost pad on subtitle-bin"); + gst_pad_set_active (ghost, FALSE); gst_object_unref (ghost); gst_object_unref (textsrcpad); textsrcpad = NULL;