[vlc-commits] demux: mp4: use bitrate info from esds
Francois Cartegnie
git at videolan.org
Mon Oct 10 16:07:15 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Oct 10 16:05:44 2016 +0200| [25977de3a47a13c084fe934c2a015a199ea31ecb] | committer: Francois Cartegnie
demux: mp4: use bitrate info from esds
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=25977de3a47a13c084fe934c2a015a199ea31ecb
---
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 efd4b55..b1ddaf4 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -149,6 +149,8 @@ static void SetupESDS( demux_t *p_demux, mp4_track_t *p_track, const MP4_descrip
break;
}
+ p_track->fmt.i_bitrate = p_decconfig->i_avg_bitrate;
+
p_track->fmt.i_extra = p_decconfig->i_decoder_specific_info_len;
if( p_track->fmt.i_extra > 0 )
{
More information about the vlc-commits
mailing list