[rygel] renderer-gst: Deprecate element wrapping



commit d276d78d27b861b0a18cdd43e247ca19a3057836
Author: Jens Georg <mail jensge org>
Date:   Sun Feb 9 12:54:37 2014 +0100

    renderer-gst: Deprecate element wrapping
    
    The function causes leaks in the error case and secondly, wrapping an existing
    pipeline is not as helpful as I thought it would be.
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722021

 .../rygel-playbin-player.vala                      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-renderer-gst/rygel-playbin-player.vala 
b/src/librygel-renderer-gst/rygel-playbin-player.vala
index 3582013..72d2baa 100644
--- a/src/librygel-renderer-gst/rygel-playbin-player.vala
+++ b/src/librygel-renderer-gst/rygel-playbin-player.vala
@@ -342,8 +342,8 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
         this.setup_playbin ();
     }
 
+    [Deprecated (since="0.21.5")]
     public Player.wrap (Gst.Element playbin) {
-
         return_if_fail (playbin != null);
         return_if_fail (playbin.get_type ().name() == "GstPlayBin");
 


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