summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-10 21:16:34 +0100
committerwm4 <wm4@nowhere>2015-01-10 21:16:34 +0100
commite96c08ecb542fc7dc670cc9fd4abb6feb1679d15 (patch)
tree6fedc8c082b63bb0b686d09db3bf90669319b1f3 /player/command.c
parente5f2072364ac450e0f593f534ddee2ae1a8f2176 (diff)
downloadmpv-e96c08ecb542fc7dc670cc9fd4abb6feb1679d15.tar.bz2
mpv-e96c08ecb542fc7dc670cc9fd4abb6feb1679d15.tar.xz
command: fix property naming convention
Use "-" instead of "_" as separator.
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c
index c98568beb1..6dc450234c 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2403,9 +2403,9 @@ static int property_imgparams(struct mp_image_params p, int action, void *arg)
struct m_sub_property props[] = {
{"pixelformat", SUB_PROP_STR(mp_imgfmt_to_name(p.imgfmt))},
- {"average_bpp", SUB_PROP_INT(bpp),
+ {"average-bpp", SUB_PROP_INT(bpp),
.unavailable = !bpp},
- {"plane_depth", SUB_PROP_INT(desc.plane_bits),
+ {"plane-depth", SUB_PROP_INT(desc.plane_bits),
.unavailable = !(desc.flags & MP_IMGFLAG_PLANAR)},
{"w", SUB_PROP_INT(p.w)},
{"h", SUB_PROP_INT(p.h)},