mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-14 04:05:16 +00:00
Only round end_time of removal segments
We don't actually care if we chop out a segment after a keyframe, just that the next segment should start with one. So only the end_time requires rounding, not the start_time.
This commit is contained in:
@@ -567,7 +567,7 @@ class TestModifyChaptersPP(unittest.TestCase):
|
||||
])
|
||||
self.assertEqual(chapters, [
|
||||
{'start_time': 0, 'end_time': 2},
|
||||
{'start_time': 3, 'end_time': 5, 'remove': True},
|
||||
{'start_time': 2, 'end_time': 5, 'remove': True},
|
||||
{'start_time': 6, 'end_time': 10, 'remove': False},
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user