Commit b4873e55 by andrewlewis Committed by Oliver Woodman

Fix keep rule for VideoDecoderOutputBuffer

PiperOrigin-RevId: 286156361
parent c9109f43
......@@ -11,6 +11,8 @@
([#6771](https://github.com/google/ExoPlayer/issues/6771)).
* Fix proguard rules for R8 to ensure raw resources used with
`RawResourceDataSource` are kept.
* Fix proguard rules to keep `VideoDecoderOutputBuffer` for video decoder
extensions.
### 2.11.0 (2019-12-11) ###
......
......@@ -5,6 +5,11 @@
public static android.net.Uri buildRawResourceUri(int);
}
# Some members of this class are being accessed from native methods. Keep them unobfuscated.
-keep class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer {
*;
}
# Constructors accessed via reflection in DefaultRenderersFactory
-dontnote com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
-keepclassmembers class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer {
......@@ -71,8 +76,3 @@
-dontwarn org.checkerframework.**
-dontwarn kotlin.annotations.jvm.**
-dontwarn javax.annotation.**
# Some members of this class are being accessed from native methods. Keep them unobfuscated.
-keep class com.google.android.exoplayer2.ext.video.VideoDecoderOutputBuffer {
*;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment