Skip to content

Commit 5b70645

Browse files
committed
Add data to muxed streams aswell.
1 parent e975d33 commit 5b70645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ public List<VideoStream> getVideoStreams() throws ExtractionException {
522522
for (Map.Entry<String, ItagItem> entry : getItags(FORMATS, ItagItem.ItagType.VIDEO).entrySet()) {
523523
ItagItem itag = entry.getValue();
524524

525-
VideoStream videoStream = new VideoStream(entry.getKey(), itag.getMediaFormat(), itag.resolutionString);
525+
VideoStream videoStream = new VideoStream(entry.getKey(), false, itag);
526526
if (!Stream.containSimilarStream(videoStream, videoStreams)) {
527527
videoStreams.add(videoStream);
528528
}

0 commit comments

Comments
 (0)