osxvideosink: fix segfault releasing the sink
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Fri, 20 Sep 2013 17:43:21 +0000 (19:43 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 24 Sep 2013 07:59:51 +0000 (09:59 +0200)
commit05f6c094fa0b5f64507cc035b388c7f635c9ee70
tree03148daf89deee97173ec8a3570421c3b45c8205
parent141a1fc296b9d98179f09aaca578b4c1fccbaef7
osxvideosink: fix segfault releasing the sink

show_frame is deferred to the main thread and can be called
when the sink has been released, so we need to keep an extra ref
on ObjectiveC object helper.

https://bugzilla.gnome.org/show_bug.cgi?id=708501
sys/osxvideo/osxvideosink.m