mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
22 lines
828 B
Diff
22 lines
828 B
Diff
diff -rupN a/QTfrontend/util/LibavInteraction.cpp b/QTfrontend/util/LibavInteraction.cpp
|
|
--- a/QTfrontend/util/LibavInteraction.cpp 2013-05-30 20:07:33.000000000 +0000
|
|
+++ b/QTfrontend/util/LibavInteraction.cpp 2013-07-22 16:24:42.564768844 +0000
|
|
@@ -32,7 +32,7 @@ extern "C"
|
|
|
|
struct Codec
|
|
{
|
|
- CodecID id;
|
|
+ AVCodecID id;
|
|
bool isAudio;
|
|
QString shortName; // used for identification
|
|
QString longName; // used for displaying to user
|
|
@@ -52,7 +52,7 @@ QList<Codec> codecs;
|
|
QMap<QString,Format> formats;
|
|
|
|
// test if given format supports given codec
|
|
-bool FormatQueryCodec(AVOutputFormat *ofmt, enum CodecID codec_id)
|
|
+bool FormatQueryCodec(AVOutputFormat *ofmt, enum AVCodecID codec_id)
|
|
{
|
|
#if LIBAVFORMAT_VERSION_MAJOR >= 54
|
|
return avformat_query_codec(ofmt, codec_id, FF_COMPLIANCE_NORMAL) == 1;
|