media3/extensions/vp9/proguard-rules.txt
tonihei de67030f24 Add back VpxOutputBuffer proguard config.
This is needed to support old binary builds that still rely on the
existance of this class.

PiperOrigin-RevId: 344799495
2020-11-30 16:11:36 +00:00

18 lines
547 B
Plaintext

# Proguard rules specific to the VP9 extension.
# This prevents the names of native methods from being obfuscated.
-keepclasseswithmembernames class * {
native <methods>;
}
# Some members of this class are being accessed from native methods. Keep them unobfuscated.
-keep class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer {
*;
}
# The deprecated VpxOutputBuffer might be used by old binary versions. Remove
# once VpxOutputBuffer is removed.
-keep class com.google.android.exoplayer2.ext.vp9.VpxOutputBuffer {
*;
}