summaryrefslogtreecommitdiffstats
path: root/core/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-16 23:04:21 +0200
committerwm4 <wm4@nowhere>2013-07-16 23:04:21 +0200
commit130866e2693ba08f7d00c404a3767f288d0c3faa (patch)
tree267a9413d3a921241762dee7139bd9bd5a8e1ead /core/command.c
parent3d439368a16310cf162d41bd9bd7047608b1b42c (diff)
downloadmpv-130866e2693ba08f7d00c404a3767f288d0c3faa.tar.bz2
mpv-130866e2693ba08f7d00c404a3767f288d0c3faa.tar.xz
sd_lavc: don't stretch DVD subtitles to video aspect
I'm not sure what's correct: stretching the DVD subtitles from storage aspect ratio to video display aspect ratio, or displaying subtitles using 1:1 PAR. Until now, DVD subtitles (as well as all other bitmap subtitles) were always stretched to the video. There are good arguments why this would be the correct behavior: DVDs were made for playback on TV, which display anamorphic video by adjusting the horizontal refresh rate, and thus wouldn't even be capable of DVD subtitles with square PAR (other than resampling the subtitles additionally). However, I haven't seen a sample yet where subtitles do _not_ look stretched using this method. Rendering them at 1:1 PAR looks better. Technically, we render them at display PAR (and not 1:1 PAR). Do this in a way so that the subtitle area is always inside of the video frame if display and video aspect ratios mismatch. For DVB subtitles, the old method looks more correct, so this is special cased to DVD subtitles. I might revert this commit if it turns out that it's an disimprovement.
Diffstat (limited to 'core/command.c')
0 files changed, 0 insertions, 0 deletions