mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
adaptivedemux: set uridownloader's parent
Allows internal http source to request contexts and share cookies with the pipeline in case the server imposes any restriction based on cookies.
This commit is contained in:
parent
8cf858fb27
commit
45a6449e64
1 changed files with 1 additions and 0 deletions
|
@ -440,6 +440,7 @@ gst_adaptive_demux_init (GstAdaptiveDemux * demux,
|
||||||
demux->priv = GST_ADAPTIVE_DEMUX_GET_PRIVATE (demux);
|
demux->priv = GST_ADAPTIVE_DEMUX_GET_PRIVATE (demux);
|
||||||
demux->priv->input_adapter = gst_adapter_new ();
|
demux->priv->input_adapter = gst_adapter_new ();
|
||||||
demux->downloader = gst_uri_downloader_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->stream_struct_size = sizeof (GstAdaptiveDemuxStream);
|
||||||
demux->priv->segment_seqnum = gst_util_seqnum_next ();
|
demux->priv->segment_seqnum = gst_util_seqnum_next ();
|
||||||
demux->have_group_id = FALSE;
|
demux->have_group_id = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue