Diederick Niehorster
937de260eb
avdevice/dshow: set no-seek flags
...
avdevice/dshow is a realtime device and as such does not support
seeking. Therefore, its demuxer format should define the
AVFMT_NOBINSEARCH, AVFMT_NOGENSEARCH and AVFMT_NO_BYTE_SEEK flags.
With these flags set, attempting to seek (with, e.g.,
avformat_seek_file()) correctly yields -1 (operation not permitted)
instead of -22 (invalid argument).
This actually seems to apply to many other devices, at least the
gdigrab, v4l2, vfwcap, x11grab, fbdev, kmsgrab and android_camera
devices, from reading the source.
Signed-off-by: Diederick Niehorster <dcnieho@gmail.com >
Reviewed-by: Roger Pack <rogerdpack2@gmail.com >
2021-12-24 14:06:27 +05:30
..
2017-03-19 16:08:27 +01:00
2018-04-05 22:08:53 +01:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-03-12 23:55:30 +01:00
2021-03-12 23:55:30 +01:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-07-22 15:29:46 +02:00
2021-04-27 10:43:14 -03:00
2021-09-17 15:31:40 +02:00
2021-04-27 11:48:05 -03:00
2021-10-09 14:18:12 +02:00
2021-08-16 10:00:39 +08:00
2021-08-16 10:00:39 +08:00
2021-08-16 10:00:39 +08:00
2021-08-16 10:00:39 +08:00
2021-04-27 10:43:13 -03:00
2017-10-10 20:07:25 +02:00
2021-08-16 10:00:39 +08:00
2021-08-16 10:00:39 +08:00
2017-10-10 20:07:25 +02:00
2021-12-24 14:06:06 +05:30
2021-01-21 20:02:23 -03:00
2021-01-25 19:31:11 -03:00
2021-01-25 19:31:11 -03:00
2021-01-25 19:31:11 -03:00
2021-12-24 14:06:21 +05:30
2021-12-24 14:06:27 +05:30
2021-07-22 14:47:57 +02:00
2021-07-22 14:47:57 +02:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 10:43:08 -03:00
2021-12-07 11:16:14 +01:00
2021-04-27 11:48:05 -03:00
2021-12-03 17:01:24 +01:00
2016-06-27 17:56:47 +02:00
2021-07-22 14:47:57 +02:00
2021-04-27 11:48:05 -03:00
2020-06-15 15:09:33 +02:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-07-22 15:29:46 +02:00
2021-07-22 15:29:46 +02:00
2021-07-22 15:29:46 +02:00
2021-07-22 15:29:46 +02:00
2021-04-27 11:48:05 -03:00
2021-07-22 11:14:31 +02:00
2017-07-20 00:33:29 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2016-05-11 19:13:03 +01:00
2021-02-27 21:30:41 +01:00
2021-04-27 10:43:08 -03:00
2019-03-22 12:30:47 +01:00
2021-07-22 15:02:30 +02:00
2021-12-07 11:16:14 +01:00
2021-04-27 11:48:05 -03:00
2021-11-15 16:24:58 +01:00
2021-04-27 11:48:05 -03:00
2021-11-21 00:35:30 +01:00
2021-10-09 13:24:38 +02:00