Skip to content

Commit 61b812c

Browse files
committed
version 0.13.0
- API: - Add Player.setFrameRate(). Default is 25fps if no timestamp in stream. - MFT: - Fix crash on some new drivers - Add "activate" property to select mft plugin - Add "threads" property for software decoding - VT: - Support more 420, 422 16 bit semi-planar formats, use the closest format - Support HEVC with alpha - Support HEVC gray formats - AMediaCodec: - Support decoding dolby vision profile 5 - Enable YUV with alpha for all renderers - Support semi-planar yuv with alpha: NV12A, P416A, 16bit gray format L016 - GL, D3D11, Metal timestamp query - Fix fail to render hw frame mapped to host for all renderers - Fix wrong OpenGL blend state - Fix D3D11 renderer crash on device change - Use vulkan loader set by env var `QT_VULKAN_LIB` or `VULKAN_LIB` - Fix CUDA decoder crash - Fix subtitle endless decode loop at EOF - Compat with latest FFmpeg 5.0 abi
1 parent 5b3a98d commit 61b812c

File tree

5 files changed

+35
-8
lines changed

5 files changed

+35
-8
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
macOS:
1919
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
20-
runs-on: macos-latest
20+
runs-on: macos-11
2121
env:
2222
TARGET_OS: 'macOS'
2323
TARGET_ARCH: ${{ matrix.arch }}
@@ -65,13 +65,13 @@ jobs:
6565
working-directory: mdk
6666
run: |
6767
pwd
68-
cmake -GNinja -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
68+
cmake -DWITH_X11=1 -GNinja -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
6969
- name: Configure CMake
7070
if: ${{ startsWith(matrix.arch, 'arm64') }} # arm64, arm64e
7171
shell: bash
7272
working-directory: mdk
7373
run: |
74-
cmake -GNinja -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
74+
cmake -GNinja -DCMAKE_OSX_ARCHITECTURES=${{ matrix.arch }} -Bbuild/${TARGET_OS} -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_INSTALL_PREFIX=$PWD/mdk-sdk # no dSYM for lto, dsymutil: no debug symbols in executable (-arch x86_64)
7575
- name: Build
7676
shell: bash
7777
working-directory: mdk
@@ -95,7 +95,7 @@ jobs:
9595
9696
9797
macCatalyst:
98-
runs-on: macos-latest
98+
runs-on: macos-11
9999
env:
100100
TARGET_OS: 'macCatalyst'
101101
strategy:
@@ -160,7 +160,7 @@ jobs:
160160
161161
162162
iOS:
163-
runs-on: macos-latest
163+
runs-on: macos-11
164164
env:
165165
TARGET_OS: iOS
166166
strategy:

Changelog.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
Change log:
22

3+
0.13.0 - 2021-12-26
4+
5+
- API:
6+
- Add Player.setFrameRate(). Default is 25fps if no timestamp in stream.
7+
- MFT:
8+
- Fix crash on some new drivers
9+
- Add "activate" property to select mft plugin
10+
- Add "threads" property for software decoding
11+
- VT:
12+
- Support more 420, 422 16 bit semi-planar formats, use the closest format
13+
- Support HEVC with alpha
14+
- Support HEVC gray formats
15+
- AMediaCodec:
16+
- Support decoding dolby vision profile 5
17+
- Enable YUV with alpha for all renderers
18+
- Support semi-planar yuv with alpha: NV12A, P416A, 16bit gray format L016
19+
- GL, D3D11, Metal timestamp query
20+
- Fix fail to render hw frame mapped to host for all renderers
21+
- Fix wrong OpenGL blend state
22+
- Fix D3D11 renderer crash on device change
23+
- Use vulkan loader set by env var `QT_VULKAN_LIB` or `VULKAN_LIB`
24+
- Fix CUDA decoder crash
25+
- Fix subtitle endless decode loop at EOF
26+
- Compat with latest FFmpeg 5.0 abi
27+
28+
329
0.12.0 - 2021-06-26
30+
431
- API:
532
- Add Player.setVolume(float value, int channel) to control channel volume
633
- Deprecate setState(State), use set(State)

README.iOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
https://github.com/wang-bin/swiftMDK
2020

2121
## About SDK for iOS
22-
SDK is built by Xcode 12.4 with
22+
SDK is built by Xcode 13.2.1 with
2323
- ffmpeg: https://sourceforge.net/projects/avbuild/files/iOS/ffmpeg-master-iOS-lite.tar.xz/download
2424
- Minimal system: iOS 8.0
2525
- Support Metal renderer

README.macOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ https://github.com/wang-bin/swiftMDK
2525
- Support VP9 on macOS 11+
2626
- Support X11 if runtime libraries exist
2727

28-
SDK is built by Xcode 12.4 with
28+
SDK is built by Xcode 13.2.1 with
2929
- ffmpeg: https://sourceforge.net/projects/avbuild/files/macOS/ffmpeg-master-macOS-lite.tar.xz/download
3030

3131
### macOS 10.15+

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.12.0.0</version>
5+
<version>0.13.0.0</version>
66
<title>MDK</title>
77
<authors>Wang Bin</authors>
88
<owners>Wang Bin</owners>

0 commit comments

Comments
 (0)