Commit ef6ca34
chore: ⬆️ Update leejet/stable-diffusion.cpp to
Adapt the C++ wrapper to the new `generate_video()` signature: upstream now
returns `bool` and writes frames/audio via out-parameters (`sd_image_t**`,
`sd_audio_t**`). Also set `p->fps` on the params struct (new upstream field)
and free the returned audio handle on both the success and error paths.
Assisted-by: claude-code:claude-opus-4-7
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: Ettore Di Giacinto <mudler@localai.io>5b0267e941cade15bd80089d89838795d9f4baa6 (#9907)1 parent 9413c37 commit ef6ca34
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
1191 | 1194 | | |
1192 | 1195 | | |
1193 | 1196 | | |
| |||
1206 | 1209 | | |
1207 | 1210 | | |
1208 | 1211 | | |
1209 | | - | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
1210 | 1215 | | |
1211 | 1216 | | |
1212 | | - | |
| 1217 | + | |
1213 | 1218 | | |
| 1219 | + | |
1214 | 1220 | | |
1215 | 1221 | | |
1216 | 1222 | | |
| |||
1224 | 1230 | | |
1225 | 1231 | | |
1226 | 1232 | | |
| 1233 | + | |
1227 | 1234 | | |
1228 | 1235 | | |
1229 | 1236 | | |
| |||
0 commit comments