1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 15:22:09 +00:00
mpv/common
wm4 7783f0b7d7 client API: more or less deprecate mpv_set_option()
With the merging of options and properties, the mpv_set_option()
function is close to being useless, and mpv_set_property() can be used
for everything instead. There are certain conflicts remaining, which are
explained in depth in the docs. For now, none of this should affect
existing code using the client API.

Make mpv_set_property() redirect to mpv_set_option() before
initialization.

Remove some options marked as M_OPT_FIXED. The "pause" and "speed"
options cannot be written anymore without the playloop being notified by
it, so the M_OPT_FIXED does nothing. For "vo-mmcss-profile", the problem
was lack of synchronization, which has been added. I'm not sure what the
problem was with "frames" - I think it was only marked as M_OPT_FIXED
because changing it during playback will have no effect. Except for
pause/speed, these changes are needed to make them writable as
properties after mpv_initialize().

Also replace all remaining uses of CONF_GLOBAL with M_OPT_FIXED.
2016-09-21 17:35:00 +02:00
..
av_common.c video/audio: always provide "proper" timestamps to libavcodec 2016-08-19 14:59:30 +02:00
av_common.h video/audio: always provide "proper" timestamps to libavcodec 2016-08-19 14:59:30 +02:00
av_log.c player: fatal error if linked and compiled FFmpeg versions mismatch 2016-07-01 20:56:59 +02:00
av_log.h player: fatal error if linked and compiled FFmpeg versions mismatch 2016-07-01 20:56:59 +02:00
codecs.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
codecs.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
common.c Initial Android support 2016-02-10 21:29:36 +01:00
common.h common: use char array for version string 2016-09-06 20:08:44 +02:00
encode_lavc.c client API: more or less deprecate mpv_set_option() 2016-09-21 17:35:00 +02:00
encode_lavc.h encode_lavc: Migrate to codecpar API. 2016-04-11 14:57:20 -04:00
encode.h
global.h m_config: introduce basic mechanism to synchronize global option updates 2016-09-02 15:50:40 +02:00
msg_control.h player: make --log-file and --dump-stats freely settable at runtime 2016-09-19 19:56:40 +02:00
msg.c player: make --log-file and --dump-stats freely settable at runtime 2016-09-19 19:56:40 +02:00
msg.h
playlist.c playlist: improve shuffle algorithm 2016-03-20 19:51:22 +01:00
playlist.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
tags.h
version.c common: use char array for version string 2016-09-06 20:08:44 +02:00