Commit graph

26 commits

Author SHA1 Message Date
Vincent Penquerc'h
d8684fffa1 celtenc: cleanup header creation
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
2011-09-19 09:39:00 +02:00
Vincent Penquerc'h
06764fcd3f celtenc: do not use invalid buffer timestamps
https://bugzilla.gnome.org/show_bug.cgi?id=659087
2011-09-19 09:37:16 +02:00
Vincent Penquerc'h
90b2484648 celtenc: allow actually overriding frame size
https://bugzilla.gnome.org/show_bug.cgi?id=659087
2011-09-19 09:36:45 +02:00
Sebastian Dröge
1eb3f7f41f celtenc: Fix compilation with celt >= 0.11.0
Fixes bug #643607.
2011-03-02 23:44:12 +01:00
Edward Hervey
b8c0b33536 celtenc: Initialize variable
In the case the tag_setter returns something, empty_tags would be
garbage value.
2010-11-25 18:29:31 +01:00
Edward Hervey
28e000d18e celtenc: Remove dead assignment 2010-11-25 18:29:22 +01:00
Olivier Crête
3cb4a7aefd celtenc: Change bitrate to bits/sec 2010-09-13 17:22:40 -04:00
Sebastian Dröge
3e4eacce3c celt: Improve debugging 2010-07-05 10:09:36 +02:00
Sebastian Dröge
042419baa1 celtenc: Add support for setting the prediction mode and the start band 2010-07-05 10:08:30 +02:00
Sebastian Dröge
ab439a95bb celt: Remove support for celt < 0.5
celt 0.5 was released more than a year ago and the bitstream is
incompatible with the current one anyway.
2010-07-05 09:52:18 +02:00
Sebastian Dröge
3018802bda celt: Fix compilation with celt 0.8
Fixes bug #623550.
2010-07-05 09:48:20 +02:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Stephen Depooter
20540ebdb4 celt: fix compile against earlier CELT versions
Check the existence of the CELT_SET_COMPLEXITY symbol
before trying to use it. Fixes compilation against
libcelt 0.4.0.

Fixes #604311.
2010-02-19 09:05:52 +00:00
Sebastian Dröge
aa0795d6c2 celt: Port to 0.7 API
Fixes bug #600724.
2009-11-11 11:08:22 +01:00
Sebastian Dröge
5df4c86c17 celt: Make celt version checks better extensible 2009-11-11 11:08:22 +01:00
Gabriel Millaire
8561568e11 celtdec : chain_parse_data : check validity of timestamp, create a new one if needed
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
2009-11-04 12:05:10 -05:00
David Schleef
e34ea433d5 celtenc: VBR requires celt-0.6.0 2009-09-21 10:01:49 -07:00
David Schleef
de0ceb1178 celtenc: Add complexity, cbr, and max-bitrate properties 2009-09-19 14:13:26 -07:00
David Schleef
e3d9e9d98b celtenc: don't limit bit rate 2009-09-17 17:03:40 -07:00
Wim Taymans
6f88e17f67 celtenc: correct framesize range
A CELT framesize can be between 64 and 512 samples.
Fix a typo in the bitrate property description.
2009-06-05 16:48:04 +02:00
Sebastian Dröge
44f0d31ba3 celt: Implement preset interface 2009-05-04 12:37:31 +02:00
Alessandro Decina
276228da80 celtenc: build with celt 0.5. 2009-03-23 12:16:52 +01:00
Stefan Kost
1ea02b7a38 Totally remove the internal taglists and fully use tagsetter. Fixes various tag muxing issues.
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.
2008-12-16 16:26:52 +00:00
Sebastian Dröge
16e70c80ae ext/celt/gstceltdec.c: Correctly take the granulepos from upstream if possible and correctly handle the granulepos in...
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.
2008-08-31 15:01:32 +00:00
Stefan Kost
9518c22bda docs/plugins/gst-plugins-bad-plugins-docs.sgml: Add, but commented out xml/element-dc1394.xml. Its documented, but
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.
2008-08-22 06:27:57 +00:00
Sebastian Dröge
f783ef73b7 Add CELT encoder and decoder elements based on the Speex elements.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/celt/Makefile.am:
* ext/celt/gstcelt.c: (plugin_init):
* ext/celt/gstceltdec.c: (gst_celt_dec_base_init),
(gst_celt_dec_class_init), (gst_celt_dec_reset),
(gst_celt_dec_init), (celt_dec_convert),
(celt_get_sink_query_types), (celt_dec_sink_query),
(celt_get_src_query_types), (celt_dec_src_query),
(celt_dec_src_event), (celt_dec_sink_event),
(celt_dec_chain_parse_header), (celt_dec_chain_parse_comments),
(celt_dec_chain_parse_data), (celt_dec_chain),
(celt_dec_change_state):
* ext/celt/gstceltdec.h:
* ext/celt/gstceltenc.c: (gst_celt_enc_setup_interfaces),
(gst_celt_enc_base_init), (gst_celt_enc_class_init),
(gst_celt_enc_finalize), (gst_celt_enc_sink_setcaps),
(gst_celt_enc_sink_getcaps), (gst_celt_enc_convert_src),
(gst_celt_enc_convert_sink), (gst_celt_enc_get_latency),
(gst_celt_enc_get_query_types), (gst_celt_enc_src_query),
(gst_celt_enc_sink_query), (gst_celt_enc_init),
(gst_celt_enc_create_metadata_buffer), (gst_celt_enc_setup),
(gst_celt_enc_buffer_from_data), (gst_celt_enc_push_buffer),
(gst_celt_enc_set_header_on_caps), (gst_celt_enc_sinkevent),
(gst_celt_enc_chain), (gst_celt_enc_get_property),
(gst_celt_enc_set_property), (gst_celt_enc_change_state):
* ext/celt/gstceltenc.h:
Add CELT encoder and decoder elements based on the Speex elements.
2008-08-02 17:29:44 +00:00