summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/talkfile.cpp
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-07-03 19:54:44 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-07-03 19:54:44 +0000
commit21e7a089501142795749db68e664640987d0c749 (patch)
tree1e5461fc47231c9adbf69126b321d09d4775b3a5 /rbutil/rbutilqt/talkfile.cpp
parentbb8bc32d0d730768270fd799730779a2c7d40093 (diff)
rbutil: correctly stop encoders. (FS#9145)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17929 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/talkfile.cpp')
-rw-r--r--rbutil/rbutilqt/talkfile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/talkfile.cpp b/rbutil/rbutilqt/talkfile.cpp
index aff9957719..77f68ac8cb 100644
--- a/rbutil/rbutilqt/talkfile.cpp
+++ b/rbutil/rbutilqt/talkfile.cpp
@@ -75,6 +75,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
m_logger->addItem(tr("Talk file creation aborted"),LOGERROR);
m_logger->abort();
m_tts->stop();
+ m_enc->stop();
return false;
}
@@ -183,6 +184,7 @@ bool TalkFileCreator::createTalkFiles(ProgressloggerInterface* logger)
installlog.endGroup();
m_tts->stop();
+ m_enc->stop();
m_logger->addItem(tr("Finished creating Talk files"),LOGOK);
m_logger->setProgressMax(1);
m_logger->setProgressValue(1);