[rygel] gst-launch: Fix setting of DLNA profile
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] gst-launch: Fix setting of DLNA profile
- Date: Sun, 7 Feb 2016 12:05:56 +0000 (UTC)
commit 6f2e09cd0ae9a6e0d5baf52ab549df821ff305c3
Author: Jens Georg <mail jensge org>
Date: Sun Feb 7 13:01:48 2016 +0100
gst-launch: Fix setting of DLNA profile
Signed-off-by: Jens Georg <mail jensge org>
.../gst-launch/rygel-gst-launch-audio-item.vala | 2 --
.../rygel-gst-launch-root-container.vala | 2 ++
.../gst-launch/rygel-gst-launch-video-item.vala | 2 --
3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/gst-launch/rygel-gst-launch-audio-item.vala
b/src/plugins/gst-launch/rygel-gst-launch-audio-item.vala
index e88c1f2..edd5177 100644
--- a/src/plugins/gst-launch/rygel-gst-launch-audio-item.vala
+++ b/src/plugins/gst-launch/rygel-gst-launch-audio-item.vala
@@ -38,7 +38,5 @@ public class Rygel.GstLaunch.AudioItem : Rygel.AudioItem {
this.mime_type = mime_type;
this.add_uri ("gst-launch://" + launch_line);
-
- this.add_engine_resources.begin ();
}
}
diff --git a/src/plugins/gst-launch/rygel-gst-launch-root-container.vala
b/src/plugins/gst-launch/rygel-gst-launch-root-container.vala
index c73af7d..1d3bba4 100644
--- a/src/plugins/gst-launch/rygel-gst-launch-root-container.vala
+++ b/src/plugins/gst-launch/rygel-gst-launch-root-container.vala
@@ -78,6 +78,8 @@ public class Rygel.GstLaunch.RootContainer : SimpleContainer {
if (dlna_profile != null) {
item.dlna_profile = dlna_profile;
}
+
+ item.add_engine_resources.begin ();
this.add_child_item (item);
}
} catch (GLib.Error err) {
diff --git a/src/plugins/gst-launch/rygel-gst-launch-video-item.vala
b/src/plugins/gst-launch/rygel-gst-launch-video-item.vala
index c6d214a..471b5ee 100644
--- a/src/plugins/gst-launch/rygel-gst-launch-video-item.vala
+++ b/src/plugins/gst-launch/rygel-gst-launch-video-item.vala
@@ -39,7 +39,5 @@ public class Rygel.GstLaunch.VideoItem : Rygel.VideoItem {
this.mime_type = mime_type;
this.add_uri ("gst-launch://" + launch_line);
-
- this.add_engine_resources.begin ();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]