diff options
author | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-05-11 15:26:45 -0300 |
---|---|---|
committer | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-05-11 15:26:45 -0300 |
commit | 21b1d3702351227c488dbd4597c7721db50ea199 (patch) | |
tree | a24d29b50b35c824a39ab42d54a64be221aa82ad | |
parent | d578cbf7d720bfee4e2964ed1b2fc51b199a887d (diff) |
dashdemux: remove unused stream uridownloader
The uridownloader for the stream fragments isn't used anymore.
-rw-r--r-- | ext/dash/gstdashdemux.c | 7 | ||||
-rw-r--r-- | ext/dash/gstdashdemux.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 546ae0e2d..0daa56343 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -580,7 +580,6 @@ gst_dash_demux_src_event (GstPad * pad, GstObject * parent, GstEvent * event) for (iter = demux->streams; iter; iter = g_slist_next (iter)) { GstDashDemuxStream *stream = iter->data; stream->last_ret = GST_FLOW_OK; - gst_uri_downloader_reset (stream->downloader); } demux->timestamp_offset = 0; gst_uri_downloader_reset (demux->downloader); @@ -711,7 +710,6 @@ gst_dash_demux_setup_all_streams (GstDashDemux * demux) gst_task_set_lock (stream->download_task, &stream->download_task_lock); g_cond_init (&stream->download_cond); g_mutex_init (&stream->download_mutex); - stream->downloader = gst_uri_downloader_new (); stream->download_total_time = 0; stream->download_total_bytes = 0; @@ -1040,7 +1038,6 @@ gst_dash_demux_stop (GstDashDemux * demux) GST_TASK_SIGNAL (stream->download_task); gst_element_set_state (stream->src, GST_STATE_READY); g_cond_signal (&stream->fragment_download_cond); - gst_uri_downloader_cancel (stream->downloader); } } @@ -1184,10 +1181,6 @@ gst_dash_demux_stream_free (GstDashDemuxStream * stream) g_cond_clear (&stream->fragment_download_cond); g_mutex_clear (&stream->fragment_download_lock); - if (stream->downloader != NULL) { - g_object_unref (stream->downloader); - } - g_free (stream); } diff --git a/ext/dash/gstdashdemux.h b/ext/dash/gstdashdemux.h index ac7f721bc..4e3a3ed85 100644 --- a/ext/dash/gstdashdemux.h +++ b/ext/dash/gstdashdemux.h @@ -79,7 +79,6 @@ struct _GstDashDemuxStream GCond download_cond; GstTask *download_task; GRecMutex download_task_lock; - GstUriDownloader *downloader; /* download tooling */ GstElement *src; |