X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Ffileppm.C;fp=cinelerra-5.1%2Fcinelerra%2Ffileppm.C;h=fe10742d254ecff727cfb9795be4b9d507d1064f;hb=c4e6affd24397ab2c47f28f7a109dca89604ba7b;hp=e91690a12946a7622ff26ff123f6d3331ad85cb6;hpb=5e1bee0d77e4e3997cfb33f1f3602d49cefc256c;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/fileppm.C b/cinelerra-5.1/cinelerra/fileppm.C index e91690a1..fe10742d 100644 --- 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;