summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.com>2012-09-27 19:40:36 -0300
committerThiago Santos <thiago.sousa.santos@collabora.com>2012-09-27 19:42:02 -0300
commitefd14946fd8bb4765c61b6ca02029241a7decee2 (patch)
tree4ea92230ec6aa3f6117f5c19a38dfbf61d2e7cca
parent7b0e5f4598350c4bd2fbbe9a4c635479bb3e4cde (diff)
downloadgstreamer-plugins-bad-efd14946fd8bb4765c61b6ca02029241a7decee2.tar.gz
camerabin: use correct element name when replacing the video filter
The name was updated on the 0.10 -> 1.0 transition, but the gst_bin_remove was still using the old name, causing an assertion when replacing video-source-filter https://bugzilla.gnome.org/show_bug.cgi?id=681564
-rw-r--r--gst/camerabin2/gstwrappercamerabinsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c
index cc1ce4168..b409fc0f3 100644
--- a/gst/camerabin2/gstwrappercamerabinsrc.c
+++ b/gst/camerabin2/gstwrappercamerabinsrc.c
@@ -596,7 +596,7 @@ gst_wrapper_camera_bin_src_construct_pipeline (GstBaseCameraSrc * bcamsrc)
gst_bin_remove (cbin, self->video_filter);
gst_object_unref (self->video_filter);
self->video_filter = NULL;
- filter_csp = gst_bin_get_by_name (cbin, "filter-colorspace");
+ filter_csp = gst_bin_get_by_name (cbin, "filter-videoconvert");
gst_bin_remove (cbin, filter_csp);
gst_object_unref (filter_csp);
filter_csp = NULL;