basesrc: fix after merge

This commit is contained in:
Wim Taymans 2011-07-07 11:14:34 +02:00
parent b171259612
commit c87375a813

View file

@ -2186,7 +2186,7 @@ again:
/* track position */ /* track position */
GST_OBJECT_LOCK (src); GST_OBJECT_LOCK (src);
if (src->segment.format == GST_FORMAT_BYTES) 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); GST_OBJECT_UNLOCK (src);
/* normally we don't count buffers */ /* normally we don't count buffers */