v4l2: bufferpool: Don't assert when orphaning is not needed
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 17 Apr 2023 20:05:35 +0000 (16:05 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 2 May 2023 14:42:43 +0000 (14:42 +0000)
commit8e4dc8937169dbd52e14be1f2a9ef2d1bac1ffd2
tree9f5ec09e6f764550f3f627b2e50eda2d06fe659e
parent642103fdcc7f29facf1295d09dd9f79248d1fa80
v4l2: bufferpool: Don't assert when orphaning is not needed

This may happen when shutting down and should not cause
any harm. This removes the associated assert when shutting
down the pipeline, notably with CTRL+C.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4525>
subprojects/gst-plugins-good/sys/v4l2/gstv4l2bufferpool.c