basesink: handle -1 step amounts
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 09:17:23 +0000 (11:17 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 18 Jul 2012 15:49:32 +0000 (17:49 +0200)
commit5360ba56f7fa552865a42ed12845e748663ae6db
tree72d17f51e5d09e3e65b0b0aa3ee8c3cb7282cfe1
parent8e946d5d1692bf6865cd3bd262c49fe89970d8e8
basesink: handle -1 step amounts

Define a 0 and -1 step amount. They used to almost do the same thing but now, 0
cancels/stops the current step and -1 keeps on stepping until the end of the
segment.

See https://bugzilla.gnome.org/show_bug.cgi?id=679378
docs/design/part-framestep.txt
gst/gstsegment.c
libs/gst/base/gstbasesink.c