From e96c08ecb542fc7dc670cc9fd4abb6feb1679d15 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 10 Jan 2015 21:16:34 +0100 Subject: command: fix property naming convention Use "-" instead of "_" as separator. --- player/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player/command.c') 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)}, -- cgit v1.2.3