sam Cheng wrote:
Hi everyone
    Below is my program. It will some a error message 'test' is used
uninitialized in this function. But I can't find any new function in
the function list. How do i do?

ClutterMedia *test;
clutter_media_set_filename(test,"XXX");


ClutterMedia is an interface. Another class needs to implement the interface and you need an instance of that class before you an use it as a ClutterMedia implementation.

The documention states this right in beginning:

 * ClutterMedia is an interface for controlling playback of media
 * sources.
 *
 * Clutter core does not provide an implementation of this interface,
 * but other integration libraries like Clutter-GStreamer implement it
 * to offer a uniform API for applications.

See ClutterGstAudio in clutter-gst for an example of a class implementing ClutterMedia.

 - Jussi
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to