very nice

This commit is contained in:
2026-04-03 07:18:42 -03:00
parent 84dc1405dc
commit 51c0bdd2da
8 changed files with 178 additions and 17 deletions

View File

@@ -217,12 +217,8 @@ class MonitorWidget(Gtk.Box):
self._stack.set_visible_child_name("review")
return
elif current == "live":
# Transitioning from live: load MKV at cursor position atomically
pos = s.cursor
if self._review_player and self._recording_path:
self._review_player.load_at(self._recording_path, pos, pause=s.paused)
if not s.paused:
self._review_player.play()
# Transitioning from live to scrub: just switch stack.
# Don't auto-load the growing MKV — user picks a segment via scrub bar.
self._stack.set_visible_child_name("review")
else:
# Already in review (non-scrub): seek if cursor moved