diff options
| author | 2025-03-03 12:53:14 -0500 | |
|---|---|---|
| committer | 2025-03-03 12:53:14 -0500 | |
| commit | 1224a43bbde9ef2297c7ee638b1928a07488cc3d (patch) | |
| tree | 8cfb0ffe2f35c9c12bc20ab65185f08946eda243 /src/sink | |
| parent | 000ce1f671d1f05b76202fd128e272e4ac9da683 (diff) | |
| download | camu-1224a43bbde9ef2297c7ee638b1928a07488cc3d.tar.gz camu-1224a43bbde9ef2297c7ee638b1928a07488cc3d.tar.bz2 camu-1224a43bbde9ef2297c7ee638b1928a07488cc3d.zip | |
Fix vcr memory leak, subtitle upload/render sync
- Some sink behavior fixes.
- Fix clock sync when seeking.
- Add relative seek bind.
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/sink')
| -rw-r--r-- | src/sink/desktop.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sink/desktop.c b/src/sink/desktop.c index 61cad77..73a1667 100644 --- a/src/sink/desktop.c +++ b/src/sink/desktop.c @@ -55,6 +55,11 @@ static void screen_callback(void *userdata, u8 op, void *opaque) camu_sink_seek(&c->sink, percent); break; } + case CAMU_SCREEN_RELATIVE_SEEK: { + f64 offset = *(f64 *)opaque; + camu_sink_relative_seek(&c->sink, offset); + break; + } case CAMU_SCREEN_RESEEK: camu_sink_reseek(&c->sink); break; |