Chromium Code Reviews| Index: source/patched-ffmpeg-mt/libavcodec/libx264.c |
| =================================================================== |
| --- source/patched-ffmpeg-mt/libavcodec/libx264.c (revision 65184) |
| +++ source/patched-ffmpeg-mt/libavcodec/libx264.c (working copy) |
| @@ -294,6 +294,8 @@ |
| x4->params.b_interlaced = avctx->flags & CODEC_FLAG_INTERLACED_DCT; |
| + x4->params.i_slice_count = avctx->slices; |
| + |
| if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER) |
| x4->params.b_repeat_headers = 0; |