After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 111671 - vorbisfile sets incorrect timestamps on non-seekable streams
vorbisfile sets incorrect timestamps on non-seekable streams
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.8.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-04-27 01:22 UTC by Benjamin Otte (Company)
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benjamin Otte (Company) 2003-04-27 01:22:54 UTC
Try this:
gst-launch -v { filesrc location=music.ogg ! queue } ! vorbisfile ! fakesink
Compare to:
gst-launch -v filesrc location=music.ogg ! vorbisfile ! fakesink

Notice:
The timestamps output are totally different. In the first case they are
wrong (too close).


This breaks ALSA as it syncs to timestamps and I can't hear oggs in net-rb
anymore.
Comment 1 David Schleef 2003-05-01 07:14:19 UTC
This appears to be some kind of race condition.  Adding the following
line causes the launch line to work... sometimes.

@@ -568,6 +568,7 @@
   GST_BUFFER_SIZE (outbuf) = 4096;
 
   /* get current time for discont and buffer timestamp */
+  g_print("vorbisfile: %g\n", ov_time_tell (&vorbisfile->vf));
   time = (GstClockTime) (ov_time_tell (&vorbisfile->vf) * GST_SECOND);
 
   ret = ov_read (&vorbisfile->vf, 
Comment 2 Benjamin Otte (Company) 2003-05-01 12:46:29 UTC
I've been told by Wim that this is caused by the queue not doing
correct queries, because it doesn't include the currently queued
buffers when figuring this out.
And the timestamp calculations depends on this.
Comment 3 David Schleef 2004-03-22 22:26:56 UTC
Is this still a problem with oggdemux?
Comment 4 David Schleef 2004-04-21 00:51:57 UTC
vorbisfile was removed.  Closing.