Commit 821e0c8
Guard against zero video dimensions in preview generation
A failed or missing analysis stores 0x0 dimensions, which reached
VapourSynth as a cryptic "BlankClip: invalid width". Bail early with an
actionable error telling the user to re-add the file. None still falls
back to the 720x480 defaults; only an explicit Some(0) is rejected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d0b7753 commit 821e0c8
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
726 | 737 | | |
727 | 738 | | |
728 | 739 | | |
| |||
0 commit comments