|
xbmc
|
Thumb extractor job class. More...
#include <VideoThumbLoader.h>
Public Member Functions | |
| CThumbExtractor (const CFileItem &item, const std::string &listpath, bool thumb, const std::string &strTarget="", int64_t pos=-1, bool fillStreamDetails=true) | |
| bool | DoWork () override |
| Work function that extracts thumb. | |
| const char * | GetType () const override |
| Function that returns the type of job. More... | |
| bool | operator== (const CJob *job) const override |
Public Member Functions inherited from CJob | |
| virtual | ~CJob ()=default |
| Destructor for job objects. More... | |
| virtual bool | ShouldCancel (unsigned int progress, unsigned int total) const |
| Function for longer jobs to report progress and check whether they have been cancelled. More... | |
Public Attributes | |
| std::string | m_target |
| thumbpath | |
| std::string | m_listpath |
| path used in fileitem list | |
| CFileItem | m_item |
| bool | m_thumb |
| extract thumb? | |
| int64_t | m_pos |
| position to extract thumb from | |
| bool | m_fillStreamDetails |
| fill in stream details? | |
Additional Inherited Members | |
Public Types inherited from CJob | |
| enum | PRIORITY { PRIORITY_LOW_PAUSABLE = 0, PRIORITY_LOW, PRIORITY_NORMAL, PRIORITY_HIGH, PRIORITY_DEDICATED } |
| Priority levels for jobs, specified by clients when adding jobs to the CJobManager. More... | |
Thumb extractor job class.
, Used by the CVideoThumbLoader to perform asynchronous generation of thumbs
|
inlineoverridevirtual |
Function that returns the type of job.
CJob subclasses may optionally implement this function to specify the type of job. This is useful for the CJobManager::AddLIFOJob() routine, which preempts similar jobs with the new job.
Reimplemented from CJob.
1.8.13