patches/libiec61883-02-struct.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 445 8739b4d845c1
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
445
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
--- libiec61883-1.1.0/examples/test-dv.c.orig	2007-09-04 10:09:03.239249499 +0700
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
+++ libiec61883-1.1.0/examples/test-dv.c	2007-09-04 10:09:42.617502317 +0700
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
@@ -60,9 +60,9 @@
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
 	if (frame && iec61883_dv_fb_start (frame, channel) == 0)
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 	{
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 		struct pollfd pfd = {
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
-			fd: raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
-			events: POLLIN | POLLPRI,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
-			revents: 0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
+			raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
+			POLLIN | POLLPRI,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    12
+			0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
 		};
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    14
 		int result = 0;
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    15
 		
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    16
@@ -94,9 +94,9 @@
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    17
 	if (dv && iec61883_dv_xmit_start (dv, channel) == 0)
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    18
 	{
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    19
 		struct pollfd pfd = {
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    20
-			fd: raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    21
-			events: POLLIN,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    22
-			revents: 0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    23
+			raw1394_get_fd (handle),
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    24
+			POLLIN,
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    25
+			0
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    26
 		};
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    27
 		int result = 0;
8739b4d845c1 2007-09-04 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    28