avoid fd-leaks

Set rank of source to PRIMARY + 1
This commit is contained in:
Wim Taymans 2015-05-18 16:58:16 +02:00
parent c2a35199f7
commit 98861cb940
3 changed files with 4 additions and 7 deletions

View file

@ -44,7 +44,7 @@ plugin_init (GstPlugin * plugin)
GST_TYPE_FDPAY);
gst_element_register (plugin, "pvfddepay", GST_RANK_NONE,
GST_TYPE_FDDEPAY);
gst_element_register (plugin, "pulsevideosrc", GST_RANK_NONE,
gst_element_register (plugin, "pulsevideosrc", GST_RANK_PRIMARY + 1,
GST_TYPE_PULSEVIDEO_SRC);
gst_element_register (plugin, "pulsevideosink", GST_RANK_NONE,
GST_TYPE_PULSEVIDEO_SINK);