GNOME Bugzilla – Bug 98193
[SPIDER] gstspideridentity doesn't flush cache on seek
Last modified: 2004-12-22 21:47:04 UTC
If I try to plag an ogg file with gst-launch filesrc ! spider ! esdsink, the spider correctly identifies the type of the file but the vorbis decoder rejects it with "This is not a Vorbis file". The problem is that vorbisfile explicitly seeks the stream to 0 when it starts up. At this point, the spider has the first 4k or so of data in its cache. It plays this data out and then switches back to feeding from the filesrc. But, since the seek was passed through to filesrc, it starts over from the beginning of the file. The effect of all this is that the first page of the file is read twice, which causes vorbisfile to decide that the stream is corrupt and turn its nose up at it.
I can't reproduce this with either 0.6 or HEAD. So I'm assuming it's fixed. Could you reopen the bug if it isn't?