| 2998 | } |
| 2999 | |
| 3000 | static int opt_vsync(void *optctx, const char *opt, const char *arg) |
| 3001 | { |
| 3002 | if (!av_strcasecmp(arg, "cfr")) video_sync_method = VSYNC_CFR; |
| 3003 | else if (!av_strcasecmp(arg, "vfr")) video_sync_method = VSYNC_VFR; |
| 3004 | else if (!av_strcasecmp(arg, "passthrough")) video_sync_method = VSYNC_PASSTHROUGH; |
| 3005 | else if (!av_strcasecmp(arg, "drop")) video_sync_method = VSYNC_DROP; |
| 3006 | |
| 3007 | if (video_sync_method == VSYNC_AUTO) |
| 3008 | video_sync_method = parse_number_or_die("vsync", arg, OPT_INT, VSYNC_AUTO, VSYNC_VFR); |
| 3009 | return 0; |
| 3010 | } |
| 3011 | |
| 3012 | static int opt_timecode(void *optctx, const char *opt, const char *arg) |
| 3013 | { |
nothing calls this directly
no test coverage detected