gst-launch,test: Use new API
authorJens Georg <mail@jensge.org>
Sun, 29 Jan 2012 14:28:23 +0000 (15:28 +0100)
committerJens Georg <mail@jensge.org>
Sun, 29 Jan 2012 14:28:23 +0000 (15:28 +0100)
vala-0.14 didn't complain about this so it wasn't caught.

src/plugins/gst-launch/rygel-gst-launch-audio-item.vala
src/plugins/gst-launch/rygel-gst-launch-video-item.vala
src/plugins/test/rygel-test-audio-item.vala
src/plugins/test/rygel-test-video-item.vala

index d68fb6f..81e3eaa 100644 (file)
@@ -42,7 +42,7 @@ public class Rygel.GstLaunch.AudioItem : Rygel.AudioItem, Item {
         this.launch_line = launch_line;
     }
 
-    public override Element? create_stream_source () {
+    public override Element? create_stream_source (string? host_ip) {
         return this.create_source ();
     }
 }
index 3cfa0bc..b25900c 100644 (file)
@@ -42,7 +42,7 @@ public class Rygel.GstLaunch.VideoItem : Rygel.VideoItem, Item {
         this.launch_line = launch_line;
     }
 
-    public override Element? create_stream_source () {
+    public override Element? create_stream_source (string? host_ip) {
         return this.create_source ();
     }
 }
index 36b1b39..9a27c8a 100644 (file)
@@ -37,7 +37,7 @@ public class Rygel.Test.AudioItem : Rygel.AudioItem {
         this.mime_type = TEST_MIMETYPE;
     }
 
-    public override Element? create_stream_source () {
+    public override Element? create_stream_source (string? host_ip) {
         try {
             return parse_bin_from_description (PIPELINE, true);
         } catch (Error err) {
index 876d271..237f943 100644 (file)
@@ -39,7 +39,7 @@ public class Rygel.Test.VideoItem : Rygel.VideoItem {
         this.mime_type = TEST_MIMETYPE;
     }
 
-    public override Element? create_stream_source () {
+    public override Element? create_stream_source (string? host_ip) {
         try {
             return parse_bin_from_description (PIPELINE, true);
         } catch (Error err) {