Commit 44fe937
Slightly rework animation logging. (#13161)
- Only log ffmpeg stdout/stderr if it outputted something on that
stream. This avoids a spurious empty stdout log when the entire
interesting part is on stderr.
- Improve the writer-fallback logic (right now the IndexError clause is
never going to be executed as the IndexError is first raised (if
writers.list() is empty) in the log.warning call, before the try:
...).1 parent 6a6f21c commit 44fe937
1 file changed
Lines changed: 16 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
396 | 398 | | |
397 | 399 | | |
398 | 400 | | |
| |||
1085 | 1087 | | |
1086 | 1088 | | |
1087 | 1089 | | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1096 | 1098 | | |
1097 | 1099 | | |
1098 | 1100 | | |
| |||
0 commit comments