Changeset View
Changeset View
Standalone View
Standalone View
source/creator/creator_args.c
| Show First 20 Lines • Show All 1,183 Lines • ▼ Show 20 Lines | static const char arg_handle_playback_mode_doc[] = | ||||
| "\t\tRead from disk (Do not buffer).\n" | "\t\tRead from disk (Do not buffer).\n" | ||||
| "\t-f <fps> <fps-base>\n" | "\t-f <fps> <fps-base>\n" | ||||
| "\t\tSpecify FPS to start with.\n" | "\t\tSpecify FPS to start with.\n" | ||||
| "\t-j <frame>\n" | "\t-j <frame>\n" | ||||
| "\t\tSet frame step to <frame>.\n" | "\t\tSet frame step to <frame>.\n" | ||||
| "\t-s <frame>\n" | "\t-s <frame>\n" | ||||
| "\t\tPlay from <frame>.\n" | "\t\tPlay from <frame>.\n" | ||||
| "\t-e <frame>\n" | "\t-e <frame>\n" | ||||
| "\t\tPlay until <frame>."; | "\t\tPlay until <frame>.\n" | ||||
| "\t-c <cache_memory>\n" | |||||
| "\t\tThe amount of memory in megabytes to allow for caching images during playback."; | |||||
sergey: Mention that 0 disables the limit. | |||||
| static int arg_handle_playback_mode(int argc, const char **argv, void *UNUSED(data)) | static int arg_handle_playback_mode(int argc, const char **argv, void *UNUSED(data)) | ||||
| { | { | ||||
| /* not if -b was given first */ | /* not if -b was given first */ | ||||
| if (G.background == 0) { | if (G.background == 0) { | ||||
| # ifdef WITH_FFMPEG | # ifdef WITH_FFMPEG | ||||
| /* Setup FFmpeg with current debug flags. */ | /* Setup FFmpeg with current debug flags. */ | ||||
| IMB_ffmpeg_init(); | IMB_ffmpeg_init(); | ||||
| # endif | # endif | ||||
| ▲ Show 20 Lines • Show All 1,058 Lines • Show Last 20 Lines | |||||
Mention that 0 disables the limit.