From: | "Jeffrey Gardner (je_fro)" <je_fro@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/transcode/files: transcode-1.1.5-mpa.patch |
Date: | Sun, 04 Jul 2010 19:00:57 |
Message-Id: | 20100704190052.0E46A2C5F4@corvid.gentoo.org |
1 | je_fro 10/07/04 19:00:51 |
2 | |
3 | Added: transcode-1.1.5-mpa.patch |
4 | Log: |
5 | Fix mpa codec error, thanks to Harry in bug #318525. See http://www.mail-archive.com/transcode-users@×××××.org/msg02236.html |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-video/transcode/files/transcode-1.1.5-mpa.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/files/transcode-1.1.5-mpa.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/transcode/files/transcode-1.1.5-mpa.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: transcode-1.1.5-mpa.patch |
15 | =================================================================== |
16 | --- transcode-1.1.5-old/export/aud_aux.c 2010-07-04 12:44:31.867550180 -0500 |
17 | +++ transcode-1.1.5/export/aud_aux.c 2010-07-04 13:41:01.253292529 -0500 |
18 | @@ -347,6 +347,7 @@ |
19 | //-- set parameters (bitrate, channels and sample-rate) -- |
20 | //-------------------------------------------------------- |
21 | memset(&mpa_ctx, 0, sizeof(mpa_ctx)); // default all |
22 | + mpa_ctx.codec_type = CODEC_TYPE_AUDIO; |
23 | mpa_ctx.bit_rate = vob->mp3bitrate * 1000; // bitrate dest. |
24 | mpa_ctx.channels = vob->dm_chan; // channels |
25 | mpa_ctx.sample_rate = vob->a_rate; |