Quoting Scott Serr: > I'm using this patch: > > --- DirectFB-0.9.22/gfxdrivers/matrox/matrox_crtc2.c 2005-02-20 > 13:56:16.000000000 -0700 > +++ DirectFB-0.9.22.new/gfxdrivers/matrox/matrox_crtc2.c > 2005-05-20 12:22:03.143384384 -0600 > @@ -152,7 +152,8 @@ > DLCONF_OPTIONS | DLCONF_SURFACE_CAPS; > config->width = 720; > config->height = ntsc ? 480 : 576; > - config->pixelformat = DSPF_YUY2; > +// config->pixelformat = DSPF_YUY2; > + config->pixelformat = DSPF_RGB32; > config->buffermode = DLBM_FRONTONLY; > config->options = DLOP_NONE; > config->surface_caps = DSCAPS_INTERLACED;
This changes the default pixel format. Fixing other libraries or applications would be the right way. We could also think about a new driver specific option a la "crtc2-format", but I want to rewrite the configuration management, before adding another driver specific option to the global structure. Anyhow, the applications should run regardless of the default format. > Yet mplayer doesn't mind running without this patch Which output plugin? Using the primary-layer option? > Question, what is really going on here? Does DirectFB or SDL need to be > changed? If you use the primary-layer option, you can try the pixelformat option, too. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
