Commit 6b90e421 authored by Rafaël Carré's avatar Rafaël Carré

Account for last androidsurface changes

TODO: YV12, RGB16(?), cropping
parent aa07e316
......@@ -90,7 +90,7 @@ NDK_TOOLCHAIN_PATH=${ANDROID_NDK}/toolchains/${PATH_HOST}-${GCCVER}/prebuilt/`un
export PATH=${NDK_TOOLCHAIN_PATH}:${PATH}
# 1/ libvlc, libvlccore and its plugins
TESTED_HASH=d2e405e02c
TESTED_HASH=6f621b95b3f
if [ ! -d "vlc" ]; then
echo "VLC source not found, cloning"
git clone git://git.videolan.org/vlc.git vlc
......
......@@ -712,6 +712,9 @@ public class VideoPlayerActivity extends Activity {
break;
}
// FIXME: align properly for YV12 and RGB16
// FIXME: crop rightmost pixels to not display garbage (or black them?)
mVideoWidth += 3; mVideoWidth &= ~3;
mSurfaceHolder.setFixedSize(mVideoWidth, mVideoHeight);
LayoutParams lp = mSurface.getLayoutParams();
lp.width = dw;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment