projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed26e40
)
avsync: Clear video pts & pcr pts when ts' playback stops [1/1]
author
hui an
<hui.an@amlogic.com>
Mon, 28 Oct 2019 04:38:53 +0000
(12:38 +0800)
committer
Jianxin Pan
<jianxin.pan@amlogic.com>
Thu, 31 Oct 2019 06:17:19 +0000
(23:17 -0700)
PD#TV-11272
Problem:
Switch to the ATV channel from DTV, the picture is stuck.
Solution:
Clear video pts & pcr pts.
Verify:
x30a4
Change-Id: Id265bfdfbd7e09d1423c9349de0596d4d742474c
Signed-off-by: hui an <hui.an@amlogic.com>
drivers/amlogic/media/frame_sync/tsync_pcr.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/media/frame_sync/tsync_pcr.c
b/drivers/amlogic/media/frame_sync/tsync_pcr.c
index
d4ad13e
..
9482f20
100644
(file)
--- a/
drivers/amlogic/media/frame_sync/tsync_pcr.c
+++ b/
drivers/amlogic/media/frame_sync/tsync_pcr.c
@@
-1332,6
+1332,8
@@
void tsync_pcr_stop(void)
tsync_pcr_started = 0;
tsync_audio_state = 0;
tsync_video_state = 0;
+ timestamp_vpts_set(0);
+ timestamp_pcrscr_set(0);
}
EXPORT_SYMBOL(tsync_pcr_stop);