[rygel-gst-0-10-media-engine] No need to unref caps



commit facc47e2562e688acd53c37aa7a5fc330183d192
Author: Jens Georg <jensg openismus com>
Date:   Fri Feb 15 13:10:32 2013 +0100

    No need to unref caps

 src/rygel-gst-sink.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel-gst-sink.c b/src/rygel-gst-sink.c
index 992715d..d1bcd03 100644
--- a/src/rygel-gst-sink.c
+++ b/src/rygel-gst-sink.c
@@ -374,7 +374,6 @@ rygel_gst_sink_class_init (RygelGstSinkClass *gst_sink_class) {
                                     caps);
   gst_element_class_add_pad_template (element_class, template);
   gst_object_unref (template);
-  gst_caps_unref (caps);
 
   g_type_class_add_private (gst_sink_class, sizeof (RygelGstSinkPrivate));
 }


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