st/omx/dec/h264: fix picture out-of-order with poc type 0 v2
authorLeo Liu <leo.liu@amd.com>
Mon, 23 Feb 2015 18:50:06 +0000 (13:50 -0500)
committerLeo Liu <leo.liu@amd.com>
Tue, 24 Feb 2015 15:39:49 +0000 (10:39 -0500)
commit9c7b343bc0a6aa6065055cbc1c0a891ccc445984
tree062c33d4bbe95d3af96acf0c7201f6626deb2de6
parentfece147be53880ac8e8e5e2863f91cdd01d98b5c
st/omx/dec/h264: fix picture out-of-order with poc type 0 v2

poc counter should be reset with IDR frame,
otherwise there would be a re-order issue with
frames before and after IDR

v2: add commit message

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/omx/vid_dec_h264.c