camerabin: Remove drain query
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 4 Mar 2022 21:48:54 +0000 (16:48 -0500)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 4 Mar 2022 22:45:58 +0000 (22:45 +0000)
commit576b074ddee4a69cef4daffbaacb223cb5715293
tree511ac75cb847b06940cae0a32053f32a56410de8
parent0b7e8efe61e84926f58483b257c53998c6e734dd
camerabin: Remove drain query

This was to support very old V4L2 kernel. As we moved to DMABuf and can now
detach buffers on renegotiation, the buffer it tries to fix no longer exist.
The risk to blocking indefinitly the application does still exist though.

Fixes #1070

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1861>
subprojects/gst-plugins-bad/gst/camerabin2/gstwrappercamerabinsrc.c