summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-14 01:50:32 +0100
committerwm4 <wm4@nowhere>2013-12-14 01:50:32 +0100
commita59ebae2ad7d40dcd7e190b0089545c2fc12f8d4 (patch)
treeb6b38feedaef334e0e9882ec5d9b42f7ec342102
parent9bd7601c6da44e2566238bb97d5a8ff4f7bd688e (diff)
downloadmpv-a59ebae2ad7d40dcd7e190b0089545c2fc12f8d4.tar.bz2
mpv-a59ebae2ad7d40dcd7e190b0089545c2fc12f8d4.tar.xz
vf_dsize: fix bug caused by typo
-rw-r--r--video/filter/vf_dsize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_dsize.c b/video/filter/vf_dsize.c
index fd65d46388..9aa5f719ad 100644
--- a/video/filter/vf_dsize.c
+++ b/video/filter/vf_dsize.c
@@ -99,7 +99,7 @@ const vf_info_t vf_info_dsize = {
},
.options = (const struct m_option[]){
OPT_INTRANGE("w", w, 0, -3, INT_MAX),
- OPT_INTRANGE("h", w, 0, -3, INT_MAX),
+ OPT_INTRANGE("h", h, 0, -3, INT_MAX),
OPT_INTRANGE("method", method, 0, -1, 3),
OPT_INTRANGE("round", round, 0, 0, 9999),
OPT_FLOAT("aspect", aspect, CONF_RANGE, .min = 0, .max = 10),