[vlc-commits] mux: mp4: set visible dimensions in stsd instead of buffer
Francois Cartegnie
git at videolan.org
Fri May 3 11:29:32 CEST 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 3 11:15:54 2019 +0200| [28a53e60cae1e7ffedcf50860becb2bbaf0178ae] | committer: Francois Cartegnie
mux: mp4: set visible dimensions in stsd instead of buffer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28a53e60cae1e7ffedcf50860becb2bbaf0178ae
---
modules/mux/mp4/libmp4mux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index 262fd4233f..32b6994043 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -1164,8 +1164,8 @@ static bo_t *GetVideBox(vlc_object_t *p_obj, mp4mux_trackinfo_t *p_track, bool b
for (int i = 0; i < 3; i++)
bo_add_32be(vide, 0); // predefined;
- bo_add_16be(vide, p_track->fmt.video.i_width); // i_width
- bo_add_16be(vide, p_track->fmt.video.i_height); // i_height
+ bo_add_16be(vide, p_track->fmt.video.i_visible_width); // i_width
+ bo_add_16be(vide, p_track->fmt.video.i_visible_height); // i_height
bo_add_32be(vide, 0x00480000); // h 72dpi
bo_add_32be(vide, 0x00480000); // v 72dpi
More information about the vlc-commits
mailing list