mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
mpegtsmux: fix ported segment init
This commit is contained in:
parent
6229305d7b
commit
893d6eb2a3
1 changed files with 1 additions and 6 deletions
|
@ -1613,12 +1613,7 @@ mpegtsdemux_prepare_srcpad (MpegTsMux * mux)
|
|||
(mux->m2ts_mode ? M2TS_PACKET_LENGTH : NORMAL_TS_PACKET_LENGTH),
|
||||
NULL);
|
||||
|
||||
seg.rate = 1.0;
|
||||
seg.format = GST_FORMAT_TIME;
|
||||
seg.start = 0;
|
||||
seg.stop = -1;
|
||||
seg.position = 0;
|
||||
|
||||
gst_segment_init (&seg, GST_FORMAT_TIME);
|
||||
new_seg = gst_event_new_segment (&seg);
|
||||
|
||||
/* Set caps on src pad from our template and push new segment */
|
||||
|
|
Loading…
Reference in a new issue