Merge pull request #661 from manongjohn/fix_timeout_calcs
Fix converting timeout from sec to msec
This commit is contained in:
commit
3dc0be13c0
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ Ffmpeg::Ffmpeg() {
|
|||
m_ffmpegPath = Preferences::instance()->getFfmpegPath();
|
||||
m_ffmpegTimeout = Preferences::instance()->getFfmpegTimeout();
|
||||
if (m_ffmpegTimeout > 0)
|
||||
m_ffmpegTimeout * 1000;
|
||||
m_ffmpegTimeout *= 1000;
|
||||
else
|
||||
m_ffmpegTimeout = -1;
|
||||
std::string strPath = m_ffmpegPath.toStdString();
|
||||
|
|
|
@ -836,7 +836,7 @@ void LipSyncPopup::onApplyButton() {
|
|||
runRhubarb();
|
||||
int rhubarbTimeout = Preferences::instance()->getRhubarbTimeout();
|
||||
if (rhubarbTimeout > 0)
|
||||
rhubarbTimeout * 1000;
|
||||
rhubarbTimeout *= 1000;
|
||||
else
|
||||
rhubarbTimeout = -1;
|
||||
m_rhubarb->waitForFinished(rhubarbTimeout);
|
||||
|
|
Loading…
Reference in a new issue