mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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),
|
(mux->m2ts_mode ? M2TS_PACKET_LENGTH : NORMAL_TS_PACKET_LENGTH),
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
seg.rate = 1.0;
|
gst_segment_init (&seg, GST_FORMAT_TIME);
|
||||||
seg.format = GST_FORMAT_TIME;
|
|
||||||
seg.start = 0;
|
|
||||||
seg.stop = -1;
|
|
||||||
seg.position = 0;
|
|
||||||
|
|
||||||
new_seg = gst_event_new_segment (&seg);
|
new_seg = gst_event_new_segment (&seg);
|
||||||
|
|
||||||
/* Set caps on src pad from our template and push new segment */
|
/* Set caps on src pad from our template and push new segment */
|
||||||
|
|
Loading…
Reference in a new issue