dvdsubdec: Rearrange buffer allocation and pushing code a bit
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 Mar 2011 10:02:42 +0000 (11:02 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 Mar 2011 10:02:42 +0000 (11:02 +0100)
commit101e8a024ff547f81ca34073de454f89e465aa63
tree9056b293fd27adc302d1d49c272060b97d76313f
parent1c1868682e4923e9c8c6fccb477c274a4a86ec17
dvdsubdec: Rearrange buffer allocation and pushing code a bit

This makes the code easier to read, doesn't store every buffer
in the instance until the next buffer is to be drawn and
fixes an unitialized variable compiler warning.
gst/dvdsub/gstdvdsubdec.c
gst/dvdsub/gstdvdsubdec.h