diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2015-12-09 13:19:11 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2016-01-25 12:41:32 -0300 |
commit | e73cc143787678a8b42cb6310bbe5b85804c241a (patch) | |
tree | 4653abe2a8e672a82bb18211db305185c6b64881 | |
parent | e09582040d2fd1bd2a22e5c7c095571e47914811 (diff) |
adaptivedemux: set uridownloader's parentcookies
Allows internal http source to request contexts and share cookies
with the pipeline in case the server imposes any restriction based
on cookies.
-rw-r--r-- | gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index 91d0be56e..5c4fa2ae3 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -404,6 +404,7 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux, demux->priv = GST_ADAPTIVE_DEMUX_GET_PRIVATE (demux); demux->priv->input_adapter = gst_adapter_new (); demux->downloader = gst_uri_downloader_new (); + gst_uri_downloader_set_parent (demux->downloader, GST_ELEMENT_CAST (demux)); demux->stream_struct_size = sizeof (GstAdaptiveDemuxStream); demux->priv->segment_seqnum = gst_util_seqnum_next (); demux->have_group_id = FALSE; |