Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 354812 Details for
Bug 479392
media-video/qx11grab needs a patch for ffmpeg-2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for ffmpeg-2
qx11grab-0.4.8-ffmpeg2.patch (text/plain), 5.62 KB, created by
Helmut Jarausch
on 2013-08-01 12:05:52 UTC
(
hide
)
Description:
patch for ffmpeg-2
Filename:
MIME Type:
Creator:
Helmut Jarausch
Created:
2013-08-01 12:05:52 UTC
Size:
5.62 KB
patch
obsolete
>--- 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<CodecID> ( itemData ( index, Qt::UserRole ).toUInt ( &ok ) ); >+ AVCodecID id = static_cast<AVCodecID> ( 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<QX11Grab::FFFormat> AVOptions::supportedFormats ( CodecID id ) >+ const QList<QX11Grab::FFFormat> AVOptions::supportedFormats ( AVCodecID id ) > { > QList<QX11Grab::FFFormat> 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<FFCodec> audioCodecs(); > > /** find valid Format for given codecID */ >- static const QList<FFFormat> supportedFormats ( CodecID id ); >+ static const QList<FFFormat> 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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 479392
: 354812