diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 39bd7e4977..c3841d05ea 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -203,7 +203,6 @@ static void gst_dash_demux_download_loop (GstDashDemux * demux); static void gst_dash_demux_stop (GstDashDemux * demux); static void gst_dash_demux_pause_stream_task (GstDashDemux * demux); static void gst_dash_demux_resume_stream_task (GstDashDemux * demux); -static void gst_dash_demux_pause_download_task (GstDashDemux * demux); static void gst_dash_demux_resume_download_task (GstDashDemux * demux); static gboolean gst_dash_demux_select_representations (GstDashDemux * demux, guint64 current_bitrate); @@ -1194,15 +1193,6 @@ gst_dash_demux_resume_stream_task (GstDashDemux * demux) gst_task_start (demux->stream_task); } -static void -gst_dash_demux_pause_download_task (GstDashDemux * demux) -{ - /* Send a signal to the download task so that it pauses itself */ - GST_TASK_SIGNAL (demux->download_task); - /* Pause it explicitly (if it was not in the COND) */ - gst_task_pause (demux->download_task); -} - static void gst_dash_demux_resume_download_task (GstDashDemux * demux) {