Created
December 7, 2017 11:55
-
-
Save tguillem/038b593bdc47954e386e7d3b83789115 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libavcodec/hwaccel.h b/libavcodec/hwaccel.h | |
index ae55527c2f..c3a993ed45 100644 | |
--- a/libavcodec/hwaccel.h | |
+++ b/libavcodec/hwaccel.h | |
@@ -47,7 +47,8 @@ typedef struct AVCodecHWConfigInternal { | |
.public = { \ | |
.pix_fmt = AV_PIX_FMT_ ## format, \ | |
.methods = AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX | \ | |
- AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX, \ | |
+ AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX | \ | |
+ AV_CODEC_HW_CONFIG_METHOD_INTERNAL, \ | |
.device_type = AV_HWDEVICE_TYPE_ ## device, \ | |
}, \ | |
.hwaccel = &name, \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment