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

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

Merge "transcoding: Fix a bug in ApplicationMediaCapabilites."

parents 148195ee 6594cb8a
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -192,12 +192,25 @@ public final class ApplicationMediaCapabilities implements Parcelable {
                    for (int readCount = 0; readCount < count; ++readCount) {
                        builder.addSupportedVideoMimeType(in.readString());
                    }

                    // Parse unsupported video codec mime types.
                    count = in.readInt();
                    for (int readCount = 0; readCount < count; ++readCount) {
                        builder.addUnsupportedVideoMimeType(in.readString());
                    }

                    // Parse supported hdr types.
                    count = in.readInt();
                    for (int readCount = 0; readCount < count; ++readCount) {
                        builder.addSupportedHdrType(in.readString());
                    }

                    // Parse unsupported hdr types.
                    count = in.readInt();
                    for (int readCount = 0; readCount < count; ++readCount) {
                        builder.addUnsupportedHdrType(in.readString());
                    }

                    boolean supported = in.readBoolean();
                    builder.setSlowMotionSupported(supported);