aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kodi/remove-av_read_frame_flush.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kodi/remove-av_read_frame_flush.patch')
-rw-r--r--testing/kodi/remove-av_read_frame_flush.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/kodi/remove-av_read_frame_flush.patch b/testing/kodi/remove-av_read_frame_flush.patch
new file mode 100644
index 0000000000..f931aae580
--- /dev/null
+++ b/testing/kodi/remove-av_read_frame_flush.patch
@@ -0,0 +1,13 @@
+--- a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp.orig
++++ b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
+@@ -539,10 +539,6 @@
+
+ void CDVDDemuxFFmpeg::Flush()
+ {
+- // naughty usage of an internal ffmpeg function
+- if (m_pFormatContext)
+- av_read_frame_flush(m_pFormatContext);
+-
+ m_currentPts = DVD_NOPTS_VALUE;
+
+ m_pkt.result = -1;