Ville Syrjälä wrote:
> On Wed, Feb 14, 2007 at 06:25:49AM -0800, Daniel Laird wrote:
>   
>>
>> Ville Syrjälä wrote:
>>     
>>> On Wed, Feb 14, 2007 at 05:17:37AM -0800, Daniel Laird wrote:
>>>       
>>>> I have wriiten an applications that calls 
>>>> DirectFBCreate()
>>>> It then releases the top level interface.
>>>>
>>>> It then repeats (so calls DirectFBCreate again.
>>>>
>>>> This fails.  The master application never exits (it just reinitialises
>>>> DFB
>>>> as required).
>>>> The problem it shows is that it will not load a gfxdriver that I have
>>>> written.
>>>>         
>>> Call DirectFBInit() before DirectFBCreate().
>>>
>>>       
>> Sorry, poorly written email.  I do actually call DirectFBInit() first and
>> then DirectFBCreate() as usual.
>>
>> I then release top level interface and then call DirectFBInit again,
>> followed by Create().
>>
>> This is all done without exiting the application.
>>     
>
> Hmm, it should work, or at least it used to work at some point.
>   
well its a bit offtopic, so I've changed the subject.

if you Release() a VideoProvider, and then try to create it again,
that will also fail. (at least with ffmpeg it does - from -extras)

I've tracked further the problem with ffmpeg and I have a working
solution, but it's a big ugly hack, so I wont post it.

But there's clearly a bug in both cases.

Thanks,

Zoltan NAGY,
Software Engineer


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to