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

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

Issue 2803203002: Android Logging.java: Load native library only when needed (Closed)
Patch Set: Add class comment to Logging.java, and always set fallbackLogger.setLevel(Level.ALL). Created 3 years, 8 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
« no previous file with comments | « webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/sdk/android/api/org/webrtc/VideoFileRenderer.java
diff --git a/webrtc/sdk/android/api/org/webrtc/VideoFileRenderer.java b/webrtc/sdk/android/api/org/webrtc/VideoFileRenderer.java
index 02a4a3fd0f37488434935c966d18b1b2f7158628..17676c0d82a4601f4279163743f692d42e434eb8 100644
--- a/webrtc/sdk/android/api/org/webrtc/VideoFileRenderer.java
+++ b/webrtc/sdk/android/api/org/webrtc/VideoFileRenderer.java
@@ -22,6 +22,10 @@ import java.util.ArrayList;
* Can be used to save the video frames to file.
*/
public class VideoFileRenderer implements VideoRenderer.Callbacks {
+ static {
+ System.loadLibrary("jingle_peerconnection_so");
+ }
+
private static final String TAG = "VideoFileRenderer";
private final HandlerThread renderThread;
« no previous file with comments | « webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698