diff options
author | Christian Pointner <equinox@spreadspace.org> | 2014-10-07 23:55:47 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2014-10-07 23:55:47 +0200 |
commit | 52c8457225f0dce2b62abd50eed790fcb916b028 (patch) | |
tree | 0f1017e58b64856c6a94113a477e0c10575b2933 /src | |
parent | added basic sydra-launch (diff) |
sydra-launch works now
Diffstat (limited to 'src')
-rw-r--r-- | src/pipelines-launch.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |