segment: add helper to get negative running-time
authorWim Taymans <wtaymans@redhat.com>
Wed, 18 Mar 2015 10:31:51 +0000 (11:31 +0100)
committerWim Taymans <wtaymans@redhat.com>
Wed, 18 Mar 2015 10:35:42 +0000 (11:35 +0100)
commit8c8b3818e44198d2369fbbbf103bc889083ba87b
tree40a3b1b6bb947707f35c5be31854d12c55c88db4
parent6e67ad7675c3bd00dae00c5aa20647f7e241802a
segment: add helper to get negative running-time

Add a helper method to get a running-time with a little more features
such as detecting if the value was before or after the segment and
negative running-time.

API: gst_segment_to_running_time_full()

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740575
gst/gstsegment.c
gst/gstsegment.h
tests/check/gst/gstsegment.c
win32/common/libgstreamer.def