vaapi_h264: fix RefPicList[] field flags.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 19 Oct 2016 22:42:53 +0000 (23:42 +0100)
committerMark Thompson <sw@jkqxz.net>
Mon, 24 Oct 2016 21:57:12 +0000 (22:57 +0100)
commitef35100e69ca1e186deb7abdd2238236332eb7fd
tree3a683238441f22d742b719b10052a7ec598d2149
parent7b7933088749c04a21fd95b339d2c0e30b7a633c
vaapi_h264: fix RefPicList[] field flags.

Use new H264Ref.reference field to track field picture flags. The
H264Picture.reference flag in DPB is now irrelevant here.

This is a regression from git commit a12d3188, and that affected
multiple interlaced video streams.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 754b20d7ebccbe8d316b12128c8cb433d5a516ac)
Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavcodec/vaapi_h264.c