Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .xlings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"workspace": {
"xim:mcpp": "0.0.101"
"xim:mcpp": "2026.8.5.4"
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ mcpp new myplayer --template ffmpeg && cd myplayer && mcpp run -- video.mp4 #
或在已有项目中手动接入:

```toml
[dependencies]
ffmpeg = "0.0.3"
[dependencies.ffmpeg]
ffmpeg = "8.1.2"
```

```cpp
Expand Down
12 changes: 10 additions & 2 deletions mcpp.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# The namespace names whose library this is, not who packaged it; the version
# says which upstream you are getting. `mcpplibs` is mcpp's DEFAULT namespace
# (kDefaultNamespace), not an answer to "whose library"; and `0.0.3` told a
# consumer nothing about which FFmpeg was inside — it is 8.1.2, which is what
# the compat.ffmpeg dependency below has said all along.
#
# Rule and full migration table: mcpp-index#163.
[package]
namespace = "ffmpeg"
name = "ffmpeg"
version = "0.0.3"
description = "FFmpeg C++ modules for mcpp (import ffmpeg.av;) on top of the compat.ffmpeg source build"
version = "8.1.2"
description = "FFmpeg 8.1.2 C++ modules for mcpp (import ffmpeg.av;) on top of the compat.ffmpeg source build"
license = "MIT"
repo = "https://github.com/mcpplibs/ffmpeg-m"
platforms = ["linux", "macos", "windows"]
Expand Down
5 changes: 4 additions & 1 deletion templates/decode/mcpp.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
name = "{{project.name}}"
version = "0.1.0"

[dependencies]
# `ffmpeg` is spelled out: templates substitute only project.name,
# self.name and self.version — there is no namespace placeholder yet.
# See mcpp-index#163.
[dependencies.ffmpeg]
{{self.name}} = "{{self.version}}"
Loading