cheat with wait_for_play by using shared variable
[sparrow.git] / gtk-app.h
blobca18788e0ec6c81b2e7476905174a33e944bc94e
1 #define WIDTH 800
2 #define HEIGHT 600
3 #define FPS 20
5 static gboolean option_fullscreen = FALSE;
6 static gboolean option_debug = FALSE;
7 static gint option_screens = 1;
9 //static gboolean option_overlay = FALSE;
11 #define MAX_SCREENS 2
13 typedef struct windows_s {
14 int realised;
15 int requested;
16 GstElement *sinks[MAX_SCREENS];
17 XID xwindows[MAX_SCREENS];
18 GtkWidget *gtk_windows[MAX_SCREENS];
19 } windows_t;
22 #define COMMON_CAPS \
23 "framerate", GST_TYPE_FRACTION, FPS, 1, \
24 "width", G_TYPE_INT, WIDTH, \
25 "height", G_TYPE_INT, HEIGHT, \
26 NULL