GNOME Bugzilla – Bug 720375
vaapipostproc: fix support for deinterlacing while seeking
Last modified: 2014-06-18 15:35:38 UTC
GstVaapiDeinterlaceState requires reset when there is discontinuity. for example: the cached previous frame is not valid after seek.
Created attachment 264118 [details] [review] 0001-vaapipostproc-fixes
Created attachment 264119 [details] [review] 0002-vaapipostproc-optimize-for-bob-deinterlace-only
Created attachment 264120 [details] [review] 0003-vaapipostproc-skip-weave-deinterlace
Created attachment 264121 [details] [review] 0004-vaapipostproc-update-advanced-deinterlace-when-there
commit faefd62e9be3e36cc0465f5e66e1711d7b5d7a03 Author: Zhao, Halley <halley.zhao@intel.com> Date: Thu Dec 12 10:01:13 2013 +0800 vaapipostproc: reset deinterlacer state when there is a discontinuity. Reset deinterlacer state, i.e. past reference frames used for advanced deinterlacing, when there is some discontinuity detected in the course of processing source buffers. This fixes support for advanced deinterlacing when a seek occurred. https://bugzilla.gnome.org/show_bug.cgi?id=720375 [fixed type of pts_diff variable, fetch previous buffer PTS from the history buffer, reduce heuristic for detecting discontinuity] Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>