- Added support for libavcodec 61.
- Updated AV plugins to use new APIs instead of APIs which were removed in 61.
- We still using some deprecated APIs.
- `reordered_opaque` replacement exist in 61 which is used to pass user data 
between compressed frame and uncompressed. In 61 this variable is pointer to 
`void` instead of `int64_t`. We can use new `opaque` to pass PTS, but it is not 
documented way to pass PTS between compressed and uncompressed frames. Updated 
code will be using `AVPacket.pts/AVFrame.pts` which is documented way to 
provide PTS.
- Tested on Ubuntu 24.10 with 61 and 24.04 with 60 with all supported formats.

-------------

Commit messages:
 - 8338701: Provide media support for libavcodec version 61

Changes: https://git.openjdk.org/jfx/pull/1552/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1552&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338701
  Stats: 56 lines in 6 files changed: 45 ins; 0 del; 11 mod
  Patch: https://git.openjdk.org/jfx/pull/1552.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1552/head:pull/1552

PR: https://git.openjdk.org/jfx/pull/1552

Reply via email to