Skip to content

Commit

Permalink
fix a bug related to audio_end_pts (#1431)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyan1231 authored and fmassa committed Oct 8, 2019
1 parent ef0ffb8 commit 1258bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/datasets/video_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def get_clip(self, idx):
math.floor,
)
audio_end_pts = pts_convert(
video_start_pts,
video_end_pts,
info["video_timebase"],
info["audio_timebase"],
math.ceil,
Expand Down

0 comments on commit 1258bb7

Please sign in to comment.