@@ -863,7 +863,7 @@ static AVStream *alloc_video_stream(FFMpegContext *context,
|
||||
255);
|
||||
st->avg_frame_rate = av_inv_q(c->time_base);
|
||||
|
||||
if (codec->capabilities & AV_CODEC_CAP_AUTO_THREADS) {
|
||||
if (codec->capabilities & AV_CODEC_CAP_OTHER_THREADS) {
|
||||
c->thread_count = 0;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user