Added support for embedding cover artwork to AAC encoder.

This commit is contained in:
LoRd_MuldeR 2011-03-21 22:52:08 +01:00
parent bbf7e8f446
commit cb34771fee
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<li>Added an option to manually specify the number of parallel instances
<li>Added an option to select a user-defined TEMP directory
<li>Added an option to shutdown the computer as soon as all files are completed
<li>Added support for embedding cover artwork (currently with LAME only)
<li>Added support for embedding cover artwork (currently works with LAME and Nero AAC only)
<li>Updated Qt runtime libraries to v4.7.2
<li>Updated LAME encoder to v3.99.0.14 (2011-02-28), compiled with ICL 12.0.2
<li>Updated Vorbis encoder to v2.87 using aoTuV Beta-6.02 (2011-02-28), compiled with ICL 11.1 and MSVC 9.0

View File

@ -188,6 +188,7 @@ bool AACEncoder::encode(const QString &sourceFile, const AudioFileModel &metaInf
if(!metaInfo.fileComment().isEmpty()) args << QString("-meta:comment=%1").arg(metaInfo.fileComment());
if(metaInfo.fileYear()) args << QString("-meta:year=%1").arg(QString::number(metaInfo.fileYear()));
if(metaInfo.filePosition()) args << QString("-meta:track=%1").arg(QString::number(metaInfo.filePosition()));
if(!metaInfo.fileCover().isEmpty()) args << QString("-add-cover:%1:%2").arg("front", metaInfo.fileCover());
if(!startProcess(process, m_binary_tag, args))
{