segment: add option to disable clipping
authorWim Taymans <wtaymans@redhat.com>
Thu, 19 Mar 2015 16:36:36 +0000 (17:36 +0100)
committerWim Taymans <wtaymans@redhat.com>
Thu, 19 Mar 2015 16:36:36 +0000 (17:36 +0100)
commitedf484ab6b10d04c334f2b32eb043cb749dc3af8
treeaf15a883a24daee55de460b21ade08476eaef84f
parent173491585060900395853f750da3b940e789204c
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
gst/gstsegment.c
gst/gstsegment.h
tests/check/gst/gstsegment.c