created import and probe tasks

This commit is contained in:
itsmattkc
2019-06-30 11:19:20 -07:00
parent 823dd6c2e3
commit db5641a0a4
8 changed files with 172 additions and 18 deletions
+20
View File
@@ -0,0 +1,20 @@
#include "probe.h"
#include <QFileInfo>
#include "decoder/probeserver.h"
ProbeTask::ProbeTask(Footage *footage) :
footage_(footage)
{
QString base_filename = QFileInfo(footage_->filename()).fileName();
set_text(tr("Probing \"%1\"").arg(base_filename));
}
bool ProbeTask::Action()
{
olive::ProbeMedia(footage_);
return true;
}