aboutsummaryrefslogtreecommitdiffstats
path: root/avconv_opt.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-10-14 05:41:45 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-10-22 10:49:31 +0200
commitf825d42bccdb9f89669a586951de7f66a81e80a5 (patch)
treec03aa603a824edff05928d81cb0406b45e97a0ae /avconv_opt.c
parentea71aafd6881d7ce5cffec56feb45488e3ac5221 (diff)
downloadffmpeg-f825d42bccdb9f89669a586951de7f66a81e80a5.tar.gz
avplay: Accept cpuflags option
Quite useful for debugging. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'avconv_opt.c')
-rw-r--r--avconv_opt.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/avconv_opt.c b/avconv_opt.c
index bd8e7e5a79..70cbd719cd 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -1876,17 +1876,6 @@ static int opt_vsync(void *optctx, const char *opt, const char *arg)
return 0;
}
-int opt_cpuflags(void *optctx, const char *opt, const char *arg)
-{
- int flags = av_parse_cpu_flags(arg);
-
- if (flags < 0)
- return flags;
-
- av_set_cpu_flags_mask(flags);
- return 0;
-}
-
static int opt_channel_layout(void *optctx, const char *opt, const char *arg)
{
OptionsContext *o = optctx;
@@ -2231,8 +2220,6 @@ const OptionDef options[] = {
{ "dump_attachment", HAS_ARG | OPT_STRING | OPT_SPEC |
OPT_EXPERT | OPT_INPUT, { .off = OFFSET(dump_attachment) },
"extract an attachment into a file", "filename" },
- { "cpuflags", HAS_ARG | OPT_EXPERT, { .func_arg = opt_cpuflags },
- "set CPU flags mask", "mask" },
/* video options */
{ "vframes", OPT_VIDEO | HAS_ARG | OPT_PERFILE | OPT_OUTPUT, { .func_arg = opt_video_frames },