1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00

command: deprecate shared-script-properties

user-data is simply better.
This commit is contained in:
Dudemanguy 2023-09-26 16:41:41 -05:00
parent c0c595b588
commit 1d00aee8e1
2 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,7 @@ Interface changes
- rename `--cdrom-device` to `--cdda-device`
- remove `--scale-cutoff`, `--cscale-cutoff`, `--dscale-cutoff`, `--tscale-cutoff`
- remove `--scaler-lut-size`
- deprecate shared-script-properties (user-data is a replacement)
--- mpv 0.36.0 ---
- add `--target-contrast`
- Target luminance value is now also applied when ICC profile is used.

View File

@ -3617,6 +3617,8 @@ static int mp_property_script_props(void *ctx, struct m_property *prop,
{
MPContext *mpctx = ctx;
struct command_ctx *cmd = mpctx->command_ctx;
MP_WARN(mpctx, "The shared-script-properties property is deprecated and will "
"be removed in the future. Use the user-data property instead.\n");
switch (action) {
case M_PROPERTY_GET_TYPE:
*(struct m_option *)arg = script_props_type;