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
..
2017-03-19 16:08:27 +01:00
2018-04-05 22:08:53 +01:00
2019-03-20 10:42:10 +00:00
2019-08-15 09:29:55 +08:00
2019-08-15 09:29:55 +08:00
2019-04-23 14:01:23 -08:00
2017-11-27 14:05:28 +01:00
2018-04-19 23:44:33 +02:00
2018-03-31 23:26:31 +01:00
2018-03-31 23:26:31 +01:00
2019-08-15 09:29:55 +08:00
2019-08-15 09:29:55 +08:00
2019-08-15 09:29:55 +08:00
2018-12-02 00:57:10 +01:00
2019-05-05 20:07:35 +02:00
2019-04-15 22:22:31 +02:00
2019-08-15 09:29:55 +08:00
2019-04-15 22:22:31 +02:00
2017-10-10 20:07:25 +02:00
2019-08-15 09:29:55 +08:00
2019-05-05 20:07:35 +02:00
2017-10-10 20:07:25 +02:00
2016-06-23 03:18:16 +02:00
2016-03-28 13:31:38 -08:00
2015-11-06 09:36:57 -05:00
2016-08-20 12:06:50 +02:00
2019-01-03 13:15:45 -03:00
2019-01-03 13:15:45 -03:00
2015-07-11 12:25:03 +02:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2019-05-17 21:51:20 +08:00
2019-01-16 00:13:49 +01:00
2015-10-16 17:28:40 -04:00
2018-01-28 23:06:43 +01:00
2018-03-26 22:39:12 +01:00
2018-04-02 03:26:22 +01:00
2016-06-27 17:56:47 +02:00
2018-01-28 23:06:43 +01:00
2017-08-18 19:20:15 +02:00
2019-03-20 10:42:10 +00:00
2019-08-15 09:29:55 +08:00
2016-01-31 15:44:11 -08:00
2019-04-10 12:41:58 +02:00
2019-08-15 09:29:55 +08:00
2019-08-15 09:29:55 +08:00
2017-11-11 16:19:50 -03:00
2015-04-09 21:36:42 +02:00
2015-10-22 19:03:50 -04:00
2019-08-15 09:29:55 +08:00
2019-08-15 09:29:55 +08:00
2017-07-20 00:33:29 -03:00
2018-10-23 19:42:32 +02:00
2018-01-28 23:06:43 +01:00
2018-01-28 23:06:43 +01:00
2015-04-09 21:36:42 +02:00
2015-04-09 21:36:42 +02:00
2016-05-11 19:13:03 +01:00
2019-03-22 12:30:47 +01:00
2017-03-22 17:55:18 +01:00
2019-11-06 20:38:03 +01:00
2018-06-18 16:26:23 -08:00
2019-07-21 18:36:31 +02:00
2018-04-18 20:26:44 +02:00
2019-04-06 15:20:36 +02:00
2018-01-28 23:06:43 +01:00