Package: gstreamer0.8-cdparanoia Version: 0.8.11-1 Severity: normal I've been having problems with gnome-cd since some time now; when it plays a disc to its end it will not bring the play button back (the pause one is kept) and if I try to change the track or click any command gnome-cd blocks with some futex weirdness.
I tracked it to being a problem on the cdparanoia gst plugin: it does not detect that the cd came to an end correctly. The attached patch fixes the problem for me, but I'm unsure if it would cause the final sectors to not be played. Thanks, -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.8-2-686 Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Versions of packages gstreamer0.8-cdparanoia depends on: ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libcdparanoia0 3a9.8-11 Shared libraries for cdparanoia (r ii libglib2.0-0 2.8.1-1 The GLib library of C routines ii libgstreamer0.8-0 0.8.11-1 Core GStreamer libraries, plugins, ii libxml2 2.6.22-1 GNOME XML library ii zlib1g 1:1.2.3-4 compression library - runtime gstreamer0.8-cdparanoia recommends no packages. -- no debconf information
--- ext/cdparanoia/gstcdparanoia.c~ 2005-08-29 11:50:49.000000000 +0000 +++ ext/cdparanoia/gstcdparanoia.c 2005-09-30 15:53:19.155742291 +0000 @@ -553,7 +553,7 @@ } /* stop things apropriatly */ - if (src->cur_sector > src->segment_end_sector) { + if (src->cur_sector >= src->segment_end_sector) { GST_DEBUG ("setting EOS"); buf = GST_BUFFER (gst_event_new (GST_EVENT_EOS));