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", "domain": "generic",
"name": "Generic Camera", "name": "Generic Camera",
"config_flow": true, "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"], "dependencies": ["http"],
"documentation": "https://www.home-assistant.io/integrations/generic", "documentation": "https://www.home-assistant.io/integrations/generic",
"codeowners": ["@davet2001"], "codeowners": ["@davet2001"],

View File

@ -2,7 +2,7 @@
"domain": "stream", "domain": "stream",
"name": "Stream", "name": "Stream",
"documentation": "https://www.home-assistant.io/integrations/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"], "dependencies": ["http"],
"codeowners": ["@hunterjm", "@uvjustin", "@allenporter"], "codeowners": ["@hunterjm", "@uvjustin", "@allenporter"],
"quality_scale": "internal", "quality_scale": "internal",

View File

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

View File

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

View File

@ -794,7 +794,7 @@ async def test_durations(hass, worker_finished_stream):
assert math.isclose( assert math.isclose(
(av_part.duration - av_part.start_time) / av.time_base, (av_part.duration - av_part.start_time) / av.time_base,
part.duration, 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 # Also check that the sum of the durations so far matches the last dts
# in the media. # in the media.