From efd14946fd8bb4765c61b6ca02029241a7decee2 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 27 Sep 2012 19:40:36 -0300 Subject: [PATCH] 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 --- gst/camerabin2/gstwrappercamerabinsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/camerabin2/gstwrappercamerabinsrc.c b/gst/camerabin2/gstwrappercamerabinsrc.c index cc1ce4168a..b409fc0f38 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;