diff options
author | Diederick Niehorster <dcnieho@gmail.com> | 2021-12-21 14:53:32 +0100 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2021-12-24 14:06:40 +0530 |
commit | 54fdbfc366db8d43eab46c09adc45842c9744fdd (patch) | |
tree | b16b62b1e607c98847c59e9267b7363c6a78e7ff /libavutil/pixelutils.c | |
parent | ec579b4e3609d958a4c7fcec2db85b37243f318f (diff) | |
download | ffmpeg-54fdbfc366db8d43eab46c09adc45842c9744fdd.tar.gz |
avdevice/dshow: list_devices: show media type(s) per device
the list_devices option of dshow didn't indicate whether a specific
device provides audio or video output. This patch iterates through all
media formats of all pins exposed by the device to see what types it
provides for capture, and prints this to the console for each device.
Importantly, this now allows to find devices that provide both audio and
video, and devices that provide neither.
Signed-off-by: Diederick Niehorster <dcnieho@gmail.com>
Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
Diffstat (limited to 'libavutil/pixelutils.c')
0 files changed, 0 insertions, 0 deletions