Skip to content

Commit

Permalink
Merge pull request #872 from glennguy/fix-duplicate-seektime
Browse files Browse the repository at this point in the history
[Matrix] Remove duplicate seektime call
  • Loading branch information
glennguy authored Jan 11, 2022
2 parents 4a23e19 + 866a7ef commit ac61eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3950,7 +3950,7 @@ bool CInputStreamAdaptive::PosTime(int ms)
bool ret = m_session->SeekTime(static_cast<double>(ms) * 0.001f, 0, false);
m_failedSeekTime = ret ? ~0 : ms;

return m_session->SeekTime(static_cast<double>(ms) * 0.001f, 0, false);
return ret;
}

int CInputStreamAdaptive::GetTotalTime()
Expand Down

0 comments on commit ac61eb3

Please sign in to comment.