Skip to content

Commit f7effd7

Browse files
stephenyan1231fmassa
authored andcommitted
fix a bug related to audio_end_pts (#1431)
1 parent 1d9ec54 commit f7effd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/datasets/video_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def get_clip(self, idx):
308308
math.floor,
309309
)
310310
audio_end_pts = pts_convert(
311-
video_start_pts,
311+
video_end_pts,
312312
info["video_timebase"],
313313
info["audio_timebase"],
314314
math.ceil,

0 commit comments

Comments
 (0)