From fb4a4c572f640e9a136a61807720c15481322bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Fri, 3 Nov 2023 08:25:35 -0300 Subject: [PATCH] Fixed minimal builds. --- mrv2/lib/mrvFl/mrvSaveMovie.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mrv2/lib/mrvFl/mrvSaveMovie.cpp b/mrv2/lib/mrvFl/mrvSaveMovie.cpp index 0a3bab231..ad7000679 100644 --- a/mrv2/lib/mrvFl/mrvSaveMovie.cpp +++ b/mrv2/lib/mrvFl/mrvSaveMovie.cpp @@ -295,6 +295,7 @@ namespace mrv if (hasVideo) { +#ifdef TLRENDER_FFMPEG if (static_cast(options.ffmpegAudioCodec) == ffmpeg::AudioCodec::None) snprintf( @@ -306,6 +307,12 @@ namespace mrv title, 1024, _("Saving Movie with Audio %" PRId64 " - %" PRId64), startFrame, endFrame); +#else + snprintf( + title, 1024, + _("Saving Pictures without Audio %" PRId64 " - %" PRId64), + startFrame, endFrame); +#endif } else {