]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libx264.c
libx264: Allow Stereo3D monoscopic value
[ffmpeg] / libavcodec / libx264.c
index 8d72f1caa04c6aee2359451c0dcfd8593ad644f9..84678cb2e91cbc74f8ea19843405ab93d65c230f 100644 (file)
@@ -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;