amlvideosink: CB2 drop same pts frames [1/2]

PD#SWPL-178551

Problem:
gst_aml_video_sink_check_buf reset the buffer pts

Solution:
1.drop frame that buffer pts is out of segment
start and duration is invalid
2.remove warning when compiling

Verify:
ah212

Change-Id: I9c6657200ec0c3b28e6f6964cd1d5d86cc0f9f08
Signed-off-by: fei.deng <fei.deng@amlogic.com>
1 file changed