5 #define QUOTE(x) QUOTE_(x)
7 static gboolean option_fake
= TRUE
; /* Should eventually be FALSE !*/
8 static gboolean option_fullscreen
= FALSE
;
9 static gint option_screens
= 1;
13 static GOptionEntry entries
[] =
15 { "fake-source", 0, 0, G_OPTION_ARG_NONE
, &option_fake
,
16 "use videotestsrc", NULL
},
17 { "full-screen", 'f', 0, G_OPTION_ARG_NONE
, &option_fullscreen
, "run full screen", NULL
},
18 { "screens", 's', 0, G_OPTION_ARG_INT
, &option_screens
, "Use this many screens, (max "
19 QUOTE(MAX_SCREENS
) ")", "S" },
20 { NULL
, 0, 0, 0, NULL
, NULL
, NULL
}
24 typedef struct windows_s
{
27 GstElement
*sinks
[MAX_SCREENS
];
28 XID xwindows
[MAX_SCREENS
];
29 GtkWidget
*gtk_windows
[MAX_SCREENS
];