diff --git a/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java index 7e87e71d2..e15abd9a0 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java @@ -1640,7 +1640,7 @@ public final class VideoDetailFragment downloadDialog.setAudioStreams(currentInfo.getAudioStreams()); downloadDialog.setSelectedVideoStream(selectedVideoStreamIndex); downloadDialog.setSubtitleStreams(currentInfo.getSubtitles()); - downloadDialog.setVideoSegments(player.getVideoSegments()); + downloadDialog.setVideoSegments(videoSegments); downloadDialog.show(activity.getSupportFragmentManager(), "downloadDialog"); } catch (final Exception e) {