/***************************************************************************
    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 "muxerMkv.h"
#define ADM_MINIMAL_UI_INTERFACE
#include "DIA_factory.h"
#include "fourcc.h" 
bool mkvConfigure(void)
{
        bool force=mkvMuxerConfig.forceDisplayWidth;
        uint32_t displayWidth=(uint32_t)mkvMuxerConfig.displayWidth;

        diaElemToggle   alternate(&force,"Force display width");
        diaElemUInteger dWidth(&displayWidth,"Display width",16,65535);

        diaElem *tabs[]={&alternate,&dWidth};
        if( diaFactoryRun(("MKV Muxer"),2,tabs))
        {
            mkvMuxerConfig.forceDisplayWidth=(bool)force;
            mkvMuxerConfig.displayWidth=displayWidth;
            return true;
        }
        return false;

}


