-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel. #17574
Conversation
…l to PVR Radio channel. Fixes xbmc#17556.
How would we know this doesn’t impact anything outside of PVR? Would it still work if only the visualisation check was omitted? |
I did extensive runtime tests with all kind of media. If I missed something, our general Kodi testing strategy will come to play - let our (alpha-)users test it in the nightlies. ... and @MilhouseVH could you add this PR to your builds, please? |
No. At least vis and fullscreen video checks must go. Otherwise either TV->Radio or Radio->TV will not work. |
Will do - should be in |
…nated window if it is already active.
No negative feedback from Milhouse build testers. Going to merge this now. |
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
[application] Fix black screen when switching from PVR Live TV channel to PVR Radio channel.
This fixes #17556
When switching from a PVR Live TV to a PVR Radio channel, active window must be changed from
WINDOW_FULLSCREEN_VIDEO
toWINDOW_VISUALISATION
. On stream change VideoPlayer fires aTMSG_SWITCHTOFULLSCREEN
event which is handled byCApplication::OnApplicationMessage
. The check for the active window there prevents switching the window, because when the event arrives the active window is stillWINDOW_FULLSCREEN_VIDEO
.Same problem occurs when switching from Radio to Live TV since #17225, btw.
Removing the checks for the active window in
CApplication::OnApplicationMessage
fixes the issue and has no other negative side effects.This issue is spacial to PVR, because VideoPalyer has special handling for PVR stream changes (fast channel switch).
Runtime tested on macOS and Android, latest Kodi master.
Hard to find a reviewer for this I guess (who is maintainer of CApplication?) , but maybe @phunkyfish can look at the change.