diff options
author | wm4 <wm4@nowhere> | 2013-07-21 21:17:48 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-21 23:27:31 +0200 |
commit | c1afd751428741a2b0077cc82a5fb68c6b672009 (patch) | |
tree | 37662fa75aa5b7bdcba04b3fbf6ac4fc33489038 /video/out/vo_opengl.c | |
parent | 999dad454f6db2c3d52e9594778bccc03156d299 (diff) | |
download | mpv-c1afd751428741a2b0077cc82a5fb68c6b672009.tar.bz2 mpv-c1afd751428741a2b0077cc82a5fb68c6b672009.tar.xz |
options: use new code for parsing --vo
Nothing should change from user perspective.
mpv --vo=opengl:help now works.
Remove the vo_opengl inline help text. The new code can list option
names for you, but that's it. Refer to the manpage if you have trouble.
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index 882689ed87..13213da5c4 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -364,8 +364,6 @@ const struct m_option options[] = { {0}, }; -static const char help_text[]; - const struct vo_driver video_out_opengl = { .info = &(const vo_info_t) { "Extended OpenGL Renderer", @@ -383,7 +381,6 @@ const struct vo_driver video_out_opengl = { .uninit = uninit, .priv_size = sizeof(struct gl_priv), .options = options, - .help_text = help_text, }; const struct vo_driver video_out_opengl_hq = { @@ -403,39 +400,5 @@ const struct vo_driver video_out_opengl_hq = { .uninit = uninit, .priv_size = sizeof(struct gl_priv), .options = options, - .help_text = help_text, .init_option_string = "lscale=lanczos2:dither-depth=auto:pbo:fbo-format=rgb16", }; - -static const char help_text[] = -"\n--vo=opengl command line help:\n" -"Example: mpv --vo=opengl:scale-sep:lscale=lanczos2\n" -"\nOptions:\n" -" lscale=<filter>\n" -" Set the scaling filter. Includes, but is not limited to:\n" -" bilinear: bilinear texture filtering (fastest).\n" -" bicubic_fast: bicubic filter (without lookup texture).\n" -" sharpen3: unsharp masking (sharpening) with radius=3.\n" -" sharpen5: unsharp masking (sharpening) with radius=5.\n" -" lanczos2: Lanczos with radius=2 (recommended).\n" -" lanczos3: Lanczos with radius=3 (not recommended).\n" -" mitchell: Mitchell-Netravali.\n" -" Default: bilinear\n" -" lparam1=<value> / lparam2=<value>\n" -" Set parameters for configurable filters. Affects chroma scaler\n" -" as well.\n" -" Filters which use this:\n" -" mitchell: b and c params (defaults: b=1/3 c=1/3)\n" -" kaiser: (defaults: 6.33 6.33)\n" -" sharpen3: lparam1 sets sharpening strength (default: 0.5)\n" -" sharpen5: as with sharpen3\n" -" cscale=<n>\n" -" As lscale but for chroma (Much slower with little visible effect).\n" -" For details, refer to the man-pages (see link below).\n" -"\n" -"Note: all defaults mentioned are for 'opengl', not 'opengl-hq'.\n" -" 'opengl-hq' is merely 'opengl' with different default settings applied.\n" -"\n" -"There are many more options. Read:\n" -" https://github.com/mpv-player/mpv/blob/master/DOCS/man/en/vo.rst#vo-opengl\n" -"\n"; |