Bring branch up to speed with dev
This commit is contained in:
parent
dd41d14ac3
commit
caf41fb1f1
@ -14,12 +14,12 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 21
|
compileSdkVersion 22
|
||||||
buildToolsVersion "21.1.2"
|
buildToolsVersion "22.0.1"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 9
|
minSdkVersion 9
|
||||||
targetSdkVersion 21
|
targetSdkVersion 22
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -17,6 +17,6 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.google.android.exoplayer.ext.opus">
|
package="com.google.android.exoplayer.ext.opus">
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="21"/>
|
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="22"/>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -123,9 +123,9 @@ public class LibopusAudioTrackRenderer extends TrackRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int doPrepare() throws ExoPlaybackException {
|
protected int doPrepare(long positionUs) throws ExoPlaybackException {
|
||||||
try {
|
try {
|
||||||
boolean sourcePrepared = source.prepare();
|
boolean sourcePrepared = source.prepare(positionUs);
|
||||||
if (!sourcePrepared) {
|
if (!sourcePrepared) {
|
||||||
return TrackRenderer.STATE_UNPREPARED;
|
return TrackRenderer.STATE_UNPREPARED;
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||||
|
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-21
|
target=android-22
|
||||||
android.library=true
|
android.library=true
|
||||||
android.library.reference.1=../../../../library/src/main
|
android.library.reference.1=../../../../library/src/main
|
||||||
|
@ -14,12 +14,12 @@
|
|||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 21
|
compileSdkVersion 22
|
||||||
buildToolsVersion "21.1.2"
|
buildToolsVersion "22.0.1"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 9
|
minSdkVersion 9
|
||||||
targetSdkVersion 21
|
targetSdkVersion 22
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.google.android.exoplayer.ext.vp9">
|
package="com.google.android.exoplayer.ext.vp9">
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="21"/>
|
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="22"/>
|
||||||
<uses-feature android:glEsVersion="0x00020000"/>
|
<uses-feature android:glEsVersion="0x00020000"/>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -152,9 +152,9 @@ public class LibvpxVideoTrackRenderer extends TrackRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int doPrepare() throws ExoPlaybackException {
|
protected int doPrepare(long positionUs) throws ExoPlaybackException {
|
||||||
try {
|
try {
|
||||||
boolean sourcePrepared = source.prepare();
|
boolean sourcePrepared = source.prepare(positionUs);
|
||||||
if (!sourcePrepared) {
|
if (!sourcePrepared) {
|
||||||
return TrackRenderer.STATE_UNPREPARED;
|
return TrackRenderer.STATE_UNPREPARED;
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||||
|
|
||||||
# Project target.
|
# Project target.
|
||||||
target=android-21
|
target=android-22
|
||||||
android.library=true
|
android.library=true
|
||||||
android.library.reference.1=../../../../library/src/main
|
android.library.reference.1=../../../../library/src/main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user