deinterlace: Fix field ordering for reverse playback
authorSebastian Dröge <sebastian@centricular.com>
Mon, 12 Sep 2016 18:08:36 +0000 (20:08 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 12 Sep 2016 18:09:23 +0000 (20:09 +0200)
commitdba90631bc853ef710f15ffb03c8c2d94afbcaaf
tree70e1d65703506a82f65da26d75c0d9e1a4e58c27
parent22d6c7f10634532cc7ad185622b53d2ec1f5cc76
deinterlace: Fix field ordering for reverse playback

And actually calculate the field duration instead of a frame duration so
that we can properly timestamp output frames in fields=all mode.

This is probably still broken for reverse playback in telecine mode.
gst/deinterlace/gstdeinterlace.c