| Index: webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java
|
| diff --git a/webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java b/webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java
|
| index 3796b698f445d3c6e3962be87257331fa151ae91..a0552247c95b1c24a33c9ab0975cce36bc0f91b0 100644
|
| --- a/webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java
|
| +++ b/webrtc/api/android/java/src/org/webrtc/FileVideoCapturer.java
|
| @@ -87,8 +87,9 @@ public class FileVideoCapturer implements VideoCapturer {
|
| }
|
| }
|
| Logging.d(TAG, "Color space: " + colorSpace);
|
| - if (!colorSpace.equals("420")) {
|
| - throw new IllegalArgumentException("Does not support any other color space than I420");
|
| + if (!colorSpace.equals("420") && !colorSpace.equals("420mpeg2")) {
|
| + throw new IllegalArgumentException(
|
| + "Does not support any other color space than I420 or I420mpeg2");
|
| }
|
| if ((w % 2) == 1 || (h % 2) == 1) {
|
| throw new IllegalArgumentException("Does not support odd width or height");
|
|
|