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
88452d95
authored
Sep 18, 2015
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Playback test tweaks.
parent
da97e30e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
playbacktests/src/main/java/com/google/android/exoplayer/playbacktests/gts/H264DashTest.java
playbacktests/src/main/java/com/google/android/exoplayer/playbacktests/gts/H264DashTest.java
View file @
88452d95
...
@@ -63,8 +63,8 @@ public final class H264DashTest extends ActivityInstrumentationTestCase2<HostAct
...
@@ -63,8 +63,8 @@ public final class H264DashTest extends ActivityInstrumentationTestCase2<HostAct
private
static
final
long
MAX_PLAYING_TIME_DISCREPANCY_MS
=
2000
;
private
static
final
long
MAX_PLAYING_TIME_DISCREPANCY_MS
=
2000
;
private
static
final
float
MAX_DROPPED_VIDEO_FRAME_FRACTION
=
0.01f
;
private
static
final
float
MAX_DROPPED_VIDEO_FRAME_FRACTION
=
0.01f
;
private
static
final
long
MAX_ADDITIONAL_TIME_MS
=
1
2
0000
;
private
static
final
long
MAX_ADDITIONAL_TIME_MS
=
1
8
0000
;
private
static
final
int
MIN_LOADABLE_RETRY_COUNT
=
8
;
private
static
final
int
MIN_LOADABLE_RETRY_COUNT
=
10
;
private
static
final
String
SOURCE_URL
=
"https://storage.googleapis.com/exoplayer-test-media-1"
private
static
final
String
SOURCE_URL
=
"https://storage.googleapis.com/exoplayer-test-media-1"
+
"/gen/screens/dash-vod-single-segment/manifest-baseline.mpd"
;
+
"/gen/screens/dash-vod-single-segment/manifest-baseline.mpd"
;
...
@@ -252,8 +252,8 @@ public final class H264DashTest extends ActivityInstrumentationTestCase2<HostAct
...
@@ -252,8 +252,8 @@ public final class H264DashTest extends ActivityInstrumentationTestCase2<HostAct
if
(
videoFormats
.
length
==
1
)
{
if
(
videoFormats
.
length
==
1
)
{
// Video is not adaptive, so the decoder output format should have changed exactly once.
// Video is not adaptive, so the decoder output format should have changed exactly once.
// The output buffers should have changed 0 or 1 times.
// The output buffers should have changed 0 or 1 times.
CodecCountersUtil
.
assertOutputFormatChangedCount
(
VIDEO_TAG
,
audi
oCounters
,
1
);
CodecCountersUtil
.
assertOutputFormatChangedCount
(
VIDEO_TAG
,
vide
oCounters
,
1
);
CodecCountersUtil
.
assertOutputBuffersChangedLimit
(
VIDEO_TAG
,
audi
oCounters
,
1
);
CodecCountersUtil
.
assertOutputBuffersChangedLimit
(
VIDEO_TAG
,
vide
oCounters
,
1
);
}
}
// We shouldn't have skipped any output buffers.
// We shouldn't have skipped any output buffers.
...
...
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