From c87375a8135ab407e2f5e3f8e4a7821b3d1266ae Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 7 Jul 2011 11:14:34 +0200 Subject: [PATCH] basesrc: fix after merge --- libs/gst/base/gstbasesrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index c40ae940dc..5faf70dd74 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -2186,7 +2186,7 @@ again: /* track position */ GST_OBJECT_LOCK (src); if (src->segment.format == GST_FORMAT_BYTES) - gst_segment_set_last_stop (&src->segment, GST_FORMAT_BYTES, offset); + src->segment.position = offset; GST_OBJECT_UNLOCK (src); /* normally we don't count buffers */