summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-10-30 15:24:58 -0400
committerAndrew Opalach <andrew@akon.city> 2025-10-30 15:24:58 -0400
commitf7e23d3c5e47ec0c105bf506e58e23f635faa20e (patch)
tree99dfc4f34da05d16bdfac6a437bb86a65d9b32f8 /src/render
parent90da3b27d939b3b7af1cf7fed10dfaaa7e271622 (diff)
downloadcamu-f7e23d3c5e47ec0c105bf506e58e23f635faa20e.tar.gz
camu-f7e23d3c5e47ec0c105bf506e58e23f635faa20e.tar.bz2
camu-f7e23d3c5e47ec0c105bf506e58e23f635faa20e.zip
Wip sink changes around errored/ended buffers
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/render')
-rw-r--r--src/render/renderer_libplacebo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/renderer_libplacebo.c b/src/render/renderer_libplacebo.c
index 47b9ab4..3b69c64 100644
--- a/src/render/renderer_libplacebo.c
+++ b/src/render/renderer_libplacebo.c
@@ -422,9 +422,9 @@ static void renderer_lp_render(struct camu_renderer *renderer, struct camu_scree
do_gpu_finish |= weighted;
// Terrible hack. Lets us distinguish single frames with the same dimensions.
// Tied to a libplacebo patch to consider info_priv in the hash.
- // Also, add in reset_pts to account for buffer resets.
intptr_t hash = (intptr_t)video->buf;
- hash += float_64_hash(video->buf->reset_pts);
+ // Also add in seek_pts to account for frame queue resets (seek() while paused).
+ hash += float_64_hash(video->buf->seek_pts);
if (vr_emulation) {
hash += float_64_hash(mouse_x);
hash += float_64_hash(mouse_y);