v4l2 Doesn't Stop After Device Removed

caseyzahorik casey.zahorik at qsc.com
Sat Jan 14 00:16:14 UTC 2017


Versions: 1.10.2 and 10.8.3

Pipeline: gst-launch-1.0 v4l2src device=/dev/video0 ! fakesink

Problem: When the usb device providing the video for /dev/video0 is
unplugged, gstreamer doesn't crash or detect the device has been unplugged
and stop. This causes the device, when plugged back in, to re-enumerate as
another device instead of having the same path as before. 

This is not a problem when using older versions of gstreamer. I have tried
it on 1.2 and 1.4, both work as expected. Though i don't think a good
solution here is to have to downgrade and never be able to update to newer
versions. So i was hoping there was some flag i was missing or something in
the newer versions that i could change to resolve this issue. 

Thanks for your assistance,
Casey



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/v4l2-Doesn-t-Stop-After-Device-Removed-tp4681449.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list