vaapiencode: fix error handling while allocating output buffers.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 Nov 2013 16:26:44 +0000 (17:26 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 Nov 2013 16:26:44 +0000 (17:26 +0100)
commit207264abc49430ea1747458a6f09a5acea393d45
treeddb6cc4f789d3fb26f6159de213526eb2b2bacff
parenta6b8f944705a6af3323828ab81de4f1a9ae5eb94
vaapiencode: fix error handling while allocating output buffers.

Fix default GstVideoEncoder::allocate_buffer() implementation to properly
unmap the coded buffer prior to returning an error.
gst/vaapi/gstvaapiencode.c