mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
aab5cccc34
If new headers arrive after we are initialized, we need to make sure that they are indeed valid. A vorbis bitstream always begins with three header packets and must be in order. Also some streams have unframed (invalid?) headers that might confuse and disrupt the decoding process. Therefore if ever we see new headers, we accumulate them and once we get a non-header packet we check them to make sure that: * We have at least 3 headers * They are the expected ones (identification, comments and setup) * They are in order * Any other "header" is ignored If those conditions are met, we reset and reconfigure the decoder https://bugzilla.gnome.org/show_bug.cgi?id=784530 |
||
---|---|---|
.. | ||
gstivorbisdec.c | ||
gstvorbis.c | ||
gstvorbiscommon.c | ||
gstvorbiscommon.h | ||
gstvorbisdec.c | ||
gstvorbisdec.h | ||
gstvorbisdeclib.c | ||
gstvorbisdeclib.h | ||
gstvorbisenc.c | ||
gstvorbisenc.h | ||
gstvorbisparse.c | ||
gstvorbisparse.h | ||
gstvorbistag.c | ||
gstvorbistag.h | ||
Makefile.am | ||
meson.build | ||
README |
oggvorbisenc : encodes to vorbis inside an ogg stream. This is not the GStreamer way of doing things and should be removed for 0.9. It is still called "vorbisenc" for backward compatibility reasons. It also takes integer audio as input. vorbisenc : Encodes to a raw vorbis stream and should be used together with an ogg muxer such as "oggmux" it is called "rawvorbisenc". It also takes raw float samples as input. TODO for 0.9: - remove oggvorbisenc.c and oggvorbisenc.h - remove references to oggvorbisenc.[ch] in the Makefile and in vorbis.c - remove the element vorbisenc. - rename the element rawvorbisenc to vorbisenc.