This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 4a4d89cd7635891343a249a06d04de837a4a1c5b Author: Jun Zhao <[email protected]> AuthorDate: Fri Aug 28 10:31:53 2026 +0800 Commit: Jun Zhao <[email protected]> CommitDate: Fri Sep 11 22:31:03 2026 +0000 avformat/mov: keep st3d type when merging vexu eyes vexu eyes/stri only records packed vs single-eye, not SBS/TB. Writing both boxes (MP4 with -strict unofficial) let that UNSPEC type overwrite the layout already parsed from st3d. Keep the more specific type so the file round-trips in ffprobe. Signed-off-by: Jun Zhao <[email protected]> --- libavformat/mov.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index f1fdff2ccd..59361cd30d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -7573,7 +7573,12 @@ static int mov_read_eyes(MOVContext *c, AVIOContext *pb, MOVAtom atom) } sc->stereo3d->flags = flags; - sc->stereo3d->type = type; + /* eyes/stri only records packed vs single-eye, not SBS/TB. Keep a more + * specific type already set by st3d. */ + if (type != AV_STEREO3D_UNSPEC) + sc->stereo3d->type = type; + else if (sc->stereo3d->type == AV_STEREO3D_2D) + sc->stereo3d->type = type; sc->stereo3d->view = view; sc->stereo3d->primary_eye = primary_eye; sc->stereo3d->baseline = baseline; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
