summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/flac.rs4
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(_) => {}