From 631b9061e9a69cf78407e5655b1b32b3a252c169 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Wed, 15 Sep 2021 21:33:16 +0200 Subject: gst-media-engine: Adapt to vapi changes --- src/media-engines/gstreamer/rygel-gst-media-engine.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/media-engines/gstreamer/rygel-gst-media-engine.vala b/src/media-engines/gstreamer/rygel-gst-media-engine.vala index 4883c642..a42d7794 100644 --- a/src/media-engines/gstreamer/rygel-gst-media-engine.vala +++ b/src/media-engines/gstreamer/rygel-gst-media-engine.vala @@ -36,7 +36,7 @@ public class Rygel.GstMediaEngine : Rygel.MediaEngine { Gst.init (ref args); GES.init (); - Gst.preset_set_app_dir (BuildConfig.PRESET_DIR); + Gst.Preset.set_app_dir (BuildConfig.PRESET_DIR); /* Get the possible DLNA profiles * to add to the list of DLNA profiles supported by @@ -136,7 +136,7 @@ public class Rygel.GstMediaEngine : Rygel.MediaEngine { debug ("get_resources_for_item(%s), protocol: %s", source_uri, scheme); - if (!Gst.URI.protocol_is_supported (URIType.SRC, scheme) && + if (!Gst.Uri.protocol_is_supported (URIType.SRC, scheme) && scheme != "gst-launch" && scheme != "dvd") { warning (_("Can’t process URI %s with protocol %s"), -- cgit v1.2.1