summaryrefslogtreecommitdiffstats
path: root/include/media/mediaplayer.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-04-30 14:38:12 -0700
committerJames Dong <jdong@google.com>2012-05-01 10:30:58 -0700
commit4f6eed0d1c7972a983c075bdcf03089569e13fe1 (patch)
tree6eebbc397b99bf33e8c9991fada609d86d144caf /include/media/mediaplayer.h
parent27431de020e535c31365884316f656bc60b4fe4f (diff)
downloadframeworks_av-4f6eed0d1c7972a983c075bdcf03089569e13fe1.zip
frameworks_av-4f6eed0d1c7972a983c075bdcf03089569e13fe1.tar.gz
frameworks_av-4f6eed0d1c7972a983c075bdcf03089569e13fe1.tar.bz2
Impl for supporting two video scaling modes
o allows the video scaling mode to change at any time o also remove the scaling mode logic in OMXCodec.cpp o related-to-bug: 5454345 Change-Id: I6f1714eb0c2774591ce650d56c1e779b8afd085f
Diffstat (limited to 'include/media/mediaplayer.h')
-rw-r--r--include/media/mediaplayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/mediaplayer.h b/include/media/mediaplayer.h
index a68ab4e..1fad383 100644
--- a/include/media/mediaplayer.h
+++ b/include/media/mediaplayer.h
@@ -162,6 +162,7 @@ enum media_player_invoke_ids {
INVOKE_ID_ADD_EXTERNAL_SOURCE_FD = 3,
INVOKE_ID_SELECT_TRACK = 4,
INVOKE_ID_UNSELECT_TRACK = 5,
+ INVOKE_ID_SET_VIDEO_SCALING_MODE = 6,
};
// Keep MEDIA_TRACK_TYPE_* in sync with MediaPlayer.java.