kidrigger / godot-videodecoder

GDNative Video Decoder libraries for Godot Game Engine, using FFmpeg library for codecs. A Google Summer of Code Project, 2018
MIT License
84 stars 22 forks source link

Crashes *only* on exported release version, but works on debug version #48

Open cyberpsyche opened 1 year ago

cyberpsyche commented 1 year ago

Crashes only on exported release version, but works on debug version . The situations are some both on MacOS and Windows systems.

When it crashes on release version, there is no any usable clue displayed. But I can sure the problem is related to godot-videodecoder gdnative module.

When I run the exported debug version program in the console, it will display a warning info at the point of crash.

"Could not update timestamps for skipped samples."

It do related to the code in godot-videodecoder somewhere which based on some procedure related to ffmpeg. I searched on the internet, maybe this problem is related to ffmpeg decoder's time_base process. But I don't know how to fix this.

Hoping @kidrigger you could handle this problem. Thanks.