From 314e01e83fae07242fa8b28e9617ccd0515c5b5a Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Thu, 7 Nov 2013 13:33:36 +0000 Subject: [PATCH] avfvideosrc: set rank to GST_RANK_PRIMARY Makes avfvideosrc to be used with autodetection. https://bugzilla.gnome.org/show_bug.cgi?id=711614 --- sys/applemedia/plugin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/applemedia/plugin.m b/sys/applemedia/plugin.m index e6292521e1..b45b9d9ec7 100644 --- a/sys/applemedia/plugin.m +++ b/sys/applemedia/plugin.m @@ -63,7 +63,7 @@ plugin_init (GstPlugin * plugin) #endif #ifdef HAVE_AVFOUNDATION - res &= gst_element_register (plugin, "avfvideosrc", GST_RANK_NONE, + res &= gst_element_register (plugin, "avfvideosrc", GST_RANK_PRIMARY, GST_TYPE_AVF_VIDEO_SRC); #endif