vaapiencode: fix error handling in _finish() hook.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 Nov 2013 16:11:22 +0000 (17:11 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 26 Nov 2013 16:11:22 +0000 (17:11 +0100)
commita6b8f944705a6af3323828ab81de4f1a9ae5eb94
tree8a93ddf2c382f0b12e32893457ff43f95dec6c5f
parente01d48febad35337505d134175435fa578b55f6a
vaapiencode: fix error handling in _finish() hook.

Fix GstVideoEncoder::finish() implementation to really return possible
errors instead of GST_FLOW_OK. That is, fix check for timeout status.
gst/vaapi/gstvaapiencode.c