mirror of
https://github.com/facefusion/facefusion.git
synced 2026-07-28 12:59:03 +02:00
Restrict the preview frame slider and the reader seek to the last frame index (#1207)
* fix index bug * fix rounding bug
This commit is contained in:
@@ -41,7 +41,7 @@ def test_extract_audio_metadata() -> None:
|
||||
|
||||
assert audio_metadata.get('sample_rate') == 44100
|
||||
assert audio_metadata.get('channel_total') == 1
|
||||
assert audio_metadata.get('frame_total') == 167039
|
||||
assert audio_metadata.get('frame_total') == 167040
|
||||
assert audio_metadata.get('bit_rate') == 128000
|
||||
|
||||
audio_metadata = extract_audio_metadata(get_test_example_file('source-48000khz-2ch.wav'))
|
||||
|
||||
Reference in New Issue
Block a user