[vlc-commits] mux: mp4: set hdr boxes for all codecs
Francois Cartegnie
git at videolan.org
Tue Jul 2 15:43:27 CEST 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 27 11:32:11 2019 +0200| [ecde0bd9c2c188bea31753402890a89a0b1a30e4] | committer: Francois Cartegnie
mux: mp4: set hdr boxes for all codecs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecde0bd9c2c188bea31753402890a89a0b1a30e4
---
modules/mux/mp4/libmp4mux.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index a5d74ffeed..37debdaf66 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -1203,8 +1203,6 @@ static bo_t *GetVideBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b
case VLC_CODEC_AV1:
box_gather(vide, GetxxxxTag(p_extradata, i_extradata, "av1C"));
box_gather(vide, GetColrBox(&p_track->fmt.video, b_mov));
- box_gather(vide, GetMdcv(&p_track->fmt.video));
- box_gather(vide, GetClli(&p_track->fmt.video));
break;
case VLC_CODEC_MP4V:
@@ -1234,6 +1232,9 @@ static bo_t *GetVideBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b
break;
}
+ box_gather(vide, GetMdcv(&p_track->fmt.video));
+ box_gather(vide, GetClli(&p_track->fmt.video));
+
return vide;
}
More information about the vlc-commits
mailing list