From cf3ea227531fc13c1fd2c69fe8bf6d65202bc953 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Sun, 23 Dec 2018 21:16:05 +0100 Subject: [PATCH] make stream size have a p in the end --- .../media_ccc/extractors/MediaCCCStreamExtractor.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCStreamExtractor.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCStreamExtractor.java index e95435851..f26747d6a 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCStreamExtractor.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/media_ccc/extractors/MediaCCCStreamExtractor.java @@ -150,10 +150,8 @@ public class MediaCCCStreamExtractor extends StreamExtractor { throw new ExtractionException("Unknown media format: " + mimeType); } - videoStreams.add(new VideoStream(recording.getString("recording_url"), - mediaFormat, - Integer.toString(recording.getInt("height")))); + mediaFormat, recording.getInt("height") + "p")); } } return videoStreams;