Add 320x240 frame support for Windows and Mac camera emulation
Change-Id: I54897ca86b372d98c7a30a47ecf88a4df8ee0fe9
diff --git a/android/camera/camera-capture-mac.m b/android/camera/camera-capture-mac.m
index 228838b..4d684e0 100644
--- a/android/camera/camera-capture-mac.m
+++ b/android/camera/camera-capture-mac.m
@@ -496,6 +496,8 @@
{640, 480},
/* Emulates 352x288 frame (required by camera framework). */
{352, 288},
+ /* Emulates 320x240 frame (required by camera framework). */
+ {320, 240},
/* Emulates 176x144 frame (required by camera framework). */
{176, 144}
};
diff --git a/android/camera/camera-capture-windows.c b/android/camera/camera-capture-windows.c
index 781ba05..ecf5b62 100755
--- a/android/camera/camera-capture-windows.c
+++ b/android/camera/camera-capture-windows.c
@@ -556,6 +556,8 @@
{640, 480},
/* Emulates 352x288 frame (required by camera framework). */
{352, 288},
+ /* Emulates 320x240 frame (required by camera framework). */
+ {320, 240},
/* Emulates 176x144 frame (required by camera framework). */
{176, 144}
};