v4l2 Doesn't Stop After Device Removed

Nicolas Dufresne nicolas at ndufresne.ca
Sun Jan 15 01:42:16 UTC 2017


Please, file a bug on bugs.gnome.org and we'll look into that together.
GStreamer should eventually produce an error and release the device.
Otherwise it's a bug. Though, if you plug and unplug very quickly, the
device rename  will occur, this is how Linux works.

Le 14 janv. 2017 5:13 AM, "caseyzahorik" <casey.zahorik at qsc.com> a écrit :

> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170114/0dc662bd/attachment.html>


More information about the gstreamer-devel mailing list