vo_opengl: fix typo in bt.601 auto-guessing logic

The wrong enum got copied here, so it was essentially using the transfer
characteristics as the primaries (instead of the primaries), which
accidentally worked fine most of the time (since the two usually
coincided), but broke on weird/mistagged files.
This commit is contained in:
Niklas Haas 2016-09-13 04:00:00 +02:00 committed by wm4
parent 6a0df47d94
commit f7471b7ff4
1 changed files with 1 additions and 1 deletions

View File

@ -2138,7 +2138,7 @@ static void pass_colormanage(struct gl_video *p, struct mp_colorspace src, bool
// combined with the fact that they're very similar to begin with,
// and to avoid confusing the average user, just don't adapt BT.601
// content automatically at all.
dst.primaries = ref.gamma;
dst.primaries = ref.primaries;
}
}