GNOME Bugzilla – Bug 613809
[oggdemux] flac: file does not play locally
Last modified: 2010-03-26 14:58:24 UTC
http://samples.mplayerhq.hu/flac/When%20I%20Grow%20Up.ogg plays fine over http, but not locally (tried using playbin2 and filesrc ! oggdemux ! flacdec ! fakesink). This problem does not affect the 2 samples in that directory: http://samples.mplayerhq.hu/flac/01_-_dungeon.ogg http://samples.mplayerhq.hu/flac/Yesterday.ogg
That looks like a problem in oggdemux, it pushed different sized buffers downstream depending on pull or push mode and flacdec expects one flac frame per buffer. In pull mode it's like 4, 38, 44, 1378 bytes in pull mode it's 4, 38, 44, 4100 bytes. When comparing the concatenation of all buffers oggdemux outputs the same data in both cases though.
commit 482dd1e56a7455fed7477f0c3ab5ea945d0ebb17 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Fri Mar 26 15:57:39 2010 +0100 oggdemux: Provide packet duration function for old FLAC mapping too Fixes bug #613809.