gst/gstsegment.c: Also accumulate time correctly when doing reverse playback. Fixes...
authorWim Taymans <wim.taymans@gmail.com>
Fri, 9 Nov 2007 11:56:41 +0000 (11:56 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 9 Nov 2007 11:56:41 +0000 (11:56 +0000)
commitc28238d8fef51356e4672cd3f369156d83ee184f
tree08e7d410d64e2673099e55ce495555e4dd9d7396
parentdef6b4bb663df82eccb72282cdd1a009e33a94d8
gst/gstsegment.c: Also accumulate time correctly when doing reverse playback. Fixes #488201,

Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_set_newsegment_full),
(gst_segment_to_stream_time), (gst_segment_to_running_time):
Also accumulate time correctly when doing reverse playback. Fixes
#488201,
When converting to running and stream time, use default values for
start/stop/time/accum when comparing different formats. Fixes #494245.
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Do running/stream time in TIME format.
* tests/check/gst/gstsegment.c: (GST_START_TEST),
(gst_segment_suite):
2 new unit tests for segment accumulation.
ChangeLog
gst/gstsegment.c
libs/gst/base/gstbasesink.c
tests/check/gst/gstsegment.c