Marcus wrote: > Thanks for the reply Denis. > Do you know if there is a way to play a stream from the network ? > regards, > Marc
dfb->CreateVideoProvider ( "http://foo.com/...", &provider ) or dfb->CreateDataBuffer ( "http://foo.com/...", &buffer ) buffer->CreateVideoProvider( &provider ) > > At 08:21 PM 7/24/2007, Denis Oliver Kropp wrote: >> Marcus wrote: >>> Hello All, >>> >>> I am trying to play a file from a FIFO. >>> DirectFB is creating a provider on the fly (CreateVideoProvider) >>> and is waiting to read 64bytes to try to guess what video provider to use. >>> If I don't fill the FIFO before calling CreateVideoProvider, then the >>> function lock (in WaitForData --precisely >>> in direct_stream_wait )). :( >>> Googling, and reading the documentation didn't help, so here is the >>> question, maybe someone has an >>> answer... :) >>> >>> Is there any way to force the creation of a video provider assuming >>> that I know in advance what kind of >>> file I will play ? >> There's no way, but adding it has been discussed several times :) >> >> Something like >> IDirectFBDataBuffer::CreateVideoProviderImplementation() >> with a string like "FFMPEG" as the additional argument maybe... >> >> -- >> Best regards, >> Denis Oliver Kropp >> >> .------------------------------------------. >> | DirectFB - Hardware accelerated graphics | >> | http://www.directfb.org/ | >> "------------------------------------------" >> >> _______________________________________________ >> directfb-dev mailing list >> [email protected] >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > _______________________________________________ > directfb-dev mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > -- Regards, Claudio Ciccani [EMAIL PROTECTED] http://directfb.org http://sf.net/projects/php-directfb _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
