<table cellpadding=3 cellspacing=0 border=0 width=100% bgcolor=white><tr valign=top><td width=100%><font size=2 color=black><BR>hi all,<br> <br>i have written a simple player application using playbin <br> <br>the problem is in the int main() func, i call music_play() . <br>in music_play() ,<br>i do <br>Music_play()<br>{<br>loop=g_main_loop_new(NULL,FALSE)<br>play = gst_element_factory_make("playbin","play");<br>bus=...<br>......<br> <br>gst_element_set_state(G_OBJECT(play),GST_STATE_PLAYING);<br>g_main_loop_run(loop);<br>}<br> <br>but the problem is how to set the state of playbin to "PAUSED"   "READY" from outside<br> <br>if i try to set the state in main() , it is just ignored.<br> <br>can the playbin state be controlled from outside using any glib api<br> <br> <br> <br> <br> <br> <br>gst_element_st<BR><BR><BR><br></font></td></tr></table><p><hr><font size=2 face=geneva><b>Join Excite! - <a href=http://www.excite.com target=_blank>http://www.excite.com</a></b><br>The most 
personalized portal on the Web!</font>