mirror of
https://github.com/androidx/media.git
synced 2025-05-08 16:10:38 +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)).
|
([#6771](https://github.com/google/ExoPlayer/issues/6771)).
|
||||||
* Fix proguard rules for R8 to ensure raw resources used with
|
* Fix proguard rules for R8 to ensure raw resources used with
|
||||||
`RawResourceDataSource` are kept.
|
`RawResourceDataSource` are kept.
|
||||||
|
* Fix proguard rules to keep `VideoDecoderOutputBuffer` for video decoder
|
||||||
|
extensions.
|
||||||
|
|
||||||
### 2.11.0 (2019-12-11) ###
|
### 2.11.0 (2019-12-11) ###
|
||||||
|
|
||||||
|
@ -5,6 +5,11 @@
|
|||||||
public static android.net.Uri buildRawResourceUri(int);
|
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
|
# Constructors accessed via reflection in DefaultRenderersFactory
|
||||||
-dontnote com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
|
-dontnote com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
|
||||||
-keepclassmembers class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer {
|
-keepclassmembers class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer {
|
||||||
@ -71,8 +76,3 @@
|
|||||||
-dontwarn org.checkerframework.**
|
-dontwarn org.checkerframework.**
|
||||||
-dontwarn kotlin.annotations.jvm.**
|
-dontwarn kotlin.annotations.jvm.**
|
||||||
-dontwarn javax.annotation.**
|
-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