From 5da4a434d34388641b6880d077be00d774cb3154 Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Mon, 10 Sep 2012 13:40:21 +0200 Subject: [PATCH] renderer: Improve the Playbin.Renderer documentation. Based on examples/standalone-renderer.c --- src/librygel-renderer/rygel-playbin-renderer.vala | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/librygel-renderer/rygel-playbin-renderer.vala b/src/librygel-renderer/rygel-playbin-renderer.vala index 14dd277..5da302e 100644 --- a/src/librygel-renderer/rygel-playbin-renderer.vala +++ b/src/librygel-renderer/rygel-playbin-renderer.vala @@ -47,6 +47,17 @@ internal class Rygel.Playbin.WrappingPlugin : Rygel.MediaRendererPlugin { * changing the currently played URI, volume, pause/play etc., to UPnP. * * Likewise, the playbin can be modified externally using UPnP. + * + * You can retrieve the Gst.Playbin2 by calling rygel_playbin_player_get_playbin() + * on the default player - see rygel_playbin_player_get_default(). + * You should then set the "video-sink" and "audio-sink" properties of the + * playbin. + * + * Call rygel_media_device_add_interface() on the Renderer to allow it + * to be controlled by a control point and to retrieve data streams via that + * network interface. + * + * See the standalone-renderer.c example. */ public class Rygel.Playbin.Renderer : Rygel.MediaDevice { /** -- 2.7.4