diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 5030d65f79..e547164743 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -244,6 +244,11 @@ static void reconfig_encoder(AVCodecContext *ctx, const AVFrame *frame) case AV_STEREO3D_FRAMESEQUENCE: fpa_type = 5; break; +#if X264_BUILD >= 145 + case AV_STEREO3D_2D: + fpa_type = 6; + break; +#endif default: fpa_type = -1; break;