decoder: hevc: Fix the picture addition in dpb() based on spec H265 v3 (04/2015)
decoder: hevc: Fix the picture addition in dpb() based on spec H265 v3 (04/2015)

This fix is based on the V3 vesion of spec which was missing in older versions.

When the current picture has PicOutputFlag equal to 1, for each picture in the
DPB that is marked as "needed for output" and follows the current picture in output order,
the associated variable PicLatencyCount is set equal to PicLatencyCount + 1 (C.5.2.3).

https://bugzilla.gnome.org/show_bug.cgi?id=754010

gbeauchesne/gstreamer-vaapi,gbeauchesne/gstreamer-vaapi,gbeauchesne/gstreamer-vaapi