basesink: update segment start/stop for clipping
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 9 Jun 2009 10:06:35 +0000 (12:06 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 9 Jun 2009 10:06:35 +0000 (12:06 +0200)
commit6e633cbe33eb1421c2244e9e2f737b695dd8e057
treee5f24ddca16f3964cc394c0c74f1a8bd17813a18
parent72e8d9909c75918f9ed48dec4b87562ca70cb27f
basesink: update segment start/stop for clipping

When we start stepping, store the start/stop values of the segment before we
install new start/stop values for clipping in non-flushing steps.

for non-flushing steps, update the element start time. For flushing steps, it
does not change because running_time does not advance

Make sure we always perform the stop_stepping operations even when we drop
frames.
libs/gst/base/gstbasesink.c