mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
baseparse: Pass rate of input segment to output segment
https://bugzilla.gnome.org/show_bug.cgi?id=729701
This commit is contained in:
parent
a8ca56b42d
commit
2793f808ee
1 changed files with 2 additions and 0 deletions
|
@ -1012,6 +1012,8 @@ gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event)
|
|||
|
||||
gst_event_parse_segment (event, &in_segment);
|
||||
gst_segment_init (&out_segment, GST_FORMAT_TIME);
|
||||
out_segment.rate = in_segment->rate;
|
||||
out_segment.applied_rate = in_segment->applied_rate;
|
||||
|
||||
GST_DEBUG_OBJECT (parse, "segment %" GST_SEGMENT_FORMAT, in_segment);
|
||||
|
||||
|
|
Loading…
Reference in a new issue