summaryrefslogtreecommitdiff
path: root/src/fruits/cmv
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-11-17 15:26:17 -0500
committerAndrew Opalach <andrew@akon.city> 2024-11-17 15:26:17 -0500
commit588b6d8bfa1b2efdebf8c424c86f6069cceafa41 (patch)
tree545308813e9ae19d3293b78c7cb39555a64c0abe /src/fruits/cmv
parent58d38d767442c83e31ae6dbaea7b1fc8ccb00633 (diff)
downloadcamu-588b6d8bfa1b2efdebf8c424c86f6069cceafa41.tar.gz
camu-588b6d8bfa1b2efdebf8c424c86f6069cceafa41.tar.bz2
camu-588b6d8bfa1b2efdebf8c424c86f6069cceafa41.zip
Rough subtitles implementation, improve buffers
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/fruits/cmv')
-rw-r--r--src/fruits/cmv/cmv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fruits/cmv/cmv.c b/src/fruits/cmv/cmv.c
index 96b6f75..0fe33ad 100644
--- a/src/fruits/cmv/cmv.c
+++ b/src/fruits/cmv/cmv.c
@@ -61,7 +61,9 @@ s32 wmain(s32 argc, wchar_t **argv)
signal(SIGINT, sigint_handler);
+#ifdef CAMU_HAVE_FFMPEG
camu_ff_set_default_log_callback();
+#endif
aki_event_loop_init(&c.loop);
@@ -132,7 +134,9 @@ s32 wmain(s32 argc, wchar_t **argv)
out:
aki_event_loop_destroy(&c.loop);
+#ifdef CAMU_HAVE_FFMPEG
camu_ff_free_default_log_callback();
+#endif
stl_global_close();
aki_common_close();