proxy: began work towards creating proxy from video

This commit is contained in:
itsmattkc
2020-05-03 17:09:52 +10:00
parent e4c3b6bf7b
commit 6754feb2f6
16 changed files with 388 additions and 81 deletions
+1 -1
View File
@@ -343,7 +343,7 @@ bool Decoder::HasConformedVersion(const AudioRenderingParams &params)
return index_already_matches;
}
void Decoder::SignalIndexProgress(const int64_t &ts)
void Decoder::SignalProcessingProgress(const int64_t &ts)
{
if (stream()->duration() != AV_NOPTS_VALUE && stream()->duration() != 0) {
emit IndexProgress(qRound(100.0 * static_cast<double>(ts) / static_cast<double>(stream()->duration())));