[Bug 740575] Fixing DTS in GStreamer
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jun 9 13:33:19 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=740575
--- Comment #74 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
(In reply to Wim Taymans from comment #49)
> How about this: it adds an option to allow DTS outside of the segment in
> both directions. Maybe with the separate clip method we don't actually ever
> have to check for clipping here and we can do away with the GstSegmentResult
> and simply return the sign as a gint... If would still be nice to know where
> the clipping happened but we could make a gst_segment_clip_full() that
> returns the sign as well.
>
> commit edf484ab6b10d04c334f2b32eb043cb749dc3af8
> Author: Wim Taymans <wtaymans at redhat.com>
> Date: Thu Mar 19 17:36:36 2015 +0100
>
> segment: add option to disable clipping
>
> Add a clip argument to gst_segment_to_running_time_full() to disable
> the checks against the segment boundaries. This makes it possible to
> generate an extrapolated running-time for timestamps outside of the
> segment.
>
> See https://bugzilla.gnome.org/show_bug.cgi?id=740575
Maybe this function could have simply returned a gint64 (gboolean to indicate
an error maybe, or G_MIN64 to avoid having gint64* output param).
--
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