On Wed, Mar 01, 2006 at 12:49:56PM +0530, satish wrote: > Hi all, > > I had an earlier posting regarding how to capture a video frame from a video > file, > i repeat my question in clear manner as i have been vexed at this problem. > > As i was searching in many directfb references, i came to know that the > PlayTo() API has an additional argument, > "callback" that is called for each rendered frame, and this callback should > be registered. > > Can anybody suggest or provide me some sample examples, on how to register > and use a callback, > and what all the arguments required to be passed for "ctx" argument of the > PlayTo API > such that i can capture the rendered frame.
Registering the callback is easy. Just call PlayTo() with the callback argument pointing to your function. The ctx argument can be anything you need inside the callback function. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
