gst/gstsegment.c: Set the last_stop to a more meaningful position when configuring...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 23 Oct 2008 09:49:07 +0000 (09:49 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 23 Oct 2008 09:49:07 +0000 (09:49 +0000)
commitd2e5ffde24775d8ddeac27ba1a90583bb18046f1
treeca50501e07399207b020f8965acb5608f74bb74b
parentd3cb47b9239e9b51b1535a9cbae10d8666ecd17d
gst/gstsegment.c: Set the last_stop to a more meaningful position when configuring the segment. ie. the start/stop of...

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_newsegment_full):
Set the last_stop to a more meaningful position when configuring the
segment. ie. the start/stop of the segment or clipped against the
updated segment boundaries.
* tests/check/gst/gstsegment.c: (GST_START_TEST):
Add some unit tests for the last_stop.
ChangeLog
gst/gstsegment.c
tests/check/gst/gstsegment.c