From: Vittorio Giovara Date: Mon, 11 Apr 2016 21:28:25 +0000 (-0400) Subject: libx264: Allow Stereo3D monoscopic value X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9e2af0e9071a1229cfe21efff394691d91f979b2;hp=a08b5d7b5725932f4ad39e95c5d6589392dee2c6;p=ffmpeg libx264: Allow Stereo3D monoscopic value --- diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 8d72f1caa04..84678cb2e91 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -209,6 +209,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;