gstpad: Probes that return HANDLED can reset the data info field
authorEdward Hervey <bilboed@bilboed.com>
Mon, 13 May 2019 14:42:04 +0000 (16:42 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 16 May 2019 13:13:48 +0000 (15:13 +0200)
commit7aee718394cdd97f0b02310abd2556b8c7fc497b
tree7dd8d75c36f0a88804f24a38117b6375cc598818
parenteec9bd8db3ee5a8391dffae362c210f600655282
gstpad: Probes that return HANDLED can reset the data info field

Before GST_PAD_PROBE_HANDLED was introduced, we had to handle the case
where some probes would reset the probe info data field to NULL. This would
be considered an invalid use-case.

But with GST_PAD_PROBE_HANDLED it is totally fine to reset that, since
the probe has "handled" it.
gst/gstpad.c
tests/check/gst/gstpad.c