View | Details | Raw Unified | Return to bug 270275
Collapse All | Expand All

(-)b/graphics/blender/files/patch-source_blender_blenkernel_intern_writeffmpeg.c (+11 lines)
Added Link Here
1
--- source/blender/blenkernel/intern/writeffmpeg.c.orig	2022-11-08 13:50:16 UTC
2
+++ source/blender/blenkernel/intern/writeffmpeg.c
3
@@ -855,7 +855,7 @@ static AVStream *alloc_video_stream(FFMpegContext *con
4
                                                             255);
5
   st->avg_frame_rate = av_inv_q(c->time_base);
6
 
7
-  if (codec->capabilities & AV_CODEC_CAP_AUTO_THREADS) {
8
+  if (codec->capabilities & AV_CODEC_CAP_OTHER_THREADS) {
9
     c->thread_count = 0;
10
   }
11
   else {
(-)b/graphics/blender/files/patch-source_blender_imbuf_intern_anim__movie.c (+11 lines)
Added Link Here
1
--- source/blender/imbuf/intern/anim_movie.c.orig	2022-11-04 00:33:07 UTC
2
+++ source/blender/imbuf/intern/anim_movie.c
3
@@ -554,7 +554,7 @@ static int startffmpeg(struct anim *anim)
4
   avcodec_parameters_to_context(pCodecCtx, video_stream->codecpar);
5
   pCodecCtx->workaround_bugs = FF_BUG_AUTODETECT;
6
 
7
-  if (pCodec->capabilities & AV_CODEC_CAP_AUTO_THREADS) {
8
+  if (pCodec->capabilities & AV_CODEC_CAP_OTHER_THREADS) {
9
     pCodecCtx->thread_count = 0;
10
   }
11
   else {
(-)b/graphics/blender/files/patch-source_blender_imbuf_intern_indexer.c (+20 lines)
Added Link Here
1
--- source/blender/imbuf/intern/indexer.c.orig	2022-11-04 00:33:07 UTC
2
+++ source/blender/imbuf/intern/indexer.c
3
@@ -559,7 +559,7 @@ static struct proxy_output_ctx *alloc_proxy_output_ffm
4
   av_dict_set(&codec_opts, "preset", "veryfast", 0);
5
   av_dict_set(&codec_opts, "tune", "fastdecode", 0);
6
 
7
-  if (rv->codec->capabilities & AV_CODEC_CAP_AUTO_THREADS) {
8
+  if (rv->codec->capabilities & AV_CODEC_CAP_OTHER_THREADS) {
9
     rv->c->thread_count = 0;
10
   }
11
   else {
12
@@ -872,7 +872,7 @@ static IndexBuildContext *index_ffmpeg_create_context(
13
   avcodec_parameters_to_context(context->iCodecCtx, context->iStream->codecpar);
14
   context->iCodecCtx->workaround_bugs = FF_BUG_AUTODETECT;
15
 
16
-  if (context->iCodec->capabilities & AV_CODEC_CAP_AUTO_THREADS) {
17
+  if (context->iCodec->capabilities & AV_CODEC_CAP_OTHER_THREADS) {
18
     context->iCodecCtx->thread_count = 0;
19
   }
20
   else {

Return to bug 270275