diff options
author | wm4 <wm4@nowhere> | 2016-09-20 01:20:22 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-20 01:25:50 +0200 |
commit | 995962291a386229087656ec8ceaf01d66004955 (patch) | |
tree | b9b40f2978ef150ffe4babdc81489cbe1b554273 /options/options.h | |
parent | b6ba87af4bf51e8539fe97307426e1706071c949 (diff) | |
download | mpv-995962291a386229087656ec8ceaf01d66004955.tar.bz2 mpv-995962291a386229087656ec8ceaf01d66004955.tar.xz |
options: fix window-scale property
A recent change merged the window-scaler option and property, but forgot
that the option is float for some reason, while the property uses
double. This led to undefined behavior. Fix it by changing the option
to double too.
Diffstat (limited to 'options/options.h')
-rw-r--r-- | options/options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.h b/options/options.h index b0871a1d8f..b148a3dbdc 100644 --- a/options/options.h +++ b/options/options.h @@ -34,7 +34,7 @@ typedef struct mp_vo_opts { struct m_geometry autofit; struct m_geometry autofit_larger; struct m_geometry autofit_smaller; - float window_scale; + double window_scale; int keepaspect; int keepaspect_window; |