mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
wrappercamerabinsrc: Ready is enough for forcing a caps change
This commit is contained in:
parent
b56d9d3ba0
commit
4624e88b08
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ gst_wrapper_camera_bin_reset_video_src_caps (GstWrapperCameraBinSrc * self,
|
||||||
clock = gst_element_get_clock (self->src_vid_src);
|
clock = gst_element_get_clock (self->src_vid_src);
|
||||||
base_time = gst_element_get_base_time (self->src_vid_src);
|
base_time = gst_element_get_base_time (self->src_vid_src);
|
||||||
|
|
||||||
gst_element_set_state (self->src_vid_src, GST_STATE_NULL);
|
gst_element_set_state (self->src_vid_src, GST_STATE_READY);
|
||||||
set_capsfilter_caps (self, caps);
|
set_capsfilter_caps (self, caps);
|
||||||
|
|
||||||
self->drop_newseg = TRUE;
|
self->drop_newseg = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue