[gnome-dvb-daemon] Use Gst.RTSP.Url



commit e5a78a73b858219a5bc738a4b06df591cf3a8e76
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Mon Mar 11 20:20:28 2013 +0100

    Use Gst.RTSP.Url

 src/rtsp/MediaFactory.vala |    6 +++---
 src/rtsp/MediaMapping.vala |    2 +-
 src/rtsp/Server.vala       |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/rtsp/MediaFactory.vala b/src/rtsp/MediaFactory.vala
index dd94b0c..2a4a93b 100644
--- a/src/rtsp/MediaFactory.vala
+++ b/src/rtsp/MediaFactory.vala
@@ -30,8 +30,8 @@ namespace DVB {
             this.set_shared (true);
         }
 
-        public override Gst.RTSPMedia? @construct (Gst.RTSPUrl url) {
-            uint sidnr = 0;
+        public override Gst.RTSPMedia? @construct (Gst.RTSP.Url url) {
+               uint sidnr = 0;
                uint grpnr = 0;
 
                string[] path_elements = url.abspath.split ("/");
@@ -90,7 +90,7 @@ namespace DVB {
             return media;
         }
 
-        public override string gen_key (Gst.RTSPUrl url) {
+        public override string gen_key (Gst.RTSP.Url url) {
             return url.abspath;
         }
     }
diff --git a/src/rtsp/MediaMapping.vala b/src/rtsp/MediaMapping.vala
index 0d5b918..c51a0a4 100644
--- a/src/rtsp/MediaMapping.vala
+++ b/src/rtsp/MediaMapping.vala
@@ -25,7 +25,7 @@ namespace DVB {
 
         private static Gst.RTSPMediaFactory factory_instance = new MediaFactory ();
 
-        public override Gst.RTSPMediaFactory? find_media (Gst.RTSPUrl url) {
+        public override Gst.RTSPMediaFactory? find_media (Gst.RTSP.Url url) {
             return factory_instance;
         }
 
diff --git a/src/rtsp/Server.vala b/src/rtsp/Server.vala
index 1777f4a..cc966c5 100644
--- a/src/rtsp/Server.vala
+++ b/src/rtsp/Server.vala
@@ -76,7 +76,7 @@ namespace DVB.RTSPServer {
     }
 
     private class StopChannelHelper {
-        private Gst.RTSPUrl url;
+        private Gst.RTSP.Url url;
 
         public StopChannelHelper (string url_str) {
             Gst.RTSPUrl.parse (url_str, out this.url);


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