tsdemux: Need to send a newsegment after a seek

This commit is contained in:
Youness Alaoui 2011-08-23 22:44:17 +00:00 committed by Sebastian Dröge
parent a3fc3ec443
commit 744101a417

View file

@ -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: