avtpcvfpay: Do not hide or modify gst_pad_push errors
authorEderson de Souza <ederson.desouza@intel.com>
Fri, 1 Nov 2019 22:39:25 +0000 (15:39 -0700)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 19 Nov 2019 13:35:00 +0000 (13:35 +0000)
commitc45c235b2a64da5aa0c683e043ff6efd2ebf376f
tree1a7cf3fd6bb9739ff02d65b2119af8802307dacf
parentb09bc36160a1d0c01f6eb3cbc77247333d0daf3e
avtpcvfpay: Do not hide or modify gst_pad_push errors

Current code would change any non-ok return from gst_pad_push to
GST_FLOW_ERROR, thus hiding meaningful returns such as GST_FLOW_EOS.

Tests also added.
ext/avtp/gstavtpcvfpay.c
tests/check/elements/avtpcvfpay.c