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




commit d68d73b2a9e238715254ded311ec0773bbb1749c
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 4883c6421..a42d77941 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]