summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-06 18:05:20 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:07 +0900
commitcc32aa436e21be055c4cb1e3149fb316e3c4e7df (patch)
tree6f3acd0f12279310f31f049ced418d93cdfb17d0 /player
parent57f149e26ada032c8cc399e4a3124072095b727a (diff)
downloadmpv-cc32aa436e21be055c4cb1e3149fb316e3c4e7df.tar.bz2
mpv-cc32aa436e21be055c4cb1e3149fb316e3c4e7df.tar.xz
sd_lavc: apply fallback to video resolution only for vobsubs
Commit 87c13de6 added a fallback to video resolution if the subtitle resolution is unknown. Apparently this fixed some broken files with vobsubs. This broke some DVB subtitles. Apparently .ts captures with 1920x1080 video resolution and 720x576 subtitles do exist. The sample at hand had some streams with 720x576 resolution and no sub resolution set, and some streams with 1920x1080 resolution and sub resolution set (both against the same 1920x1080 video). My conclusion is that 720x576 is the only reasonable fallback for DVB (but I can't be sure). The fallback is removed for PGS too. I don't know about the PGS case; it seems the sub resolution must always be set, so it shouldn't matter. Fixes #1425.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions