Skip to content

videoio: fix camera opening with GStreamer plugin#24138

Merged
opencv-pushbot merged 1 commit intoopencv:4.xfrom
mshabunin:fix-gst-plugin-camera
Aug 13, 2023
Merged

videoio: fix camera opening with GStreamer plugin#24138
opencv-pushbot merged 1 commit intoopencv:4.xfrom
mshabunin:fix-gst-plugin-camera

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

related #24133, #23056, #23937

Steps to reproduce:

  • build OpenCV with GStreamer backend as plugin (-DVIDEOIO_PLUGIN_LIST=gstreamer)
  • open camera by index using GStreamer backend (VideoCapture cap(0, CAP_GSTREAMER))

Result: failure, capture is not opened, when using GStreamer backend as built-in camera can be opened

This was happening due to bug in plugin wrapper.

@asmorkalov asmorkalov self-requested a review August 10, 2023 08:52
@asmorkalov asmorkalov added this to the 4.9.0 milestone Aug 10, 2023
@asmorkalov asmorkalov requested review from opencv-alalek and removed request for asmorkalov August 11, 2023 11:31
@opencv-alalek opencv-alalek self-assigned this Aug 13, 2023
@opencv-pushbot opencv-pushbot merged commit 27d718b into opencv:4.x Aug 13, 2023
@mshabunin mshabunin deleted the fix-gst-plugin-camera branch August 13, 2023 20:09
@asmorkalov asmorkalov mentioned this pull request Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants