mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
wrappercamerabinsrc: Fix newsegment pushing
Send update newsegments instead of non-update ones for the video branch when starting recordings
This commit is contained in:
parent
d3a5058611
commit
582c150658
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ gst_wrapper_camera_bin_src_vidsrc_probe (GstPad * pad, GstBuffer * buffer,
|
|||
|
||||
/* send the newseg */
|
||||
GST_DEBUG_OBJECT (self, "Starting video recording, pushing newsegment");
|
||||
gst_pad_push_event (pad, gst_event_new_new_segment (FALSE, 1.0,
|
||||
gst_pad_push_event (pad, gst_event_new_new_segment (TRUE, 1.0,
|
||||
GST_FORMAT_TIME, start, -1, 0));
|
||||
self->video_rec_status = GST_VIDEO_RECORDING_STATUS_RUNNING;
|
||||
|
||||
|
|
Loading…
Reference in a new issue