ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
212 stars 53 forks source link

Fix first-chance exception when getting metadata #290

Closed lukasf closed 2 years ago

lukasf commented 2 years ago

The TryLookup method of IMap is internally implemented like try { return Lookup(); } catch { return default; }. Since we used it for retrieving MediaMetadata, it caused first-chance exceptions for every new tag. Pretty bad for debugging, so I removed its use.