summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-03 22:29:12 +0200
committerwm4 <wm4@nowhere>2016-05-03 22:29:12 +0200
commit485ae095f77a27bd3bca08b0e221dff14581e0d3 (patch)
tree01ac35ad2dc75bcc0bbbc9775d8dd8e32f7a523c /player/command.c
parent5be40f035b03b5dbc891f463ae90575243adf301 (diff)
downloadmpv-485ae095f77a27bd3bca08b0e221dff14581e0d3.tar.bz2
mpv-485ae095f77a27bd3bca08b0e221dff14581e0d3.tar.xz
osd: make osd_ass_0/1 defines
So we can concatenate them with strings at compile time.
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 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);