mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
hlssink: do not lose ref to the multifilesink
It is needed to update location properties and it was being lost on state changes, causing issues if the pipeline was to be reused
This commit is contained in:
parent
805e313cce
commit
d59af97930
1 changed files with 0 additions and 4 deletions
|
@ -196,10 +196,6 @@ gst_hls_sink_reset (GstHlsSink * sink)
|
||||||
sink->count = 0;
|
sink->count = 0;
|
||||||
sink->timeout_id = 0;
|
sink->timeout_id = 0;
|
||||||
sink->last_running_time = 0;
|
sink->last_running_time = 0;
|
||||||
/* we don't need to unref since we gst_bin_add-ed multifilesink
|
|
||||||
* to ourselves
|
|
||||||
*/
|
|
||||||
sink->multifilesink = NULL;
|
|
||||||
sink->waiting_fku = FALSE;
|
sink->waiting_fku = FALSE;
|
||||||
gst_event_replace (&sink->force_key_unit_event, NULL);
|
gst_event_replace (&sink->force_key_unit_event, NULL);
|
||||||
gst_segment_init (&sink->segment, GST_FORMAT_UNDEFINED);
|
gst_segment_init (&sink->segment, GST_FORMAT_UNDEFINED);
|
||||||
|
|
Loading…
Reference in a new issue