Fix unexpected multiline comments
#exofixit PiperOrigin-RevId: 344517105
This commit is contained in:
parent
6d01d40971
commit
4446e2637d
@ -45,7 +45,10 @@ public class Libgav1VideoRenderer extends DecoderVideoRenderer {
|
||||
private static final String TAG = "Libgav1VideoRenderer";
|
||||
private static final int DEFAULT_NUM_OF_INPUT_BUFFERS = 4;
|
||||
private static final int DEFAULT_NUM_OF_OUTPUT_BUFFERS = 4;
|
||||
/* Default size based on 720p resolution video compressed by a factor of two. */
|
||||
/**
|
||||
* Default input buffer size in bytes, based on 720p resolution video compressed by a factor of
|
||||
* two.
|
||||
*/
|
||||
private static final int DEFAULT_INPUT_BUFFER_SIZE =
|
||||
Util.ceilDivide(1280, 64) * Util.ceilDivide(720, 64) * (64 * 64 * 3 / 2) / 2;
|
||||
|
||||
|
@ -46,8 +46,8 @@ import java.util.Arrays;
|
||||
|
||||
private ItemData() {
|
||||
this(
|
||||
/* durationUs= */ C.TIME_UNSET, /* defaultPositionUs */
|
||||
C.TIME_UNSET,
|
||||
/* durationUs= */ C.TIME_UNSET,
|
||||
/* defaultPositionUs= */ C.TIME_UNSET,
|
||||
/* isLive= */ false);
|
||||
}
|
||||
|
||||
|
@ -137,8 +137,7 @@ public final class DrmInitData implements Comparator<SchemeData>, Parcelable {
|
||||
Arrays.sort(this.schemeDatas, this);
|
||||
}
|
||||
|
||||
/* package */
|
||||
DrmInitData(Parcel in) {
|
||||
/* package */ DrmInitData(Parcel in) {
|
||||
schemeType = in.readString();
|
||||
schemeDatas = Util.castNonNull(in.createTypedArray(SchemeData.CREATOR));
|
||||
schemeDataCount = schemeDatas.length;
|
||||
|
@ -45,8 +45,7 @@ public final class ChapterTocFrame extends Id3Frame {
|
||||
this.subFrames = subFrames;
|
||||
}
|
||||
|
||||
/* package */
|
||||
ChapterTocFrame(Parcel in) {
|
||||
/* package */ ChapterTocFrame(Parcel in) {
|
||||
super(ID);
|
||||
this.elementId = castNonNull(in.readString());
|
||||
this.isRoot = in.readByte() != 0;
|
||||
|
@ -45,8 +45,7 @@ public final class MlltFrame extends Id3Frame {
|
||||
this.millisecondsDeviations = millisecondsDeviations;
|
||||
}
|
||||
|
||||
/* package */
|
||||
MlltFrame(Parcel in) {
|
||||
/* package */ MlltFrame(Parcel in) {
|
||||
super(ID);
|
||||
this.mpegFramesBetweenReference = in.readInt();
|
||||
this.bytesBetweenReference = in.readInt();
|
||||
|
@ -1756,7 +1756,7 @@ public abstract class MediaCodecRenderer extends BaseRenderer {
|
||||
processOutputMediaFormatChanged();
|
||||
return true;
|
||||
}
|
||||
/* MediaCodec.INFO_TRY_AGAIN_LATER (-1) or unknown negative return value */
|
||||
// MediaCodec.INFO_TRY_AGAIN_LATER (-1) or unknown negative return value.
|
||||
if (codecNeedsEosPropagation
|
||||
&& (inputStreamEnded || codecDrainState == DRAIN_STATE_WAIT_END_OF_STREAM)) {
|
||||
processEndOfStream();
|
||||
|
@ -1088,8 +1088,7 @@ public class DefaultTrackSelector extends MappingTrackSelector {
|
||||
this.rendererDisabledFlags = rendererDisabledFlags;
|
||||
}
|
||||
|
||||
/* package */
|
||||
Parameters(Parcel in) {
|
||||
/* package */ Parameters(Parcel in) {
|
||||
super(in);
|
||||
// Video
|
||||
this.maxVideoWidth = in.readInt();
|
||||
|
@ -8760,7 +8760,7 @@ public final class ExoPlayerTest {
|
||||
|
||||
// Internal classes.
|
||||
|
||||
/* {@link FakeRenderer} that can sleep and be woken-up. */
|
||||
/** {@link FakeRenderer} that can sleep and be woken-up. */
|
||||
private static class FakeSleepRenderer extends FakeRenderer {
|
||||
private static final long WAKEUP_DEADLINE_MS = 60 * C.MICROS_PER_SECOND;
|
||||
private final AtomicBoolean sleepOnNextRender;
|
||||
|
@ -1002,8 +1002,8 @@ public final class AnalyticsCollectorTest {
|
||||
AtomicReference<AdPlaybackState> adPlaybackState =
|
||||
new AtomicReference<>(
|
||||
FakeTimeline.createAdPlaybackState(
|
||||
/* adsPerAdGroup= */ 1, /* adGroupTimesUs...= */
|
||||
windowOffsetInFirstPeriodUs,
|
||||
/* adsPerAdGroup= */ 1,
|
||||
/* adGroupTimesUs...= */ windowOffsetInFirstPeriodUs,
|
||||
windowOffsetInFirstPeriodUs + 5 * C.MICROS_PER_SECOND,
|
||||
C.TIME_END_OF_SOURCE));
|
||||
AtomicInteger playedAdCount = new AtomicInteger(0);
|
||||
|
@ -499,8 +499,8 @@ public final class ConcatenatingMediaSourceTest {
|
||||
mediaSource.addMediaSources(
|
||||
Arrays.asList(new MediaSource[] {createFakeMediaSource(), createFakeMediaSource()}));
|
||||
mediaSource.moveMediaSource(
|
||||
/* fromIndex */ 1, /* toIndex */
|
||||
0,
|
||||
/* currentIndex= */ 1,
|
||||
/* newIndex= */ 0,
|
||||
Util.createHandlerForCurrentLooper(),
|
||||
runnableInvoked::countDown);
|
||||
});
|
||||
@ -624,8 +624,8 @@ public final class ConcatenatingMediaSourceTest {
|
||||
testThread.runOnMainThread(
|
||||
() ->
|
||||
mediaSource.moveMediaSource(
|
||||
/* fromIndex */ 1, /* toIndex */
|
||||
0,
|
||||
/* currentIndex= */ 1,
|
||||
/* newIndex= */ 0,
|
||||
Util.createHandlerForCurrentLooper(),
|
||||
timelineGrabber));
|
||||
Timeline timeline = timelineGrabber.assertTimelineChangeBlocking();
|
||||
|
@ -643,7 +643,7 @@ public class SimpleCacheTest {
|
||||
.isEqualTo(10);
|
||||
}
|
||||
|
||||
/* Tests https://github.com/google/ExoPlayer/issues/3260 case. */
|
||||
// Regression test for https://github.com/google/ExoPlayer/issues/3260.
|
||||
@Test
|
||||
public void exceptionDuringIndexStore_doesNotPreventEviction() throws Exception {
|
||||
CachedContentIndex contentIndex =
|
||||
|
@ -571,7 +571,7 @@ public class PlayerNotificationManager {
|
||||
notificationId,
|
||||
mediaDescriptionAdapter,
|
||||
notificationListener,
|
||||
/* customActionReceiver*/ null);
|
||||
/* customActionReceiver= */ null);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -599,7 +599,7 @@ public class PlayerNotificationManager {
|
||||
channelId,
|
||||
notificationId,
|
||||
mediaDescriptionAdapter,
|
||||
/* notificationListener */ null,
|
||||
/* notificationListener= */ null,
|
||||
customActionReceiver);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user