diff options
-rw-r--r-- | gst/flv/gstflvdemux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index b920b177f..c1d62776e 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -2965,6 +2965,10 @@ gst_flv_demux_sink_event (GstPad * pad, GstEvent * event) demux->video_need_segment = TRUE; ret = TRUE; gst_event_unref (event); + if (demux->new_seg_event) { + gst_event_unref (demux->new_seg_event); + demux->new_seg_event = NULL; + } } break; } |