Hi,
I'm trying to compile DirectFB with flash support, but the file
idirectfbvideoprovider_swf.c is outdated and it is not compiling.
This is the code where the error occurs (with line numbers):
590 dfb_surface_create( NULL, (int) data->flashInfo.frameWidth / 20,
591 (int) data->flashInfo.frameHeight / 20,
592 DSPF_RGB16, CSP_SYSTEMONLY, DSCAPS_SYSTEMONLY,
NULL,
593 &(data->source));
594
595 data->flashDisplay.pixels = data->source->back_buffer->system.addr;
596 da33ta->flashDisplay.bpl = data->source->back_buffer->system.pitch;
597 data->flashDisplay.width = data->source->width;
598 data->flashDisplay.height = data->source->height;
dfb_surface_create is being called with a wrong number of arguments, and the
fields back_buffer, width and height are not part of data->source.
I'm currently using DirectFB 1.5.3. How idirectfbprovider_swf.c can be changed
to become compatible with this release?
Thanks,
Harley
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users