indextask: fixed typo and pass cancelled signal to Decoder::Index()

This commit is contained in:
itsmattkc
2020-02-17 02:14:32 +11:00
parent 73ba2f4c96
commit 55cdd47933
+2 -2
View File
@@ -18,9 +18,9 @@ void IndexTask::Action()
decoder->set_stream(stream_); decoder->set_stream(stream_);
decoder->Open(); decoder->Open();
decoder->Index(); decoder->Index(&IsCancelled());
decoder->Close(); decoder->Close();
emit Succeeeded(); emit Succeeded();
} }
} }