deinterlace: Implement field history flushing
authorRobert Swain <robert.swain@collabora.co.uk>
Fri, 5 Nov 2010 16:00:15 +0000 (17:00 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Nov 2010 10:40:51 +0000 (10:40 +0000)
commit9be159b32c9f14634a975b2df250b61702958194
treeaa50e23f0b47d2a274a9e9acb032a5b8a34e819d
parent5a56274cba13df5831fe15746792be433fc1baf3
deinterlace: Implement field history flushing

In a number of cases it is necessary to flush the field history by
performing 'degraded' deinterlacing - that is, using the user-chosen
method for as many fields as possible, then using vfir for as long as
there are >= 2 fields remaining in the history, then using linear for
the last field.

This should avoid losing fields being kept for history for example at
EOS.

This may address part of #633294
gst/deinterlace/gstdeinterlace.c
gst/deinterlace/gstdeinterlace.h