mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
oggdemux: send GAP event
... in stead of old update newsegment event.
This commit is contained in:
parent
cd2e795154
commit
6a43c1f9c7
1 changed files with 1 additions and 7 deletions
|
@ -4398,14 +4398,8 @@ gst_ogg_demux_sync_streams (GstOggDemux * ogg)
|
|||
|
||||
stream->position = cur;
|
||||
|
||||
#if 0
|
||||
ogg->segment.base += cur - stream->position;
|
||||
/* advance stream time (FIXME: is this right, esp. time_pos?) */
|
||||
gst_pad_push_event (GST_PAD_CAST (stream),
|
||||
gst_event_new_new_segment (TRUE, ogg->segment.rate,
|
||||
ogg->segment.applied_rate,
|
||||
GST_FORMAT_TIME, stream->position, -1, stream->position));
|
||||
#endif
|
||||
gst_event_new_gap (stream->position, cur - stream->position));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue