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 96329 - cdparanoia regressions
cdparanoia regressions
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other other
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-10-20 19:16 UTC by Jorn Baayen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
log (26.58 KB, text/plain)
2002-10-20 22:37 UTC, Jorn Baayen
Details

Description Jorn Baayen 2002-10-20 19:16:07 UTC
A recent commit to the cdparanoia plugin removed all properties that allow
you to spec from where to where it should play. Right now, afaict, it can
only play from the beginning of the CD. Could this please be reverted or
another way be added to choose another track?
Comment 1 Wim Taymans 2002-10-20 19:32:18 UTC
cdparanoia uses events now to do the seeking, it defines a new seek
format (tracks). seeking would work something like this now:

track_format = gst_format_get_by_nick("track");

gst_pad_send_event (cdparanoia_src, 
                    gst_event_new_seek (
                      track_format |
                      GST_SEEK_METHOD_SET |
                      GST_SEEK_FLAG_FLUSH,
                      1));

you can set start and stop track with gst_event_new_segment_seek()
sectors is specified with a seek to UNITS (need to fix that)
track duration is apparently not implemented yet.



                      
Comment 2 Jorn Baayen 2002-10-20 22:37:05 UTC
event = gst_event_new_segment_seek (gst_format_get_by_nick ("track") |
						    GST_SEEK_METHOD_SET |
						    GST_SEEK_FLAG_FLUSH,
					            track, track);

gst_pad_send_event (ms->priv->source_pad, event);

This is what I'm doing now, and it segfaults .. the source cdparanoia
element has not yet been added to a bin or connected to anything.

Going to attach a gst-mask=-1 log.
Comment 3 Jorn Baayen 2002-10-20 22:37:38 UTC
Created attachment 11719 [details]
log
Comment 4 Iain 2002-10-24 16:25:40 UTC
It would be nice if you could get a backtrace of the crash.
Comment 5 Iain 2002-10-24 16:28:22 UTC
Oh, is track 0 when it crashes?
I think cdparanoia counts tracks from 1
Comment 6 Jorn Baayen 2002-10-24 16:42:13 UTC
it crashes with any track

and here's the bt:
  • #0 cdda_track_firstsector
    from /usr/lib/libcdda_interface.so.0
  • #1 cdparanoia_event
    at gstcdparanoia.c line 905
  • #2 gst_pad_send_event
    from /opt/gnome/lib/libgstreamer-0.4.1.1.so.0
  • #3 monkey_media_stream_internal_construct_from_uri
    from /opt/gnome/lib/libmonkey-media.so.0
  • #4 g_object_constructor
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #5 g_object_newv
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #6 g_object_new_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #7 g_object_new
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #8 monkey_media_audio_stream_new
    from /opt/gnome/lib/libmonkey-media.so.0
  • #9 main
  • #10 __libc_start_main
    from /lib/i686/libc.so.6

Comment 7 Christian Fredrik Kalager Schaller 2002-11-05 20:17:00 UTC
Wim reports that this is fixed, I leave it for a couple of days but
unless someone protests I will close it.
Comment 8 Christian Fredrik Kalager Schaller 2002-11-10 22:41:56 UTC
Nothing heard so closing