aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pnmdec.c
diff options
context:
space:
mode:
authorDiederick Niehorster <dcnieho@gmail.com>2022-01-02 10:49:40 +0100
committerGyan Doshi <ffmpeg@gyani.pro>2022-01-04 17:41:05 +0530
commite84d8ba44141b55f2b28e0ad3b597d2e7d422336 (patch)
treeb478731db3bf27f1f35fa67fbe2a1a251409fecd /libavcodec/pnmdec.c
parent25518f2aa6821cd37bb20b53853eb1b2ef95b755 (diff)
downloadffmpeg-e84d8ba44141b55f2b28e0ad3b597d2e7d422336.tar.gz
avdevice/dshow: ensure pin's default format is set
Fixes regression in a1c4929f: there apparently are devices out there that expose a pin default format that has parameters outside the capabilities of any of the formats exposed on the pin (sic?). The VirtualCam plugin (v 2.0.5) of OBS-Studio (v 27.1.3) is such a device. Now when a default format was found, but not selected when iterating all formats, fall back to directly setting the default format. Signed-off-by: Diederick Niehorster <dcnieho@gmail.com> Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
Diffstat (limited to 'libavcodec/pnmdec.c')
0 files changed, 0 insertions, 0 deletions