]> git.sesse.net Git - vlc/commit
Fix deinterlacing of packed YUV formats.
authorSteinar H. Gunderson <steinar+vlc@gunderson.no>
Fri, 16 Aug 2013 14:42:44 +0000 (16:42 +0200)
committerSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sun, 29 Mar 2015 19:34:50 +0000 (21:34 +0200)
commit20ce6b1fbbbb735b6274d0d5f21d1819719bbe30
tree4e1e93a03e429b34c837626d1da85c3d5f1a3850
parente7ef356de5e6d6f931478e92cc000480d8284974
Fix deinterlacing of packed YUV formats.

If adding the deinterlacer filter fails, try conversion filters
until we try something the deinterlacer wants, and then try again.
This fixes the problem where the input from the decklink module
(at least with --no-decklink-tenbits) is UYVY, while the deinterlacer only
wants planar formats.

Another possibility would be going straight for the format the
encoder wants, but often, this would be a 4:2:0 format, and 4:2:0
is pretty bad to deinterlace in, since the vertical chroma resolution
is gone already (the chroma interlacing in 4:2:0 is rather odd).
modules/stream_out/transcode/video.c