aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Fields <theuni-nospam-@xbmc.org>2013-08-08 23:58:16 -0400
committerCory Fields <theuni-nospam-@xbmc.org>2013-08-08 23:58:16 -0400
commit8bca973bf7084f191ae8783bea6cc2ec26515f4e (patch)
tree5384523243dbafb2c0c481e7cdcce3bbce141bb1
parentbe445ebc019a2aa12c4c6db73b00adbf5835b6d9 (diff)
jni: fixup stagefright after JNISurface change
-rw-r--r--xbmc/cores/dvdplayer/DVDCodecs/Video/StageFrightVideoPrivate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/StageFrightVideoPrivate.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/StageFrightVideoPrivate.cpp
index f89fa630fd..84d29f2908 100644
--- a/xbmc/cores/dvdplayer/DVDCodecs/Video/StageFrightVideoPrivate.cpp
+++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/StageFrightVideoPrivate.cpp
@@ -321,7 +321,7 @@ bool CStageFrightVideoPrivate::InitStagefrightSurface()
glBindTexture(GL_TEXTURE_EXTERNAL_OES, 0);
mSurfTexture = new CJNISurfaceTexture(mVideoTextureId);
- mSurface = new CJNISurface(mSurfTexture);
+ mSurface = new CJNISurface(*mSurfTexture);
mVideoNativeWindow = ANativeWindow_fromSurface(env, mSurface->get_raw());