[FFmpeg-cvslog] avformat/movenc: allow st3d and sv3d mov atoms to be written in strict unofficial mode

James Almer git at videolan.org
Tue Mar 28 01:11:15 EEST 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Mar 27 17:10:33 2017 -0300| [86dee47e397fe6bb0907adae8d4a54138a947646] | committer: James Almer

avformat/movenc: allow st3d and sv3d mov atoms to be written in strict unofficial mode

They are unofficial extensions to the format for the time being, not
an experimental feature.

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

 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 0891e72..a660645 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1962,7 +1962,7 @@ static int mov_write_video_tag(AVIOContext *pb, MOVMuxContext *mov, MOVTrack *tr
             av_log(mov->fc, AV_LOG_WARNING, "Not writing 'colr' atom. Format is not MOV or MP4.\n");
     }
 
-    if (track->mode == MODE_MP4 && mov->fc->strict_std_compliance <= FF_COMPLIANCE_EXPERIMENTAL) {
+    if (track->mode == MODE_MP4 && mov->fc->strict_std_compliance <= FF_COMPLIANCE_UNOFFICIAL) {
         AVStereo3D* stereo_3d = (AVStereo3D*) av_stream_get_side_data(track->st, AV_PKT_DATA_STEREO3D, NULL);
         AVSphericalMapping* spherical_mapping = (AVSphericalMapping*)av_stream_get_side_data(track->st, AV_PKT_DATA_SPHERICAL, NULL);
 



More information about the ffmpeg-cvslog mailing list