Bring branch up to speed with dev

This commit is contained in:
Oliver Woodman 2015-05-11 21:18:23 +01:00
parent dd41d14ac3
commit caf41fb1f1
8 changed files with 14 additions and 14 deletions

View File

@ -14,12 +14,12 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 9
targetSdkVersion 21
targetSdkVersion 22
}
buildTypes {

View File

@ -17,6 +17,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.exoplayer.ext.opus">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="21"/>
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="22"/>
</manifest>

View File

@ -123,9 +123,9 @@ public class LibopusAudioTrackRenderer extends TrackRenderer {
}
@Override
protected int doPrepare() throws ExoPlaybackException {
protected int doPrepare(long positionUs) throws ExoPlaybackException {
try {
boolean sourcePrepared = source.prepare();
boolean sourcePrepared = source.prepare(positionUs);
if (!sourcePrepared) {
return TrackRenderer.STATE_UNPREPARED;
}

View File

@ -11,6 +11,6 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-21
target=android-22
android.library=true
android.library.reference.1=../../../../library/src/main

View File

@ -14,12 +14,12 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 9
targetSdkVersion 21
targetSdkVersion 22
}
buildTypes {

View File

@ -17,7 +17,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
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"/>
</manifest>

View File

@ -152,9 +152,9 @@ public class LibvpxVideoTrackRenderer extends TrackRenderer {
}
@Override
protected int doPrepare() throws ExoPlaybackException {
protected int doPrepare(long positionUs) throws ExoPlaybackException {
try {
boolean sourcePrepared = source.prepare();
boolean sourcePrepared = source.prepare(positionUs);
if (!sourcePrepared) {
return TrackRenderer.STATE_UNPREPARED;
}

View File

@ -11,6 +11,6 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-21
target=android-22
android.library=true
android.library.reference.1=../../../../library/src/main