GNOME Bugzilla – Bug 788052
flacparse: Seeking from a http source takes a long time
Last modified: 2018-11-03 15:22:13 UTC
Created attachment 360268 [details] Program to perform a seek on a given URI after 10 seconds When using gst-player to play a flac track from an http server, seeks take a very long time (10s of seconds upwards). This is not seen when playing from a file. This behaviour is a regression from 1.10.5. Reverting adeee44b07a173b9ab4253216caba8f66dd43abb (fix for bug 727802) makes seeking work in a more timely fashion again. A simple program using gst-player to play a URI and perform a seek after 10 seconds is attached. The file I've been testing with can be downloaded from http://upgrades.uuvol.com/alanis.flac
My guess would be that it's also draining then and does not honour the flush flag in the seek, if that commit indeed makes a difference. Needs some debugging and looking at logs though to see what it actually does while "doing nothing".
Created attachment 360335 [details] Log with GST_DEBUG=5 Attached a log with GST_DEBUG=5. The seek happens after 10 seconds, and is a seek to 30 seconds into the track. No audio is heard for more than a minute after the seek (at which point I stopped).
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/404.