From ece8ac69cc5719e1e814c60747ea81cd535ac497 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 1 Oct 2014 23:32:16 +0200 Subject: sydra create bin now lets the caller control wheter to create ghost pads or not --- src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 729b23a..b1bcee3 100644 --- a/src/utils.c +++ b/src/utils.c @@ -51,10 +51,10 @@ gint cmp_udp_client(gconstpointer A, gconstpointer B) return strncmp(a->host_.addr_, b->host_.addr_, sizeof(a->host_.addr_)); } -GstElement* sydra_create_bin_from_desc(const char* type, const char* desc) +GstElement* sydra_create_bin_from_desc(const char* type, const char* desc, gboolean ghost_unlinked_pads) { GError *error = NULL; - GstElement *bin = gst_parse_bin_from_description(desc, TRUE, &error); + GstElement *bin = gst_parse_bin_from_description(desc, ghost_unlinked_pads, &error); if(!bin) { log_printf(ERROR, "Bin description for %s parser error: %s", type, error ? error->message : "unknown"); g_error_free(error); -- cgit v1.2.3