Add documentation for faulty framesets

This commit is contained in:
Thompson3142 2024-10-24 19:36:35 +02:00
parent 6e3a4a6d9d
commit 542867ff4d
1 changed files with 5 additions and 0 deletions

View File

@ -1377,6 +1377,11 @@ public class YoutubeStreamExtractor extends StreamExtractor {
return itagInfo;
}
// Warning: When using this method be aware that the YouTube API very rarely returns framesets,
// that are slightly too small e.g. framesPerPageX = 5, frameWidth = 160, but the url contains
// a storyboard that is only 795 pixels wide (5*160 > 795). You will need to handle this
// "manually" to avoid errors.
// For further reference see: https://github.com/TeamNewPipe/NewPipe/pull/11596
@Nonnull
@Override
public List<Frameset> getFrames() throws ExtractionException {