camerabin: Document requirement for PLAYING state
authorDavid King <amigadave@amigadave.com>
Mon, 14 Nov 2011 10:30:13 +0000 (11:30 +0100)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 15 Nov 2011 02:28:29 +0000 (23:28 -0300)
As described in GNOME bug 663998, the element must be in the PLAYING
state before calling capture-start.

https://bugzilla.gnome.org/show_bug.cgi?id=664048

gst/camerabin/gstcamerabin.c

index 1a2b05f..be13b65 100644 (file)
@@ -84,6 +84,8 @@
  * unreffed or replaced by a new user set element. Initially only elements
  * needed for view finder mode are created to speed up startup. Image bin and
  * video bin elements are created when setting the mode or starting capture.
+ * GstCameraBin must be in the PLAYING state before #GstCameraBin::capture-start
+ * is called.
  * </para>
  * </refsect2>
  * <refsect2>