mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Fix keep rule for VideoDecoderOutputBuffer
PiperOrigin-RevId: 286156361
This commit is contained in:
parent
7219e5a314
commit
6c9357ba2f
2 changed files with 7 additions and 5 deletions
|
|
@ -37,6 +37,8 @@
|
|||
* Add playlist API ([#6161](https://github.com/google/ExoPlayer/issues/6161)).
|
||||
* 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 {
|
||||
*;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue