SuRGeoNix / Flyleaf

Media Player .NET Library for WinUI 3/ WPF/WinForms (based on FFmpeg/DirectX)
GNU Lesser General Public License v3.0
687 stars 92 forks source link

Fix DataDecoder null ref on demuxer when disposing player #470

Closed coldays closed 1 month ago

coldays commented 1 month ago

When connecting to a video stream instead of a file with a data track, disposing the player would trigger a null ref exception because the DataDecoder wouldn't exit when disposed and thus the DataDecoder would read the demuxer field which is null