summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-05 07:22:21 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-05 07:22:21 +0000
commitc0b8b92d99b1425944048f949e54b83aec68ea69 (patch)
tree5edcb416f419662c9c135ce65f394ba2f7199d41 /libvo
parenta8a98ee6d12e41d47d03ddf27ad402b30fd2544b (diff)
downloadmpv-c0b8b92d99b1425944048f949e54b83aec68ea69.tar.bz2
mpv-c0b8b92d99b1425944048f949e54b83aec68ea69.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_corevideo.m1
1 files changed, 1 insertions, 0 deletions
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;