Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
39144a7e
authored
Jul 06, 2020
by
ibaker
Committed by
Ian Baker
Jul 06, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Set MediaPeriodId in ProgressiveMediaPeriodTest
PiperOrigin-RevId: 319784140
parent
040ff47e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
library/core/src/test/java/com/google/android/exoplayer2/source/ProgressiveMediaPeriodTest.java
library/core/src/test/java/com/google/android/exoplayer2/source/ProgressiveMediaPeriodTest.java
View file @
39144a7e
...
@@ -25,6 +25,7 @@ import com.google.android.exoplayer2.C;
...
@@ -25,6 +25,7 @@ import com.google.android.exoplayer2.C;
import
com.google.android.exoplayer2.drm.DrmSessionManager
;
import
com.google.android.exoplayer2.drm.DrmSessionManager
;
import
com.google.android.exoplayer2.extractor.Extractor
;
import
com.google.android.exoplayer2.extractor.Extractor
;
import
com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
;
import
com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
;
import
com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
;
import
com.google.android.exoplayer2.upstream.AssetDataSource
;
import
com.google.android.exoplayer2.upstream.AssetDataSource
;
import
com.google.android.exoplayer2.upstream.DefaultAllocator
;
import
com.google.android.exoplayer2.upstream.DefaultAllocator
;
import
com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
;
import
com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
;
...
@@ -50,7 +51,11 @@ public final class ProgressiveMediaPeriodTest {
...
@@ -50,7 +51,11 @@ public final class ProgressiveMediaPeriodTest {
()
->
new
Extractor
[]
{
new
Mp4Extractor
()},
()
->
new
Extractor
[]
{
new
Mp4Extractor
()},
DrmSessionManager
.
DUMMY
,
DrmSessionManager
.
DUMMY
,
new
DefaultLoadErrorHandlingPolicy
(),
new
DefaultLoadErrorHandlingPolicy
(),
new
MediaSourceEventListener
.
EventDispatcher
(),
new
MediaSourceEventListener
.
EventDispatcher
()
.
withParameters
(
/* windowIndex= */
0
,
new
MediaPeriodId
(
/* periodUid= */
new
Object
()),
/* mediaTimeOffsetMs= */
0
),
sourceInfoRefreshListener
,
sourceInfoRefreshListener
,
new
DefaultAllocator
(
/* trimOnReset= */
true
,
C
.
DEFAULT_BUFFER_SEGMENT_SIZE
),
new
DefaultAllocator
(
/* trimOnReset= */
true
,
C
.
DEFAULT_BUFFER_SEGMENT_SIZE
),
/* customCacheKey= */
null
,
/* customCacheKey= */
null
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment