gstreamer-java / gst1-java-core

Java bindings for GStreamer 1.x
GNU Lesser General Public License v3.0
188 stars 72 forks source link

blocking on both BLOCK and IDLE can result in the probe being called twice #194

Closed MaZderMind closed 4 years ago

MaZderMind commented 4 years ago

Adding a Probe for GstPadAPI.GST_PAD_PROBE_TYPE_BLOCKING | GstPadAPI.GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM the Mask did match both, BLOCK and IDLE, which would then possibly call the Runnable twice.

This fix is part of a set of fixes for #184 and is extracted from #186

neilcsmith-net commented 4 years ago

Thanks, looks good.