summaryrefslogtreecommitdiffstats
path: root/stream/stream_bluray.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-27 18:13:14 +0200
committerwm4 <wm4@nowhere>2014-09-27 18:31:59 +0200
commitcdb25d5a21e2502fef51c2ae7ae387bf990ab73d (patch)
tree612e501e4e087a22722592d921c6966af6b16e33 /stream/stream_bluray.c
parent0ec6df2ddfc6eb22de3c4f98c78d291997a5e93d (diff)
downloadmpv-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/stream_bluray.c')
0 files changed, 0 insertions, 0 deletions