• mrlika's avatar
    lavd/v4l2: do not fail when VIDIOC_ENUMSTD returns EINVAL without a valid match · ed725425
    mrlika authored
    With some (buggy) drivers, the VIDIOC_G_STD ioctl returns a std_id that cannot
    be matched with any of the enumerated v4l2_standard structures (for example
    std_id = 0 or std_id = 0xffffff). Do not fail when we reach the end of the
    enumeration without a valid match.
    
    Fixes ticket #2370
    
    Note: This commit message has been modified by Giorgio Vazzana, the original
    commit message was:
    
    "Fixed regression for mandatory VIDIOC_ENUMSTD support by v4l2"
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    ed725425
Name
Last commit
Last update
..
Makefile Loading commit data...
alldevices.c Loading commit data...
alsa-audio-common.c Loading commit data...
alsa-audio-dec.c Loading commit data...
alsa-audio-enc.c Loading commit data...
alsa-audio.h Loading commit data...
avdevice.c Loading commit data...
avdevice.h Loading commit data...
bktr.c Loading commit data...
caca.c Loading commit data...
dshow.c Loading commit data...
dshow_capture.h Loading commit data...
dshow_common.c Loading commit data...
dshow_enummediatypes.c Loading commit data...
dshow_enumpins.c Loading commit data...
dshow_filter.c Loading commit data...
dshow_pin.c Loading commit data...
dv1394.c Loading commit data...
dv1394.h Loading commit data...
fbdev.c Loading commit data...
file_open.c Loading commit data...
iec61883.c Loading commit data...
jack_audio.c Loading commit data...
lavfi.c Loading commit data...
libavdevice.v Loading commit data...
libcdio.c Loading commit data...
libdc1394.c Loading commit data...
openal-dec.c Loading commit data...
oss_audio.c Loading commit data...
pulse.c Loading commit data...
sdl.c Loading commit data...
sndio_common.c Loading commit data...
sndio_common.h Loading commit data...
sndio_dec.c Loading commit data...
sndio_enc.c Loading commit data...
timefilter.c Loading commit data...
timefilter.h Loading commit data...
v4l.c Loading commit data...
v4l2-common.c Loading commit data...
v4l2-common.h Loading commit data...
v4l2.c Loading commit data...
v4l2enc.c Loading commit data...
version.h Loading commit data...
vfwcap.c Loading commit data...
x11grab.c Loading commit data...
xv.c Loading commit data...