From 377ea75708e05b8cb4285c15362ee0a262947e93 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 20 Jun 2003 15:30:14 +0000 Subject: [PATCH] pal vs ntsc fix by stoyan k Originally committed as revision 1978 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/dv1394.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/dv1394.h b/libavformat/dv1394.h index 214c8055df..1985bbda5f 100644 --- a/libavformat/dv1394.h +++ b/libavformat/dv1394.h @@ -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 */