summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 51e5b0fb03..071fccebb2 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -1012,12 +1012,12 @@ static const opt_t subopts[] = {
{"scaled-osd", OPT_ARG_BOOL, &scaled_osd, NULL},
{"aspect", OPT_ARG_BOOL, &use_aspect, NULL},
{"ycbcr", OPT_ARG_BOOL, &use_ycbcr, NULL},
- {"slice-height", OPT_ARG_INT, &slice_height, (opt_test_f)int_non_neg},
- {"rectangle", OPT_ARG_INT, &use_rectangle,(opt_test_f)int_non_neg},
- {"yuv", OPT_ARG_INT, &use_yuv, (opt_test_f)int_non_neg},
+ {"slice-height", OPT_ARG_INT, &slice_height, int_non_neg},
+ {"rectangle", OPT_ARG_INT, &use_rectangle,int_non_neg},
+ {"yuv", OPT_ARG_INT, &use_yuv, int_non_neg},
{"colorspace", OPT_ARG_INT, &colorspace, valid_csp},
- {"lscale", OPT_ARG_INT, &lscale, (opt_test_f)int_non_neg},
- {"cscale", OPT_ARG_INT, &cscale, (opt_test_f)int_non_neg},
+ {"lscale", OPT_ARG_INT, &lscale, int_non_neg},
+ {"cscale", OPT_ARG_INT, &cscale, int_non_neg},
{"filter-strength", OPT_ARG_FLOAT, &filter_strength, NULL},
{"ati-hack", OPT_ARG_BOOL, &ati_hack, NULL},
{"force-pbo", OPT_ARG_BOOL, &force_pbo, NULL},