summaryrefslogtreecommitdiff
path: root/src/pipelines.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-09-26 02:18:50 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-09-26 02:18:50 +0200
commit3a452971c96e4f7a9a3adf5d01b52dfb90f4027a (patch)
tree5bfe9bf8f64d9bc6a9ccb81c423f71cfd8ad987e /src/pipelines.c
parentinclude compiler in version print (diff)
no more debugging for GOptions
no textoverlay for preview
Diffstat (limited to 'src/pipelines.c')
-rw-r--r--src/pipelines.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/pipelines.c b/src/pipelines.c
index 5f73af3..3d32237 100644
--- a/src/pipelines.c
+++ b/src/pipelines.c
@@ -148,20 +148,16 @@ static gboolean create_udp_sinks(options_t* opt, GstElement* pipeline, GstElemen
static gboolean create_preview_elements(const char* preview_bin_desc, GstElement* pipeline, GstElement* tee)
{
GstElement *qr = sydra_create_element("queue", NULL);
- GstElement *to = sydra_create_element("textoverlay", NULL);
GstElement *preview_bin = sydra_create_bin_from_desc("preview sink", preview_bin_desc);
- if(!qr || !to || !preview_bin) {
+ if(!qr || !preview_bin) {
return FALSE;
}
log_printf(DEBUG, "preview path created successfully!");
- g_object_set(G_OBJECT(to), "text", " local ", "halignment", 1 , "valignment", 0,
- "shaded-background", TRUE, "font-desc", "Sans 18", NULL);
-
- gst_bin_add_many (GST_BIN(pipeline), qr, to, preview_bin, NULL);
- gst_element_link_many(qr, to, preview_bin, NULL);
+ gst_bin_add_many (GST_BIN(pipeline), qr, preview_bin, NULL);
+ gst_element_link(qr, preview_bin);
if(!sydra_link_request_static(tee, "src_%u", qr, "sink")) {
return FALSE;