Skip to content

Commit 6972a4f

Browse files
authored
Merge pull request hathach#1276 from kkitayam/fix_video_capture_frame_interval
Fix video_capture example fails enumeration when 8FPS
2 parents 11aa4b9 + c5d8254 commit 6972a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/device/video_capture/src/usb_descriptors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ enum {
103103
TUD_VIDEO_DESC_CS_VS_FRM_UNCOMPR_CONT(/*bFrameIndex */1, 0, _width, _height, \
104104
_width * _height * 16, _width * _height * 16 * _fps, \
105105
_width * _height * 16, \
106-
(10000000/_fps), (10000000/_fps), 10000000, 100000), \
106+
(10000000/_fps), (10000000/_fps), (10000000/_fps)*_fps, (10000000/_fps)), \
107107
TUD_VIDEO_DESC_CS_VS_COLOR_MATCHING(VIDEO_COLOR_PRIMARIES_BT709, VIDEO_COLOR_XFER_CH_BT709, VIDEO_COLOR_COEF_SMPTE170M), \
108108
/* VS alt 1 */\
109109
TUD_VIDEO_DESC_STD_VS(1, 1, 1, 0), \

0 commit comments

Comments
 (0)