This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
mpeg1video: fix regression with slices != threads
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer
13 years ago
parent
03df972016
commit
a01679586c
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/mpegvideo_enc.c
+ 1
- 1
libavcodec/mpegvideo_enc.c
View File
@@ -637,7 +637,7 @@ av_cold int ff_MPV_encode_init(AVCodecContext *avctx)
return -1;
}
if (s->avctx->thread_count > 1)
if (s->avctx->
slices > 1 || s->avctx->
thread_count > 1)
s->rtp_mode = 1;
if (s->avctx->thread_count > 1 && s->codec_id == AV_CODEC_ID_H263P)
Write
Preview
Loading…
Cancel
Save