[Swfdec] 回复: Can the Swfdec without the gtk?

Gian Mario Tagliaretti gianmt at gnome.org
Thu Nov 6 04:10:27 PST 2008


2008/11/6 Steven Liu <lingjiujianke at gmail.com>:

> It can work ,but i don't know where to draw the flash.

that is what Benjamin said in his email:

>> Yes, Swfdec does work without Gtk. For examples, you can look at the
>> thumbnailer in swfdec-gnome, our test framework or swfdec-directfb.
>> However, you'll have to do quite a bit more work to get a smooth
>> animation displayed, as Gtk is taking care of that: It calls
>> swfdec_player_advance() at the right speed, invalidates the screen
>> when things change and all these things.
>> But Swfdec was designed explicitly to work without Gtk, so it's easy
>> to integrate into applications that run without an X server
>> (thumbnailer, GStreamer, DirectFB).

If you don't want to use GTK+ you have to choose another way of
displaying stuff, directfb for example.

cheers
-- 
Gian Mario Tagliaretti
GNOME Foundation member
gianmt at gnome.org


More information about the Swfdec mailing list