Gabriel,
metadata_has_vorbis_comment is a FLAC__bool which defaults to false. There
should be no reason to modify stream_encoder.c, but just modify the caller.
The following command:
metaflac —remove —block-type=VORBIS_COMMENT —don’t-use-padding
… will remove Vorbis comments from existing file
Correction, the flac command-line does create a 40-byte Vorbis comment by
default. I just never noticed it before. I’ve been using —no-padding all these
years for minimal file sizes without realizing that I could save another 40
bytes.
Anyway, since metaflac can remove the Vorbis comment using
The problem is really as I wrote:
1. Metaflac is no option for me, I use libFLAC.dll
2. There is no way (at least how I read the code) to avoid saving
comment with libFLAC; I would appreciate an extra option to avoid it,
which can default to old behavior if compatibility is important.
3. I have a h
I wasn’t suggesting that you run metaflac, but that you examine its source to
see how it creates new FLAC files without the Vorbis comment. As far as I know,
metaflac uses the standard libFLAC and creates files without the Vorbis
overhead.
My quick review of the source seemed to indicate that c