[longomatch] Skip the run loop check in osxvideosink



commit 6d1ad4b4722be5b109f5389d421c044a91df03d8
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue May 7 23:03:33 2013 +0200

    Skip the run loop check in osxvideosink

 libcesarplayer/bacon-video-widget-gst-0.10.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/bacon-video-widget-gst-0.10.c b/libcesarplayer/bacon-video-widget-gst-0.10.c
index 5782325..cfd2024 100644
--- a/libcesarplayer/bacon-video-widget-gst-0.10.c
+++ b/libcesarplayer/bacon-video-widget-gst-0.10.c
@@ -4634,6 +4634,10 @@ bacon_video_widget_new (int width, int height, BvwUseType type, GError ** err)
       g_warning ("Could not create element '%s'", DEFAULT_VIDEO_SINK);
       /* Try to fallback on ximagesink */
       video_sink = gst_element_factory_make ("ximagesink", "video-sink");
+    } else {
+#if defined(OSTYPE_OS_X)
+      g_object_set (video_sink, "check-runloop", FALSE, NULL);
+#endif
     }
 
   } else {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]