Skip to content

Commit 49e647c

Browse files
authored
Fix support ffmpeg6.1 (#41)
* add 6.1 support * add load cache test case * add dependabot
1 parent dd2ed8b commit 49e647c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "pip" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
12+
allow:
13+
- dependency-type: "all"
14+
- package-ecosystem: "github-actions"
15+
directory: "/" # Typically GitHub Actions workflows are located in .github/workflows
16+
schedule:
17+
interval: "weekly"

src/ffmpeg_media_type/utils/tests/test_ffmpeg.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ def test__get_muxer_info(snapshot: SnapshotAssertion) -> None:
1818
assert snapshot == _get_muxer_info("6.0", "E", "mp4", "MP4 (MPEG-4 Part 14)")
1919

2020

21+
def test_load_cache() -> None:
22+
cache_file_6_1 = _cache_file("6.1")
23+
cache_file_6_1_1 = _cache_file("6.1.1")
24+
25+
assert cache_file_6_1 == cache_file_6_1_1
26+
27+
2128
def test_generate_cache() -> None:
2229
cache_file = _cache_file("6.0")
2330
if os.path.exists(cache_file):

0 commit comments

Comments
 (0)