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)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 8 Aug 2019 08:49:31 +0000 (09:49 +0100)
commit53e879c750f6b37da424123d469d162fe9cddbed
tree35dbcc10ef502d570f94c9a0e7331bb16735aaa5
parent3a8910f53bc38d826a9f2b9dc92970fd49a21983
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