summaryrefslogtreecommitdiff
blob: e3c13cca03aa067b5784ba4ccabe11824472c8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ru softdevice-0.2.3.cvs/ShmClient.c softdevice-0.2.3.cvs-shm-fullscreen/ShmClient.c
--- softdevice-0.2.3.cvs/ShmClient.c	2006-05-14 21:56:07.000000000 +0200
+++ softdevice-0.2.3.cvs-shm-fullscreen/ShmClient.c	2006-05-29 21:33:21.000000000 +0200
@@ -67,6 +67,16 @@
 int main(int argc, char **argv) {
         cSetupStore SetupStore;
         SetupStore.xvFullscreen=0;
+	if (argc>1) {
+		if (strcmp(argv[1], "-f") == 0) {
+			SetupStore.xvFullscreen=1;
+		} else if (strcmp(argv[1], "-h") == 0) {
+			printf ("Shared-Memory-Client for vdr-softdevice\n");
+			printf ("Options:\n");
+			printf ("  -f   Start fullscreen\n");
+			return 0;
+		}
+	}
         cXvVideoOut *vout=new cXvVideoOut(&SetupStore);
         xvRemote= new cShmRemote("softdevice-xv");
 
Nur in softdevice-0.2.3.cvs-shm-fullscreen/: .ShmClient.c.swp.