Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dalai@blender.org>2022-06-16 17:37:01 +0300
committerDalai Felinto <dalai@blender.org>2022-06-16 17:37:54 +0300
commit8b9469ec361594bc8401bf29d5a11f71895182b4 (patch)
tree6b1cb269c4c620fafd822e709835cfe101aebcd8
parent5a30fe29ef2e1f424df0403284b3ebba5644403f (diff)
Cleanup: Fix build for make lite and add . to code comments
Issue introduced on e6eefdd4020e.
-rw-r--r--source/blender/makesrna/intern/rna_scene.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 28fc2483ad3..9e2a1d81bd3 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2712,7 +2712,8 @@ static char *rna_FFmpegSettings_path(const PointerRNA *UNUSED(ptr))
return BLI_strdup("render.ffmpeg");
}
-/* FFMpeg Codec setting update hook */
+# ifdef WITH_FFMPEG
+/* FFMpeg Codec setting update hook. */
static void rna_FFmpegSettings_codec_update(Main *UNUSED(bmain),
Scene *UNUSED(scene),
PointerRNA *ptr)
@@ -2721,11 +2722,12 @@ static void rna_FFmpegSettings_codec_update(Main *UNUSED(bmain),
if (!ELEM(codec_data->codec, AV_CODEC_ID_H264, AV_CODEC_ID_MPEG4, AV_CODEC_ID_VP9)) {
/* Constant Rate Factor (CRF) setting is only available for H264,
* MPEG4 and WEBM/VP9 codecs. So changing encoder quality mode to
- * CBR as CRF is not supported
+ * CBR as CRF is not supported.
*/
codec_data->constant_rate_factor = FFM_CRF_NONE;
}
}
+# endif
#else