From cbe3f0b8ec107ce780d5c857f16abe73e9235e97 Mon Sep 17 00:00:00 2001 From: Alessandro Sappia Date: Fri, 11 Jan 2008 02:13:32 +0000 Subject: [PATCH] Enabling higher frame rates for dc1394, patch by Alessandro Sappia a dot sappia at ngi dot it Originally committed as revision 11502 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavdevice/libdc1394.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c index bea2af2818..1227aed5e9 100644 --- a/libavdevice/libdc1394.c +++ b/libavdevice/libdc1394.c @@ -38,6 +38,8 @@ #define DC1394_FRAMERATE_15 FRAMERATE_15 #define DC1394_FRAMERATE_30 FRAMERATE_30 #define DC1394_FRAMERATE_60 FRAMERATE_60 +#define DC1394_FRAMERATE_120 FRAMERATE_120 +#define DC1394_FRAMERATE_240 FRAMERATE_240 #endif #undef free @@ -79,6 +81,8 @@ struct dc1394_frame_rate { { 15000, DC1394_FRAMERATE_15 }, { 30000, DC1394_FRAMERATE_30 }, { 60000, DC1394_FRAMERATE_60 }, + {120000, DC1394_FRAMERATE_120 }, + {240000, DC1394_FRAMERATE_240 }, { 0, 0 } /* gotta be the last one */ };