mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-05-16 03:21:20 +00:00

This PR fixes two issue observed with the seekbar preview: - sometimes images got cropped incorrectly at the end of the video due to image having less frames that server tells us - so calculate it in place; - set canvas width and height based on actual frame data so it follows the video aspect ratio rather than hard-coded value.