mirror of https://github.com/mpv-player/mpv
fixing scaled output
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4797 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
57e3534b04
commit
ec21f4caa0
|
@ -94,8 +94,8 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
|
|||
case IMGFMT_I420:
|
||||
case IMGFMT_YV12:
|
||||
bpp = 24;
|
||||
cspace = RGB;
|
||||
yuv2rgb_init(bpp,MODE_BGR);
|
||||
cspace = BGR;
|
||||
yuv2rgb_init(bpp,MODE_RGB);
|
||||
image_data = malloc(image_width*image_height*3);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue