Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
redblue-pkt authored and MaxWiesel committed Jan 17, 2019
1 parent dbaee0b commit 659e234
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libeplayer3-arm/container/buff_ffmpeg.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 659e234

Please sign in to comment.