summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 2ad83cb703..a284a4c047 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3293,6 +3293,12 @@ static int mp_property_libass_version(void *ctx, struct m_property *prop,
return m_property_int64_ro(action, arg, ass_library_version());
}
+static int mp_property_platform(void *ctx, struct m_property *prop,
+ int action, void *arg)
+{
+ return m_property_strdup_ro(action, arg, PLATFORM);
+}
+
static int mp_property_alias(void *ctx, struct m_property *prop,
int action, void *arg)
{
@@ -3916,6 +3922,7 @@ static const struct m_property mp_properties_base[] = {
{"mpv-configuration", mp_property_configuration},
{"ffmpeg-version", mp_property_ffmpeg},
{"libass-version", mp_property_libass_version},
+ {"platform", mp_property_platform},
{"options", mp_property_options},
{"file-local-options", mp_property_local_options},