summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorsyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-31 17:59:36 +0000
committersyrjala <syrjala@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-31 17:59:36 +0000
commit30486c5acc547dedbfdeba50f62fc2500cf0ab20 (patch)
treef5f2b135c88096372bac02907a7b0e2ed1321385 /libvo
parent16637df8c28d1ed3a941d46b0fc09615455e874d (diff)
downloadmpv-30486c5acc547dedbfdeba50f62fc2500cf0ab20.tar.bz2
mpv-30486c5acc547dedbfdeba50f62fc2500cf0ab20.tar.xz
- Don't advertise IMGFMT_RGBxx
- Updated copyright line git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14627 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_dfbmga.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libvo/vo_dfbmga.c b/libvo/vo_dfbmga.c
index e12d1228a9..e6d7c231b7 100644
--- a/libvo/vo_dfbmga.c
+++ b/libvo/vo_dfbmga.c
@@ -1,7 +1,7 @@
/*
MPlayer video driver for DirectFB / Matrox G200/G400/G450/G550
- Copyright (C) 2002,2003 Ville Syrjala <syrjala@sci.fi>
+ Copyright (C) 2002-2005 Ville Syrjala <syrjala@sci.fi>
Originally based on vo_directfb.c by
Jiri Svoboda <Jiri.Svoboda@seznam.cz>
@@ -158,16 +158,12 @@ static DFBSurfacePixelFormat
imgfmt_to_pixelformat( uint32_t format )
{
switch (format) {
- case IMGFMT_RGB32:
case IMGFMT_BGR32:
return DSPF_RGB32;
- case IMGFMT_RGB24:
case IMGFMT_BGR24:
return DSPF_RGB24;
- case IMGFMT_RGB16:
case IMGFMT_BGR16:
return DSPF_RGB16;
- case IMGFMT_RGB15:
case IMGFMT_BGR15:
return DSPF_ARGB1555;
case IMGFMT_YUY2:
@@ -838,13 +834,9 @@ static uint32_t
query_format( uint32_t format )
{
switch (format) {
- case IMGFMT_RGB32:
case IMGFMT_BGR32:
- case IMGFMT_RGB24:
case IMGFMT_BGR24:
- case IMGFMT_RGB16:
case IMGFMT_BGR16:
- case IMGFMT_RGB15:
case IMGFMT_BGR15:
case IMGFMT_UYVY:
case IMGFMT_YV12: