Credit Andrew R for finding the direct copy mods for exr and ppm sequences
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / fileppm.C
index e91690a12946a7622ff26ff123f6d3331ad85cb6..fe10742d254ecff727cfb9795be4b9d507d1064f 100644 (file)
@@ -183,6 +183,15 @@ int FilePPM::write_frame(VFrame *frame, VFrame *output,
        return 0;
 }
 
+int FilePPM::can_copy_from(Asset *asset, int64_t position)
+{
+       if(asset->format == FILE_PPM ||
+               asset->format == FILE_PPM_LIST)
+               return 1;
+
+       return 0;
+}
+
 int FilePPM::colormodel_supported(int colormodel)
 {
        return BC_RGB888;