Bump ha-av to v10.0.0 (#80514)

This commit is contained in:
uvjustin 2022-10-20 05:06:49 +08:00 committed by GitHub
parent bdfead9095
commit eb141a532c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
"domain": "generic",
"name": "Generic Camera",
"config_flow": true,
"requirements": ["ha-av==10.0.0b5", "pillow==9.2.0"],
"requirements": ["ha-av==10.0.0", "pillow==9.2.0"],
"dependencies": ["http"],
"documentation": "https://www.home-assistant.io/integrations/generic",
"codeowners": ["@davet2001"],

View file

@ -2,7 +2,7 @@
"domain": "stream",
"name": "Stream",
"documentation": "https://www.home-assistant.io/integrations/stream",
"requirements": ["PyTurboJPEG==1.6.7", "ha-av==10.0.0b5"],
"requirements": ["PyTurboJPEG==1.6.7", "ha-av==10.0.0"],
"dependencies": ["http"],
"codeowners": ["@hunterjm", "@uvjustin", "@allenporter"],
"quality_scale": "internal",

View file

@ -820,7 +820,7 @@ ha-HAP-python==4.5.2
# homeassistant.components.generic
# homeassistant.components.stream
ha-av==10.0.0b5
ha-av==10.0.0
# homeassistant.components.ffmpeg
ha-ffmpeg==3.0.2

View file

@ -612,7 +612,7 @@ ha-HAP-python==4.5.2
# homeassistant.components.generic
# homeassistant.components.stream
ha-av==10.0.0b5
ha-av==10.0.0
# homeassistant.components.ffmpeg
ha-ffmpeg==3.0.2

View file

@ -794,7 +794,7 @@ async def test_durations(hass, worker_finished_stream):
assert math.isclose(
(av_part.duration - av_part.start_time) / av.time_base,
part.duration,
abs_tol=2 / av_part.streams.video[0].rate + 1e-6,
abs_tol=2 / av_part.streams.video[0].average_rate + 1e-6,
)
# Also check that the sum of the durations so far matches the last dts
# in the media.