GNOME Bugzilla – Bug 351557
[wavpackparse] resync in push mode if sync was lost
Last modified: 2006-08-16 10:40:38 UTC
Hi, the attached patch resyncs wavpackparse in push mode if synchronization was lost. This works fine here if garbage is inserted between two wavpack blocks. It also changes the property names of the encoder from foo_bar to foo-bar as required for moving the plugin to -good later. Bye
Created attachment 70991 [details] [review] wavpackparse-push-resync.diff
Committed, thanks: 2006-08-16 Tim-Philipp Müller <tim at centricular dot net> Patch by: Sebastian Dröge <slomo at circular-chaos.org> * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_resync_adapter), (gst_wavpack_parse_chain): In push mode, re-sync to next wavpack header if sync is lost (#351557). Also use hyphens instead of underscores in GObject property names.