GNOME Bugzilla – Bug 338290
[flacdec] segment seek not supported
Last modified: 2006-04-20 14:22:50 UTC
Please describe the problem: According to http://webcvs.freedesktop.org/gstreamer/gstreamer/docs/design/part-seeking.txt?view=markup when SEEK_FLAG_SEGMENT is set, a plugin should send a SEGMENT_DONE message. FLAC decoder seems to ignore this flag and sends EOS message when playback position reaches segment stop point in all cases: whenever FLAG_SEGMENT is set or not. Steps to reproduce: 1. I'm going to attach a small python script (a cutout from my app) that can be used to test segment-seeking behaviour. It can be used like this: $ segment-test.py test.flac 20 30 1 argument are: <start_seconds> <stop_seconds> <loop = 0|1> Actual results: Expected results: Does this happen every time? Other information:
Created attachment 63350 [details] The test program for this bug
Should be fixed in CVS now: 2006-04-20 Tim-Philipp Müller <tim at centricular dot net> * ext/flac/gstflacdec.c: (gst_flac_dec_loop), (gst_flac_dec_handle_seek_event): Add support for segment seeks (fixes #338290). Also demote some recurring debug message from DEBUG to LOG level. This test program is fun :)