https://bugs.winehq.org/show_bug.cgi?id=49359
Bug ID: 49359 Summary: WeChat: video capture device wasn't release after video chat finished. Product: Wine Version: 5.10 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jactry92@gmail.com Distribution: ---
Created attachment 67405 --> https://bugs.winehq.org/attachment.cgi?id=67405 A +qcap,+quartz,+qedit,+strmbase,+tid,+pid log.
Steps to reproduce: 0. `winetricks -q riched20` for work around bug 5162 ; 1. Download and install WeChat; 2. Login and start a video chat with a contact; 3. End the first video chat and start another.
WeChat will complain not available cameras found.
Tested with wine-5.10-88-gbf454cc394. sha256: 973b429c4f9c1882340c3b8bfa066ae159b5dd409f876538e3820efbeb0a5ab4 WeChatSetup.exe
https://bugs.winehq.org/show_bug.cgi?id=49359
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20200604143606/https://dld | |ir1.qq.com/weixin/Windows/W | |eChatSetup.exe Keywords| |download
--- Comment #1 from Jactry Zeng jactry92@gmail.com --- It looks like it is because the application didn't release IAMStreamConfig after used. So the video device wasn't released after the first video chat.
---snip--- libv4l2: error setting pixformat: Device or resource busy 0020:0254:err:qcap:set_caps Failed to set pixel format: Device or resource busy. 0020:0254:err:qcap:qcap_driver_init Failed to set pixel format: Device or resource busy ---snip---
Should we consider it as an application issue? But it works well on Windows.