[vlc-commits] demux: mp4: set AVC profile/level

Francois Cartegnie git at videolan.org
Thu Jul 19 13:52:22 CEST 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 19 13:39:53 2018 +0200| [0907e4de305197a3d1110b4a5ac52e90e935a9ed] | committer: Francois Cartegnie

demux: mp4: set AVC profile/level

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0907e4de305197a3d1110b4a5ac52e90e935a9ed
---

 modules/demux/mp4/essetup.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 1181119069..373f1eab51 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -611,6 +611,8 @@ int SetupVideoES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
 
             if( p_avcC && BOXDATA(p_avcC) )
             {
+                p_track->fmt.i_profile = BOXDATA(p_avcC)->i_profile;
+                p_track->fmt.i_level = BOXDATA(p_avcC)->i_level;
                 p_track->fmt.i_extra = BOXDATA(p_avcC)->i_avcC;
                 if( p_track->fmt.i_extra > 0 )
                 {



More information about the vlc-commits mailing list