[Gstreamer-bugs] [Bug 96329] Changed - cdparanoia regressions

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sun Oct 20 12:32:20 PDT 2002


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=96329

Changed by wim.taymans at chello.be.

--- shadow/96329	Sun Oct 20 15:16:09 2002
+++ shadow/96329.tmp.26914	Sun Oct 20 15:32:20 2002
@@ -16,6 +16,27 @@
 Summary: cdparanoia regressions
 
 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?
+
+------- Additional Comments From wim.taymans at chello.be  2002-10-20 15:32 -------
+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.
+
+
+
+                      





More information about the Gstreamer-bugs mailing list