Merge "Add subsample offset to the exposed MediaFormat" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce0cc66945
@@ -1920,8 +1920,10 @@ public final class MediaParser {
|
||||
// format for convenient use from ExoPlayer.
|
||||
result.setString("crypto-mode-fourcc", format.drmInitData.schemeType);
|
||||
}
|
||||
if (format.subsampleOffsetUs != Format.OFFSET_SAMPLE_RELATIVE) {
|
||||
result.setLong("subsample-offset-us-long", format.subsampleOffsetUs);
|
||||
}
|
||||
// LACK OF SUPPORT FOR:
|
||||
// format.containerMimeType;
|
||||
// format.id;
|
||||
// format.metadata;
|
||||
// format.stereoMode;
|
||||
|
||||
Reference in New Issue
Block a user