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

Unified Diff: webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.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
Index: webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.java
diff --git a/webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.java b/webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.java
index a0552247c95b1c24a33c9ab0975cce36bc0f91b0..a71e9327ae7f75fa0967323c1514b8f4feb4a9ba 100644
--- a/webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.java
+++ b/webrtc/sdk/android/api/org/webrtc/FileVideoCapturer.java
@@ -20,6 +20,10 @@ import java.io.RandomAccessFile;
import java.io.IOException;
public class FileVideoCapturer implements VideoCapturer {
+ static {
+ System.loadLibrary("jingle_peerconnection_so");
+ }
+
private interface VideoReader {
int getFrameWidth();
int getFrameHeight();
« no previous file with comments | « webrtc/base/java/src/org/webrtc/Logging.java ('k') | webrtc/sdk/android/api/org/webrtc/VideoFileRenderer.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698