summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2014-07-28 05:56:47 +0200
committerwm4 <wm4@nowhere>2014-07-28 21:24:44 +0200
commitd0a8b571c947a262fe396c5f1d29b80649ed997e (patch)
treea5dff015981a008c3838bc9a50c0a445722ec402 /video/out
parent261506e36edd88dd1b92ead93868bb624ddcf324 (diff)
downloadmpv-d0a8b571c947a262fe396c5f1d29b80649ed997e.tar.bz2
mpv-d0a8b571c947a262fe396c5f1d29b80649ed997e.tar.xz
video: add a default color space for files with no video
Usually mp_image_params_guess_csp takes care of finding *some* default for a video channel, but files with no video (or with extremely broken configurations) end up leaving the colorspace information as MP_CSP_PRIM_AUTO, which has no associated primaries. As a result of this, color managed OSD messages could not display because they were being color managed to match the (non-existing/absurd) video channel. With this change, such non-spaces will have BT.709 primaries as far as color management and the OSD is concerned. This fixes #961. CC: @mpv-player/stable Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'video/out')
0 files changed, 0 insertions, 0 deletions