patch-xbmc_cores_dvdplayer_DVDDemuxers_DVDDemuxFFmpeg_cpp 537 B

12345678910111213
  1. --- xbmc-14.0-Helix.orig/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-12-22 17:11:35.000000000 -0600
  2. +++ xbmc-14.0-Helix/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp 2014-12-25 13:38:23.629060371 -0600
  3. @@ -538,8 +538,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;