mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Register newly split modules
PiperOrigin-RevId: 405379511
This commit is contained in:
parent
988a55db9d
commit
2b97455a8c
@ -19,6 +19,7 @@ import android.net.Uri;
|
|||||||
import androidx.annotation.IntDef;
|
import androidx.annotation.IntDef;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import com.google.android.exoplayer2.C;
|
import com.google.android.exoplayer2.C;
|
||||||
|
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
|
||||||
import com.google.android.exoplayer2.util.Assertions;
|
import com.google.android.exoplayer2.util.Assertions;
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@ -30,6 +31,10 @@ import java.util.Map;
|
|||||||
/** Defines a region of data in a resource. */
|
/** Defines a region of data in a resource. */
|
||||||
public final class DataSpec {
|
public final class DataSpec {
|
||||||
|
|
||||||
|
static {
|
||||||
|
ExoPlayerLibraryInfo.registerModule("goog.exo.datasource");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds {@link DataSpec} instances.
|
* Builds {@link DataSpec} instances.
|
||||||
*
|
*
|
||||||
|
@ -18,6 +18,7 @@ package com.google.android.exoplayer2.decoder;
|
|||||||
import androidx.annotation.IntDef;
|
import androidx.annotation.IntDef;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import com.google.android.exoplayer2.C;
|
import com.google.android.exoplayer2.C;
|
||||||
|
import com.google.android.exoplayer2.ExoPlayerLibraryInfo;
|
||||||
import com.google.android.exoplayer2.Format;
|
import com.google.android.exoplayer2.Format;
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
@ -28,6 +29,10 @@ import org.checkerframework.checker.nullness.qual.EnsuresNonNull;
|
|||||||
/** Holds input for a decoder. */
|
/** Holds input for a decoder. */
|
||||||
public class DecoderInputBuffer extends Buffer {
|
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
|
* 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}
|
* #bufferReplacementMode} is {@link #BUFFER_REPLACEMENT_MODE_DISABLED} and who {@link #data}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user