Skip to content
  • Sebastian Dröge's avatar
    ext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc... · 4f1ddedd
    Sebastian Dröge authored
    ext/wavpack/gstwavpackenc.*: Put the write helpers into the GstWavpackEnc struct directly and not as a pointer to sav...
    
    Original commit message from CVS:
    * ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_class_init),
    (gst_wavpack_enc_init), (gst_wavpack_enc_chain),
    (gst_wavpack_enc_rewrite_first_block):
    * ext/wavpack/gstwavpackenc.h:
    Put the write helpers into the GstWavpackEnc struct directly and not
    as a pointer to save two small, but useless mallocs. This also makes
    it possible to drop the finalize method.
    * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_push_buffer):
    For consistency reasons also set GST_BUFFER_OFFSET_END on the outgoing
    buffers the same way wavpackenc does it.
    4f1ddedd