config: Check for correct Gst element

We use filesink, not filesrc ...

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5710

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2519>
This commit is contained in:
Florian Müllner 2022-10-24 14:09:20 +02:00
parent a25d0f6d22
commit cff56d4b03

View File

@ -25,4 +25,4 @@ var HAVE_RECORDER =
pkg.checkSymbol('Gst', '1.0') && pkg.checkSymbol('Gst', '1.0') &&
imports.gi.Gst.init_check(null) && imports.gi.Gst.init_check(null) &&
imports.gi.Gst.ElementFactory.find('pipewiresrc') && imports.gi.Gst.ElementFactory.find('pipewiresrc') &&
imports.gi.Gst.ElementFactory.find('filesrc'); imports.gi.Gst.ElementFactory.find('filesink');