ffmpeg/libavdevice
Andriy Gelman 7b2ce27e56 avdevice/v4l2: Remove av_assert0 when format not supported
Before this commit an av_assert0 would fail if a v4l2 device did not
support a target format.
For example,
./ffmpeg -f v4l2 -codec:v h264 -i /dev/video0 -f mpegts -
would signal an abort if /dev/video0 did not support h264.

The new behaviour is to return an AVERROR(EINVAL) error code. An
av_assert0 has been added to verify this return.

Fixes #6629

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-11-06 20:38:03 +01:00
..
tests
.gitignore
Makefile lavd: Remove libndi_newtek 2019-03-20 10:42:10 +00:00
alldevices.c lavd: Remove libndi_newtek 2019-03-20 10:42:10 +00:00
alsa.c avdevice/alsa: fix indefinite stop on closing PCM capture 2019-04-23 14:01:23 -08:00
alsa.h
alsa_dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
alsa_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
android_camera.c
avdevice.c
avdevice.h
avdeviceres.rc
avfoundation.m libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
bktr.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
caca.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
decklink_common.cpp avdevice/decklink: fix checking video mode in SDK version 11 2019-05-05 20:07:35 +02:00
decklink_common.h avdevice/decklink_common: add support for DeckLink SDK 11 2019-04-15 22:22:31 +02:00
decklink_common_c.h
decklink_dec.cpp avdevice/decklink_dec: set configs before listing formats 2019-04-15 22:22:31 +02:00
decklink_dec.h
decklink_dec_c.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
decklink_enc.cpp avdevice/decklink: fix checking video mode in SDK version 11 2019-05-05 20:07:35 +02:00
decklink_enc.h
decklink_enc_c.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
dshow.c avdevice/dshow: Fixed some minor memory leaks 2019-01-03 13:15:45 -03:00
dshow_capture.h
dshow_common.c
dshow_crossbar.c
dshow_enummediatypes.c
dshow_enumpins.c
dshow_filter.c
dshow_pin.c avdevice/dshow: Fixed some minor memory leaks 2019-01-03 13:15:45 -03:00
fbdev_common.c
fbdev_common.h
fbdev_dec.c
fbdev_enc.c
file_open.c
gdigrab.c libavdevice/gdigrab: fix ffmpeg -devices doesn't show gdigrab 2019-05-17 21:51:20 +08:00
iec61883.c lavd/iec61883: Fix the include path for poll.h. 2019-01-16 00:13:49 +01:00
internal.h
jack.c
kmsgrab.c
lavfi.c
libavdevice.v
libcdio.c
libdc1394.c
openal-dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
opengl_enc.c avdevice/opengl_enc: fix build error using msvc compiler 2019-04-10 12:41:58 +02:00
opengl_enc_shaders.h
oss.c
oss.h
oss_dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
oss_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
pulse_audio_common.c
pulse_audio_common.h
pulse_audio_dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
pulse_audio_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
reverse.c
sdl2.c
sndio.c
sndio.h
sndio_dec.c
sndio_enc.c
timefilter.c
timefilter.h
utils.c
v4l2-common.c lavd/v4l2-common: Add an entry for Z16. 2019-03-22 12:30:47 +01:00
v4l2-common.h
v4l2.c avdevice/v4l2: Remove av_assert0 when format not supported 2019-11-06 20:38:03 +01:00
v4l2enc.c
version.h Bump minor versions again on master to keep 4.2 versions separate from master 2019-07-21 18:36:31 +02:00
vfwcap.c
xcbgrab.c lavd/x11grab: fix vertical repositioning 2019-04-06 15:20:36 +02:00
xv.c