Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce0cc669 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add subsample offset to the exposed MediaFormat" into rvc-dev

parents a0637ae2 59e7273d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;