mirror of
https://github.com/androidx/media.git
synced 2025-05-16 12:09:50 +08:00
Synced with upstream
This commit is contained in:
parent
1d31521710
commit
1b469f422f
@ -210,7 +210,7 @@ public final class MediaFormat {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public MediaFormat copyWithMaxInputSize(int maxInputSize) {
|
public MediaFormat copyWithMaxInputSize(int maxInputSize) {
|
||||||
return new MediaFormat(trackId, mimeType, bitrate, maxInputSize, durationUs, width, height,
|
return new MediaFormat(id, trackId, mimeType, bitrate, maxInputSize, durationUs, width, height,
|
||||||
rotationDegrees, pixelWidthHeightRatio, channelCount, sampleRate, language,
|
rotationDegrees, pixelWidthHeightRatio, channelCount, sampleRate, language,
|
||||||
subsampleOffsetUs, initializationData, adaptive, maxWidth, maxHeight);
|
subsampleOffsetUs, initializationData, adaptive, maxWidth, maxHeight);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user