diff options
author | wm4 <wm4@nowhere> | 2016-05-30 19:07:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-30 19:07:22 +0200 |
commit | 079f67268f6f5a2ecfd12277b246b1937493c092 (patch) | |
tree | 9c34622e36c2fc51e410531532fe10b583a58f78 /video/vdpau_mixer.h | |
parent | 15bb05d2fe7394478144d323a41023722d1a9d38 (diff) |
mp_image: don't reset pixel aspect with mp_image_set_size()
No reason to do so. See also commit 240ba92b.
Since now many mp_images will never have a pixel aspect ratio set,
redefine a 0/0 aspect ratio to "undefined" instead invalid. This also
brings it more in line with how decoder vs. container aspect ratios are
handled.
Most callers seem to be fine with the new behavior.
mp_image_params_valid() in particular has to be adjusted, or some things
stop working due to mp_images not becoming valid after setting size and
format.
Diffstat (limited to 'video/vdpau_mixer.h')
0 files changed, 0 insertions, 0 deletions