documentation and folded item delegates from old code back in
This commit is contained in:
@@ -24,6 +24,14 @@
|
||||
#include "project/item/folder/folder.h"
|
||||
#include "task/task.h"
|
||||
|
||||
/**
|
||||
* @brief The ImportTask class
|
||||
*
|
||||
* A background task to create Footage objects from a list of URLs, and then create ProbeTasks for each of them.
|
||||
*
|
||||
* Using this Task is the best way to import media into a project since it will run in the background/multithreaded
|
||||
* without pausing the main thread.
|
||||
*/
|
||||
class ImportTask : public Task
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -24,6 +24,16 @@
|
||||
#include "project/item/footage/footage.h"
|
||||
#include "task/task.h"
|
||||
|
||||
/**
|
||||
* @brief The ProbeTask class
|
||||
*
|
||||
* A background task for probing a certain Footage file for its metadata and determining if we have a viable decoder
|
||||
* for it.
|
||||
*
|
||||
* Currently this function just calls olive::ProbeMedia() which will call Footage::Clear(), clearing the Footage of
|
||||
* any previous metadata before passing it through the available decoders until it finds one that can parse it.
|
||||
* The ProbeTask mostly functions as a background/multithreaded wrapper for this functionality.
|
||||
*/
|
||||
class ProbeTask : public Task
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user