• Tim-Philipp Müller's avatar
    ext/wavpack/gstwavpackdec.c: Add debug category, use boilerplate macros, fix... · f54198bd
    Tim-Philipp Müller authored
    ext/wavpack/gstwavpackdec.c: Add debug category, use boilerplate macros, fix handling of widths of 32 bits.
    
    Original commit message from CVS:
    * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_setcaps),
    (gst_wavpack_dec_base_init), (gst_wavpack_dec_dispose),
    (gst_wavpack_dec_class_init), (gst_wavpack_dec_sink_event),
    (gst_wavpack_dec_init), (gst_wavpack_dec_format_samples),
    (gst_wavpack_dec_chain), (gst_wavpack_dec_plugin_init):
    Add debug category, use boilerplate macros, fix handling
    of widths of 32 bits.
    * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init),
    (gst_wavpack_parse_dispose), (gst_wavpack_parse_class_init),
    (gst_wavpack_parse_index_get_last_entry),
    (gst_wavpack_parse_index_get_entry_from_sample),
    (gst_wavpack_parse_index_append_entry), (gst_wavpack_parse_reset),
    (gst_wavpack_parse_src_query),
    (gst_wavpack_parse_scan_to_find_sample),
    (gst_wavpack_parse_send_newsegment),
    (gst_wavpack_parse_handle_seek_event),
    (gst_wavpack_parse_src_event), (gst_wavpack_parse_init),
    (gst_wavpack_parse_get_upstream_length),
    (gst_wavpack_parse_pull_buffer),
    (gst_wavpack_parse_create_src_pad), (gst_wavpack_parse_loop),
    (gst_wavpack_parse_change_state),
    (gst_wavepack_parse_sink_activate),
    (gst_wavepack_parse_sink_activate_pull),
    (gst_wavpack_parse_plugin_init):
    * ext/wavpack/gstwavpackparse.h:
    Rewrite a bit, mostly to fix flow logic and to make seeking work.
    Fix buffer/event refcounting. Add some debug statements. Add
    width of 32 to source pad template caps. Use boilerplate macros.
    f54198bd
gstwavpackdec.c 11.2 KB