1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/mpvcore
wm4 e49abd2fa2 command: simplify video brightness/gamma/etc. handling a bit
We don't need to store the offsets of the options corresponding to the
properties, because the option-property bridge knows about this already.

The check against 1000 was for the case if e.g. the --brightness option
is not used. Always overwrite the option value instead, both when
querying and setting the property. (This is needed to make the settings
persistent even if vf_eq is used and the video chain is reinitialized.)

This commit assumes that VFCTRL_SET_EQUALIZER is always paired with
VFCTRL_GET_EQUALIZER (likewise for VOCTRL), which is the case.
2013-08-20 16:23:44 +02:00
..
input input: fix build if HAVE_PTHREADS is undefined 2013-08-15 11:22:30 +02:00
timeline
asxparser.c
asxparser.h
av_common.c
av_common.h
av_log.c
av_log.h
av_opts.c
av_opts.h
bstr.c bstr: make UTF-8 check stricter 2013-08-15 23:40:03 +02:00
bstr.h bstr: add UTF-8 validation and sanitation functions 2013-08-15 23:40:02 +02:00
charset_conv.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
charset_conv.h sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
codecs.c
codecs.h
command.c command: simplify video brightness/gamma/etc. handling a bit 2013-08-20 16:23:44 +02:00
command.h
cpudetect.c
cpudetect.h
encode_lavc.c
encode_lavc.h
encode.h
m_config.c m_option: rename struct member named "new" 2013-08-19 13:03:08 +02:00
m_config.h
m_option.c m_option: make "add speed 0.1" command work 2013-08-19 22:32:25 +02:00
m_option.h m_option: rename struct member named "new" 2013-08-19 13:03:08 +02:00
m_property.c
m_property.h
mp_common.c
mp_common.h
mp_core.h mp_core: declare seek_type enum outside of nested struct 2013-08-19 22:32:25 +02:00
mp_memory_barrier.h
mp_msg.c
mp_msg.h
mp_osd.h
mp_ring.c
mp_ring.h
mp_talloc.h
mplayer.c mplayer: reshuffle on every loop if --loop and --shuffle are used 2013-08-19 01:05:49 +02:00
mpv_global.h
options.c video: make it possible to scale/pan the video by arbitrary amounts 2013-08-19 13:03:08 +02:00
options.h video: make it possible to scale/pan the video by arbitrary amounts 2013-08-19 13:03:08 +02:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c mplayer: reshuffle on every loop if --loop and --shuffle are used 2013-08-19 01:05:49 +02:00
parser-mpcmd.h
path.c
path.h
playlist_parser.c
playlist_parser.h
playlist.c
playlist.h
resolve_quvi9.c
resolve_quvi.c
resolve.h
screenshot.c
screenshot.h
version.c