diff options
| author | kkitayam <[email protected]> | 2021-09-25 20:49:04 +0900 |
|---|---|---|
| committer | kkitayam <[email protected]> | 2021-09-29 21:23:17 +0900 |
| commit | 0d6496886cae22f33408bd126925b5d6c4908d65 (patch) | |
| tree | 569f8c168ecc188e400b83d0dd6bddaf11a552f2 /src/class | |
| parent | d88cc23ca5eced51167edad00ea43c86038ee481 (diff) | |
Change frame buffer management
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/video/video_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c index 344c4e0f9..ad7057d30 100644 --- a/src/class/video/video_device.c +++ b/src/class/video/video_device.c @@ -128,9 +128,9 @@ static video_probe_and_commit_control_t const def_stm_settings = { .wCompWindowSize = 1, /* Maybe it is match to GOP size */ .wDelay = 240, /* milliseconds */ .dwMaxVideoFrameSize = 128 * 96 * 12 / 8, - .dwMaxPayloadTransferSize = 256, /* Maybe it is the maximum packet size under this settings */ + .dwMaxPayloadTransferSize = ((128 * 96 * 12 / 8 * 10) + 999) / 1000 + 2, .dwClockFrequency = 27000000, /* same as MPEG-2 system time clock */ - .bmFramingInfo = 0, + .bmFramingInfo = 0x3, .bPreferedVersion = 1, .bMinVersion = 1, .bMaxVersion = 1, |
