summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-05-11 15:10:54 -0400
committerAndrew Opalach <andrew@akon.city> 2025-05-11 15:10:54 -0400
commitcb342b234defc1205de5d8b10ddf79deae0a551a (patch)
tree135a8f17ef297dcfa71cfa24de0170797add999e /tests
parentbbdc4ed66aa171f89f675aa1c82316477d5fd47e (diff)
downloadcamu-cb342b234defc1205de5d8b10ddf79deae0a551a.tar.gz
camu-cb342b234defc1205de5d8b10ddf79deae0a551a.tar.bz2
camu-cb342b234defc1205de5d8b10ddf79deae0a551a.zip
Add keybind to disable scaling filter
- Fix no FFmpeg build. - Cleanup commented code from cmc ui. Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'tests')
-rw-r--r--tests/cue_splitter.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cue_splitter.c b/tests/cue_splitter.c
index f34ec83..833d3ac 100644
--- a/tests/cue_splitter.c
+++ b/tests/cue_splitter.c
@@ -4,6 +4,7 @@
#include <nnwt/file.h>
#include <libcue.h>
+#ifdef CAMU_HAVE_FFMPEG
#include "../src/codec/codec.h"
#include "../src/codec/ffmpeg/demuxer.h"
#include "../src/codec/ffmpeg/decoder.h"
@@ -23,6 +24,7 @@ struct worker_info {
static void data_callback(void *userdata, struct camu_codec_frame *frame)
{
struct worker_info *info = (struct worker_info *)userdata;
+ (void)info;
(void)frame;
}
@@ -118,6 +120,8 @@ s32 main(s32 argc, char *argv[])
return EXIT_FAILURE;
}
+ (void)worker_thread;
+
str input_path = al_str_cr(argv[1]);
struct nn_file input;
if (!nn_file_open(&input, &input_path, NNWT_FILE_READONLY)) {
@@ -190,3 +194,9 @@ s32 main(s32 argc, char *argv[])
return EXIT_SUCCESS;
}
+#else
+s32 main(void)
+{
+ return EXIT_FAILURE;
+}
+#endif