Skip to content

Commit c2afd4e

Browse files
committed
version 0.22.0
1 parent 947c97f commit c2afd4e

11 files changed

+52
-16
lines changed

Changelog.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
Change log:
22

3+
## 0.22.0 - 2023-08-31
4+
5+
- Add `Player.onMediaStatus(MediaStatus oldValue, MediaStatus newValue)` to simplify user code. `Player.onMediaStatusChanged` is deprecated.
6+
- Add player property `avformat.xxx`, `avio.xxx` as as ffmpeg demuxer/io options
7+
- C api module is opensource: https://github.com/wang-bin/libmdk-capi
8+
- If `keep_open` property is set, state changes to `State::Paused` when reach EOS. Also reduce cpu load
9+
- Android:
10+
- Fix x86 relocation
11+
- Fix planar formats in OpenSL
12+
- MFT:
13+
- Support DV video codec
14+
- Continue if no attributes
15+
- OpenGL: Fix crash if failed to create a context, found in flutter android example
16+
- VAAPI: Flush before seek, fix invalid surface id and crash
17+
- VDPAU:
18+
- Interop with output surface by default if not nvidia to workaround hevc crash on amd gpus.
19+
- Prefer interop2 extension
20+
- BRAW:
21+
- Support build with sdk version 2 and 3
22+
- Fix 0-copu glitch
23+
- Dead lock before unloaded
24+
- FFmpeg:
25+
- hw decoders do not fallback to sw decoder by default, so can correctly switch to the next decoders set in `setDecoders()`. property `sw_fallback=1` to use old behavior
26+
- Use single thread for hwdec when possible
27+
- Stop decoding ASAP if hwdec, fix multi-thread hwdec crash on unsupported GPUs, e.g. MX940
28+
- Fix 'file://' on windows
29+
- Fix frames drop in decoders
30+
- Fix loop does not work if audio duration is much smaller than video
31+
- Fix seek may fail if audio duration is much smaller than video
32+
- Fix seek callbacks not called
33+
- Fix `prepare()` fails if previous playback is not finished
34+
- Fix prepare callback is not called if demuxer open error
35+
- Fix seek error for a music with cover art
36+
- Fix crash if unsupported track type is read
37+
38+
339
## 0.21.1 - 2023-06-30
440

541
- Fix loop fails in some ranges

