]> git.sesse.net Git - ffmpeg/commit
speedhq: fix behavior of single-field decoding
authorSteinar H. Gunderson <steinar+ffmpeg@gunderson.no>
Thu, 3 Aug 2017 07:22:57 +0000 (09:22 +0200)
committerJames Almer <jamrial@gmail.com>
Thu, 3 Aug 2017 19:36:02 +0000 (16:36 -0300)
commiteffd2e7291a12760891289540f944d71ff32a1c8
tree204903136955af86cbe3fd06c4fe967015281970
parent4ff94558f23a5de43aed4ca3429963dd1d995250
speedhq: fix behavior of single-field decoding

The height convention for decoding frames with only a single field made sense
for compatibility with legacy decoders, but doesn't really match the convention
used by NDI, which is the primary (only?) user. Thus, change it to simply
assuming that if the two fields overlap, the frame is meant to be a single
field and the frame height matches the field height.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/speedhq.c