gstreamer/sys/applemedia
Heinrich Fink 0cc6d16c94 applemedia/avsample: Fix racy cleanup of CA layer
The block that is dispatched async to the main thread assumed the
wrapping GstAvSampleVideoSink to be alive. However, at the time of
the block execution the GstObject instance that is deferenced to access
the CA layer might already be freed, which caused occasional crashes.
Instead, we now only pass the CoreAnimation layer that needs to be
released to the block. We use __block to make sure the block is not
increasing the refcount of the CA layer again on its own.

https://bugzilla.gnome.org/show_bug.cgi?id=753081
2015-07-31 12:59:00 +10:00
..
atdec.c atdec: Fix some compiler warnings with newer clang 2014-09-17 17:37:12 +03:00
atdec.h atdec: Implement draining properly 2014-03-11 15:33:26 +01:00
avfassetsrc.h iosavassetsrc: rename element to avfassetsrc 2014-04-24 12:28:17 +02:00
avfassetsrc.m avfassetsrc: fix huge memory leak 2015-06-09 16:36:41 +02:00
avfvideosrc.h applemedia: update contact information 2013-02-16 02:51:52 +01:00
avfvideosrc.m avfvideosrc: add frame rate range to caps 2015-06-22 18:22:57 +02:00
avsamplevideosink.h applemedia/avsamplesink: utilise a pull based approach of displaying video frames 2015-03-04 14:48:03 +11:00
avsamplevideosink.m applemedia/avsample: Fix racy cleanup of CA layer 2015-07-31 12:59:00 +10:00
coremediabuffer.c applemedia: enable sharing of CMBlockBuffer data 2015-06-25 10:49:05 +02:00
coremediabuffer.h applemedia: don't call CVPixelBufferLockBaseAddress when doing texture sharing 2015-01-30 00:34:08 +11:00
corevideobuffer.c applemedia: corevideobuffer: make mapping the CVPixelBuffer in CPU optional 2015-01-30 00:34:08 +11:00
corevideobuffer.h applemedia: corevideobuffer: make mapping the CVPixelBuffer in CPU optional 2015-01-30 00:34:08 +11:00
corevideotexturecache.h applemedia: avoid implicit color conversions 2015-04-20 17:09:58 +10:00
corevideotexturecache.m applemedia: avoid implicit color conversions 2015-04-20 17:09:58 +10:00
iosassetsrc.h iosassetsrc: Port to 1.0 and fix some bugs on the way 2013-09-28 20:36:21 +02:00
iosassetsrc.m docs: decodebin2 -> decodebin 2015-06-25 11:02:45 +01:00
Makefile.am applemedia: new AVSampleBufferLayerSink 2015-02-24 19:12:10 +11:00
plugin.m vtdec: fix build error with clang 2015-04-26 19:23:06 +02:00
qtkitvideosrc.h applemedia: update contact information 2013-02-16 02:51:52 +01:00
qtkitvideosrc.m applemedia: corevideobuffer: make mapping the CVPixelBuffer in CPU optional 2015-01-30 00:34:08 +11:00
vtdec.c vtdec: handle non-consecutive GstBuffer input without copying 2015-07-13 11:11:04 -04:00
vtdec.h vtdec: Register a hardware-only vtdec_hw on OSX and give it a higher rank 2015-03-07 10:31:26 +01:00
vtenc.c vtenc: always enqueue frames, even on error 2015-06-10 22:23:06 +02:00
vtenc.h vtenc: fix keyframe request race condition 2015-06-01 13:32:03 +02:00
vtutil.c atdec: Set correct number of frames for MP3 2014-03-11 15:33:25 +01:00
vtutil.h applemedia: replace private function with its public variant 2013-05-20 13:31:02 +02:00