diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-02-07 10:39:43 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-02-09 19:04:20 +0000 |
commit | 503847906996ee50a2522a864e72d94941b0b278 (patch) | |
tree | 492e8794285a735c4b94261a0d30acb003cf290f /src/multimedia/platform | |
parent | ea27ae88abcf82e4c034d48f5b45e16f0fd29a6b (diff) |
Disable x265enc on gstreamer-1.16
At least on that version, the plugin seems to be broken.
At least it doesn't like cooperating with the muxers and
encodebin.
Change-Id: I007932202e2c40c1a923181d9afd7375fd3ec0ae
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
Diffstat (limited to 'src/multimedia/platform')
-rw-r--r-- | src/multimedia/platform/gstreamer/qgstreamerformatsinfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/multimedia/platform/gstreamer/qgstreamerformatsinfo.cpp b/src/multimedia/platform/gstreamer/qgstreamerformatsinfo.cpp index b0fd8e53e..c185a563e 100644 --- a/src/multimedia/platform/gstreamer/qgstreamerformatsinfo.cpp +++ b/src/multimedia/platform/gstreamer/qgstreamerformatsinfo.cpp @@ -97,8 +97,10 @@ static QMediaFormat::VideoCodec videoCodecForCaps(QGstStructure structure) return QMediaFormat::VideoCodec::MPEG4; } else if (!strcmp(name, "x-h264")) { return QMediaFormat::VideoCodec::H264; +#if GST_CHECK_VERSION(1, 17, 0) // x265enc seems to be broken on 1.16 at least } else if (!strcmp(name, "x-h265")) { return QMediaFormat::VideoCodec::H265; +#endif } else if (!strcmp(name, "x-vp8")) { return QMediaFormat::VideoCodec::VP8; } else if (!strcmp(name, "x-vp9")) { |