[Bug 796559] qtdemux: Various segment fixes to properly take segment.offset into account

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Sep 20 13:26:01 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796559

--- Comment #27 from Jan Schmidt <thaytan at noraisin.net> ---
Created attachment 373713
  --> https://bugzilla.gnome.org/attachment.cgi?id=373713&action=edit
segment: Allow stop == -1 in gst_segment_to_running_time() and rate < 0

If a segment has stop == -1, then gst_segment_to_running_time()
would refuse to calculate a running time, but gst_segment_do_seek()
allows this scenario and uses a valid duration for calculates.

Make the 2 functions consistent by using any configured duration
to calculate a running time too.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list