Game lags when loading large/long GIF images
Closed this issue · 2 comments
Treeways commented
When a chunk is initially loaded, the game freezes when loading a large image with long playback. The image in question here is a 43.1MB GIF, and runs for several minutes (probably more than 5-10 minutes).
Reproduction steps:
- Make a Creative Picture Frame with a large GIF image (large file size, very long playback time).
- Move away about 500-800 blocks from the frame.
- Move towards the frame to reload it, and witness a 2 second client-side lag spike on the way to the room.
Here's a Spark profile: https://spark.lucko.me/XmHdSabOPO
CreativeMD commented
Sorry for not responding earlier. This is obviously quite a large give. I recommend to install VLC instead. Can you try if the newest version 1.2.0 still has this long lag spike?
SrRapero720 commented
this has been addressed on watermedia 2.0.54
now the gif decoding is done offthread