QTfrontend/util/libav_iteraction.h
changeset 7280 fd707afbc3a2
parent 7235 baa69bd025d9
child 7631 01b599d6f72d
equal deleted inserted replaced
7278:000e4543f204 7280:fd707afbc3a2
    32 
    32 
    33 public:
    33 public:
    34 
    34 
    35     static LibavIteraction & instance();
    35     static LibavIteraction & instance();
    36 
    36 
    37     void FillFormats(QComboBox * pFormats);
    37     // fill combo box with known file formats
    38     void FillCodecs(const QVariant & format, QComboBox * pVCodecs, QComboBox * pACodecs);
    38     void fillFormats(QComboBox * pFormats);
       
    39 
       
    40     // fill combo boxes with known codecs for given formats
       
    41     void fillCodecs(const QString & format, QComboBox * pVCodecs, QComboBox * pACodecs);
       
    42 
       
    43     QString getExtension(const QString & format);
       
    44 
       
    45     // get information about file (duration, resolution etc) in multiline string
       
    46     QString getFileInfo(const QString & filepath);
    39 };
    47 };
    40 
    48 
    41 #endif // LIBAV_ITERACTION
    49 #endif // LIBAV_ITERACTION