mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
7c3097eb13
In OnIncomingFrame() we check if the capture has started by calling CaptureStarted() which holds a lock. If StopCapture() is called on the control thread after we check CaptureStarted() it is possible that _captureCapability will be zeroed out prior to frame being delivered because the lock has been released. This would result in an unknown video type in CalcBufferSize() and trigger an assertion there. This creates a local copy of _captureCapability with the lock held to ensure it is not zeroed out when the frame is delivered. Differential Revision: https://phabricator.services.mozilla.com/D42338 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
audioipc | ||
ffvpx | ||
gmp-clearkey/0.1 | ||
kiss_fft | ||
libaom | ||
libcubeb | ||
libdav1d | ||
libjpeg | ||
libmkv | ||
libnestegg | ||
libogg | ||
libopus | ||
libpng | ||
libsoundtouch | ||
libspeex_resampler | ||
libtheora | ||
libtremor | ||
libvorbis | ||
libvpx | ||
libwebp | ||
libyuv | ||
mp4parse-rust | ||
mtransport | ||
openmax_dl | ||
openmax_il/il112 | ||
psshparser | ||
webrtc | ||
moz.build | ||
update-libjpeg.sh |