summaryrefslogtreecommitdiff
path: root/src/sink
diff options
context:
space:
mode:
Diffstat (limited to 'src/sink')
-rw-r--r--src/sink/desktop.c5
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;