bytedeco / javacpp-presets

The missing Java distribution of native C++ libraries
Other
2.65k stars 738 forks source link

No AV_CHANNEL_LAYOUT_STEREO in java lib #1286

Closed rantianhua closed 1 year ago

rantianhua commented 1 year ago

In sample muxing.c, AV_CHANNEL_LAYOUT_STEREO is used. But I cannot find the definition in java lib.

saudet commented 1 year ago

We'd have to map them, which shouldn't be too hard actually. Would you like to give it a try?

saudet commented 1 year ago

Done in commit https://github.com/bytedeco/javacpp-presets/commit/bd67bb63b35b3560ed5d31a89ce91368cb655c7b. Please give it a try with the snapshots: http://bytedeco.org/builds/

rantianhua commented 1 year ago

Thanks so much, I'm still studying JavaCPP, you've done the job.

rantianhua commented 1 year ago

I'll try it

saudet commented 1 year ago

Fix released with version 1.5.9! Thanks for reporting