mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-12 13:30:15 -05:00
avoid fd-leaks
Set rank of source to PRIMARY + 1
This commit is contained in:
parent
c2a35199f7
commit
98861cb940
3 changed files with 4 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue