- 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. |
||
|---|---|---|
| .. | ||
| sampledata | ||
| schemas/org.schabi.newpipe.database.AppDatabase | ||
| src | ||
| build.gradle | ||
| proguard-rules.pro | ||