diff options
| author | Ha Thach <[email protected]> | 2024-01-30 10:00:26 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-30 10:00:26 +0700 |
| commit | 7a92038bc4ccd668dd1f8a6f322228dfe60dd115 (patch) | |
| tree | b972c878dbb7820bb47fb601c7e317d5f81b2072 /src/class/video | |
| parent | b4c0530fda3031010e4badd8e1af54eb10aa1f46 (diff) | |
| parent | 073a7a5659f06ce623e1081ac5f5566408fba670 (diff) | |
Merge pull request #2428 from YixingShen/master
update video_capture
Diffstat (limited to 'src/class/video')
| -rw-r--r-- | src/class/video/video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/video/video.h b/src/class/video/video.h index fb0d0af1d..6319c6536 100644 --- a/src/class/video/video.h +++ b/src/class/video/video.h @@ -647,7 +647,7 @@ TU_VERIFY_STATIC( sizeof(video_probe_and_commit_control_t) == 48, "size is not c /* Motion-JPEG 3.1.1 Table 3-2 and 3-4 */ #define TUD_VIDEO_DESC_CS_VS_FRM_MJPEG_DISC(_frmidx, _cap, _width, _height, _minbr, _maxbr, _maxfrmbufsz, _frminterval, ...) \ TUD_VIDEO_DESC_CS_VS_FRM_MJPEG_DISC_LEN + (TU_ARGS_NUM(__VA_ARGS__)) * 4, \ - TUSB_DESC_CS_INTERFACE, VIDEO_CS_VS_INTERFACE_FRAME_MJPEG, \ + TUSB_DESC_CS_INTERFACE, VIDEO_CS_ITF_VS_FRAME_MJPEG, \ _frmidx, _cap, U16_TO_U8S_LE(_width), U16_TO_U8S_LE(_height), U32_TO_U8S_LE(_minbr), U32_TO_U8S_LE(_maxbr), \ U32_TO_U8S_LE(_maxfrmbufsz), U32_TO_U8S_LE(_frminterval), (TU_ARGS_NUM(__VA_ARGS__)), __VA_ARGS__ |
