From 52c8457225f0dce2b62abd50eed790fcb916b028 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 7 Oct 2014 23:55:47 +0200 Subject: sydra-launch works now --- src/pipelines-launch.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pipelines-launch.c b/src/pipelines-launch.c index 56050b3..003863b 100644 --- a/src/pipelines-launch.c +++ b/src/pipelines-launch.c @@ -50,6 +50,12 @@ GstElement* create_pipeline(options_t* opt) log_printf(ERROR, "Creating pipeline failed!"); return NULL; } + GstElement *main = sydra_create_bin_from_desc("main", opt->pipeline_, TRUE); + if(!main) { + log_printf(ERROR, "Creating main pipeline failed!"); + return NULL; + } + gst_bin_add(GST_BIN(pipeline), main); log_printf(INFO, "pipeline created successfully!"); return pipeline; -- cgit v1.2.3