]> git.tuebingen.mpg.de Git - paraslash.git/commit
The ogg/opus tagger.
authorAndre Noll <maan@systemlinux.org>
Sun, 15 Dec 2013 20:01:57 +0000 (21:01 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Apr 2015 12:13:34 +0000 (14:13 +0200)
commit6bcdcffef00ff117eecf1b5447b9e849698d02e5
tree6553b9b4c3ec72faf7bd4b96b1ae1b5cc49525b6
parent5e12f77a5b2a76c8a6f19a96958e0992962573db
The ogg/opus tagger.

This adds support for modifying meta tags of ogg/opus files. The heart
of this patch is ogg_rewrite_tags(), a codec-independent function
which replaces the meta packet of an ogg stream. This function will
also be used in subsequent patches which add support for ogg/vorbis
and ogg/speex files.

In order to create identically sized ogg pages for the output, the
new ogg_rewrite_tags() function calls ogg_stream_flush_fill() if it
is available. This function was introduced in libogg version 1.3.0.
So this commit adds a configure check and makes ogg_rewrite_tags()
fall back to ogg_stream_flush() on systems where libogg lacks
ogg_stream_flush_fill().
configure.ac
error.h
ogg_afh_common.c
ogg_afh_common.h
opus_afh.c