gst_element_set_state hangs

Jianchun Zhou jianchun.zhou at gmail.com
Wed Apr 13 02:41:18 PDT 2011


hi, guys:

A problem has been troubling me a lot for quite a period of time.

when I use gstreamer to play an online radio stream, it blocks on
gst_element_set_state(play,
GST_STATE_PLAYING);
the application hangs and has no response. my system is Ubuntu 10.10 LTS.

the attached is my source code, the url mms://live.cbg.cn/yinyue is the one
blocks, and the other one can play.

anybody can shed some light for me, how can I return from the setting state
operation immediately?

thanks in advance.


-- 
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110413/61d99213/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mms-player.c
Type: text/x-csrc
Size: 1188 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110413/61d99213/attachment.c>


More information about the gstreamer-devel mailing list