1
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-26 18:51:09 +01:00
NewPipe/app
AudricV 5ab3a4a9e0
Refactor Player.useVideoSource logic and improve its comments
- don't check for isAudioOnly == !videoEnabled, as this prevents enabling again
video and text tracks renderers in some cases;
- when reloading play queue manager if that's needed, disable or enable video
and text tracks renderers, as they may need to be enabled again in some cases
like starting a video in main player, opening play queue, switching to
background player on it and switching back to main player;
- disable or enable video renderers also for streams with AUDIO_STREAM
StreamType, as doing so doesn't raise any issue and simplifies code;
- reword and move some comments to make them easier to understand.
2023-07-19 22:52:18 +02:00
..
sampledata Larger channel cards in search results 2023-02-09 06:15:22 +05:30
schemas/org.schabi.newpipe.database.AppDatabase Fixed the bug by replacing the thumbnail_url with the thumbnail_stream_id 2023-02-05 20:32:34 +01:00
src Refactor Player.useVideoSource logic and improve its comments 2023-07-19 22:52:18 +02:00
build.gradle Update AndroidX Room library 2023-07-17 21:09:44 -04:00
proguard-rules.pro Organize the proguard file 2023-05-12 01:09:08 -04:00