Jianchun Zhou
2011-04-13 09:41:18 UTC
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.
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
Best Regards