mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 03:23:07 +00:00
Suppress deprecation warnings for MediaCodecList APIs
This commit is contained in:
parent
b492ac43f8
commit
b19360ac75
@ -26,6 +26,9 @@ import android.media.MediaCodec.BufferInfo;
|
||||
import android.os.Build;
|
||||
import android.view.SurfaceHolder;
|
||||
|
||||
// Ignore warnings about deprecated MediaCodecList APIs in API level 21
|
||||
// We don't care about any of the new codec types anyway.
|
||||
@SuppressWarnings("deprecation")
|
||||
public class MediaCodecDecoderRenderer implements VideoDecoderRenderer {
|
||||
|
||||
private ByteBuffer[] videoDecoderInputBuffers;
|
||||
|
Loading…
x
Reference in New Issue
Block a user