From 9e2af0e9071a1229cfe21efff394691d91f979b2 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 11 Apr 2016 17:28:25 -0400 Subject: libx264: Allow Stereo3D monoscopic value --- libavcodec/libx264.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec') diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 8d72f1caa0..84678cb2e9 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; -- cgit v1.2.3