Avoid an extra copy via a temporary fixed size stack buffer.
Use libcelt's header size to allocate a buffer of the correct
size in the first place (libcelt has an off by 4 there, so
account for this).
While there, make size unsigned, and granpos signed.
https://bugzilla.gnome.org/show_bug.cgi?id=659087
celtenc : default framesize is 480
setcaps : gets framesize and set caps
enc_chain : sets framesize in caps
Added frame-size to static caps of audio/x-celt
Replaced GST_DEBUG_OBJECT by GST_LOG_OBJECT in enc_chain
setcaps: get frame-size from int instead of string
setcaps: use default value for frame-size
Original commit message from CVS:
* ext/celt/gstceltenc.c:
* ext/celt/gstceltenc.h:
* ext/metadata/gstmetadatamux.c:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
Totally remove the internal taglists and fully use tagsetter. Fixes
various tag muxing issues.
Original commit message from CVS:
* ext/celt/gstceltdec.c: (celt_dec_chain_parse_data):
Correctly take the granulepos from upstream if possible and
correctly handle the granulepos in various calculations: the
granulepos is the sample number of the _last_ sample in a frame, not
the first.
* ext/celt/gstceltenc.c: (gst_celt_enc_sinkevent),
(gst_celt_enc_encode), (gst_celt_enc_chain),
(gst_celt_enc_change_state):
* ext/celt/gstceltenc.h:
Handle non-zero start timestamps in the encoder and detect/handle
stream discontinuities. Fixes bug #547075.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
Add, but commented out xml/element-dc1394.xml. Its documented, but
I can't get it to be build.
* ext/celt/gstceltdec.c:
* ext/celt/gstceltenc.c:
Fix doc warnings and reformat the doc block.