Daniel Laird wrote: > Ok, > > I currently always call GetSurface and then pass this to the > VideoProvider playTo function. However this now fails (obviously!) > > Is it OK to pass a NULL surface into PlayTo?
PlayTo was never supposed to render to hidden or virtual surfaces. Does it mean so far you always had a dummy surface allocated, wasting the memory that it required? Display Layers have "Sources" which can be defined by the driver and usually just include one which is the default DLSID_SURFACE, but you can register a layer without this source, just providing two decoder sources for example. The source can be selected with SetConfiguration() of the layer. The question is with video providers, how to select the decoder to use or query the source to be selected at the layer? And what to do with the PlayTo wanting a surface? Maybe add another method? -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev