[gnome-dvb-daemon/gst-1.0] Set element and pipeline of RTSPMedia correctly
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dvb-daemon/gst-1.0] Set element and pipeline of RTSPMedia correctly
- Date: Sun, 13 Oct 2013 10:42:18 +0000 (UTC)
commit 87858a295726307338214b1a8fc34f8c7fee213a
Author: Sebastian Pölsterl <sebp k-d-w org>
Date: Sat Oct 12 21:37:29 2013 +0200
Set element and pipeline of RTSPMedia correctly
src/rtsp/MediaFactory.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/rtsp/MediaFactory.vala b/src/rtsp/MediaFactory.vala
index 456518e..c0944e2 100644
--- a/src/rtsp/MediaFactory.vala
+++ b/src/rtsp/MediaFactory.vala
@@ -81,9 +81,9 @@ namespace DVB {
// Construct media
Gst.RTSPMedia media = new DVBMedia (devgrp, channel, payload);
- media.element = bin;
+ media.set_property("element", bin);
// Set pipeline
- media.pipeline = player.get_pipeline ();
+ media.take_pipeline ( (Gst.Pipeline) player.get_pipeline ());
media.collect_streams ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]