summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorBryan Mawhinney <bryanmawhinney@google.com>2012-05-27 17:42:46 +0100
committerBryan Mawhinney <bryanmawhinney@google.com>2012-05-27 17:42:46 +0100
commitc3a5cf9aab3d409445accb2a93c09e6b4140d196 (patch)
tree845d26fa3f8ab5769879725ecbfb8b2258816246 /media
parentbbedfa0036f8de393c05b2ad981695ae74e7ab42 (diff)
downloadframeworks_base-c3a5cf9aab3d409445accb2a93c09e6b4140d196.zip
frameworks_base-c3a5cf9aab3d409445accb2a93c09e6b4140d196.tar.gz
frameworks_base-c3a5cf9aab3d409445accb2a93c09e6b4140d196.tar.bz2
Actually set the video scaling mode :-)
Change-Id: Ia3e77b68a07651861e9be268ab77cac808b3be79
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/MediaPlayer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/java/android/media/MediaPlayer.java b/media/java/android/media/MediaPlayer.java
index 9ed9de0..586f11e 100644
--- a/media/java/android/media/MediaPlayer.java
+++ b/media/java/android/media/MediaPlayer.java
@@ -746,6 +746,7 @@ public class MediaPlayer
try {
request.writeInterfaceToken(IMEDIA_PLAYER);
request.writeInt(INVOKE_ID_SET_VIDEO_SCALE_MODE);
+ request.writeInt(mode);
invoke(request, reply);
} finally {
request.recycle();