patch-xbmc_cores_dvdplayer_DVDDemuxers_DVDDemuxFFmpeg_cpp 531 B

12345678910111213
  1. --- kodi-14.0rc2.orig/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-12-05 19:38:44.000000000 -0600
  2. +++ kodi-14.0rc2/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-12-07 03:43:25.308418001 -0600
  3. @@ -520,8 +520,8 @@ void CDVDDemuxFFmpeg::Reset()
  4. void CDVDDemuxFFmpeg::Flush()
  5. {
  6. // naughty usage of an internal ffmpeg function
  7. - if (m_pFormatContext)
  8. - av_read_frame_flush(m_pFormatContext);
  9. + //if (m_pFormatContext)
  10. + // av_read_frame_flush(m_pFormatContext);
  11. m_currentPts = DVD_NOPTS_VALUE;