summaryrefslogtreecommitdiff
path: root/ext/smoothstreaming
diff options
context:
space:
mode:
authorThiago Santos <thiagoss@osg.samsung.com>2016-01-13 09:51:20 -0300
committerThiago Santos <thiagoss@osg.samsung.com>2016-01-15 11:32:37 -0300
commitb7a0be23c6865286674ecac127bc4a1603437ee9 (patch)
treeecf30c64a1d893265af3a899c2d7c8ea83d78bf9 /ext/smoothstreaming
parentd92f11b8196cf731881204a473f0dafd39df87c9 (diff)
adaptivedemux: replace ghostpad with a standard pad
Handling the ghostpad and its internal pad was causing more issues than helping because of their coupled activation/deactivation actions. As we have to install custom chain,event and query functions it is better to use a floating sink pad internally in the demuxer and just use those pad functions to push through a standard pad in the demuxer https://bugzilla.gnome.org/show_bug.cgi?id=757951
Diffstat (limited to 'ext/smoothstreaming')
-rw-r--r--ext/smoothstreaming/gstmssdemux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c
index c6fbd1ab5..de2cca9a4 100644
--- a/ext/smoothstreaming/gstmssdemux.c
+++ b/ext/smoothstreaming/gstmssdemux.c
@@ -354,8 +354,7 @@ _create_pad (GstMssDemux * mssdemux, GstMssStream * manifeststream)
}
if (tmpl != NULL) {
- srcpad =
- GST_PAD_CAST (gst_ghost_pad_new_no_target_from_template (name, tmpl));
+ srcpad = GST_PAD_CAST (gst_pad_new_from_template (tmpl, name));
g_free (name);
gst_object_unref (tmpl);
}