2023-10-17 15:38:39 CST W42D2

This commit is contained in:
aggresss
2023-10-17 15:38:39 +08:00
parent 3189856a17
commit 762aa14362
39 changed files with 1481 additions and 309 deletions

View File

@@ -101,7 +101,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Could not allocate video frame\n")
os.Exit(1)
}
frame.SetFormat(int32(avctx.GetPixFmt()))
frame.SetFormat(avctx.GetPixFmt())
frame.SetWidth(avctx.GetWidth())
frame.SetHeight(avctx.GetHeight())