amlv4l2dec: CB2 fix get pts wrong [1/1]

PD#SH-10006

Problem:
if the es is not good,decoder don't output all decoded
frame, the function gst_aml_v4l2_video_dec_get_oldest_frame
of amlv4l2dec will got wrong pts

Solution:
implementing a new function
gst_aml_v4l2_video_dec_get_right_frame to replace
gst_aml_v4l2_video_dec_get_oldest_frame

Verify:
ap222

Change-Id: I06f9247cebba9cdd4301474e64f27fbe0bac8a0f
Signed-off-by: fei.deng <fei.deng@amlogic.com>
2 files changed