README.Android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ MediaCodec/AMediaCodec decoder will not be destroyed if app go to background, an
6363
- [JNI Modern Interface](https://github.com/wang-bin/JMI)
6464

6565
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
66-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
66+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

README.Linux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919

2020
## About SDK for Linux
21-
SDK is built by clang 16.0 with
21+
SDK is built by clang 17 with
2222
- ffmpeg: https://sourceforge.net/projects/avbuild/files/linux/ffmpeg-master-linux-clang-lite.tar.xz/download
23-
- libc++ 16.0
23+
- libc++ 17
2424

2525
SDK can be used by any C or C++11 compiler, e.g. g++, clang
2626

@@ -98,4 +98,4 @@ N videos renderers for 1 player: multiwidnows url
9898
- [R3D RAW](https://github.com/wang-bin/mdk-r3d)
9999

100100
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
101-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
101+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

README.WinRT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
## About SDK for Windows Store
2020
SDK is built by
21-
- clang-cl 16.0, with Windows SDK 10.0.19041.0, MSVC CRT 14.28.29333, [FFmpeg](https://sourceforge.net/projects/avbuild/files/uwp/ffmpeg-master-uwp-vs2022-lite.tar.xz/download)
21+
- clang-cl 17, with Windows SDK 10.0.19041.0, MSVC CRT 14.28.29333, [FFmpeg](https://sourceforge.net/projects/avbuild/files/uwp/ffmpeg-master-uwp-vs2022-lite.tar.xz/download)
2222
- latest VS2022 with [FFmpeg](https://sourceforge.net/projects/avbuild/files/uwp/ffmpeg-master-uwp-vs2022-lite.tar.xz/download)
2323

2424
### Use in Visual Studio
@@ -66,4 +66,4 @@ Optional:
6666
- [R3D RAW](https://github.com/wang-bin/mdk-r3d)
6767

6868
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
69-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
69+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

README.Windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
## About SDK for Windows Desktop
2323
SDK is built by
24-
- clang-cl 16.0, with Windows SDK 10.0.19041.0, MSVC CRT 14.28.29333, [FFmpeg](https://sourceforge.net/projects/avbuild/files/windows-store/ffmpeg-master-windows-desktop-vs2022-lite.tar.xz/download)
24+
- clang-cl 17, with Windows SDK 10.0.19041.0, MSVC CRT 14.28.29333, [FFmpeg](https://sourceforge.net/projects/avbuild/files/windows-store/ffmpeg-master-windows-desktop-vs2022-lite.tar.xz/download)
2525
- latest VS2022 with [FFmpeg](https://sourceforge.net/projects/avbuild/files/windows-store/ffmpeg-master-windows-desktop-vs2022-lite.tar.xz/download)
2626

2727
SDK can be used by any C or C++11 compiler, e.g. vs2015, vs2022, mingw g++, clang
@@ -95,4 +95,4 @@ N videos renderers for 1 player: multiwidnows url
9595

9696

9797
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
98-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
98+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

README.iOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ Choose any of
5858
- [dav1d decoder module](https://github.com/wang-bin/mdk-dav1d)
5959

6060
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
61-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
61+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

README.macOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ Choose any of
9191
- [R3D RAW](https://github.com/wang-bin/mdk-r3d)
9292

9393
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
94-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
94+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

README.rpi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
- Professional codecs: GPU accelerated [HAP](https://github.com/wang-bin/mdk-sdk/wiki/Decoders#hap) codec rendering, [Blackmagic RAW](https://github.com/wang-bin/mdk-sdk/wiki/Decoders#braw), [R3D](https://github.com/wang-bin/mdk-sdk/wiki/Decoders#r3d)
2121

2222
## About SDK for Legacy Raspberry Pi
23-
SDK is cross built by clang 16.0 with
23+
SDK is cross built by clang 17 with
2424
- cmake toolchain file https://github.com/wang-bin/cmake-tools/blob/master/raspberry-pi.clang.cmake
2525
- sysroot: https://sourceforge.net/projects/avbuild/files/raspberry-pi/raspberry-pi-sysroot.tar.xz/download
2626
- ffmpeg: https://sourceforge.net/projects/avbuild/files/raspberry-pi/ffmpeg-master-raspberry-pi-clang-lite.tar.xz/download
27-
- libc++ 16.0
27+
- libc++ 17
2828

2929
SDK can be used by any C or C++11 compiler, e.g. g++, clang
3030

@@ -73,4 +73,4 @@ Tested on rpi1 and rpi3.
7373
- [dav1d decoder module](https://github.com/wang-bin/mdk-dav1d)
7474

7575
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
76-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
76+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

README.sunxi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ if default audio device does not sound correctly, try to change the device name
7777
- [dav1d decoder module](https://github.com/wang-bin/mdk-dav1d)
7878

7979
Copyright (c) 2016-2023 WangBin(the author of QtAV) <wbsecg1 at gmail.com>
80-
Free for opensource softwares, non-commercial softwares, QtAV donors and contributors.
80+
Free for opensource softwares, non-commercial softwares, flutter, QtAV donors and contributors.

mdk.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'mdk'
3-
s.version = '0.21.1'
3+
s.version = '0.22.0'
44
s.summary = 'Multimedia Development Kit'
55
s.homepage = 'https://github.com/wang-bin/mdk-sdk'
66

nuget/mdk.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>mdk</id>
5-
<version>0.21.1.0</version>
5+
<version>0.22.0.0</version>
66
<title>MDK</title>
77
<authors>Wang Bin</authors>
88
<owners>Wang Bin</owners>

0 commit comments

Comments
 (0)