diff options
| author | jakka <jakkadoujin@gmail.com> | 2025-06-19 17:59:12 +0300 |
|---|---|---|
| committer | jakka <jakkadoujin@gmail.com> | 2025-06-19 17:59:12 +0300 |
| commit | 2e1d42d2cc799ba3311ee6526d40c92ecb309253 (patch) | |
| tree | 05c47048a5c4be9c609a2d8e4a4a20d21f1beb74 /src/flac.rs | |
| parent | 498114fc7079aa10fd38a54a78d87e979c902205 (diff) | |
skip ENCODER tag
Diffstat (limited to 'src/flac.rs')
| -rw-r--r-- | src/flac.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/flac.rs b/src/flac.rs index f094910..2870500 100644 --- a/src/flac.rs +++ b/src/flac.rs @@ -94,7 +94,9 @@ impl FileEncoder { match block { Block::VorbisComment(comment) => { for (key, val) in comment.comments.clone() { - output.set_vorbis(key, val); + if key != "ENCODER" { + output.set_vorbis(key, val); + } } } Block::StreamInfo(_) | Block::Padding(_) => {} |
