mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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>
This commit is contained in:
parent
0b7e8efe61
commit
576b074dde
1 changed files with 0 additions and 4 deletions
|
@ -237,10 +237,6 @@ static void
|
|||
gst_wrapper_camera_bin_src_set_output (GstWrapperCameraBinSrc * self,
|
||||
GstPad * old_pad, GstPad * output_pad)
|
||||
{
|
||||
GstQuery *drain = gst_query_new_drain ();
|
||||
gst_pad_peer_query (self->src_pad, drain);
|
||||
gst_query_unref (drain);
|
||||
|
||||
if (old_pad)
|
||||
gst_ghost_pad_set_target (GST_GHOST_PAD (old_pad), NULL);
|
||||
if (output_pad)
|
||||
|
|
Loading…
Reference in a new issue