diff options
author | Jens Georg <mail@jensge.org> | 2021-09-15 21:33:16 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2021-09-15 21:33:16 +0200 |
commit | 631b9061e9a69cf78407e5655b1b32b3a252c169 (patch) | |
tree | 6c5c1101d9907be30e800ff6105e7695e7cb22a5 | |
parent | d3577f71df5b63d4136a9c022c0dcbbaf7b5d685 (diff) | |
download | rygel-wip/no-value-array.tar.gz |
gst-media-engine: Adapt to vapi changeswip/no-value-array
-rw-r--r-- | src/media-engines/gstreamer/rygel-gst-media-engine.vala | 4 |
1 files 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"), |