History

vulkan_ffv1: enable acceleration on Intel

Fixed by previous commit.

Lynne committed 1 year ago

Commit d077e001 parent a1137f91 file · +0 −14Browse files

Unified · Split

libavcodec/vulkan_ffv1.c+0−14
@@ -1142,20 +1142,6 @@ static int vk_decode_ffv1_init(AVCodecContext *avctx) · 1141 unmodified lines
11421142 return err;
11431143 ctx = dec->shared_ctx;
11441144
1145− switch (ctx->s.driver_props.driverID) {
1146− case VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS:
1147− case VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA:
1148− if (avctx->strict_std_compliance < FF_COMPLIANCE_UNOFFICIAL) {
1149− av_log(avctx, AV_LOG_ERROR,
1150− "Intel's drivers are unsupported, use -strict -1 to enable acceleration.\n");
1151− return AVERROR(ENOTSUP);
1152− } else {
1153− av_log(avctx, AV_LOG_WARNING,
1154− "Enabling acceleration on Intel's drivers.\n");
1155− }
1156− break;
1157− };
1158−
11591145 fv = ctx->sd_ctx = av_mallocz(sizeof(*fv));
11601146 if (!fv) {
11611147 err = AVERROR(ENOMEM);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t