diff options
author | Michal Benes <michal.benes@itonis.tv> | 2006-08-10 17:09:10 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-08-10 17:09:10 +0000 |
commit | b791f8e9411e62ac12ca7d86e560e416b7f5bb67 (patch) | |
tree | f2967da4555941509d352ef541bd8426895b12e4 /ext/faac | |
parent | d690153ea34e72333f7624839688e6ff5458f24b (diff) | |
download | gst-plugins-bad-b791f8e9411e62ac12ca7d86e560e416b7f5bb67.tar.gz gst-plugins-bad-b791f8e9411e62ac12ca7d86e560e416b7f5bb67.tar.bz2 gst-plugins-bad-b791f8e9411e62ac12ca7d86e560e416b7f5bb67.zip |
ext/faac/gstfaac.c: Bitrate in the faac structure is per output channel, not total bitrate (#350741).
Original commit message from CVS:
Patch by: Michal Benes <michal.benes at itonis tv>
* ext/faac/gstfaac.c: (gst_faac_configure_source_pad):
Bitrate in the faac structure is per output channel,
not total bitrate (#350741).
Diffstat (limited to 'ext/faac')
-rw-r--r-- | ext/faac/gstfaac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index 60bf67b3..e02986ea 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -30,7 +30,7 @@ "width = (int) 16, " \ "depth = (int) 16, " \ "rate = (int) [ 8000, 96000 ], " \ - "channels = (int) [ 1, 6] " + "channels = (int) [ 1, 6 ] " /* these don't seem to work? */ #if 0 @@ -401,7 +401,7 @@ gst_faac_configure_source_pad (GstFaac * faac) conf->allowMidside = faac->midside; conf->useLfe = 0; conf->useTns = faac->tns; - conf->bitRate = faac->bitrate; + conf->bitRate = faac->bitrate / faac->channels; conf->inputFormat = faac->format; conf->outputFormat = faac->outputformat; conf->shortctl = faac->shortctl; |