We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04d1a58 + f434b06 commit 90a5610Copy full SHA for 90a5610
src/FFmpegReader.cpp
@@ -445,8 +445,8 @@ void FFmpegReader::Open() {
445
// TODO: needs va_config!
446
#if ENABLE_VAAPI
447
((AVVAAPIHWConfig *)hwconfig)->config_id = ((VAAPIDecodeContext *)(pCodecCtx->priv_data))->va_config;
448
-#endif
449
constraints = av_hwdevice_get_hwframe_constraints(hw_device_ctx,hwconfig);
+#endif
450
if (constraints) {
451
if (pCodecCtx->coded_width < constraints->min_width ||
452
pCodecCtx->coded_height < constraints->min_height ||
0 commit comments