calibrate each side one after another
[sparrow.git] / gtk-app.h
blob78d47bc9026995a49a895fa53f05b1ae44c72e51
1 #define WIDTH 800
2 #define HEIGHT 600
3 //#define FPS 20
5 static gboolean option_fullscreen = FALSE;
6 static gint option_debug = -1;
7 static gint option_timer = -1;
8 static gint option_screens = 1;
9 static gint option_fps = 20;
10 static guint option_first_screen = 0;
11 static guint option_serial = 0;
12 static char **option_reload = NULL;
13 static char **option_save = NULL;
14 static char *option_avi = NULL;
16 //static gboolean option_overlay = FALSE;
18 #define MAX_SCREENS 2
20 typedef struct windows_s {
21 int realised;
22 int requested;
23 GstElement *sinks[MAX_SCREENS];
24 XID xwindows[MAX_SCREENS];
25 GtkWidget *gtk_windows[MAX_SCREENS];
26 } windows_t;
29 #define COMMON_CAPS \
30 "framerate", GST_TYPE_FRACTION, option_fps, 1, \
31 "width", G_TYPE_INT, WIDTH, \
32 "height", G_TYPE_INT, HEIGHT, \
33 NULL