[rygel/wip/no-value-array: 2/2] gst-media-engine: Adapt to vapi changes




commit 631b9061e9a69cf78407e5655b1b32b3a252c169
Author: Jens Georg <mail jensge org>
Date:   Wed Sep 15 21:33:16 2021 +0200

    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"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]