Skip to content

Commit 56494a9

Browse files
committed
Do not set ReplayGain metadata if disabled
Fixes #69
1 parent 9558fa3 commit 56494a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cyanrip_main.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,8 @@ repeat_ripping:;
810810
t->total_repeats = total_repeats;
811811
if (!ret) {
812812
cyanrip_finalize_encoding(ctx, t);
813-
crip_replaygain_meta_track(ctx, t);
813+
if (ctx->settings.enable_replaygain)
814+
crip_replaygain_meta_track(ctx, t);
814815
cyanrip_log_track_end(ctx, t);
815816
cyanrip_cue_track(ctx, t);
816817
} else {

0 commit comments

Comments
 (0)