Skip to content

v4l2codecs: Warn user when no media devices are found

Currently if the user is not able to access the devices under /dev/media*, either due to no media devices present on the system or simply no permission to access the device, v4l2codecs initialises with no features or debug messages.

Since calling GST_DEBUG="v4l2*:7" gst-inspect-1.0 v4l2codecs is a typical way to diagnose why element(s) failed to enumerate, we should be more verbose here when the user is not able to access any /dev/media* device. So print a simple debug message in this case to aid debugging.

Edited by Christopher Obbard

Merge request reports