aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/libdc1394.c
diff options
context:
space:
mode:
authorAlessandro Sappia <a.sappia@ngi.it>2008-01-11 02:13:32 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2008-01-11 02:13:32 +0000
commitcbe3f0b8ec107ce780d5c857f16abe73e9235e97 (patch)
tree802c0d59f47537cf70ddcaf71fc7da47edc8307b /libavdevice/libdc1394.c
parent0b4a18218ef83dce94e64aac06f6cc1262fbed60 (diff)
downloadffmpeg-cbe3f0b8ec107ce780d5c857f16abe73e9235e97.tar.gz
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
Diffstat (limited to 'libavdevice/libdc1394.c')
-rw-r--r--libavdevice/libdc1394.c4
1 files changed, 4 insertions, 0 deletions
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 */
};