diff --git a/ChangeLog b/ChangeLog index 72a386d61c..2ab35670c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-02-23 Tim-Philipp Müller + + * plugins/elements/gstfilesrc.c: (gst_file_src_create_read): + Update src->read_position after a seek when not using mmap. + Fixes #332277, patch by: Renchi Raju + 2006-02-21 Jan Schmidt * gst/Makefile.am: diff --git a/common b/common index c30611ac38..c09cd18d32 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit c30611ac38336030fed6d258c6e558cc537adbc5 +Subproject commit c09cd18d328f740ac532377fa5605b0f712cc6fd diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index bceb233cf1..72aa74f287 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -729,6 +729,8 @@ gst_file_src_create_read (GstFileSrc * src, guint64 offset, guint length, res = lseek (src->fd, offset, SEEK_SET); if (res < 0 || res != offset) goto seek_failed; + + src->read_position = offset; } buf = gst_buffer_new_and_alloc (length);