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

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

Issue 659493003: Final step of the java_cpp_template -> java_cpp_enum migration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 | « media/video/capture/android/video_capture_device_factory_android.h ('k') | ui/android/BUILD.gn » ('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 c1847e6d40ae806c0b55a5d0e815384ff5ac6f23..010c1949eb65338e83dd56249138f869aba5987f 100644
--- a/media/video/capture/android/video_capture_device_factory_android.cc
+++ b/media/video/capture/android/video_capture_device_factory_android.cc
@@ -101,10 +101,10 @@ void VideoCaptureDeviceFactoryAndroid::GetDeviceSupportedFormats(
VideoPixelFormat pixel_format = media::PIXEL_FORMAT_UNKNOWN;
switch (media::Java_VideoCaptureFactory_getCaptureFormatPixelFormat(
env, format.obj())) {
- case ANDROID_IMAGEFORMAT_YV12:
+ case VideoCaptureDeviceAndroid::ANDROID_IMAGE_FORMAT_YV12:
pixel_format = media::PIXEL_FORMAT_YV12;
break;
- case ANDROID_IMAGEFORMAT_NV21:
+ case VideoCaptureDeviceAndroid::ANDROID_IMAGE_FORMAT_NV21:
pixel_format = media::PIXEL_FORMAT_NV21;
break;
default:
« no previous file with comments | « media/video/capture/android/video_capture_device_factory_android.h ('k') | ui/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698