diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-09-04 21:34:11 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-09-04 21:34:11 +0300 |
commit | d33f7cf6f21c991ed6ef89f710f11bdc25e4a525 (patch) | |
tree | 754433fbaa5ee467f190a155516a7804304cdc69 /cfg-mplayer.h | |
parent | 89b37a32dabc456f35a8e3d828a22861bd292ca8 (diff) | |
download | mpv-d33f7cf6f21c991ed6ef89f710f11bdc25e4a525.tar.bz2 mpv-d33f7cf6f21c991ed6ef89f710f11bdc25e4a525.tar.xz |
options: --pphelp: fix after libpostproc version change
The last libpostproc major version change from 51 to 52 changed the
type of the "pp_help" symbol from a pointer to help text to the help
text itself. This made --pphelp crash. Change the option definition to
match the new type. This probably makes it crash if compiled against
older libpostproc, but the option is not important enough to try
supporting that (I've seen no reports of the crash, probably people
just don't use the option).
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 48890eab26..274b23d1ac 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -605,7 +605,7 @@ const m_option_t common_opts[] = { // postprocessing: #ifdef CONFIG_FFMPEG {"pp", &divx_quality, CONF_TYPE_INT, 0, 0, 0, NULL}, - {"pphelp", &pp_help, CONF_TYPE_PRINT_INDIRECT, CONF_NOCFG, 0, 0, NULL}, + {"pphelp", &pp_help, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, #endif // scaling: |