| Index: source/patched-ffmpeg-mt/libavcodec/libvpxenc.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavcodec/libvpxenc.c (revision 65184)
|
| +++ source/patched-ffmpeg-mt/libavcodec/libvpxenc.c (working copy)
|
| @@ -338,8 +338,8 @@
|
| av_log(avctx, AV_LOG_DEBUG, "vpx_codec_control\n");
|
| codecctl_int(avctx, VP8E_SET_CPUUSED, cpuused);
|
| codecctl_int(avctx, VP8E_SET_NOISE_SENSITIVITY, avctx->noise_reduction);
|
| + codecctl_int(avctx, VP8E_SET_TOKEN_PARTITIONS, av_log2(avctx->slices));
|
| codecctl_int(avctx, VP8E_SET_ENABLEAUTOALTREF, !!(avctx->flags2 & CODEC_FLAG2_ALT_REF));
|
| - codecctl_int(avctx, VP8E_SET_TOKEN_PARTITIONS, av_log2(avctx->token_partitions));
|
|
|
| //provide dummy value to initialize wrapper, values will be updated each _encode()
|
| vpx_img_wrap(&ctx->rawimg, VPX_IMG_FMT_I420, avctx->width, avctx->height, 1,
|
|
|