libdvr: Unexpect exit from playing scrambled recordings [1/1]
PD#SWPL-102457
PD#SWPL-102797
PD#SWPL-103132
Problem:
Playback can exit unexpectly while playing a scrambled recording.
cause1: demux returns invalid pts when processing a scrambled stream.
Invalid pts will lead to delay time problem in TsPlayer.
cause2: A defect in dvr_wrapper_seek_playback which may return full
recording length instead of segment length while seeking to the end
of a recording.
Solution:
1. Enhance libdvr to handle delay/pts error condition.
2. Fix the mentioned defect in dvr_wrapper_seek_playback.
3. Improve log prints for fast analyzing similar problem in the future.
4. Remove useless log prints.
Verify:
Locally tested OK in AH212 environment.
Signed-off-by: Wentao.MA <wentao.ma@amlogic.com>
Change-Id: I971b97207b35df82f82f857bd0d6dcba16a8c39f
5 files changed