avsync: av not sync problem cased by vp9 trig
authorshuanglong.wang <shuanglong.wang@amlogic.com>
Mon, 14 May 2018 08:33:49 +0000 (16:33 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 17 May 2018 13:53:24 +0000 (06:53 -0700)
commit5ab25fe0dbb23ab7ff38e4b821fa0ac6ca5fe72f
tree56ea192e06db9e20877ef357be8746a790c64897
parent3305a0c5cb3e64cf538a43e6b4d4d41669df3aaa
avsync: av not sync problem cased by vp9 trig

PD#161895: av not sync problem cased by vp9 trig

1)vp9 initialization stream do not post VIDEO_START event,
so do not post VIDEO_STOP in unregister when not post
VIDEO_START which occured in vp9 tirg reset codec operation.
2)AV audio master adjust pcr according apts diff in
tsync tsync_set_apts need to reopen which was commented in
the begining tree of 4.9 codec
3)summit as Tim's patch

Change-Id: I9fb62aecb27f75d1ea9dff938452e0dd4f11b901
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com>
drivers/amlogic/media/frame_sync/tsync.c
drivers/amlogic/media/video_sink/video.c