summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-05 11:06:25 +0200
committerwm4 <wm4@nowhere>2017-04-05 11:06:25 +0200
commit400a7c409fa15252055e5747d7bff9acf593dd25 (patch)
tree742cee0476e8d088f5313493f2a4f4687adb439d /options
parenta1ad64a1c80bbeca1d9943e4a7ea86ff0bdcdb57 (diff)
downloadmpv-400a7c409fa15252055e5747d7bff9acf593dd25.tar.bz2
mpv-400a7c409fa15252055e5747d7bff9acf593dd25.tar.xz
vf: fix another broken case of conversion filter auto-insertion
If the VO doesn't support a format output by vf_lavfi, no conversion filter was inserted, and filter chain creation failed. This is because vf_lavfi doesn't properly follow the format negotiation model, which means the format negotiation pass does not catch all cases where conversion is needed. Specifically, vf_lavfi supports that all output formats are supported for any given input format, but then does not actually call vf_next_query_format() in reconfig() to check which format it uses, but outputs whatever it gets from libavfilter. I think this is ok to avoid excessive complexity in vf_lavfi.c, but it also means adding more kludges to vf.c. I justify this (and the code duplication) with the idea that the current filter chain code will die anyway at some point. The .log field additions for c->first/c->last are strictly speaking not needed, but useful for debugging.
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions