From 485ae095f77a27bd3bca08b0e221dff14581e0d3 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 3 May 2016 22:29:12 +0200 Subject: osd: make osd_ass_0/1 defines So we can concatenate them with strings at compile time. --- player/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player') diff --git a/player/command.c b/player/command.c index 504387c4c1..1e21a0d59c 100644 --- a/player/command.c +++ b/player/command.c @@ -2764,8 +2764,8 @@ static int mp_property_osd_ass(void *ctx, struct m_property *prop, int action, void *arg) { struct m_sub_property props[] = { - {"0", SUB_PROP_STR(osd_ass_0)}, - {"1", SUB_PROP_STR(osd_ass_1)}, + {"0", SUB_PROP_STR(OSD_ASS_0)}, + {"1", SUB_PROP_STR(OSD_ASS_1)}, {0} }; return m_property_read_sub(props, action, arg); -- cgit v1.2.3