[rygel] media-engine: Prevent structure copying



commit 0984169789698d5c038a5ce1230e2ea2328eb9fc
Author: Jens Georg <jensg openismus com>
Date:   Tue Aug 13 11:26:02 2013 +0200

    media-engine: Prevent structure copying

 src/media-engines/gstreamer/rygel-gst-utils.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/media-engines/gstreamer/rygel-gst-utils.vala 
b/src/media-engines/gstreamer/rygel-gst-utils.vala
index af664c1..9165a82 100644
--- a/src/media-engines/gstreamer/rygel-gst-utils.vala
+++ b/src/media-engines/gstreamer/rygel-gst-utils.vala
@@ -121,7 +121,7 @@ internal abstract class Rygel.GstUtils {
     }
 
     private static bool need_rtp_depayloader (Caps caps) {
-        var structure = caps.get_structure (0);
+        unowned Structure structure = caps.get_structure (0);
 
         return structure.get_name () == "application/x-rtp";
     }


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