mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
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:
parent
d59af97930
commit
314e01e83f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue