1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-04-20 05:41:23 +00:00
Files
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
..
2022-07-24 14:11:31 -04:00
2023-04-04 09:57:06 +02:00
2023-02-23 12:46:05 +01:00
2023-01-04 06:10:14 +05:30
2023-01-21 14:56:55 +01:00
2023-01-04 05:16:21 +05:30
2023-04-21 23:15:37 +02:00