basesink: handle step end correctly
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 11 Jul 2012 10:37:05 +0000 (12:37 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 11 Jul 2012 13:35:57 +0000 (15:35 +0200)
commit4c42b6720d9a68d97acb4503deeaeae70158b2e4
tree240ac9a6479ef3b3be3e468495c46d475f9283e1
parent67f95a795a8a575567bb8aec7c0197ec6fd08ad6
basesink: handle step end correctly

when we have a new step event with a -1 amount, make sure that we follow the
regular code path so that the stop_end handler is called as usual. This takes
care of flushing the buffer in case of a flushing step and also posts a step end
message.

See https://bugzilla.gnome.org/show_bug.cgi?id=679378
libs/gst/base/gstbasesink.c