mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc-master: add PR2579
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9ecb9f945b
commit
44dd60c4cb
@ -0,0 +1,39 @@
|
||||
From 9c71540585608603a4a283997ce0e1c251876b1f Mon Sep 17 00:00:00 2001
|
||||
From: popcornmix <popcornmix@gmail.com>
|
||||
Date: Tue, 9 Apr 2013 19:05:05 +0100
|
||||
Subject: [PATCH] [players] Fix dts time after seek
|
||||
|
||||
---
|
||||
xbmc/cores/dvdplayer/DVDPlayer.cpp | 2 +-
|
||||
xbmc/cores/omxplayer/OMXPlayer.cpp | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/xbmc/cores/dvdplayer/DVDPlayer.cpp b/xbmc/cores/dvdplayer/DVDPlayer.cpp
|
||||
index cdf5876..69820d5 100644
|
||||
--- a/xbmc/cores/dvdplayer/DVDPlayer.cpp
|
||||
+++ b/xbmc/cores/dvdplayer/DVDPlayer.cpp
|
||||
@@ -2066,7 +2066,7 @@ void CDVDPlayer::HandleMessages()
|
||||
CLog::Log(LOGDEBUG, "failed to seek subtitle demuxer: %d, success", time);
|
||||
}
|
||||
// dts after successful seek
|
||||
- m_StateInput.dts = start;
|
||||
+ m_StateInput.dts = DVD_MSEC_TO_TIME(time);
|
||||
|
||||
FlushBuffers(!msg.GetFlush(), start, msg.GetAccurate());
|
||||
}
|
||||
diff --git a/xbmc/cores/omxplayer/OMXPlayer.cpp b/xbmc/cores/omxplayer/OMXPlayer.cpp
|
||||
index 0f302ad..1ff2daa 100644
|
||||
--- a/xbmc/cores/omxplayer/OMXPlayer.cpp
|
||||
+++ b/xbmc/cores/omxplayer/OMXPlayer.cpp
|
||||
@@ -2133,7 +2133,7 @@ void COMXPlayer::HandleMessages()
|
||||
CLog::Log(LOGDEBUG, "failed to seek subtitle demuxer: %d, success", time);
|
||||
}
|
||||
// dts after successful seek
|
||||
- m_StateInput.dts = start;
|
||||
+ m_StateInput.dts = DVD_MSEC_TO_TIME(time);
|
||||
|
||||
FlushBuffers(!msg.GetFlush(), start, msg.GetAccurate());
|
||||
}
|
||||
--
|
||||
1.8.1.6
|
||||
|
Loading…
x
Reference in New Issue
Block a user