diff options
| author | Ha Thach <[email protected]> | 2022-01-17 23:57:42 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-17 23:57:42 +0700 |
| commit | 6972a4f5cfa493e5f5cd224e6d12336043994504 (patch) | |
| tree | 125de8c45efffdbe7b415f69184f0ede91d34839 /examples | |
| parent | 11aa4b9bba4e13b1d7b1d36afbd5cda19c90878d (diff) | |
| parent | c5d825450ab35f11bf9370b5cacc21706d3d0780 (diff) | |
Merge pull request #1276 from kkitayam/fix_video_capture_frame_interval
Fix video_capture example fails enumeration when 8FPS
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), \ |
