gstpad: Handle GST_PAD_PROBE_HANDLED on sticky event push
authorEdward Hervey <edward@centricular.com>
Wed, 6 Dec 2017 16:07:29 +0000 (17:07 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 6 Dec 2017 16:23:05 +0000 (17:23 +0100)
commit0afc114629ef93c0107928142ee25c50d8db38ee
tree883262d53ea03282d07f3f3e50ef4a7b8117dfae
parentadf304d5af0ec43b9d3ec891c96c81da449bfc9d
gstpad: Handle GST_PAD_PROBE_HANDLED on sticky event push

When actually pushing an event, if we get GST_FLOW_CUSTOM_SUCCESS_1
(which is the conversion of GST_PAD_PROBE_HANDLED return value),
don't consider the stick event push as ignored, but as handled
gst/gstpad.c