Blocked when setting state to PLAYING

deepthips deepthips at tataelxsi.co.in
Fri Jan 27 13:41:14 UTC 2017


I have a gstreamer code with functions such as load_pipeline, play, stop and
seek.
Using a testapp, in while (1) loop, I monitor for user input and call load /
play / stop accordingly. 
Since I have a while loop in testapp, I dont have g_main_loop running in my
gstreamer code.

I can successfully do load and play. Problem is: once playing, it will no
longer monitor for any other key input. It is like it went to blocked state.
(Just like g_main_loop is running)
My play function is only having the line gst_element_set_state(play,
GST_STATE_PLAYING);
What could be the issue.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Blocked-when-setting-state-to-PLAYING-tp4681649.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list