]> git.sesse.net Git - vlc/commit
Fix deinterlacing of packed YUV formats.
authorSteinar H. Gunderson <steinar+vlc@gunderson.no>
Sat, 8 Jun 2013 21:14:15 +0000 (23:14 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 16 Aug 2013 12:41:14 +0000 (14:41 +0200)
commitcc4f3ed072a0993c1ba584d17f289aa6ca95072b
treed5104f8f397d4a29336d1038c345fa4d8ab560f4
parent88f08d1575464d87eddde73ceaf7bd7f4c3a58dc
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