Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gst-plugins-good.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.decina@collabora.co.uk>2012-05-24 15:08:35 +0400
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-05-24 16:36:13 +0400
commit57e43aeb21b21d928bf5771910dd06b5b4353ad6 (patch)
tree2f731f6acb87bed2704cbccf56014089d3074131 /sys/osxvideo
parentdc8de54cce1da152be7a190be7df89a0c2d84a52 (diff)
osxvideosink: start the loop before calling [gstview haveSuperview]
...as haveSuperview requires the mainloop to be running
Diffstat (limited to 'sys/osxvideo')
-rw-r--r--sys/osxvideo/osxvideosink.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m
index e64d40dd6..8fcb00f40 100644
--- a/sys/osxvideo/osxvideosink.m
+++ b/sys/osxvideo/osxvideosink.m
@@ -227,6 +227,7 @@ gst_osx_video_sink_osxwindow_create (GstOSXVideoSink * osxvideosink, gint width,
GST_INFO_OBJECT (osxvideosink, "'have-ns-view' message sent");
+ gst_osx_video_sink_run_cocoa_loop (osxvideosink);
/* check if have-ns-view was handled and osxwindow->gstview was added to a
* superview
*/
@@ -254,7 +255,6 @@ gst_osx_video_sink_osxwindow_create (GstOSXVideoSink * osxvideosink, gint width,
*/
GST_INFO_OBJECT (osxvideosink, "no superview");
} else {
- gst_osx_video_sink_run_cocoa_loop (osxvideosink);
gst_osx_video_sink_call_from_main_thread(osxvideosink->osxvideosinkobject,
@selector(createInternalWindow), nil, YES);
GST_INFO_OBJECT (osxvideosink, "No superview, creating an internal window.");