projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Credit Andrew R for finding the direct copy mods for exr and ppm sequences
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
fileppm.C
diff --git
a/cinelerra-5.1/cinelerra/fileppm.C
b/cinelerra-5.1/cinelerra/fileppm.C
index e91690a12946a7622ff26ff123f6d3331ad85cb6..fe10742d254ecff727cfb9795be4b9d507d1064f 100644
(file)
--- a/
cinelerra-5.1/cinelerra/fileppm.C
+++ b/
cinelerra-5.1/cinelerra/fileppm.C
@@
-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;