1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00
Files
FFmpeg/libavdevice
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
..
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-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-12-24 14:06:27 +05:30
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-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 11:48:05 -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
2021-04-27 11:48:05 -03:00
2021-04-27 11:48:05 -03:00
2021-10-09 13:24:38 +02:00