Advertisement
Guest User

Untitled

a guest
May 20th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (format)
  2.     {
  3.         QList<QAVCodec> encoders = QAVCodec::getCodecs(QAVCodec::Encoder, QAVCodec::MT_Audio);
  4.         for (QList<QAVCodec>::ConstIterator it=encoders.constBegin(); it!=encoders.constEnd(); ++it)
  5.             if (format.queryCodec(*it))
  6.                 ui->cmbCodec->addItem((*it).longName(), (*it).id());
  7.         ui->lblFormatName->setText(format.name());
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement