diff options
author | Jan Ekström <jeebjp@gmail.com> | 2022-04-11 21:36:51 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2022-04-11 23:54:22 +0300 |
commit | 1a597ea98744a92cd29e636ea440edd95ef7a142 (patch) | |
tree | 3128998b7b91814bf5b427258dd90fed54c39284 /options | |
parent | eddc0bfe25bfea9202d43189f5c2447db5a5b9f0 (diff) | |
download | mpv-1a597ea98744a92cd29e636ea440edd95ef7a142.tar.bz2 mpv-1a597ea98744a92cd29e636ea440edd95ef7a142.tar.xz |
vd_lavc: fix decoder initialization when no VO is available
The VO is available during decoder initialization mostly for direct
rendering purposes, so if f.ex. a complex filter chain is utilized,
there is no video renderer information available via
mp_filter_find_stream_info during creation of the decoder filter.
Thus, check for whether the VO is available before attempting to
check the capabilities flag from it.
Additionally - to simplify logic - makes explicitly requesting GPU
film grain to always disable decoder film grain functionality. The
warning is still shown if the VO is available and no support for
film grain application is available.
Fixes #10079
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions