mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
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.
This commit is contained in:
parent
4e50cce048
commit
1e57021ef3
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/playback/gstplaybin.c: (setup_sinks):
|
||||
The old pad activation spiel.
|
||||
|
||||
2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/playback/gstplaybasebin.c: (setup_source):
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue