GNOME Bugzilla – Bug 687464
speexdec: Don't unmap or finish_frame an invalid GstBuffer
Last modified: 2012-11-06 20:17:27 UTC
See attached patch. To reproduce, try making a VoIP call using speex and see the empathy-call logs.
Created attachment 227910 [details] [review] speexdec: Don't unmap or finish_frame an invalid GstBuffer
Pushed, with minor style change for better (IMHO) readability. commit 8c44361bca80fa4ed2ec6005c624343c7f4ec866 Author: Debarshi Ray <rishi@gnu.org> Date: Fri Nov 2 16:39:28 2012 +0100 speexdec: Don't unmap or finish_frame an invalid GstBuffer https://bugzilla.gnome.org/show_bug.cgi?id=687464 This whole parse_data() function looks a bit weird, and I'm not convinced it's quite right to do finish_frame(NULL,1) if we've just skipped over one single sub-frame as well, but that's something to fix/test for some other time I guess. gst-launch line to reproduce the issue: gst-launch-1.0 audiotestsrc ! speexenc ! rtpspeexpay ! breakmydata probability=0.05 ! rtpspeexdepay ! speexdec ! pulsesink