mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00
Fix keep rule for VideoDecoderOutputBuffer
PiperOrigin-RevId: 286156361
This commit is contained in:
parent
c9109f437c
commit
b4873e55e1
@ -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 {
|
||||
*;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user