Add -webcam commandline option to control webcam emulation
-webcam name=<name>[,dir=<direction>] options controls web cameras to use for emulation.
Change-Id: I961fd399c7e041541adda040dd24f194cc383cb9
diff --git a/android/help.c b/android/help.c
index 7f89376..4087911 100644
--- a/android/help.c
+++ b/android/help.c
@@ -1469,6 +1469,25 @@
);
}
+static void
+help_webcam(stralloc_t* out)
+{
+ PRINTF(
+ " Use -webcam off to disable web camera emulation.\n"
+ " Use -webcam list to list web cameras available for emulation.\n"
+ " Use -webcam name=<name>[,dir=<direction>] to setup parameters for web camera emulation.\n"
+
+ " <name> platform-independent name identifying emulated camera device.\n"
+ " use '-webcam list' to obtain the list of emulated camera devices.\n"
+ " <direction> defines direction the camera is facing. Valid values are:\n\n"
+
+ " front -> emulate camera as facing front\n"
+ " back -> emulate camera as facing back\n\n"
+
+ " Default direction value for emulated web camera is 'front'\n\n"
+ );
+}
+
#define help_no_skin NULL
#define help_netspeed help_shaper
#define help_netdelay help_shaper