diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-01 23:32:16 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-01 23:32:16 +0200 |
commit | ece8ac69cc5719e1e814c60747ea81cd535ac497 (patch) | |
tree | 42bf680a1e6a515a037a43f8a78419c30f95ee87 /src/utils.c | |
parent | sending remove client command when closed (diff) |
sydra create bin now lets the caller control wheter to create ghost pads or not
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |