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
65770131
authored
Mar 23, 2017
by
ojw28
Committed by
GitHub
Mar 23, 2017
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #2598 from google/dev-v2-r2.3.1
r2.3.1
parents
569cec7f
6503f016
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
33 additions
and
23 deletions
RELEASENOTES.md
build.gradle
demo/src/main/AndroidManifest.xml
library/src/main/java/com/google/android/exoplayer2/BaseRenderer.java
library/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java
library/src/main/java/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.java
library/src/main/java/com/google/android/exoplayer2/text/cea/Cea708Decoder.java
RELEASENOTES.md
View file @
65770131
# Release notes #
### r2.3.1 ###
*
Fix NPE enabling WebVTT subtitles in DASH streams
(
[
#2596
](
https://github.com/google/ExoPlayer/issues/2596
)
).
*
Fix skipping to keyframes when MediaCodecVideoRenderer is enabled but without
a Surface (
[
#2575
](
https://github.com/google/ExoPlayer/issues/2575
)
).
*
Minor fix for CEA-708 decoder
(
[
#2595
](
https://github.com/google/ExoPlayer/issues/2595
)
).
### r2.3.0 ###
*
GVR extension: Wraps the Google VR Audio SDK to provide spatial audio
...
...
build.gradle
View file @
65770131
...
...
@@ -37,7 +37,7 @@ allprojects {
releaseRepoName
=
getBintrayRepo
()
releaseUserOrg
=
'google'
releaseGroupId
=
'com.google.android.exoplayer'
releaseVersion
=
'r2.3.
0
'
releaseVersion
=
'r2.3.
1
'
releaseWebsite
=
'https://github.com/google/ExoPlayer'
}
}
...
...
demo/src/main/AndroidManifest.xml
View file @
65770131
...
...
@@ -16,8 +16,8 @@
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"com.google.android.exoplayer2.demo"
android:versionCode=
"230
0
"
android:versionName=
"2.3.
0
"
>
android:versionCode=
"230
1
"
android:versionName=
"2.3.
1
"
>
<uses-permission
android:name=
"android.permission.INTERNET"
/>
<uses-permission
android:name=
"android.permission.READ_EXTERNAL_STORAGE"
/>
...
...
library/src/main/java/com/google/android/exoplayer2/BaseRenderer.java
View file @
65770131
...
...
@@ -311,7 +311,7 @@ public abstract class BaseRenderer implements Renderer, RendererCapabilities {
* @param timeUs The specified time.
*/
protected
void
skipToKeyframeBefore
(
long
timeUs
)
{
stream
.
skipToKeyframeBefore
(
timeUs
);
stream
.
skipToKeyframeBefore
(
timeUs
-
streamOffsetUs
);
}
}
library/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java
View file @
65770131
...
...
@@ -23,7 +23,7 @@ public interface ExoPlayerLibraryInfo {
/**
* The version of the library, expressed as a string.
*/
String
VERSION
=
"2.3.
0
"
;
String
VERSION
=
"2.3.
1
"
;
/**
* The version of the library, expressed as an integer.
...
...
@@ -32,7 +32,7 @@ public interface ExoPlayerLibraryInfo {
* corresponding integer version 1002003 (001-002-003), and "123.45.6" has the corresponding
* integer version 123045006 (123-045-006).
*/
int
VERSION_INT
=
200300
0
;
int
VERSION_INT
=
200300
1
;
/**
* Whether the library was compiled with {@link com.google.android.exoplayer2.util.Assertions}
...
...
library/src/main/java/com/google/android/exoplayer2/source/dash/DefaultDashChunkSource.java
View file @
65770131
...
...
@@ -180,23 +180,24 @@ public class DefaultDashChunkSource implements DashChunkSource {
RepresentationHolder
representationHolder
=
representationHolders
[
trackSelection
.
getSelectedIndex
()];
Representation
selectedRepresentation
=
representationHolder
.
representation
;
DashSegmentIndex
segmentIndex
=
representationHolder
.
segmentIndex
;
RangedUri
pendingInitializationUri
=
null
;
RangedUri
pendingIndexUri
=
null
;
if
(
representationHolder
.
extractorWrapper
.
getSampleFormats
()
==
null
)
{
pendingInitializationUri
=
selectedRepresentation
.
getInitializationUri
();
}
if
(
segmentIndex
==
null
)
{
pendingIndexUri
=
selectedRepresentation
.
getIndexUri
();
}
if
(
pendingInitializationUri
!=
null
||
pendingIndexUri
!=
null
)
{
// We have initialization and/or index requests to make.
out
.
chunk
=
newInitializationChunk
(
representationHolder
,
dataSource
,
trackSelection
.
getSelectedFormat
(),
trackSelection
.
getSelectionReason
(),
trackSelection
.
getSelectionData
(),
pendingInitializationUri
,
pendingIndexUri
);
return
;
if
(
representationHolder
.
extractorWrapper
!=
null
)
{
Representation
selectedRepresentation
=
representationHolder
.
representation
;
RangedUri
pendingInitializationUri
=
null
;
RangedUri
pendingIndexUri
=
null
;
if
(
representationHolder
.
extractorWrapper
.
getSampleFormats
()
==
null
)
{
pendingInitializationUri
=
selectedRepresentation
.
getInitializationUri
();
}
if
(
representationHolder
.
segmentIndex
==
null
)
{
pendingIndexUri
=
selectedRepresentation
.
getIndexUri
();
}
if
(
pendingInitializationUri
!=
null
||
pendingIndexUri
!=
null
)
{
// We have initialization and/or index requests to make.
out
.
chunk
=
newInitializationChunk
(
representationHolder
,
dataSource
,
trackSelection
.
getSelectedFormat
(),
trackSelection
.
getSelectionReason
(),
trackSelection
.
getSelectionData
(),
pendingInitializationUri
,
pendingIndexUri
);
return
;
}
}
long
nowUs
=
getNowUnixTimeUs
();
...
...
library/src/main/java/com/google/android/exoplayer2/text/cea/Cea708Decoder.java
View file @
65770131
...
...
@@ -483,7 +483,7 @@ public final class Cea708Decoder extends CeaDecoder {
private
void
handleC2Command
(
int
command
)
{
// C2 Table doesn't contain any commands in CEA-708-B, but we do need to skip bytes
if
(
command
<=
0x0
F
)
{
if
(
command
<=
0x0
7
)
{
// Do nothing.
}
else
if
(
command
<=
0x0F
)
{
serviceBlockPacket
.
skipBits
(
8
);
...
...
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