From c5fc37150d38d89a430ad92cb33665dfcf7b7b35 Mon Sep 17 00:00:00 2001 From: TiA4f8R <74829229+TiA4f8R@users.noreply.github.com> Date: Sun, 20 Feb 2022 19:35:58 +0100 Subject: [PATCH] Update JavaDoc of VideoPlaybackResolver.getStreamSourceType() --- .../newpipe/player/resolver/VideoPlaybackResolver.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/player/resolver/VideoPlaybackResolver.java b/app/src/main/java/org/schabi/newpipe/player/resolver/VideoPlaybackResolver.java index cbacc2679..11949f55d 100644 --- a/app/src/main/java/org/schabi/newpipe/player/resolver/VideoPlaybackResolver.java +++ b/app/src/main/java/org/schabi/newpipe/player/resolver/VideoPlaybackResolver.java @@ -131,11 +131,10 @@ public class VideoPlaybackResolver implements PlaybackResolver { } /** - * Determine if the last resolved {@link StreamInfo} had separated audio and video streams (or - * only audio). + * Returns the last resolved {@link StreamInfo}'s {@link SourceType source type}. * - * @return {@link Optional#empty()} if nothing was resolved, otherwise {@code true} or - * {@code false} + * @return {@link Optional#empty()} if nothing was resolved, otherwise the {@link SourceType} + * of the last resolved {@link StreamInfo} inside an {@link Optional} */ public Optional getStreamSourceType() { return Optional.ofNullable(streamSourceType);