diff options
Diffstat (limited to 'video/out/vo_rpi.c')
-rw-r--r-- | video/out/vo_rpi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index 94bb30efe6..da066ec1d2 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -889,10 +889,10 @@ fail: #define OPT_BASE_STRUCT struct priv static const struct m_option options[] = { - OPT_INT("display", display_nr, 0), - OPT_INT("layer", layer, 0, OPTDEF_INT(-10)), - OPT_FLAG("background", background, 0), - OPT_FLAG("osd", enable_osd, 0, OPTDEF_INT(1)), + {"display", OPT_INT(display_nr)}, + {"layer", OPT_INT(layer), OPTDEF_INT(-10)}, + {"background", OPT_FLAG(background)}, + {"osd", OPT_FLAG(enable_osd), OPTDEF_INT(1)}, {0}, }; |