--- src/avoptions/codecselecter.cpp.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/avoptions/codecselecter.cpp 2013-08-01 11:44:14.606430704 +0200 @@ -44,14 +44,14 @@ /** * Ein Menü Eintrag wurde ausgewählt. - * \li Suche nach der FFmpeg \ref CodecID + * \li Suche nach der FFmpeg \ref AVCodecID * \li Sende bei erfolg das Signal \ref codecChanged */ void CodecSelecter::itemSelected ( int index ) { QString name = itemData ( index, Qt::DisplayRole ).toString(); bool ok; - CodecID id = static_cast ( itemData ( index, Qt::UserRole ).toUInt ( &ok ) ); + AVCodecID id = static_cast ( itemData ( index, Qt::UserRole ).toUInt ( &ok ) ); if ( ok ) emit codecChanged ( name, id ); } --- src/avoptions/formatmenu.h.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/avoptions/formatmenu.h 2013-08-01 11:44:35.259430907 +0200 @@ -66,9 +66,9 @@ public Q_SLOTS: /** clear and create a new menutree for this codec * \param name selected codec name - * \param id AVCodec CodecID + * \param id AVCodec AVCodecID */ - void updateMenu ( const QString &name, CodecID id ); + void updateMenu ( const QString &name, AVCodecID id ); public: /** --- src/avoptions/avoptions.cpp.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/avoptions/avoptions.cpp 2013-08-01 11:43:54.848430511 +0200 @@ -257,7 +257,7 @@ * inklusive ihrer Formate. Wird auch von \ref videoCodecs verwendet * um fest zu stellen ob ein Ausgabe Format zu verfügung steht! */ - const QList AVOptions::supportedFormats ( CodecID id ) + const QList AVOptions::supportedFormats ( AVCodecID id ) { QList list; // alle codecs und demuxer initialisieren --- src/avoptions/codecselecter.h.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/avoptions/codecselecter.h 2013-08-01 11:44:25.604430812 +0200 @@ -48,7 +48,7 @@ Q_SIGNALS: /** codec entry has changed */ - void codecChanged ( const QString &name, CodecID ); + void codecChanged ( const QString &name, AVCodecID ); public Q_SLOTS: /** marking codec as selected */ --- src/avoptions/avoptions.h.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/avoptions/avoptions.h 2013-08-01 11:44:50.731431058 +0200 @@ -45,7 +45,7 @@ */ typedef struct Q_DECL_EXPORT { - CodecID id; /**< Codec ID from avcodec.h */ + AVCodecID id; /**< Codec ID from avcodec.h */ QString name; /**< Codec Name */ QString fullname; /**< Full Codec Description */ QString info; /**< Extra Codec Information for Tool Tips */ @@ -124,7 +124,7 @@ static const QList audioCodecs(); /** find valid Format for given codecID */ - static const QList supportedFormats ( CodecID id ); + static const QList supportedFormats ( AVCodecID id ); /** complete list of all ~/.ffmpeg/?.ffpreset */ static const QStringList userPresets ( const QString &suffix ); --- src/avoptions/formatmenu.cpp.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/avoptions/formatmenu.cpp 2013-08-01 11:43:20.100430171 +0200 @@ -114,13 +114,13 @@ /** * Lese das Menü neu ein und setze den Button Text zurück. - * Lese mit \ref CodecID alle Unterstützen Formate für diesen + * Lese mit \ref AVCodecID alle Unterstützen Formate für diesen * Codec (\ref name) Neu ein. Und erstelle ein Menü mit den * einzelnen Formaten an. Im Moment fehlt noch seitens FFmpeg * die Unterstützung für die Standard Auswahl. Aus diesem Grund * wird hier zusätzlich auf \ref findDefaultExtension zugegriffen. */ - void FormatMenu::updateMenu ( const QString &name, CodecID id ) + void FormatMenu::updateMenu ( const QString &name, AVCodecID id ) { m_menu->clear(); p_ActionsList.clear(); --- src/settings/extensionselecter/extensionscombobox.cpp.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/settings/extensionselecter/extensionscombobox.cpp 2013-08-01 12:05:03.475442927 +0200 @@ -44,11 +44,11 @@ } /** -* Lese alle Erweterungen an Hand der CodecID ein und +* Lese alle Erweterungen an Hand der AVCodecID ein und * erstelle das Auswahl Menü! * TODO Alternativen aus Settings lesen! */ -void ExtensionsComboBox::insertExtensions ( CodecID id ) +void ExtensionsComboBox::insertExtensions ( AVCodecID id ) { if ( id == CODEC_ID_NONE ) return; --- src/settings/extensionselecter/extensionlineedit.h.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/settings/extensionselecter/extensionlineedit.h 2013-08-01 12:05:17.401443063 +0200 @@ -40,7 +40,7 @@ Q_CLASSINFO ( "URL", "http://qx11grab.hjcms.de" ) private: - void insertCompleter ( CodecID ); + void insertCompleter ( AVCodecID ); public Q_SLOTS: void setCompleterCodec ( const QString & ); --- src/settings/extensionselecter/extensionscombobox.h.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/settings/extensionselecter/extensionscombobox.h 2013-08-01 12:04:33.669442635 +0200 @@ -41,7 +41,7 @@ Q_CLASSINFO ( "URL", "http://qx11grab.hjcms.de" ) private: - void insertExtensions ( CodecID ); + void insertExtensions ( AVCodecID ); private Q_SLOTS: void updateItemList ( const QString & ); --- src/settings/extensionselecter/extensionlineedit.cpp.ORIG 2013-06-23 11:18:37.000000000 +0200 +++ src/settings/extensionselecter/extensionlineedit.cpp 2013-08-01 12:03:09.382441810 +0200 @@ -39,7 +39,7 @@ setValidator ( mask ); } -void ExtensionLineEdit::insertCompleter ( CodecID id ) +void ExtensionLineEdit::insertCompleter ( AVCodecID id ) { if ( id == CODEC_ID_NONE ) return;