postproc: honor gst_pad_push() return value
authorHyunjun Ko <zzoon@igalia.com>
Tue, 8 Nov 2016 01:05:32 +0000 (10:05 +0900)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 8 Nov 2016 07:27:41 +0000 (08:27 +0100)
commitcbce9b8e49a04fc75454128e1dbcc4639026424d
tree6e21f2f1f0eae3f36e84fc23d0557b9cbd250919
parentd7231f66ccd7b460c3465c4fdff6694813397114
postproc: honor gst_pad_push() return value

Returning GST_FLOW_ERROR always when gst_pad_push fails might lead to
deadlock during seek.

This patch returns the same error of gst_pad_push() and log out the
return value.

https://bugzilla.gnome.org/show_bug.cgi?id=774030
gst/vaapi/gstvaapipostproc.c