[gst-devel] Clutter GST+GStream

Levis samjang62 at yahoo.com.tw
Thu Oct 1 15:25:14 CEST 2009


Hi everyone
  Below is my program. I want use ClutterGstAudio to play a music.
But it still have some bug. The Error Message is "
GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote
application did not send a reply, the message bus security policy
blocked the reply, the reply timeout expired, or the network
connection was broken.
GConf Error: No D-BUS daemon running" and I sure error is about
ClutterGstAudio. How to fix it?

int main (int argc, char *argv[])
{
   ClutterColor color = { 0x00, 0x00, 0x00, 0xff };
   clutter_init(&argc, &argv);
   gst_init(&argc, &argv);

   ClutterActor *stage = clutter_stage_get_default();
   clutter_stage_set_fullscreen(CLUTTER_STAGE(stage), TRUE);
   clutter_stage_set_color(CLUTTER_STAGE(stage), &color);

   start_project(stage);
   clutter_actor_show(stage);

   ClutterGstAudio *test;
   test= clutter_gst_audio_new ();

   clutter_media_set_uri((ClutterMedia *)test,"./image/music.mp3");
   clutter_media_set_playing((ClutterMedia *)test,TRUE);
}
Live in the earth

___________________________________________________ 
 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
 http://messenger.yahoo.com.tw/




More information about the gstreamer-devel mailing list