| Index: source/patched-ffmpeg-mt/libavcodec/libxvidff.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavcodec/libxvidff.c (revision 65184)
|
| +++ source/patched-ffmpeg-mt/libavcodec/libxvidff.c (working copy)
|
| @@ -449,7 +449,11 @@
|
| xvid_enc_frame.vop_flags = x->vop_flags;
|
| xvid_enc_frame.vol_flags = x->vol_flags;
|
| xvid_enc_frame.motion = x->me_flags;
|
| - xvid_enc_frame.type = XVID_TYPE_AUTO;
|
| + xvid_enc_frame.type =
|
| + picture->pict_type == FF_I_TYPE ? XVID_TYPE_IVOP :
|
| + picture->pict_type == FF_P_TYPE ? XVID_TYPE_PVOP :
|
| + picture->pict_type == FF_B_TYPE ? XVID_TYPE_BVOP :
|
| + XVID_TYPE_AUTO;
|
|
|
| /* Pixel aspect ratio setting */
|
| if (avctx->sample_aspect_ratio.num < 1 || avctx->sample_aspect_ratio.num > 255 ||
|
|
|