# HG changeset patch # User al3x # Date 1056123014 0 # Node ID 78a13c7b7d496c1c9362bf6a5c54c69342184607 # Parent 7f3e6d83abd32e9806e76b2b4952dbcdda489639 pal vs ntsc fix by stoyan k diff -r 7f3e6d83abd3 -r 78a13c7b7d49 dv1394.h --- a/dv1394.h Wed Jun 18 22:24:51 2003 +0000 +++ b/dv1394.h Fri Jun 20 15:30:14 2003 +0000 @@ -31,7 +31,7 @@ #define DV1394_RING_FRAMES 20 #define DV1394_WIDTH 720 -#define DV1394_HEIGHT 480 +#define DV1394_HEIGHT 576 /* This is the public user-space interface. Try not to break it. */ @@ -198,12 +198,12 @@ #define DV1394_MAX_FRAMES 32 /* number of *full* isochronous packets per DV frame */ -#define DV1394_NTSC_PACKETS_PER_FRAME 250 -#define DV1394_PAL_PACKETS_PER_FRAME 300 +#define DV1394_NTSC_PACKETS_PER_FRAME 300 +#define DV1394_PAL_PACKETS_PER_FRAME 250 /* size of one frame's worth of DV data, in bytes */ #define DV1394_NTSC_FRAME_SIZE (480 * DV1394_NTSC_PACKETS_PER_FRAME) -#define DV1394_PAL_FRAME_SIZE (480 * DV1394_PAL_PACKETS_PER_FRAME) +#define DV1394_PAL_FRAME_SIZE (576 * DV1394_PAL_PACKETS_PER_FRAME) /* ioctl() commands */