GNOME Bugzilla – Bug 136962
crc error when decoding flac with typefind and threads
Last modified: 2004-12-22 21:47:04 UTC
When I try to run a simple flac player that uses the typefind element and threads, it plays for 5 to 15 seconds and then stops. Sometimes it gives an error message and other times it consumes 100% cpu and hangs. I tried about 8 different flac files ripped from different albums and the problem occured with all of them. I am running gstreamer 0.7.6. The command that fails is: gst-launch-0.8 \{ filesrc location=test.flac \} ! \{ queue ! typefind ! flacdec ! audioconvert ! osssink \} RUNNING pipeline ... ERROR: from element /pipeline0/thread1/flacdec0: Could not decode stream. Additional debug info: gstflacdec.c(308): gst_flacdec_error_callback: /pipeline0/thread1/flacdec0: lost sync ERROR: from element /pipeline0/thread1/flacdec0: Could not decode stream. Additional debug info: gstflacdec.c(308): gst_flacdec_error_callback: /pipeline0/thread1/flacdec0: CRC mismatch these commands work fine: gst-launch-0.8 \{ filesrc location=test.flac \} ! \{ queue ! flacdec ! audioconvert ! osssink \} gst-launch-0.8 filesrc location=test.flac ! typefind ! flacdec ! audioconvert ! osssink
Typefind used to send a non-sensical discont event. I removed that, which should fix this. Please retest and reopen if it is still buggy.