Freezes when subtitle time exceeds video time
When subtitling with a video loaded and the duration of the last subtitle entry exceeds the video duration, Gaupol freezes and needs to be closed, causing to lose any unsaved content.
For instance: The video has just more 2 seconds to finish, but the last subtitle entry has 3 minutes (default entry duration). When the end of the video is reached, Gaupol freezes.
Gaupol 1.13 python-gobject 3.46.0 python 3.11.7 Arch Linux 64-bit
The following is shown in the console:
/usr/lib/python3.11/site-packages/gaupol/renderers/time.py:46: Warning: g_value_get_int: assertion 'G_VALUE_HOLDS_INT (value)' failed
editor.set_text(self.props.text)
/usr/lib/python3.11/site-packages/gi/overrides/Gio.py:42: Warning: g_value_get_int: assertion 'G_VALUE_HOLDS_INT (value)' failed
return Gio.Application.run(self, *args, **kwargs)
Let me know if more info is needed
Tried it now. I can't reproduce it. Using normal play, this seems to work fine. Using "play selection" seems to confuse the video player, but doesn't freeze the whole app, you can still save the file. Were you using regular play, "play selection" or some kind of seek when the app froze?