g_idle_add() thread removal when state changed from PLAYING to NULL.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

g_idle_add() thread removal when state changed from PLAYING to NULL.

Sujith reddy
Hi All,

The problem is:

we have appsrc element as input to the pipeline.

Now we are feeding data to the pipeline element by adding g_idle_add().

Suddenly i wanted to stop the pipeline ,i made it has GST_STATE_NULL ,
Now my Question is wheteher g_idle_add() thread is in middle of the push
data then what happens to this thread when we changed from GST_STATE_PLAYING
to GST_STATE_NULL state.


The g_idle_add() is removed or we want to remove the thread forcefully?

 can anyone suggest on this.


Thanks
Sujith



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel