File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -993,7 +993,8 @@ fn main() {
993
993
. header ( search_include ( & include_paths, "libavutil/timecode.h" ) )
994
994
. header ( search_include ( & include_paths, "libavutil/twofish.h" ) )
995
995
. header ( search_include ( & include_paths, "libavutil/avutil.h" ) )
996
- . header ( search_include ( & include_paths, "libavutil/xtea.h" ) ) ;
996
+ . header ( search_include ( & include_paths, "libavutil/xtea.h" ) )
997
+ . header ( search_include ( & include_paths, "libavutil/hwcontext.h" ) ) ;
997
998
998
999
if env:: var ( "CARGO_FEATURE_POSTPROC" ) . is_ok ( ) {
999
1000
builder = builder. header ( search_include ( & include_paths, "libpostproc/postprocess.h" ) ) ;
@@ -1007,6 +1008,10 @@ fn main() {
1007
1008
builder = builder. header ( search_include ( & include_paths, "libswscale/swscale.h" ) ) ;
1008
1009
}
1009
1010
1011
+ if env:: var ( "CARGO_FEATURE_LIB_DRM" ) . is_ok ( ) {
1012
+ builder = builder. header ( search_include ( & include_paths, "libavutil/hwcontext_drm.h" ) )
1013
+ }
1014
+
1010
1015
// Finish the builder and generate the bindings.
1011
1016
let bindings = builder. generate ( )
1012
1017
// Unwrap the Result and panic on failure.
You can’t perform that action at this time.
0 commit comments