Module: libav
Branch: master
Commit: 9e2af0e9071a1229cfe21efff394691d91f979b2

Author:    Vittorio Giovara <[email protected]>
Committer: Vittorio Giovara <[email protected]>
Date:      Mon Apr 11 17:28:25 2016 -0400

libx264: Allow Stereo3D monoscopic value

---

 libavcodec/libx264.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 8d72f1c..84678cb 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to