Hi Karl.
That's because these functions are simply not implemented.
From the source file idirectfbvideoprovider_gif.c:
static DFBResult IDirectFBVideoProvider_GIF_GetLength( ...snip... )
{
...snip...
return DFB_UNSUPPORTED;
}
It's a fairly basic implementation.
I guess you would need to read the complete file to say something about
length, and have seek abilities.
Feel free to implement it..
hth
Niels
Karl Phillip wrote:
Hi all,
I wrote a small app to play gif animation using CreateVideoProvider
and it works great. However, DirectFB crashes when I use functions such as
GetLength(), GetPos(), SeekTo(), saying it does not support the
function, like:
*(#) DirectFBError [videoprovider->GetLength(videoprovider, &sec)]:
Not supported!*
I'm able to play/stop video rendering and use other functions:
GetStatus(), SetPlaybackFlags(), and probably others. It would be
handy if I could use those functions that returns as "Not supported!"
by *DirectFB 1.0.1*
Does anyone have any information on this?
Thanks,
[]'s
------------------------------------------------------------------------
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users