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

Unified Diff: media/video/capture/android/video_capture_device_factory_android.cc

Issue 1215443003: [Android] Filter the unknown type in function GetDeviceSupportedFormats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-enable failing test Created 5 years, 5 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 | « no previous file | media/video/capture/video_capture_device_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/android/video_capture_device_factory_android.cc
diff --git a/media/video/capture/android/video_capture_device_factory_android.cc b/media/video/capture/android/video_capture_device_factory_android.cc
index 4a71d0f614d97dbdadd516451b4e6d610cda343f..cdf25524c776fc18fc8c883479336c22b7a6d5c3 100644
--- a/media/video/capture/android/video_capture_device_factory_android.cc
+++ b/media/video/capture/android/video_capture_device_factory_android.cc
@@ -114,7 +114,7 @@ void VideoCaptureDeviceFactoryAndroid::GetDeviceSupportedFormats(
pixel_format = media::PIXEL_FORMAT_NV21;
break;
default:
- break;
+ continue;
}
VideoCaptureFormat capture_format(
gfx::Size(media::Java_VideoCaptureFactory_getCaptureFormatWidth(env,
« no previous file with comments | « no previous file | media/video/capture/video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698