video: Always provide a buffer in gst_video_(enc|dec)oder_allocate_output_buffer()
authorSebastian Dröge <slomo@circular-chaos.org>
Fri, 24 May 2013 14:51:17 +0000 (16:51 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Fri, 24 May 2013 14:54:46 +0000 (16:54 +0200)
commit0c2c909497f5f97074cf1b0d26bd14939f892b6f
treed0e873ed447aa522c29e6f2304e1967378c6f219
parentfa7ad8743c47ec9256cf4f6e16c1bb8c57d91db7
video: Always provide a buffer in gst_video_(enc|dec)oder_allocate_output_buffer()

We have no way of tell the caller of the exact error (e.g. if we're flushing),
so will have to wait until the caller uses API that returns a GstFlowReturn,
for example when pushing this buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=700006
gst-libs/gst/video/gstvideodecoder.c
gst-libs/gst/video/gstvideoencoder.c