Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(936)

Unified Diff: webrtc/sdk/android/api/org/webrtc/MediaCodecVideoDecoder.java

Issue 2811963004: Deliver video frames on Android, on the decode thread.
Patch Set: Rebase Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/sdk/android/api/org/webrtc/MediaCodecVideoDecoder.java
diff --git a/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoDecoder.java b/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoDecoder.java
index 4304ff421b42b9b6987cf8138acfb948f391829b..d3de8a9316c6ad0b3a96e7b9ced282c1b21ffbef 100644
--- a/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoDecoder.java
+++ b/webrtc/sdk/android/api/org/webrtc/MediaCodecVideoDecoder.java
@@ -365,7 +365,7 @@ public class MediaCodecVideoDecoder {
private void release() {
Logging.d(TAG, "Java releaseDecoder. Total number of dropped frames: " + droppedFrames);
- checkOnMediaCodecThread();
+ // This is called on the codec thread or it is stopped when this is called.
// Run Mediacodec stop() and release() on separate thread since sometime
// Mediacodec.stop() may hang.
« no previous file with comments | « webrtc/modules/video_coding/video_receiver.cc ('k') | webrtc/sdk/android/src/jni/androidmediadecoder_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698