mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
dvbsuboverlay: fix leak of "clear screen" DVBSubtitles structs
This commit is contained in:
parent
9f02f693de
commit
43bfb0009a
1 changed files with 2 additions and 0 deletions
|
@ -905,6 +905,8 @@ gst_dvbsub_overlay_chain_video (GstPad * pad, GstBuffer * buffer)
|
|||
dvb_subtitles_free (candidate);
|
||||
candidate = NULL;
|
||||
g_queue_pop_head (overlay->pending_subtitles);
|
||||
dvb_subtitles_free (tmp);
|
||||
tmp = NULL;
|
||||
} else if (tmp->pts + tmp->page_time_out * GST_SECOND *
|
||||
overlay->subtitle_segment.abs_rate >= vid_running_time) {
|
||||
if (candidate)
|
||||
|
|
Loading…
Reference in a new issue