Skip to content

Commit c5d8254

Browse files
committed
Fix dwFrameIntervalStep and dwMaxFrameInterval
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by dwFrameIntervalStep.
1 parent 3b09b82 commit c5d8254

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)