21 #ifndef PREVIEWGENERATOR_H 22 #define PREVIEWGENERATOR_H 36 struct AVFormatContext;
47 void set_icon(
int,
bool);
50 bool retrieve_preview(
const QString &hash);
51 void generate_waveform();
52 void finalize_media();
53 AVFormatContext* fmt_ctx;
56 bool retrieve_duration;
57 bool contains_still_image;
61 QString get_thumbnail_path(
const QString &hash,
const FootageStream &ms);
62 QString get_waveform_path(
const QString& hash,
const FootageStream &ms);
65 #endif // PREVIEWGENERATOR_H Definition: previewgenerator.h:39