Credit Andrew R for finding the direct copy mods for exr and ppm sequences
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / fileexr.C
index fbc3986221a3658700feebe4fd8c61c1000718e2..e09dd1fcccfb642f41e2fd445f55908c7ddb8a60 100644 (file)
@@ -506,6 +506,15 @@ int FileEXR::write_frame(VFrame *frame, VFrame *data, FrameWriterUnit *unit)
        return 0;
 }
 
+int FileEXR::can_copy_from(Asset *asset, int64_t position)
+{
+       if(asset->format == FILE_EXR ||
+               asset->format == FILE_EXR_LIST)
+               return 1;
+
+       return 0;
+}
+
 FrameWriterUnit* FileEXR::new_writer_unit(FrameWriter *writer)
 {
        return new EXRUnit(this, writer);