summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libjingle/source/talk/media/devices/filevideocapturer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libjingle/source/talk/media/devices/filevideocapturer.cc')
-rw-r--r--chromium/third_party/libjingle/source/talk/media/devices/filevideocapturer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/third_party/libjingle/source/talk/media/devices/filevideocapturer.cc b/chromium/third_party/libjingle/source/talk/media/devices/filevideocapturer.cc
index f5c078d3fa4..e79783faacd 100644
--- a/chromium/third_party/libjingle/source/talk/media/devices/filevideocapturer.cc
+++ b/chromium/third_party/libjingle/source/talk/media/devices/filevideocapturer.cc
@@ -209,8 +209,14 @@ bool FileVideoCapturer::Init(const Device& device) {
std::vector<VideoFormat> supported;
supported.push_back(format);
+ // TODO(thorcarpenter): Report the actual file video format as the supported
+ // format. Do not use kMinimumInterval as it conflicts with video adaptation.
SetId(device.id);
SetSupportedFormats(supported);
+
+ // TODO(wuwang): Design an E2E integration test for video adaptation,
+ // then remove the below call to disable the video adapter.
+ set_enable_video_adapter(false);
return true;
}