Replaced eglbase_jni with with holding a EglBase in PeerConnectionFactory.
Review URL: https://codereview.webrtc.org/1695763002 Cr-Commit-Position: refs/heads/master@{#11627}
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
#ifndef WEBRTC_API_JAVA_JNI_ANDROIDMEDIADECODER_JNI_H_
|
||||
#define WEBRTC_API_JAVA_JNI_ANDROIDMEDIADECODER_JNI_H_
|
||||
|
||||
#include "webrtc/api/java/jni/eglbase_jni.h"
|
||||
#include "webrtc/api/java/jni/jni_helpers.h"
|
||||
#include "webrtc/media/engine/webrtcvideodecoderfactory.h"
|
||||
|
||||
namespace webrtc_jni {
|
||||
@ -32,7 +32,7 @@ class MediaCodecVideoDecoderFactory
|
||||
void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) override;
|
||||
|
||||
private:
|
||||
EglBase egl_;
|
||||
jobject egl_context_;
|
||||
std::vector<webrtc::VideoCodecType> supported_codec_types_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user