gst/gstsegment.c: Fix boundary checking in to_running_time() and to_stream_time().
authorWim Taymans <wim.taymans@gmail.com>
Mon, 20 Nov 2006 10:27:49 +0000 (10:27 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 20 Nov 2006 10:27:49 +0000 (10:27 +0000)
commitf830f6f4ace775ee2caaba0800bbec8a9eb253b8
treefb2416c9139d81781f08c05f607c08a02a7f35c6
parentc0ce62098069c4932b2c31315269c3306f4611f6
gst/gstsegment.c: Fix boundary checking in to_running_time() and to_stream_time().

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_seek),
(gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
(gst_segment_to_running_time):
Fix boundary checking in to_running_time() and to_stream_time().
Fixes #377183.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
stream and running time can now be calculated for the complete
clipped segment.
ChangeLog
gst/gstsegment.c
tests/check/gst/gstsegment.c