1 /***************************************************************************
2     copyright            : (C) 2007 by mean
3     email                : fixounet@free.fr
4 
5 
6  ***************************************************************************/
7 
8 /***************************************************************************
9  *                                                                         *
10  *   This program is free software; you can redistribute it and/or modify  *
11  *   it under the terms of the GNU General Public License as published by  *
12  *   the Free Software Foundation; either version 2 of the License, or     *
13  *   (at your option) any later version.                                   *
14  *                                                                         *
15  ***************************************************************************/
16 #include "ADM_default.h"
17 #include "raw_muxer.h"
18 #include "DIA_factory.h"
19 
20 raw_muxer muxerConfig={0};
21 
22 /**
23     \fn rawConfigure
24 */
rawConfigure(void)25 bool rawConfigure(void)
26 {
27     bool annexb=(bool)muxerConfig.requestAnnexB;
28 
29     diaElemToggle chkbox(&annexb,QT_TRANSLATE_NOOP("rawmuxer","Prefer Annex B type stream"));
30 
31     diaElem *tab[]={&chkbox};
32     if(diaFactoryRun(QT_TRANSLATE_NOOP("rawmuxer","Video Only Muxer Settings"),1,tab))
33     {
34         muxerConfig.requestAnnexB=annexb;
35         return true;
36     }
37     return false;
38 }
39 // EOF
40