basecamerasrc: use the enum type for mode
authorStefan Kost <ensonic@users.sf.net>
Thu, 9 Dec 2010 10:22:26 +0000 (12:22 +0200)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Thu, 23 Dec 2010 15:11:59 +0000 (12:11 -0300)
gst/camerabin2/gstbasecamerasrc.h

index c40b1b3..134cdff 100644 (file)
@@ -59,7 +59,7 @@ struct _GstBaseCameraSrc
 {
   GstBin parent;
 
-  gint mode;
+  GstCameraBinMode mode;
 
   gboolean capturing;
   GMutex *capturing_mutex;