videorate: clear discont on duplicated buffers
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Apr 2009 09:32:49 +0000 (11:32 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Apr 2009 14:45:07 +0000 (16:45 +0200)
commit915b3d139dee6d5ffcc36a635557ca24269b2eb8
treecfc12a0d40d00825b0d9eb15133ebdacccaffba1
parente25f281de803d971139ea2ff04f34caf3402c9cc
videorate: clear discont on duplicated buffers

When videorate duplicates a buffer with a DISCONT flag, it copies the discont on
the first pushed buffer but fails to clear it for subsequent buffers. This
causes theoraenc!oggmux and possibly other elements to consider this a discont
stream.

Fix videorate to produce discont as the first buffer and after a flushing seek.

Fixes #580271.
gst/videorate/gstvideorate.c
gst/videorate/gstvideorate.h