videodecoder: always send the new buffer to parse functions
authorWim Taymans <wim.taymans@collabora.co.uk>
Sun, 31 Mar 2013 16:29:07 +0000 (18:29 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Sun, 31 Mar 2013 16:31:37 +0000 (18:31 +0200)
commitc3651a79057f276f0c44f3620c23fbfed48f24b1
treed83c4152f2ce48e39f36e7cfb0e421bdb2c31743
parentf15bc6835b2dee002340f1f67c0233e0bc6305f7
videodecoder: always send the new buffer to parse functions

When we get a new buffer, always call the parse function, even if it is a 0
sized buffer. For theora we need to also decode 0 sized buffers.
Ideally we would like to make theoradec be packetized but that fails currently
because of oggdemux and because of the assumptions that the base class makes.
gst-libs/gst/video/gstvideodecoder.c