diff options
| author | kkitayam <[email protected]> | 2022-01-13 00:24:56 +0900 |
|---|---|---|
| committer | kkitayam <[email protected]> | 2022-01-13 00:24:56 +0900 |
| commit | c5d825450ab35f11bf9370b5cacc21706d3d0780 (patch) | |
| tree | 395b1bbb4b6eac4ce0c5598c6e5bb77d7f3686b9 /examples | |
| parent | 3b09b82123a50bef6b18cf90c2734ae7581da4a3 (diff) | |
Fix dwFrameIntervalStep and dwMaxFrameInterval
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by
dwFrameIntervalStep.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/device/video_capture/src/usb_descriptors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/video_capture/src/usb_descriptors.h b/examples/device/video_capture/src/usb_descriptors.h index eeaef6bd2..23511c909 100644 --- a/examples/device/video_capture/src/usb_descriptors.h +++ b/examples/device/video_capture/src/usb_descriptors.h @@ -103,7 +103,7 @@ enum { TUD_VIDEO_DESC_CS_VS_FRM_UNCOMPR_CONT(/*bFrameIndex */1, 0, _width, _height, \ _width * _height * 16, _width * _height * 16 * _fps, \ _width * _height * 16, \ - (10000000/_fps), (10000000/_fps), 10000000, 100000), \ + (10000000/_fps), (10000000/_fps), (10000000/_fps)*_fps, (10000000/_fps)), \ TUD_VIDEO_DESC_CS_VS_COLOR_MATCHING(VIDEO_COLOR_PRIMARIES_BT709, VIDEO_COLOR_XFER_CH_BT709, VIDEO_COLOR_COEF_SMPTE170M), \ /* VS alt 1 */\ TUD_VIDEO_DESC_STD_VS(1, 1, 1, 0), \ |
