Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

vdpau: fix progressive after 5fa7abdbe84a8c70ec8c916efe6663efd52e1a15

  • Loading branch information...
commit 62c94af34dbaff706c47376548ec01121666eeac 1 parent 632080e
@FernetMenta authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
View
6 xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp
@@ -1340,7 +1340,8 @@ void CMixer::StateMachine(int signal, Protocol *port, Message *msg)
m_extTimeout = 1000;
return;
}
- m_outputSurfaces.pop();
+ if (m_processPicture.DVDPic.format != DVDVideoPicture::FMT_VDPAU_420)
+ m_outputSurfaces.pop();
m_config.stats->IncProcessed();
m_dataPort.SendInMessage(CMixerDataProtocol::PICTURE,&m_processPicture,sizeof(m_processPicture));
if (m_mixersteps > 1)
@@ -1400,7 +1401,8 @@ void CMixer::StateMachine(int signal, Protocol *port, Message *msg)
m_extTimeout = 1000;
return;
}
- m_outputSurfaces.pop();
+ if (m_processPicture.DVDPic.format != DVDVideoPicture::FMT_VDPAU_420)
+ m_outputSurfaces.pop();
m_config.stats->IncProcessed();
m_dataPort.SendInMessage(CMixerDataProtocol::PICTURE,&m_processPicture,sizeof(m_processPicture));
FiniCycle();
Please sign in to comment.
Something went wrong with that request. Please try again.