diff options
author | wm4 <wm4@nowhere> | 2012-09-22 05:13:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-12 10:10:31 +0200 |
commit | 9939776e5ee70818d9cc4a5a7cd9f09da4239164 (patch) | |
tree | 78fcbc6d3604f6fb39a70b02e4057e487d3b4f62 /defaultopts.c | |
parent | d3562198249d51087e8a23a6fafafd140eaaf935 (diff) | |
download | mpv-9939776e5ee70818d9cc4a5a7cd9f09da4239164.tar.bz2 mpv-9939776e5ee70818d9cc4a5a7cd9f09da4239164.tar.xz |
commands: make "aspect" property writeable, replaces "switch_ratio"
Move the code for "switch_ratio" to the M_PROPERTY_SET case of the
"aspect" property. The rules are exactly the same, e.g. setting a ratio
smaller than 0.1 sets the pixel aspect ratio to 1:1. For now, we define
that writing "0" sets the PAR to 1:1, and disallow -1 (possibly reserve
it to reset to default aspect ratio).
Diffstat (limited to 'defaultopts.c')
0 files changed, 0 insertions, 0 deletions