mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
asfdemux: Remove 0.10 code
This was used to "close" a segment. It's no longer needed anymore in 1.x (it was essentially sending the same thing again)
This commit is contained in:
parent
fd59ea8c7d
commit
ff4cca75b2
1 changed files with 0 additions and 12 deletions
|
@ -743,18 +743,6 @@ gst_asf_demux_handle_seek_event (GstASFDemux * demux, GstEvent * event)
|
|||
/* operating on copy of segment until we know the seek worked */
|
||||
segment = demux->segment;
|
||||
|
||||
if (G_UNLIKELY (demux->segment_running && !flush)) {
|
||||
GstSegment newsegment;
|
||||
GstEvent *newseg;
|
||||
|
||||
/* create the segment event to close the current segment */
|
||||
gst_segment_copy_into (&segment, &newsegment);
|
||||
newseg = gst_event_new_segment (&newsegment);
|
||||
gst_event_set_seqnum (newseg, seqnum);
|
||||
|
||||
gst_asf_demux_send_event_unlocked (demux, newseg);
|
||||
}
|
||||
|
||||
gst_segment_do_seek (&segment, rate, format, flags, cur_type,
|
||||
cur, stop_type, stop, &only_need_update);
|
||||
|
||||
|
|
Loading…
Reference in a new issue