Closed Bug 1523412 Opened 6 years ago Closed 6 years ago

GetStreamCaps can fail with S_FALSE

Categories

(Core :: WebRTC: Audio/Video, defect, P2)

Unspecified
Windows
defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: drno, Assigned: drno)

References

(Blocks 1 open bug)

Details

Crash Data

Attachments

(1 file)

No description provided.
Assignee: nobody → drno
Priority: -- → P2

https://msdn.microsoft.com/en-us/windows/desktop/dd319787 explains that GetStreamCaps() can return S_FALSE, which is not caught by FAILED().

After merging we should also upstream this (as the latest Chromium code still has the same bug - even though the non-webrtc parts of Chromiums code check GetStreamCaps() return value properly - even with comments describing the problem here).

Pushed by nohlmeier@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf6287bb0477 compare GetStreamCaps return values against S_OK. r=dminor
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Crash Signature: [@ webrtc::videocapturemodule::VideoCaptureDS::SetCameraOutput ]
No longer depends on: 1646904
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: