clamped difference projection
[sparrow.git] / gtk-app.h
blob7c8462e1f55baccd62b932bb45313cd811f63476
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_screens = 1;
8 static gint option_fps = 20;
9 static guint option_first_screen = 0;
10 static char **option_reload = NULL;
11 static char **option_save = NULL;
12 static char *option_avi = NULL;
14 //static gboolean option_overlay = FALSE;
16 #define MAX_SCREENS 2
18 typedef struct windows_s {
19 int realised;
20 int requested;
21 GstElement *sinks[MAX_SCREENS];
22 XID xwindows[MAX_SCREENS];
23 GtkWidget *gtk_windows[MAX_SCREENS];
24 } windows_t;
27 #define COMMON_CAPS \
28 "framerate", GST_TYPE_FRACTION, option_fps, 1, \
29 "width", G_TYPE_INT, WIDTH, \
30 "height", G_TYPE_INT, HEIGHT, \
31 NULL