summaryrefslogtreecommitdiff
path: root/gst-libs/gst/basecamerabinsrc
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>2011-09-01 20:01:09 -0300
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>2011-09-05 09:33:45 -0300
commit0bdde84f3b8f76f0ac3e89af820a748088810a3a (patch)
treea931013e90c986380c56021767aab7682b77dfbc /gst-libs/gst/basecamerabinsrc
parent8a044de701ea28ef77803c72c9899588a755ee44 (diff)
downloadgstreamer-plugins-bad-0bdde84f3b8f76f0ac3e89af820a748088810a3a.tar.gz
camerabin2: preview: Disable appsrc signals emission
Camerabin2 doesn't check appsrc's signals, so disable them
Diffstat (limited to 'gst-libs/gst/basecamerabinsrc')
-rw-r--r--gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c b/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c
index 6dd07b060..597aeb96f 100644
--- a/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c
+++ b/gst-libs/gst/basecamerabinsrc/gstcamerabinpreview.c
@@ -148,6 +148,8 @@ gst_camerabin_create_preview_pipeline (GstElement * element,
goto error;
}
+ g_object_set (data->appsrc, "emit-signals", FALSE, NULL);
+
gst_bin_add_many (GST_BIN (data->pipeline), data->appsrc, data->capsfilter,
data->appsink, csp, csp2, vscale, NULL);
if (filter)