From a75967bfa457d153f8f8d80c78bee800298d5896 Mon Sep 17 00:00:00 2001 From: Rich J Wareham Date: Sun, 10 Feb 2002 12:42:49 +0000 Subject: Yet again things were pulled from under my feet.. removed references to IMGFMT_RGB CVS patchset: 1491 CVS date: 2002/02/10 12:42:49 --- src/video_out/video_out_directfb.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c index df084f554..cc2367b41 100644 --- a/src/video_out/video_out_directfb.c +++ b/src/video_out/video_out_directfb.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_directfb.c,v 1.3 2002/02/04 17:25:56 richwareham Exp $ + * $Id: video_out_directfb.c,v 1.4 2002/02/10 12:42:49 richwareham Exp $ * * DirectFB based output plugin. * Rich Wareham @@ -267,10 +267,6 @@ static void directfb_update_frame_format (vo_driver_t *this_gen, frame->height = height; switch(frame->format) { - case IMGFMT_RGB: - s_dsc.pixelformat = DSPF_RGB16; - l_dsc.pixelformat = DSPF_RGB16; - break; case IMGFMT_YV12: s_dsc.pixelformat = DSPF_YV12; l_dsc.pixelformat = DSPF_YV12; @@ -311,11 +307,6 @@ static void directfb_update_frame_format (vo_driver_t *this_gen, frame->locked = 1; switch(frame->format) { - case IMGFMT_RGB: - frame->vo_frame.base[0] = data; - frame->vo_frame.base[1] = data; - frame->vo_frame.base[2] = data; - break; case IMGFMT_YV12: frame->vo_frame.base[0] = data; frame->vo_frame.base[1] = data + pitch*height; -- cgit v1.2.3