mirror of https://github.com/mpv-player/mpv
-bpp bug fixed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@713 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6e21a09ab4
commit
0742d52b56
|
@ -377,6 +377,7 @@ static uint32_t query_format(uint32_t format) {
|
|||
|
||||
// if (vo_dbpp) => There is NO conversion!!!
|
||||
if (vo_dbpp) {
|
||||
if (format == IMGFMT_YV12) return (1);
|
||||
switch (vo_dbpp) {
|
||||
case 32: if ((format == IMGFMT_RGB32) || (format == IMGFMT_BGR32))
|
||||
return ((bpp_avail & BPP_32) ? 1 : 0);
|
||||
|
|
Loading…
Reference in New Issue