gst_element_set_state() hangs when we disconnect the playing USB source

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gst_element_set_state() hangs when we disconnect the playing USB source

1,653 Views
venubabutamaral
Contributor I

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

0 Kudos
4 Replies

965 Views
YixingKong
Senior Contributor IV

Venubabu

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

0 Kudos

965 Views
YixingKong
Senior Contributor IV

Venubabu

We have not got your response yet and will close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.

Thanks,

Yixing

0 Kudos

965 Views
YixingKong
Senior Contributor IV

Venubabu

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel

free to reply with an update to this discussion.

Thanks,
Yixing

0 Kudos

965 Views
LeonardoSandova
Specialist I

do you see the same behavior doing the same test but launching the pipeline with gst-launch?

0 Kudos