GNOME Bugzilla – Bug 142507
[PATCH] id3tag plugin does not correctly set buffer offset
Last modified: 2004-12-22 21:47:04 UTC
gstid3tag.c falsely assumes that gst_buffer_create_sub() will set the offset field of the created buffer. This is not the case, as decided in bug 113180, since the offset field is media specific. Thus, gstid3tag.c really ought to set the buffer offset manually after running gst_buffer_create_sub() with a non-zero offset. This bug manifests itself in this way: If the pipeline is not seekable (such as with fdsrc) and the played mp3 has an ID3v2 tag at the beginning, the first second or two of audio will be skipped.
Created attachment 27681 [details] [review] Patch to manually set buffer offset The attached one-liner patch fixes the bug by setting the buffer offset manually following the call to gst_buffer_create_sub().
fixed in cvs