Skip to content

d3d11videosink: Clear cached buffer on GstBaseSink::unlock_stop()

Since GstBaseSink::unlock() will not be protected by lock, concurrent access to the cached buffer might be possible, for example one is from streaming thread and the other is from application thread for state change or so.

(gst-launch-1.0:25052): CRITICAL **: 21:12:50.899: gst_d3d11_overlay_compositor_upload: assertion 'GST_IS_BUFFER (buf)' failed

Merge request reports