Commit 3475c50
Gate the internal H264 fallback in Create() on the probe result
GetSupportedFormats() no longer advertises the internal H264 formats
when the probe fails, but Create() still handed back the broken FFmpeg
decoder when the platform factories reject a format (e.g. a
profile-level-id VideoToolbox does not match). Gate the fallback on the
same probe so that path returns nullptr with a clear "No VideoDecoder
found" error instead of a decoder that fails Configure() at runtime.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent f0506f8 commit 3475c50
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
0 commit comments