Skip to content

Commit 60420ff

Browse files
committed
fix: leave thread_type to any
1 parent c839d8b commit 60420ff

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/modules/ffmpeg/producer/av_producer.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ class Decoder
133133
}
134134
}
135135

136-
if (codec->capabilities & AV_CODEC_CAP_SLICE_THREADS) {
137-
ctx->thread_type = FF_THREAD_SLICE;
138-
}
139-
140136
FF(avcodec_open2(ctx.get(), codec, nullptr));
141137

142138
thread = boost::thread([=]()

0 commit comments

Comments
 (0)