wrappercamerabinsrc: Ready is enough for forcing a caps change

This commit is contained in:
Thiago Santos 2011-02-10 11:50:27 -03:00
parent b56d9d3ba0
commit 4624e88b08

View file

@ -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;