mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Make FrameInfo and SurfaceInfo public.
Both are used in the public FrameProcessor interface, so they
should be public too.
PiperOrigin-RevId: 463454859
(cherry picked from commit 40e96d1534)
This commit is contained in:
parent
6e8e648ae3
commit
e674df7f12
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ package com.google.android.exoplayer2.transformer;
|
||||||
import static com.google.android.exoplayer2.util.Assertions.checkArgument;
|
import static com.google.android.exoplayer2.util.Assertions.checkArgument;
|
||||||
|
|
||||||
/** Value class specifying information about a decoded video frame. */
|
/** Value class specifying information about a decoded video frame. */
|
||||||
/* package */ class FrameInfo {
|
public class FrameInfo {
|
||||||
/** The width of the frame, in pixels. */
|
/** The width of the frame, in pixels. */
|
||||||
public final int width;
|
public final int width;
|
||||||
/** The height of the frame, in pixels. */
|
/** The height of the frame, in pixels. */
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ import android.view.Surface;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
/** Immutable value class for a {@link Surface} and supporting information. */
|
/** Immutable value class for a {@link Surface} and supporting information. */
|
||||||
/* package */ final class SurfaceInfo {
|
public final class SurfaceInfo {
|
||||||
|
|
||||||
/** The {@link Surface}. */
|
/** The {@link Surface}. */
|
||||||
public final Surface surface;
|
public final Surface surface;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue