avfvideosrc: set rank to GST_RANK_PRIMARY

Makes avfvideosrc to be used with autodetection.

https://bugzilla.gnome.org/show_bug.cgi?id=711614
This commit is contained in:
Matthieu Bouron 2013-11-07 13:33:36 +00:00 committed by Sebastian Dröge
parent d59af97930
commit 314e01e83f

View file

@ -63,7 +63,7 @@ plugin_init (GstPlugin * plugin)
#endif #endif
#ifdef HAVE_AVFOUNDATION #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); GST_TYPE_AVF_VIDEO_SRC);
#endif #endif