projects
/
fdkaac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af8fa38
)
retrieve bitrate for tool tag with aacEncoder_GetParam()
author
nu774
<honeycomb77@gmail.com>
Sun, 6 Jan 2013 04:26:19 +0000
(13:26 +0900)
committer
nu774
<honeycomb77@gmail.com>
Sun, 6 Jan 2013 04:26:19 +0000
(13:26 +0900)
src/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/main.c
b/src/main.c
index 5318fdbf41ce03cf473bca5c24d3b1ed864bc7ff..41ea73181187c2c68116d886683b468916a581e1 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-409,7
+409,8
@@
int finalize_m4a(m4af_writer_t *m4af, const aacenc_param_ex_t *params,
if (params->bitrate_mode)
sprintf(p, "VBR mode %d", params->bitrate_mode);
else
- sprintf(p, "CBR %dkbps", params->bitrate / 1000);
+ sprintf(p, "CBR %dkbps",
+ aacEncoder_GetParam(encoder, AACENC_BITRATE) / 1000);
m4af_add_itmf_string_tag(m4af, M4AF_TAG_TOOL, tool_info);
}
This page took
0.011601 seconds
and
4
git commands to generate.