summaryrefslogtreecommitdiff
path: root/libavfilter/vf_scale.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-23 15:14:40 +0100
committerAnton Khirnov <anton@khirnov.net>2012-04-01 09:04:09 +0200
commit63736fe48c30c5db313c3a25d1462ad31b2a1671 (patch)
treedcb0310f1b136bf58b58607b6cfceda52a85c568 /libavfilter/vf_scale.c
parent996f9f0c3280552d293c3dbe4266938927fd5908 (diff)
avfiltergraph: try to reduce format conversions in filters.
Current code, with a filterchain such as (input - yuv411) -> (scale - any) -> (sink - any) will result in yuv420 being chosen for the second link, which is clearly not right. This commit attempts to improve in the following way: repeat until convergence: loop over all filters find input link with exactly one format force this format on all output links of the same type (if possible)
Diffstat (limited to 'libavfilter/vf_scale.c')
0 files changed, 0 insertions, 0 deletions