mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
tsdemux: Need to send a newsegment after a seek
This commit is contained in:
parent
a3fc3ec443
commit
744101a417
1 changed files with 3 additions and 2 deletions
|
@ -882,9 +882,10 @@ gst_ts_demux_srcpad_event (GstPad * pad, GstEvent * event)
|
|||
switch (GST_EVENT_TYPE (event)) {
|
||||
case GST_EVENT_SEEK:
|
||||
res = mpegts_base_handle_seek_event ((MpegTSBase *) demux, pad, event);
|
||||
if (!res) {
|
||||
if (res)
|
||||
demux->need_newsegment = TRUE;
|
||||
else
|
||||
GST_WARNING ("seeking failed");
|
||||
}
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue