return 0;
}
-
-
-
-
-
-
-
+int File::can_scale_input(Asset *asset)
+{
+ switch( asset->format ) {
+ case FILE_MPEG:
+ case FILE_FFMPEG:
+ return 1;
+ case FILE_EXR:
+ case FILE_JPEG:
+ case FILE_PNG:
+ case FILE_PPM:
+ case FILE_TGA:
+ case FILE_TIFF:
+ if( asset->video_length < 0 )
+ return 1;
+ }
+ return 0;
+}
int File::set_processors(int cpus) // Set the number of cpus for certain codecs