1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Alessandro Sappia 2008-01-11 02:13:32 +00:00 committed by Roman Shaposhnik
parent 0b4a18218e
commit cbe3f0b8ec

View File

@ -38,6 +38,8 @@
#define DC1394_FRAMERATE_15 FRAMERATE_15 #define DC1394_FRAMERATE_15 FRAMERATE_15
#define DC1394_FRAMERATE_30 FRAMERATE_30 #define DC1394_FRAMERATE_30 FRAMERATE_30
#define DC1394_FRAMERATE_60 FRAMERATE_60 #define DC1394_FRAMERATE_60 FRAMERATE_60
#define DC1394_FRAMERATE_120 FRAMERATE_120
#define DC1394_FRAMERATE_240 FRAMERATE_240
#endif #endif
#undef free #undef free
@ -79,6 +81,8 @@ struct dc1394_frame_rate {
{ 15000, DC1394_FRAMERATE_15 }, { 15000, DC1394_FRAMERATE_15 },
{ 30000, DC1394_FRAMERATE_30 }, { 30000, DC1394_FRAMERATE_30 },
{ 60000, DC1394_FRAMERATE_60 }, { 60000, DC1394_FRAMERATE_60 },
{120000, DC1394_FRAMERATE_120 },
{240000, DC1394_FRAMERATE_240 },
{ 0, 0 } /* gotta be the last one */ { 0, 0 } /* gotta be the last one */
}; };