mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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
This commit is contained in:
parent
7b0e5f4598
commit
efd14946fd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue