From 04355717280c5964305c82b21592fbadd8610965 Mon Sep 17 00:00:00 2001 From: redblue-pkt <17146148+redblue-pkt@users.noreply.github.com> Date: Tue, 15 Jan 2019 21:33:17 +0100 Subject: [PATCH] fix commit https://github.com/redblue-pkt/libstb-hal-max/commit/b750bbe3ebe821f4b35847f1d0a44fcdab5244e8 Signed-off-by: Thilo Graf Commit was: arm: finally fix play next file adab40123e2bae3de02184bc1531e0a5e34ed59a --- libeplayer3-arm/container/buff_ffmpeg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libeplayer3-arm/container/buff_ffmpeg.c b/libeplayer3-arm/container/buff_ffmpeg.c index 26b37d0..43bc82a 100644 --- a/libeplayer3-arm/container/buff_ffmpeg.c +++ b/libeplayer3-arm/container/buff_ffmpeg.c @@ -53,10 +53,10 @@ static int64_t update_max_injected_pts(int64_t pts) { if (pts > 0 && pts != INVALID_PTS_VALUE) { - //if (maxInjectedPTS == INVALID_PTS_VALUE || pts > maxInjectedPTS) - //{ + if (maxInjectedPTS == INVALID_PTS_VALUE || pts > maxInjectedPTS || 0 == PlaybackDieNow(0)) + { maxInjectedPTS = pts; - //} + } } return maxInjectedPTS; }