mirror of https://github.com/devine-dl/devine.git
fix(HLS): Delete video/audio segments after FFmpeg merge
This commit is contained in:
parent
774fec6d77
commit
d9873dac25
|
@ -569,6 +569,9 @@ class HLS:
|
||||||
])
|
])
|
||||||
demuxer_file.unlink()
|
demuxer_file.unlink()
|
||||||
|
|
||||||
|
for segment in segments:
|
||||||
|
segment.unlink()
|
||||||
|
|
||||||
return save_path.stat().st_size
|
return save_path.stat().st_size
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue