[vlc-commits] packetizer: mpeg4audio: fix debug info
Francois Cartegnie
git at videolan.org
Tue Feb 28 17:30:39 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Feb 28 11:53:56 2017 +0100| [5e10aadb2ec75b398c382779625fe248bd5b50b2] | committer: Francois Cartegnie
packetizer: mpeg4audio: fix debug info
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e10aadb2ec75b398c382779625fe248bd5b50b2
---
modules/packetizer/mpeg4audio.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/packetizer/mpeg4audio.c b/modules/packetizer/mpeg4audio.c
index e69a882..608481a 100644
--- a/modules/packetizer/mpeg4audio.c
+++ b/modules/packetizer/mpeg4audio.c
@@ -275,9 +275,11 @@ static int OpenPacketizer(vlc_object_t *p_this)
p_dec->fmt_out.audio.i_frame_length = asc.i_frame_length;
p_dec->fmt_out.audio.i_channels = asc.i_channel;
- /* This is not 100% guaranteed (overriden by ext) */
- msg_Dbg(p_dec, "AAC %dHz %d samples/frame",
- p_dec->fmt_out.audio.i_rate,
+ msg_Dbg(p_dec, "%sAAC%s %dHz %d samples/frame",
+ (asc.i_sbr) ? "HE-" : "",
+ (asc.i_ps) ? "v2" : "",
+ (asc.i_sbr) ? p_dec->fmt_out.audio.i_rate << 1
+ : p_dec->fmt_out.audio.i_rate,
p_dec->fmt_out.audio.i_frame_length);
}
More information about the vlc-commits
mailing list