[FFmpeg-devel] [PATCH] pgssubdec: fix subpicture output colorspace and range

Jan Ekstrom jeebjp at gmail.com
Sat Apr 23 14:10:24 CEST 2016


On Sat, Apr 23, 2016 at 2:53 PM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> Otherwise, I think Carl's suggestion might help, PGS subtitles are
> generally from Blu-rays, which means most of it is HD, so swapping the
> flag to detect SD conditions might make it act more "appropriate" in
> absence of w/h.

The default is -1 and I have switched the check for BT.709 to `if
(ctx->hdtv)` so it should only use BT.601 if and only if it gets a
presentation segment with a height that is <= 576.

Jan


More information about the ffmpeg-devel mailing list