Commit 859c751a authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

imagefreeze: Set segment position to the stop position of the buffer

parent 4282d755
......@@ -764,8 +764,11 @@ gst_image_freeze_src_loop (GstPad * pad)
gst_segment_clip (&self->segment, GST_FORMAT_TIME, timestamp,
timestamp_end, &cstart, &cstop);
if (in_seg)
if (in_seg) {
self->segment.position = cstart;
if (self->segment.rate >= 0)
self->segment.position = cstop;
if (self->segment.rate >= 0)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment