From c0b8b92d99b1425944048f949e54b83aec68ea69 Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 5 Apr 2010 07:22:21 +0000 Subject: Enable OSD also for BGR32, the code is the same as for RGB32. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31015 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_corevideo.m | 1 + 1 file changed, 1 insertion(+) (limited to 'libvo/vo_corevideo.m') diff --git a/libvo/vo_corevideo.m b/libvo/vo_corevideo.m index 1e16366225..49f472c630 100644 --- a/libvo/vo_corevideo.m +++ b/libvo/vo_corevideo.m @@ -104,6 +104,7 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigne { switch (image_format) { + case IMGFMT_BGR32: case IMGFMT_RGB32: vo_draw_alpha_rgb32(w,h,src,srca,stride,image_data+4*(y0*image_width+x0),4*image_width); break; -- cgit v1.2.3