mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
hlsdemux: Set playlist parsing helper object to NULL after freeing
This commit is contained in:
parent
acacc251fa
commit
445f626016
1 changed files with 3 additions and 1 deletions
|
@ -861,8 +861,10 @@ gst_hls_demux_reset (GstHLSDemux * demux, gboolean dispose)
|
||||||
|
|
||||||
gst_adapter_clear (demux->download);
|
gst_adapter_clear (demux->download);
|
||||||
|
|
||||||
if (demux->client)
|
if (demux->client) {
|
||||||
gst_m3u8_client_free (demux->client);
|
gst_m3u8_client_free (demux->client);
|
||||||
|
demux->client = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (!dispose) {
|
if (!dispose) {
|
||||||
demux->client = gst_m3u8_client_new ("");
|
demux->client = gst_m3u8_client_new ("");
|
||||||
|
|
Loading…
Reference in a new issue