gecko-dev/media
Dan Minor 7c3097eb13 Bug 1565800 - Use local copy of _captureCapability in OnIncomingFrame; r=jolin
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
2019-08-21 15:52:31 +00:00
..
audioipc Bug 1574914 - Bump audio_thread_priority to 0.18. r=pehrsons 2019-08-19 13:50:08 +00:00
ffvpx Bug 1572986 - Link libmozavutil against libatomic when needed. r=froydnj 2019-08-12 16:47:40 +00:00
gmp-clearkey/0.1 Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs 2019-07-08 09:27:47 +00:00
kiss_fft
libaom
libcubeb Bug 1574644 - Update cubeb-coreaudio-rs to version 71faddb. r=kinetik 2019-08-16 22:20:30 +00:00
libdav1d Bug 1568515 - Import dav1d from upstream to c138435. r=TD-Linux 2019-07-24 17:03:48 +00:00
libjpeg
libmkv Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libnestegg Bug 1575679 - Update libnestegg to pick up PR 65. r=bryce 2019-08-21 21:50:42 +00:00
libogg Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libopus Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libpng
libsoundtouch
libspeex_resampler
libtheora
libtremor
libvorbis Bug 1465407 - Add media fuzzing targets. r=jya 2019-07-16 14:50:17 +00:00
libvpx
libwebp
libyuv
mp4parse-rust Bug 1567359 - Update mp4parse-rust to 201556d3. r=me 2019-07-19 14:32:44 +12:00
mtransport Bug 1575876 - Drop header unused on FreeBSD that breaks with new libc++. r=bwc 2019-08-24 01:38:05 +03:00
openmax_dl
openmax_il/il112
psshparser
webrtc Bug 1565800 - Use local copy of _captureCapability in OnIncomingFrame; r=jolin 2019-08-21 15:52:31 +00:00
moz.build
update-libjpeg.sh