diff options
author | taxigps <taxigps@sina.com> | 2011-03-29 21:23:08 +0800 |
---|---|---|
committer | taxigps <taxigps@sina.com> | 2011-03-29 21:23:08 +0800 |
commit | 703da4987ea88e366abb47de249ec338c0da2698 (patch) | |
tree | 70461c56ecadb98477f2acff7f5ca3b09bbe4b97 | |
parent | d6058ae19b0ec060e168bb84191077b7eb8895ff (diff) |
fixed: Ticket #6739 - subtitles lost when set long delay time
-rw-r--r-- | xbmc/cores/dvdplayer/DVDPlayerVideo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDPlayerVideo.cpp b/xbmc/cores/dvdplayer/DVDPlayerVideo.cpp index 9ea19369e6..648c3d532a 100644 --- a/xbmc/cores/dvdplayer/DVDPlayerVideo.cpp +++ b/xbmc/cores/dvdplayer/DVDPlayerVideo.cpp @@ -804,7 +804,7 @@ void CDVDPlayerVideo::Flush() void CDVDPlayerVideo::ProcessOverlays(DVDVideoPicture* pSource, YV12Image* pDest, double pts) { // remove any overlays that are out of time - m_pOverlayContainer->CleanUp(min(pts, pts - m_iSubtitleDelay)); + m_pOverlayContainer->CleanUp(pts - m_iSubtitleDelay); enum EOverlay { OVERLAY_AUTO // select mode auto |