GNOME Bugzilla – Bug 329575
misc bugfixes for mad from 0.8
Last modified: 2006-02-16 10:06:37 UTC
The fixes for bugs 314771, 308772, 140237, and 302625 haven't been ported to gst-plugins-ugly 0.10.x.
Created attachment 58574 [details] [review] combined patch This contains all the relevant changes from the 0.8 branch. I've tested the bitrate reporting changes, but I don't know how to test the rest.
Checking the reported duration for some VBR files (in totem or friends) is accurate and not swinging wildly should cover the rest well enough, I think.
I can't see any problems like that with or without this patch. I don't have a lot of VBR files, but those I have are handled correctly either way.
Commited, thanks! * ext/mad/gstmad.c: (gst_mad_init), (scale), (gst_mad_update_info), (gst_mad_sink_event), (gst_mad_check_caps_reset), (gst_mad_chain), (gst_mad_change_state): Port fixes for bugs 314771, 308772, 140237, and 302625 from 0.8 (Patch by Jonathan Matthew, Fixes #329575) Use GST_EVENT_FLUSH_STOP to clear data from the current input buffer, to avoid using it for any future decoding.