Merge "Added a key to retrieve the rotation angle in MediaMetadataRetriever.java class" into jb-mr1-dev
This commit is contained in:
@@ -11341,6 +11341,7 @@ package android.media {
|
||||
field public static final int METADATA_KEY_NUM_TRACKS = 10; // 0xa
|
||||
field public static final int METADATA_KEY_TITLE = 7; // 0x7
|
||||
field public static final int METADATA_KEY_VIDEO_HEIGHT = 19; // 0x13
|
||||
field public static final int METADATA_KEY_VIDEO_ROTATION = 24; // 0x18
|
||||
field public static final int METADATA_KEY_VIDEO_WIDTH = 18; // 0x12
|
||||
field public static final int METADATA_KEY_WRITER = 11; // 0xb
|
||||
field public static final int METADATA_KEY_YEAR = 8; // 0x8
|
||||
|
||||
@@ -483,5 +483,10 @@ public class MediaMetadataRetriever
|
||||
* of 180 degrees will be retrieved as "-90.0000+180.0000", for instance.
|
||||
*/
|
||||
public static final int METADATA_KEY_LOCATION = 23;
|
||||
/**
|
||||
* This key retrieves the video rotation angle in degrees, if available.
|
||||
* The video rotation angle may be 0, 90, 180, or 270 degrees.
|
||||
*/
|
||||
public static final int METADATA_KEY_VIDEO_ROTATION = 24;
|
||||
// Add more here...
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user