PD#SWPL-33557
Problem:
The stream offset is not initialized each time the start broadcast,
which causes it to accumulate, so that the correct pts
cannot be obtained, which may cause out of synchronization.
Solution:
init stream offset when start every time.
Verify:
u212
Change-Id: Iba8df5525cfcf6b8b42ef4fc4c464ae681202272
Signed-off-by: miaohong chen <miaohong.chen@amlogic.com>
set_vdec_func(&vh265_dec_status);
#endif
amhevc_start();
+
+ WRITE_VREG(HEVC_SHIFT_BYTE_COUNT, 0);
+
hevc->stat |= STAT_VDEC_RUN;
hevc->init_flag = 1;
error_handle_threshold = 30;