Philipp Hörist pushed to branch master at gajim / gajim
Commits:
62b6d602 by mesonium at 2025-11-29T16:12:21+00:00
cfix: AnimatedImage: Don't start playback too early
- - - - -
1 changed file:
- gajim/gtk/preview/webp_backend.py
Changes:
=====================================
gajim/gtk/preview/webp_backend.py
=====================================
@@ -57,7 +57,7 @@ def __init__(self, orig_path: Path, max_loops: int = 3) ->
None:
self._buf = None
self._frames: list[tuple[bytes, int]] = []
- self._current_frame = 0
+ self._current_frame = 1
self._loop_counter = 0
self._max_loops = max_loops
@@ -117,9 +117,6 @@ def setup_pipeline(self) -> None:
log.exception("Unable to play animated image")
self._pipeline_setup_failed = True
self.emit("pipeline-changed", False)
- else:
- self._pipeline_is_setup = True
- self.emit("pipeline-changed", True)
def _setup_pipeline(self) -> None:
if (
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/62b6d602c7c1acacb96841fd12c2a3131928d58d
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/62b6d602c7c1acacb96841fd12c2a3131928d58d
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]