Skip to content

videoio: added explicit gst-audio dependency for windows#21500

Merged
alalek merged 2 commits intoopencv:4.xfrom
Kanaderu:fix-gst-audio-win
Jan 23, 2022
Merged

videoio: added explicit gst-audio dependency for windows#21500
alalek merged 2 commits intoopencv:4.xfrom
Kanaderu:fix-gst-audio-win

Conversation

@Kanaderu
Copy link
Copy Markdown
Contributor

@Kanaderu Kanaderu commented Jan 23, 2022

resolves #21393

Resolves windows build error when building with GStreamer by adding the gst-audio dependency.

cap_gstreamer.obj : error LNK2019: unresolved external symbol __imp_gst_audio_info_from_caps referenced in function "public: bool __cdecl cv::GStreamerCapture::grabAudioFrame (void)" (?grabAudioFrame@GStreamerCapture@cv@@QEAA_NXZ)

Extends PR #21294 and adds in the solution provided by #21393 for windows.

videoio: added explicit gst-audio dependency for win32
@alalek alalek merged commit 574320e into opencv:4.x Jan 23, 2022
@alalek alalek mentioned this pull request Feb 22, 2022
@Kanaderu Kanaderu deleted the fix-gst-audio-win branch February 27, 2023 14:42
a-sajjad72 pushed a commit to a-sajjad72/opencv that referenced this pull request Mar 30, 2023
videoio: added explicit gst-audio dependency for windows

* Update detect_gstreamer.cmake

videoio: added explicit gst-audio dependency for win32

* Fixed whitespace
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.

OpenCV 4.5.5 with GStreamer compilation issue with opencv_videoio

3 participants