aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-04-11 17:28:25 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-04-21 12:24:35 -0400
commit9e2af0e9071a1229cfe21efff394691d91f979b2 (patch)
tree4b9e3b5a0f36e95ab036e473bf2fb5297798c706 /libavcodec
parenta08b5d7b5725932f4ad39e95c5d6589392dee2c6 (diff)
downloadffmpeg-9e2af0e9071a1229cfe21efff394691d91f979b2.tar.gz
libx264: Allow Stereo3D monoscopic value
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libx264.c5
1 files changed, 5 insertions, 0 deletions
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;