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 338290 - [flacdec] segment seek not supported
[flacdec] segment seek not supported
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.2
Other All
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-13 02:15 UTC by Артём Попов
Modified: 2006-04-20 14:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
The test program for this bug (4.66 KB, text/x-python)
2006-04-13 02:16 UTC, Артём Попов
Details

Description Артём Попов 2006-04-13 02:15:44 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:
Comment 1 Артём Попов 2006-04-13 02:16:57 UTC
Created attachment 63350 [details]
The test program for this bug
Comment 2 Tim-Philipp Müller 2006-04-20 14:22:50 UTC
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 :)