mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
hlsdemux: dispose the fetcher from the same thread it's created
This commit is contained in:
parent
3cadddba83
commit
b49461df48
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ gst_hls_demux_change_state (GstElement * element, GstStateChange transition)
|
||||||
switch (transition) {
|
switch (transition) {
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||||
demux->cancelled = TRUE;
|
demux->cancelled = TRUE;
|
||||||
gst_hls_demux_stop_fetcher (demux, TRUE);
|
g_cond_signal (demux->fetcher_cond);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue