aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelupus <elupus@xbmc.org>2011-12-04 14:58:01 +0100
committerelupus <elupus@xbmc.org>2011-12-04 14:58:01 +0100
commita456036c5e81f4cec27b83b93445678cf68b576b (patch)
tree0116b74e0c7b35e80c5f2488946980c56bea1f9b
parent0a31dbe8082fed617d8ba36f855d015e01aceac5 (diff)
changed: do a backward seek when jumping to chapters.
fixes #12004: Incorrect chapter jump in mkv
-rw-r--r--xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
index f2a7f2f6e7..bb88c7405b 100644
--- a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
+++ b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
@@ -1274,7 +1274,7 @@ bool CDVDDemuxFFmpeg::SeekChapter(int chapter, double* startpts)
AVChapter *ch = m_pFormatContext->chapters[chapter-1];
double dts = ConvertTimestamp(ch->start, ch->time_base.den, ch->time_base.num);
- return SeekTime(DVD_TIME_TO_MSEC(dts), false, startpts);
+ return SeekTime(DVD_TIME_TO_MSEC(dts), true, startpts);
#else
return false;
#endif