11#ifdef QGC_GST_LIBAVCODEC_VERSION
12 return QLatin1StringView(QGC_GST_LIBAVCODEC_VERSION);
20 if (version != QLatin1StringView(
"61.19.100")) {
24 if (g_strcmp0(
factoryNameOf(GST_OBJECT_CAST(decoder)),
"avdec_h265") != 0) {
28 g_object_set(decoder,
"max-threads", 1,
nullptr);
struct _GstElement GstElement
const char * factoryNameOf(GstObject *object)
The name of the factory that made object ("rtph264depay"); null when it is no element or has no facto...
QLatin1StringView libavcodecVersion()
bool avoidHevcWavefrontDeadlock(GstElement *decoder, QLatin1StringView version)