~ubuntu-branches/ubuntu/feisty/avidemux/feisty

« back to all changes in this revision

Viewing changes to avidemux/oplug_avi/op_avisave.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christian Marillat
  • Date: 2005-05-25 13:02:29 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050525130229-jw94cav0yhmg7vjw
Tags: 1:2.0.40-0.0
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 *   (at your option) any later version.                                   *
15
15
 *                                                                         *
16
16
 ***************************************************************************/
 
17
 
 
18
 /*
 
19
* MODIFIED BY GMV 30.1.05: prepared for ODML
 
20
*/
 
21
 
17
22
#include "config.h"
18
23
 
19
24
#include <stdio.h>
333
338
        encoding_gui=new DIA_encoding(25000);
334
339
        encoding_gui->setCodec("Copy");
335
340
        encoding_gui->setFrame (0, 100);
 
341
        encoding_gui->setContainer("Avi");
336
342
 
337
343
}
338
344
 
382
388
//
383
389
uint8_t   GenericAviSave::reigniteChunk( uint32_t dataLen, uint8_t *data )
384
390
{
 
391
        // MOD Feb 2005 by GMV: ODML exit
 
392
        if(writter->doODML!=aviWrite::NO)return 1;      // exit if odml has to be used
 
393
        // END MOD Feb 2005 by GMV
 
394
        
385
395
            // first end up the current chunk
386
396
                writter->setEnd ();
387
397
                        delete       writter;
456
466
                case (WAV_AMRNB): return (const char *)"AMR narrow band";
457
467
                case (WAV_MSADPCM): return (const char *)"MSADPCM";
458
468
                case (WAV_ULAW): return (const char *)"ULAW";
 
469
                case WAV_8BITS_UNSIGNED:return (const char *)"PCM 8bits";
459
470
        }
460
471
 
461
472
        return (const char *)"Unknown codec";