gecko-dev/media
Dan Minor 6e3ccd3e2a Bug 1368030 - Fix race condition in ScreenCapturerMac. r=jesup
The race condition is between ~ScreenCapturerMac and the ScreenRefresh and
ScreenUpdateMove callbacks. The destructor calls
UnregisterRefreshAndMoveHandlers but a callback may still occur after the
destruction of the object.

Rather than passing a pointer to ScreenCapturerMac into the callback, this
adds a separate object which keeps a pointer to ScreenCapturerMac guarded
by a CriticalSection. The destructor sets the ScreenCapturerMac to nullptr.
In the next callback, the handler unregisters the callbacks and deletes
the object.

The downside to this approach is that if the ScreenCapturerMac
object is allocated and deallocated before a callback occurs, the memory
for the separate object will be leaked.
2017-07-19 14:49:05 -04:00
..
ffvpx Bug 1377971 - followup - don't explicitly link to libm on Windows; r=bustage 2017-07-05 14:38:52 -04:00
gmp-clearkey/0.1 Backed out 2 changesets (bug 1381720) for linux build failures in content_decryption_module.h a=backout 2017-07-17 23:21:49 -07:00
kiss_fft Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot 2017-03-07 13:06:45 -05:00
libaom Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
libav Bug 1378038 MinGW causes a difference of opinion about whether or not we have unistd.h r=jya 2017-07-03 22:55:55 -05:00
libcubeb Bug 1381015 - Update cubeb from upstream to a329c6a. r=kinetik 2017-07-17 11:48:15 +03:00
libjpeg Bug 1379663 - Update libjpeg-turbo to version 1.5.2. r=jrmuizel 2017-07-13 20:12:47 -04:00
libmkv Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot 2017-03-07 13:06:45 -05:00
libnestegg Bug 1360396 - Update nestegg from upstream. r=kinetik 2017-04-27 17:14:25 -07:00
libogg Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher 2017-03-22 17:23:12 -07:00
libopus Bug 1376395 - opus: Update to the 1.2.1 release. r=rillian 2017-06-27 07:28:00 +02:00
libpng Bug 1382099 - Remove MOZ_WIDGET_GONK from media/, uriloader/, widget, /xpfe/. r=snorp. 2017-07-24 10:08:55 +10:00
libsoundtouch Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot 2017-03-07 13:06:45 -05:00
libspeex_resampler Bug 1371536 - Suppress more MSVC warnings in media/libspeex_resampler. r=padenot 2017-06-09 14:54:47 +09:00
libstagefright Bug 1379047 - treat JPEG as unknown codec since jpeg video track is not supported. r=kinetik 2017-07-11 15:19:44 +08:00
libtheora Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher 2017-03-22 17:23:12 -07:00
libtremor Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher 2017-03-22 17:23:12 -07:00
libvorbis Bug 1306476 - Update libvorbis. r=derf 2017-06-16 12:50:16 -07:00
libvpx Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor 2017-06-13 01:54:13 -04:00
libyuv Bug 1354350 - libyuv should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno 2017-05-30 15:33:55 -04:00
mtransport Bug 1381253 - Remove redundant control flow declarations rs=ehsan 2017-07-15 19:03:04 +02:00
openmax_dl Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot 2017-03-07 13:06:45 -05:00
openmax_il/il112 Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
pocketsphinx Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot 2017-03-07 13:06:45 -05:00
psshparser Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher 2017-03-22 17:23:12 -07:00
sphinxbase Bug 1292534 - Patch lexical parser files generated by flex. r=jgilbert 2017-03-20 18:20:19 -04:00
webrtc Bug 1368030 - Fix race condition in ScreenCapturerMac. r=jesup 2017-07-19 14:49:05 -04:00
moz.build Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot 2017-03-07 13:06:45 -05:00
update-libjpeg.sh