Browse Source

Implement ffplay -L.

Patch by: Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13235 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini Panagiotis Issaris 17 years ago
parent
commit
8fdea2042e
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      doc/ffplay-doc.texi
  2. +1
    -0
      ffplay.c

+ 2
- 0
doc/ffplay-doc.texi View File

@@ -33,6 +33,8 @@ ffplay [options] @file{input_file}
show help
@item -version
show version
@item -L
show license
@item -x @var{width}
force displayed width
@item -y @var{height}


+ 1
- 0
ffplay.c View File

@@ -2435,6 +2435,7 @@ static int opt_thread_count(const char *opt, const char *arg)
static const OptionDef options[] = {
{ "h", OPT_EXIT, {(void*)show_help}, "show help" },
{ "version", OPT_EXIT, {(void*)show_version}, "show version" },
{ "L", OPT_EXIT, {(void*)show_license}, "show license" },
{ "x", HAS_ARG | OPT_FUNC2, {(void*)opt_width}, "force displayed width", "width" },
{ "y", HAS_ARG | OPT_FUNC2, {(void*)opt_height}, "force displayed height", "height" },
{ "s", HAS_ARG | OPT_VIDEO, {(void*)opt_frame_size}, "set frame size (WxH or abbreviation)", "size" },


Loading…
Cancel
Save