Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Xvba #31

Merged
merged 1 commit into from

2 participants

@fritsch

Backport of the fix for unsupported media. I am not really sure about the index change within the buffer fields

@FernetMenta FernetMenta merged commit 701e0f2 into FernetMenta:xvba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2012
  1. @fritsch

    xvba: backport 1a71873 for xvba

    fritsch authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
View
6 xbmc/cores/VideoRenderers/LinuxRendererGL.cpp
@@ -2464,7 +2464,8 @@ void CLinuxRendererGL::UploadVAAPITexture(int index)
void CLinuxRendererGL::DeleteXVBATexture(int index)
{
#ifdef HAVE_LIBXVBA
- YUVPLANE &plane = m_buffers[index].fields[0][1];
+ YUVPLANE &plane = m_buffers[index].fields[0][0];
+ YUVFIELDS &fields = m_buffers[index].fields;
if (m_buffers[index].xvba)
m_buffers[index].xvba->FinishGL();
@@ -2475,8 +2476,7 @@ void CLinuxRendererGL::DeleteXVBATexture(int index)
if(plane.id && glIsTexture(plane.id))
glDeleteTextures(1, &plane.id);
plane.id = 0;
- m_buffers[index].fields[0][0].id = 0;
-
+ fields[0][1].id = 0;
#endif
}
Something went wrong with that request. Please try again.