Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 225117 Details for
Bug 311139
media-libs/faac-1.28-r1 ignores bitrate
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
frame.c.patch (text/plain), 1.50 KB, created by
wbrana
on 2010-03-24 15:57:01 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
wbrana
Created:
2010-03-24 15:57:01 UTC
Size:
1.50 KB
patch
obsolete
>--- libfaac/frame.c.orig 2004-11-17 15:26:06.000000000 +0100 >+++ libfaac/frame.c 2010-03-24 16:00:05.000000000 +0100 >@@ -16,7 +16,7 @@ > * License along with this library; if not, write to the Free Software > * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > * >- * $Id: frame.c,v 1.67 2004/11/17 14:26:06 menno Exp $ >+ * $Id: frame.c,v 1.68 2009/06/05 16:09:38 menno Exp $ > */ > > /* >@@ -196,6 +196,7 @@ > {47000, 10000}, > {64000, 16000}, > {76000, 20000}, >+ {128000, 20000}, > #endif > {0, 0} > }; >@@ -242,8 +243,6 @@ > config->bitRate = tmpbitRate * hEncoder->sampleRate / 44100; > #endif > >- if (config->bandWidth > bwbase) >- config->bandWidth = bwbase; > } > > hEncoder->config.bitRate = config->bitRate; >@@ -328,8 +327,6 @@ > hEncoder->config.useTns = 0; > hEncoder->config.bitRate = 0; /* default bitrate / channel */ > hEncoder->config.bandWidth = bwfac * hEncoder->sampleRate; >- if (hEncoder->config.bandWidth > bwbase) >- hEncoder->config.bandWidth = bwbase; > hEncoder->config.quantqual = 100; > hEncoder->config.psymodellist = (psymodellist_t *)psymodellist; > hEncoder->config.psymodelidx = 0; >@@ -1116,6 +1113,9 @@ > > /* > $Log: frame.c,v $ >+Revision 1.68 2009/06/05 16:09:38 menno >+Allow higher bitrates >+ > Revision 1.67 2004/11/17 14:26:06 menno > Infinite loop fix > dunno if this is good, encoder might be tuned to use energies from before MS encoding. But since the MS encoded samples are used in quantisation this might actually be better. Please test.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 311139
:
225117
|
225125