diff options
author | wm4 <wm4@nowhere> | 2014-09-27 18:13:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-27 18:31:59 +0200 |
commit | cdb25d5a21e2502fef51c2ae7ae387bf990ab73d (patch) | |
tree | 612e501e4e087a22722592d921c6966af6b16e33 /stream | |
parent | 0ec6df2ddfc6eb22de3c4f98c78d291997a5e93d (diff) | |
download | mpv-cdb25d5a21e2502fef51c2ae7ae387bf990ab73d.tar.bz2 mpv-cdb25d5a21e2502fef51c2ae7ae387bf990ab73d.tar.xz |
video: change automatic rotation and 3D filter insertion
We inserted these filters with fixed parameters, which was ok. But this
also didn't change image parameters for the filters down the filter
chain and the VO. For example, if rotation by 90° was requested by the
file, we would insert a filter and rotate the video, but the VO would
still receive image parameters that direct rotation by 90°.
This wasn't a problem, but it could become one.
Fix this by letting the filters automatically pick up the image params.
The image params are reset on application. (We could probably also
always try to apply and reset image params in a filter, instead of
having special "auto" parameters. This would probably work, and video.c
would insert a "rotate=0" filter. But I'm afraid this would be confusing
and the current solution is cosmetically slightly nicer.)
Unfortunately, the vf_stereo3d.c change turned out a big mess, but once
the "internal" filter is fully replaced with libavfilter, most of this
can be radically simplified.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions