summaryrefslogtreecommitdiff
path: root/fftools/ffplay.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-03-09 21:24:27 +0100
committerAnton Khirnov <anton@khirnov.net>2022-03-22 18:49:43 +0100
commit6fd1cd6053a722f136503faac7d132d8c78c5fdf (patch)
tree77c18b7e5302a7ac591ff95fa96bf63b5ed2f189 /fftools/ffplay.c
parent8d293918b57ca7b2ef960b0c53cf65158030cd75 (diff)
downloadffmpeg-6fd1cd6053a722f136503faac7d132d8c78c5fdf.tar.gz
fftools/ffplay: drop options deprecated since 2011
Diffstat (limited to 'fftools/ffplay.c')
-rw-r--r--fftools/ffplay.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 2b1a5b9cc8..28f0961d3b 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -3462,12 +3462,6 @@ static void event_loop(VideoState *cur_stream)
}
}
-static int opt_frame_size(void *optctx, const char *opt, const char *arg)
-{
- av_log(NULL, AV_LOG_WARNING, "Option -s is deprecated, use -video_size.\n");
- return opt_default(NULL, "video_size", arg);
-}
-
static int opt_width(void *optctx, const char *opt, const char *arg)
{
screen_width = parse_number_or_die(opt, arg, OPT_INT64, 1, INT_MAX);
@@ -3490,12 +3484,6 @@ static int opt_format(void *optctx, const char *opt, const char *arg)
return 0;
}
-static int opt_frame_pix_fmt(void *optctx, const char *opt, const char *arg)
-{
- av_log(NULL, AV_LOG_WARNING, "Option -pix_fmt is deprecated, use -pixel_format.\n");
- return opt_default(NULL, "pixel_format", arg);
-}
-
static int opt_sync(void *optctx, const char *opt, const char *arg)
{
if (!strcmp(arg, "audio"))
@@ -3573,7 +3561,6 @@ static const OptionDef options[] = {
CMDUTILS_COMMON_OPTIONS
{ "x", HAS_ARG, { .func_arg = opt_width }, "force displayed width", "width" },
{ "y", HAS_ARG, { .func_arg = opt_height }, "force displayed height", "height" },
- { "s", HAS_ARG | OPT_VIDEO, { .func_arg = opt_frame_size }, "set frame size (WxH or abbreviation)", "size" },
{ "fs", OPT_BOOL, { &is_full_screen }, "force full screen" },
{ "an", OPT_BOOL, { &audio_disable }, "disable audio" },
{ "vn", OPT_BOOL, { &video_disable }, "disable video" },
@@ -3590,7 +3577,6 @@ static const OptionDef options[] = {
{ "alwaysontop", OPT_BOOL, { &alwaysontop }, "window always on top" },
{ "volume", OPT_INT | HAS_ARG, { &startup_volume}, "set startup volume 0=min 100=max", "volume" },
{ "f", HAS_ARG, { .func_arg = opt_format }, "force format", "fmt" },
- { "pix_fmt", HAS_ARG | OPT_EXPERT | OPT_VIDEO, { .func_arg = opt_frame_pix_fmt }, "set pixel format", "format" },
{ "stats", OPT_BOOL | OPT_EXPERT, { &show_status }, "show status", "" },
{ "fast", OPT_BOOL | OPT_EXPERT, { &fast }, "non spec compliant optimizations", "" },
{ "genpts", OPT_BOOL | OPT_EXPERT, { &genpts }, "generate pts", "" },