osxvideosink: Set rank to MARGINAL
authorSebastian Dröge <sebastian@centricular.com>
Sat, 12 Apr 2014 20:16:37 +0000 (22:16 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 12 Apr 2014 20:17:30 +0000 (22:17 +0200)
If available we prefer using glimagesink over osxvideosink. It supports
more formats and in general has more features than osxvideosink.

sys/osxvideo/osxvideosink.m

index 47956978de48faa11d711bf2e25f8c2c3a5590ed..84a445bd6171323f526edfb0184ee37ad799d786 100644 (file)
@@ -1016,7 +1016,7 @@ plugin_init (GstPlugin * plugin)
 {
 
   if (!gst_element_register (plugin, "osxvideosink",
-          GST_RANK_PRIMARY, GST_TYPE_OSX_VIDEO_SINK))
+          GST_RANK_MARGINAL, GST_TYPE_OSX_VIDEO_SINK))
     return FALSE;
 
   GST_DEBUG_CATEGORY_INIT (gst_debug_osx_video_sink, "osxvideosink", 0,