x264-go icon indicating copy to clipboard operation
x264-go copied to clipboard

x264c.Param outdated?

Open Bun opened this issue 3 years ago • 1 comments

It seems the Param type is missing a number of fields that were added in the code update commits (i_bitdepth, i_avcintra_flavor, mastering_display, etc, etc), which makes the type incorrect and unable to apply most parameters correctly.

Do you perhaps have any tooling to update these types?

Bun avatar Jul 10 '22 12:07 Bun

Thanks for reporting. I don't have time to check that currently, I will check this when I find the time. In the meantime PR to fix this is welcome. There is no special tolling but go tool cgo -godefs can be used for that.

gen2brain avatar Jul 11 '22 08:07 gen2brain

This should be fixed in https://github.com/gen2brain/x264-go/commit/a0a7bbb625389d9d5aa1e1b61ff642e027eebb2b. Can you please test?

gen2brain avatar Aug 28 '22 14:08 gen2brain