#1830: require exporter support before skipping duplicate frames

This commit is contained in:
Kristian Myram
2026-10-30 08:59:53 +01:00
parent 37561799f6
commit c5671f6569
7 changed files with 39 additions and 4 deletions
@@ -28,6 +28,9 @@ impl Exporter for Writer {
fn formats(&self) -> Vec<OutputFormat> {
OutputFormat::ALL.to_vec()
}
fn supports_skip_existing(&self) -> bool {
true
}
fn export(&self, job: &ExportJob, _: &mut dyn FnMut(u64, u64) -> bool) -> Result<ExportResult, String> {
self.jobs.lock().unwrap().push(job.path.to_string());
let comp = job.project.comp(job.item.comp).ok_or("no comp")?;