File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11019,8 +11019,8 @@ package android.media {
1101911019 field public static final int INFO_TRY_AGAIN_LATER = -1; // 0xffffffff
1102011020 field public static final int MODE_AES_CTR = 1; // 0x1
1102111021 field public static final int MODE_UNENCRYPTED = 0; // 0x0
11022+ field public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT = 1; // 0x1
1102211023 field public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING = 2; // 0x2
11023- field public static final int VIDEO_SCALING_MODE_STRETCH_TO_FIT = 1; // 0x1
1102411024 }
1102511025
1102611026 public static final class MediaCodec.BufferInfo {
Original file line number Diff line number Diff line change @@ -443,15 +443,15 @@ public ByteBuffer[] getOutputBuffers() {
443443 }
444444
445445 /** The content is scaled to the surface dimensions */
446- public static final int VIDEO_SCALING_MODE_STRETCH_TO_FIT = 1 ;
446+ public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT = 1 ;
447447
448448 /** The content is scaled, maintaining its aspect ratio, the whole
449449 surface area is used, content may be cropped
450450 */
451451 public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING = 2 ;
452452
453453 /** If a surface has been specified in a previous call to {@link #configure}
454- specifies the scaling mode to use. The default is "stretch to fit".
454+ specifies the scaling mode to use. The default is "scale to fit".
455455 */
456456 public native final void setVideoScalingMode (int mode );
457457
You can’t perform that action at this time.
0 commit comments