[FFmpeg-cvslog] libx264: Allow Stereo3D monoscopic value

Vittorio Giovara git at videolan.org
Thu May 12 15:29:43 CEST 2016


ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Apr 11 17:28:25 2016 -0400| [9e2af0e9071a1229cfe21efff394691d91f979b2] | committer: Vittorio Giovara

libx264: Allow Stereo3D monoscopic value

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e2af0e9071a1229cfe21efff394691d91f979b2
---

 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;



More information about the ffmpeg-cvslog mailing list