summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-20 01:20:22 +0200
committerwm4 <wm4@nowhere>2016-09-20 01:25:50 +0200
commit995962291a386229087656ec8ceaf01d66004955 (patch)
treeb9b40f2978ef150ffe4babdc81489cbe1b554273 /options/options.h
parentb6ba87af4bf51e8539fe97307426e1706071c949 (diff)
downloadmpv-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.h2
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;