user-data is simply better.
Unified · Split
| @@ -92,6 +92,7 @@ Interface changes · 91 unmodified lines | ||
| 92 | 92 | - rename `--cdrom-device` to `--cdda-device` |
| 93 | 93 | - remove `--scale-cutoff`, `--cscale-cutoff`, `--dscale-cutoff`, `--tscale-cutoff` |
| 94 | 94 | - remove `--scaler-lut-size` |
| 95 | + - deprecate shared-script-properties (user-data is a replacement) | |
| 95 | 96 | --- mpv 0.36.0 --- |
| 96 | 97 | - add `--target-contrast` |
| 97 | 98 | - Target luminance value is now also applied when ICC profile is used. |
| @@ -3617,6 +3617,8 @@ static int mp_property_script_props(void *ctx, struct m_property *prop, · 3616 unmodified lines | ||
| 3617 | 3617 | { |
| 3618 | 3618 | MPContext *mpctx = ctx; |
| 3619 | 3619 | struct command_ctx *cmd = mpctx->command_ctx; |
| 3620 | + MP_WARN(mpctx, "The shared-script-properties property is deprecated and will " | |
| 3621 | + "be removed in the future. Use the user-data property instead.\n"); | |
| 3620 | 3622 | switch (action) { |
| 3621 | 3623 | case M_PROPERTY_GET_TYPE: |
| 3622 | 3624 | *(struct m_option *)arg = script_props_type; |