pgssub: Fix subpicture colorspace and range
authorJan Ekström <jeebjp@gmail.com>
Sun, 24 Apr 2016 18:33:45 +0000 (20:33 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 10 May 2016 09:30:25 +0000 (11:30 +0200)
commit885a9d6087315a85d98f7e89656ef01dc7104c4c
tree9dd320c2e66eb2b6b395d9afb73ea2dcc467fd17
parent1f77e634bb838f71ff21923b5e9fe3104c831c52
pgssub: Fix subpicture colorspace and range

Widen the values from limited to full range and use BT.709 where it
should be used according to the video resolution:

SD is BT.601, HD is BT.709

Default to BT.709 due to most observed HDMV content being HD.
libavcodec/pgssubdec.c