send hls start_position to video_renderer

This commit is contained in:
F. Duncanh
2025-02-03 08:15:58 -05:00
parent 14e6ba5543
commit 7b5d63f51e
3 changed files with 15 additions and 4 deletions

View File

@@ -1910,6 +1910,7 @@ extern "C" bool check_register(void *cls, const char *client_pk) {
extern "C" void on_video_play(void *cls, const char* location, const float start_position) {
/* start_position needs to be implemented */
video_renderer_set_start(start_position);
url.erase();
url.append(location);
reset_loop = true;