Skip to content

Commit

Permalink
Register newly split modules
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 405379511
  • Loading branch information
ojw28 committed Oct 25, 2021
1 parent 988a55d commit 2b97455
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import androidx.annotation.IntDef;
import androidx.annotation.Nullable;
import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
import com.google.android.exoplayer2.util.Assertions;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
Expand All @@ -30,6 +31,10 @@
/** Defines a region of data in a resource. */
public final class DataSpec {

static {
ExoPlayerLibraryInfo.registerModule("goog.exo.datasource");
}

/**
* Builds {@link DataSpec} instances.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import androidx.annotation.IntDef;
import androidx.annotation.Nullable;
import com.google.android.exoplayer2.C;
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
import com.google.android.exoplayer2.Format;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
Expand All @@ -28,6 +29,10 @@
/** Holds input for a decoder. */
public class DecoderInputBuffer extends Buffer {

static {
ExoPlayerLibraryInfo.registerModule("goog.exo.decoder");
}

/**
* Thrown when an attempt is made to write into a {@link DecoderInputBuffer} whose {@link
* #bufferReplacementMode} is {@link #BUFFER_REPLACEMENT_MODE_DISABLED} and who {@link #data}
Expand Down

0 comments on commit 2b97455

Please sign in to comment.