osxvideosink: only create the NS app thread for Cocoa once
authorAndoni Morales Alastruey <ylatuya@gmail.com>
Sun, 7 Jul 2013 19:14:22 +0000 (21:14 +0200)
committerAndoni Morales Alastruey <ylatuya@gmail.com>
Wed, 10 Jul 2013 15:42:59 +0000 (17:42 +0200)
commit213fa3af0d5cea0faf358586c6fd5e8cb7d8314f
treec2ac7644fb7f7b7c29dff13d43d1524d9621469d
parent7b69f427f11e9c936e624e34863f2956232af5b1
osxvideosink: only create the NS app thread for Cocoa once

The helper thread for Cocoa, in case no NS run loop is running,
should be started only once and shared across all the instances
running
sys/osxvideo/osxvideosink.h
sys/osxvideo/osxvideosink.m