Skip to content
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

MP1-5212: Core: VMR9: Check IVideoWindow for null if MadVR is used #296

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mediaportal/Core/Player/VMR9.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,7 @@ public int StartMediaCtrl(IMediaControl mediaCtrl)
}
else // GUIGraphicsContext.VideoRenderer == GUIGraphicsContext.VideoRendererType.madVR
{
if (!(g_Player.Player is DVDPlayer9) && !(g_Player.Player is DVDPlayer))
if (videoWinMadVr != null && !(g_Player.Player is DVDPlayer9) && !(g_Player.Player is DVDPlayer))
{
var xposition = GUIGraphicsContext.form.Location.X;
var yposition = GUIGraphicsContext.form.Location.Y;
Expand Down
Loading