/***************************************************************************
    copyright            : (C) 2007 by mean
    email                : fixounet@free.fr
    
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
#include "ADM_default.h"
#include "ADM_muxerInternal.h"
#include "muxerAvi.h"
#define ADM_MINIMAL_UI_INTERFACE
#include "DIA_factory.h"
#include "fourcc.h"
extern "C" bool AviConfigure(void)
{
        uint32_t fmt=(uint32_t)muxerConfig.odmlType;
        diaMenuEntry format[]={{AVI_MUXER_TYPE1,"Avi"},{AVI_MUXER_AUTO,"AUTO"},{AVI_MUXER_TYPE2,"OPENDML"}};
        diaElemMenu  menuFormat(&fmt,"Muxing Format",3,format,"");

        diaElem *tabs[]={&menuFormat};
        if( diaFactoryRun(("Avi Muxer"),1,tabs))
        {
            muxerConfig.odmlType=fmt;
            return true;
        }
        return false;
}


