Created
December 9, 2013 17:26
-
-
Save BtbN/7876347 to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI_VPP.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI_VPP.cpp | |
index c88e402..2bf4d50 100644 | |
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI_VPP.cpp | |
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI_VPP.cpp | |
@@ -394,8 +394,12 @@ CVPPPicture CVPP::DoDeint(const CVPPPicture& input, bool topFieldFirst, bool fir | |
CVPPPicture procPic = input; | |
- if(firstCall && m_forwardReferences.size() < m_forwardReferencesCount) | |
+ if(m_forwardReferences.size() < m_forwardReferencesCount) | |
+ { | |
+ if(!firstCall) | |
+ m_forwardReferences.push_back(input); | |
return CVPPPicture(); | |
+ } | |
CSurfacePtr deintTarget = getFreeSurface(); | |
if(!deintTarget.get()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment