Playbin gets blocked while doing the Pipeline state NULL

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

Playbin gets blocked while doing the Pipeline state NULL

Debsu
Hi,

I am facing a problem while feeding stream data through fifo to Playbin. While doing Play->Stop->Play->Stop..., suddenly in gst_elemnt_set_state(GST_STATE_NULL), the execution gets blocked.

What I am doing, I first close the pipe and then call the gst_elemnt_set_state(GST_STATE_NULL) and then it gets blocked.

If anyone faced this same problem, can you tell me what is the way to solve it?

Is there any way to inform the Playbin to close the Fifo cleanly?

Regards,
Deb