summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2022-02-06 00:58:59 +0200
committerJan Ekström <jeebjp@gmail.com>2022-02-06 14:45:50 +0200
commit8c4cb84f9ecebb279fc116f19b8d0b322c4de3b4 (patch)
treefc3c592bce0a4ab631dbdc7be8f8d9699246f867 /video/out
parent240340d60a625db12fb957deadac89a197c50844 (diff)
downloadmpv-8c4cb84f9ecebb279fc116f19b8d0b322c4de3b4.tar.bz2
mpv-8c4cb84f9ecebb279fc116f19b8d0b322c4de3b4.tar.xz
vf_format: simplify frame type checking after addition of DoVi option
We only wish to touch actual video frames, which should have an allocated image attached to them, so just check the frame type early, and exit by passing through such non-video frames to further filters in the chain without attempting to process them. Fixes a crash in case of non-video (EOF/NONE) frames being passed onto the filter when the dovi option was set to false since 05ccc51d53424a771ece5bb818713d474d7874ce .
Diffstat (limited to 'video/out')
0 files changed, 0 insertions, 0 deletions