Updating warning message to explicitly include reference to LLAMA_FFMPEG=1 to help users know exactly how to recompile with video support. Suggestion by @Galunid.

This commit is contained in:
Clint Herron 2024-09-17 17:04:25 -04:00
parent 0d083672dc
commit c713223367

View file

@ -163,7 +163,7 @@ static std::vector<clip_image_u8 *> extract_frames(const std::string& video_path
#else
static std::vector<clip_image_u8 *> extract_frames(const std::string& video_path, const int frame_num) {
LOG_TEE("%s: llama.cpp built without ffmpeg, processing video files is not supported.\n", __func__);
LOG_TEE("%s: llama.cpp built without ffmpeg, processing video files is not supported. Please recompile with LLAMA_FFMPEG=1 to add video support.\n", __func__);
return {};
}