/*
- * dvbbasebin.c -
+ * dvbbasebin.c -
* Copyright (C) 2007 Alessandro Decina
* Copyright (C) 2014 Samsung Electronics. All rights reserved.
- *
+ *
* Authors:
* Alessandro Decina <alessandro@nnva.org>
* Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
if (dvbbasebin->tsparse != NULL) {
pad = gst_element_get_static_pad (dvbbasebin->tsparse, "src");
ghost = gst_ghost_pad_new ("src", pad);
+ gst_object_unref (pad);
} else {
ghost = gst_ghost_pad_new_no_target ("src", GST_PAD_SRC);
}
gst_element_class_add_pad_template (element_class, src_template);
+ if (src_caps)
+ gst_caps_unref (src_caps);
+
g_object_class_install_property (object_class,
PROP_DISPLAY, g_param_spec_string ("display", "Display", "X Display name",
NULL, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));