gstsouphttpsrc how to set new uri from parent bin

miskol xlazom00 at gmail.com
Thu Jan 26 06:32:16 PST 2012


Hi
I want to set up new uri in gstsouphttpsrc to make http live streaming
element
I made GstBin that handle eos event from child element gstsouphttpsrc
but every time I set new uri gstsouphttpsrc need to reset stat to play
I get 

(gst-launch-0.10:29172): GStreamer-WARNING **: 
Trying to join task 0x9b43c98 from its thread would deadlock.
You cannot change the state of an element from its streaming
thread. Use g_idle_add() or post a GstMessage on the bus to
schedule the state change from the main thread.

How can I change uri and change state to PLAYING without complicate new
thread( GstTask )
Is it possible? current implementation of HLS in gstreamer use GstTask and I
how I can make it better :)

I want to handle all in own element / bin.

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstsouphttpsrc-how-to-set-new-uri-from-parent-bin-tp4330466p4330466.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list