All:
Here is my senario:
loopSetting = DVPLAY_LOOPING;
IDirectFBDataBuffer *vidBuf;
dfb->CreateDataBuffer(dfb, NULL, &vidBuf);
vidBuf->PutData(vidBuf, vidDataPtr, vidDataSize);
vidBuf->CreateVideoProvider(vidBuf, &animationProvider);
vidBuf->Release(vidBuf);
animationProvider->SetPlaybackFlags(animationProvider, loopSetting);
The following code will produce an animation provider, but it seems to
ignore the looping flag.
However...
loopSetting = DVPLAY_LOOPING;
IDirectFBDataBuffer *vidBuf;
fwrite("The image data to a file");
dfb->CreateVideoProvider(dfb, IMAGE_FILE,
&animationProvider);
animationProvider->SetPlaybackFlags(animationProvider,
loopSetting);
Will loop the animation just fine
Has anyone had any similar experience or ran into any similar bugs?
--
Rich Rattanni
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users