From 3204ec94fb6ba4b3c12d2c274463c68db86f30fc Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 14 Dec 2013 11:33:32 -0800 Subject: [PATCH] Forget video end when more packets are added. Good for looping videos, for example Burnout. --- Core/HW/MediaEngine.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/HW/MediaEngine.cpp b/Core/HW/MediaEngine.cpp index 542fe6741..a933ea83f 100644 --- a/Core/HW/MediaEngine.cpp +++ b/Core/HW/MediaEngine.cpp @@ -340,6 +340,9 @@ int MediaEngine::addStreamData(u8* buffer, int addSize) { openContext(); } #endif // USE_FFMPEG + + // We added data, so... not the end anymore? + m_isVideoEnd = false; } return size; }