Skip to content

Commit

Permalink
dvdplayer: reduce likelyhood of jumpy pts causing duplicate subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus committed Oct 24, 2012
1 parent 130bd4e commit 8885f2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ CDVDOverlay* CDVDSubtitleLineCollection::Get(double iPts)
{
CDVDOverlay* pOverlay = NULL;

if (iPts < m_fLastPts)
if (iPts + DVD_SEC_TO_TIME(1) < m_fLastPts)
Reset();

if (m_pCurrent)
Expand Down

0 comments on commit 8885f2f

Please sign in to comment.