[DVD] fix invisible menu overlays when corrected pts becomes negative after discontin...
authorVoyager1 <voyager@xbmc.org>
Sat, 2 Jan 2016 19:02:48 +0000 (20:02 +0100)
committerVoyager1 <voyager@xbmc.org>
Sun, 31 Jan 2016 07:10:53 +0000 (08:10 +0100)
xbmc/cores/dvdplayer/DVDDemuxSPU.cpp

index b0a6725..ef0b50c 100644 (file)
@@ -104,7 +104,7 @@ CDVDOverlaySpu* CDVDDemuxSPU::AddData(uint8_t* data, int iSize, double pts)
     else pSPUData->iNeededSize = iSize;
 
     // set presentation time stamp
-    if (pts > 0) pSPUData->pts = pts;
+    pSPUData->pts = pts;
   }
 
   // allocate data if not already done ( done in blocks off 16384 bytes )