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
This commit is contained in:
tonihei 2020-11-30 14:18:32 +00:00 committed by Santiago Seifert
parent f8041e1bc0
commit de67030f24
2 changed files with 8 additions and 1 deletions

View File

@ -9,3 +9,9 @@
-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 {
*;
}

View File

@ -18,7 +18,8 @@ package com.google.android.exoplayer2.ext.vp9;
import com.google.android.exoplayer2.video.VideoDecoderOutputBuffer;
// TODO(b/139174707): Delete this class once binaries in WVVp9OpusPlaybackTest are updated to depend
// on VideoDecoderOutputBuffer. Also mark VideoDecoderOutputBuffer as final.
// on VideoDecoderOutputBuffer. Also mark VideoDecoderOutputBuffer as final and remove proguard
// config for VpxOutputBuffer.
/**
* Video output buffer, populated by {@link VpxDecoder}.
*