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);
}
--
Sam Cheng
_______________________________________________
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