~ubuntu-branches/ubuntu/trusty/lame/trusty-proposed

« back to all changes in this revision

Viewing changes to ACM/AEncodeProperties.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Andres Mejia
  • Date: 2011-07-28 19:14:03 UTC
  • mfrom: (1.2.1 upstream) (10 maverick)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20110728191403-jbdct7czfqvei8q6
Tags: 3.98.4+repack2-1
* Update debian/copyright to reflect replacement of portableio code from
  upstream.
* Update README.source to mention change of portableio code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
/*!
24
24
        \author Steve Lhomme
25
 
        \version \$Id: AEncodeProperties.cpp,v 1.9 2006/12/25 21:37:34 robert Exp $
 
25
        \version \$Id: AEncodeProperties.cpp,v 1.9.8.1 2008/11/01 20:41:47 robert Exp $
26
26
*/
27
27
 
28
28
#if !defined(STRICT)
1329
1329
        {
1330
1330
                tmpElt = new TiXmlElement("Smart");
1331
1331
                SetAttributeBool( tmpElt, "use", bSmartOutput);
1332
 
                tmpElt->SetAttribute("ratio", SmartRatioMax);
 
1332
                tmpElt->SetAttribute("ratio", int(SmartRatioMax));
1333
1333
                the_element->InsertEndChild(*tmpElt);
1334
1334
        }
1335
1335
        else
1336
1336
        {
1337
1337
                SetAttributeBool( tmpElt, "use", bSmartOutput);
1338
 
                tmpElt->SetAttribute("ratio", SmartRatioMax);
 
1338
                tmpElt->SetAttribute("ratio", int(SmartRatioMax));
1339
1339
        }
1340
1340
 
1341
1341
        // Smart Output parameter