Skip to content

Commit a12f492

Browse files
Ruslan-BNickDarvey
andauthored
Cherry pick changes from master (#267)
* Add display.h #263 (#265) Co-authored-by: Ruslan Balanukhin <ruslan@rationale.one> * Fix codegen parameters in workflow (#262) --------- Co-authored-by: Ruslan Balanukhin <ruslan@rationale.one> Co-authored-by: Nick Darvey <nickdarvey@outlook.com.au>
1 parent 6b01868 commit a12f492

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
- name: Codegen Build & Test
3232
if: matrix.os == 'windows-latest'
3333
run: |
34-
dotnet run -c Release -p FFmpeg.AutoGen.CppSharpUnsafeGenerator -- -i FFmpeg -o FFmpeg.AutoGen
34+
dotnet run -c Release -p FFmpeg.AutoGen.CppSharpUnsafeGenerator -- --input FFmpeg --namespace FFmpeg.AutoGen
3535
dotnet build FFmpeg.AutoGen

FFmpeg.AutoGen.CppSharpUnsafeGenerator/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ private static IEnumerable<ASTContext> Parse(string includesDir)
8989
yield return p.Parse("libavutil/audio_fifo.h");
9090
yield return p.Parse("libavutil/channel_layout.h");
9191
yield return p.Parse("libavutil/cpu.h");
92+
yield return p.Parse("libavutil/display.h");
9293
yield return p.Parse("libavutil/file.h");
9394
yield return p.Parse("libavutil/frame.h");
9495
yield return p.Parse("libavutil/opt.h");

0 commit comments

Comments
 (0)