From 77b54c35bf9587450cd636e0d7df37e190e28bfb Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 13 Apr 2026 17:01:47 -0400 Subject: Smaller stuff that went uncommitted Signed-off-by: Andrew Opalach --- src/fruits/ctv/ctv.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/fruits/ctv/ctv.c') diff --git a/src/fruits/ctv/ctv.c b/src/fruits/ctv/ctv.c index 8b173b0..2878600 100644 --- a/src/fruits/ctv/ctv.c +++ b/src/fruits/ctv/ctv.c @@ -22,7 +22,10 @@ static nn_thread_result NNWT_THREADCALL event_loop_thread(void *userdata) nn_event_loop_init(&c->loop); - struct lia_prefs *prefs = &c->desktop.sink.prefs; + struct camu_sink *sink = &c->desktop.sink; + sink->local = true; + + struct lia_prefs *prefs = &sink->prefs; #ifdef CAMU_HAVE_SUBTITLES prefs->enabled = (1 << CAMU_STREAM_AUDIO) | (1 << CAMU_STREAM_VIDEO) | (1 << CAMU_STREAM_SUBTITLE); #else @@ -31,7 +34,7 @@ static nn_thread_result NNWT_THREADCALL event_loop_thread(void *userdata) prefs->language.audio = CAMU_LANG_JAPANESE; prefs->language.subtitles = CAMU_LANG_ENGLISH; - if (!camu_desktop_connect(&c->desktop, &al_str_c("ctv"), &c->loop, CAMU_TEST_TYPE, &CAMU_TEST_ADDR, CAMU_PORT)) { + if (!camu_desktop_connect(&c->desktop, &al_str_c("ctv"), &c->loop, NNWT_SOCKET_TCP, &al_str_c(""), CAMU_PORT)) { return 0; } -- cgit v1.2.3-101-g0448