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 412077 - [speed] can't initially set speed > 1
[speed] can't initially set speed > 1
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.4
Other Linux
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-25 23:31 UTC by Martijn Vernooij
Modified: 2007-05-04 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Martijn Vernooij 2007-02-25 23:31:38 UTC
If, before starting playback, you set the speed to a value over 1, no sound will be output.

If you wait for a short time (I tried 100 ms) before doing that it works. If you set the speed to a value < 1 it also works.

If you set the speed to a value over 1, start the sound, wait a little and then change it, the program will crash.

so this works:

gst-launch -v filesrc location=test1.mp3 ! decodebin ! audioconvert ! speed speed=1 ! alsasink

and this:

gst-launch -v filesrc location=test1.mp3 ! decodebin ! audioconvert ! speed speed=0.9 ! alsasink

but this doesn't:

gst-launch -v filesrc location=test1.mp3 ! decodebin ! audioconvert ! speed speed=1.1 ! alsasink


I suppose the plugin is trying to read ahead on data that is not yet available.
Comment 1 Tim-Philipp Müller 2007-05-04 17:20:29 UTC
Gah, sorry, I fixed this ages ago, but never committed it:


  2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/speed/gstspeed.c: (speed_src_event), (speed_sink_event),
        (speed_chain), (speed_change_state):
          Fix event handling a bit by replacing completely dubious code
          written by someone else with completely dubious code written
          by me. Should at least fix #412077 though.