mirror of https://git.ffmpeg.org/ffmpeg.git
7b2ce27e56
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> |
||
---|---|---|
.. | ||
tests | ||
.gitignore | ||
Makefile | ||
alldevices.c | ||
alsa.c | ||
alsa.h | ||
alsa_dec.c | ||
alsa_enc.c | ||
android_camera.c | ||
avdevice.c | ||
avdevice.h | ||
avdeviceres.rc | ||
avfoundation.m | ||
bktr.c | ||
caca.c | ||
decklink_common.cpp | ||
decklink_common.h | ||
decklink_common_c.h | ||
decklink_dec.cpp | ||
decklink_dec.h | ||
decklink_dec_c.c | ||
decklink_enc.cpp | ||
decklink_enc.h | ||
decklink_enc_c.c | ||
dshow.c | ||
dshow_capture.h | ||
dshow_common.c | ||
dshow_crossbar.c | ||
dshow_enummediatypes.c | ||
dshow_enumpins.c | ||
dshow_filter.c | ||
dshow_pin.c | ||
fbdev_common.c | ||
fbdev_common.h | ||
fbdev_dec.c | ||
fbdev_enc.c | ||
file_open.c | ||
gdigrab.c | ||
iec61883.c | ||
internal.h | ||
jack.c | ||
kmsgrab.c | ||
lavfi.c | ||
libavdevice.v | ||
libcdio.c | ||
libdc1394.c | ||
openal-dec.c | ||
opengl_enc.c | ||
opengl_enc_shaders.h | ||
oss.c | ||
oss.h | ||
oss_dec.c | ||
oss_enc.c | ||
pulse_audio_common.c | ||
pulse_audio_common.h | ||
pulse_audio_dec.c | ||
pulse_audio_enc.c | ||
reverse.c | ||
sdl2.c | ||
sndio.c | ||
sndio.h | ||
sndio_dec.c | ||
sndio_enc.c | ||
timefilter.c | ||
timefilter.h | ||
utils.c | ||
v4l2-common.c | ||
v4l2-common.h | ||
v4l2.c | ||
v4l2enc.c | ||
version.h | ||
vfwcap.c | ||
xcbgrab.c | ||
xv.c |