Skip to content

Commit

Permalink
Fixed cover art not being written to Vorbis Comments in some cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
enzo1982 committed Apr 23, 2019
1 parent d98e337 commit 0dbfb22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tagger/vorbis/vorbis.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* BoCA - BonkEnc Component Architecture
* Copyright (C) 2007-2018 Robert Kausch <[email protected]>
* Copyright (C) 2007-2019 Robert Kausch <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -127,7 +127,7 @@ Error BoCA::TaggerVorbis::RenderBuffer(Buffer<UnsignedByte> &buffer, const Track

/* Save cover art.
*/
if (currentConfig->GetIntValue("Tags", "CoverArtWriteToTags", True) && currentConfig->GetIntValue("Tags", "CoverArtWriteToVorbisComment", False))
if (currentConfig->GetIntValue("Tags", "CoverArtWriteToTags", True) && currentConfig->GetIntValue("Tags", "CoverArtWriteToVorbisComment", True))
{
/* This is the official way to store cover art in Vorbis
* comments. It is used by most newer software.
Expand Down

0 comments on commit 0dbfb22

Please sign in to comment.