AnsweredAssumed Answered

gst_element_set_state() hangs when we disconnect the playing USB source

Question asked by venubabu tamarala on Feb 3, 2014

Hi,


I construct the pipeline to play an audio/video file from USB source and i destroy the pipeline when i get error from gstreamer bus.

 

Now I initiated the playback and i disconnected the USB stick immediately, As i said earlier i tried to set the pipeline state to NULL, due to gsteamer errors. But it is hanging at gst_element_set_state() to NULL;

 

It can be reproduce with any audio/video file(ex: mp4, avi, wmv).

I have seen below errors, while disconnecting the USB device. And also  i have attached gstreamer debug log version:5 & 6.

ERROR DOMAIN Id : 1225

EROOR DOMAIN NAME: gst-resource-error-quark

ERROR CODE: 3

ERROR MESSAGE: Resource not found.


I use gstreamer-0.10.36 and imx6q_sabreauto for testing. What could be the problem?

 

Thanks In advance. 

Original Attachment has been moved to: gstreamer_logs.tar.gz

Outcomes