1 #ifndef PREVIEWGENERATOR_H 2 #define PREVIEWGENERATOR_H 16 struct AVFormatContext;
27 void set_icon(
int,
bool);
30 bool retrieve_preview(
const QString &hash);
31 void generate_waveform();
32 void finalize_media();
33 AVFormatContext* fmt_ctx;
36 bool retrieve_duration;
37 bool contains_still_image;
41 QString get_thumbnail_path(
const QString &hash,
const FootageStream &ms);
42 QString get_waveform_path(
const QString& hash,
const FootageStream &ms);
45 #endif // PREVIEWGENERATOR_H Definition: previewgenerator.h:19