Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9242 closed Patch - Bug Fix (Fixed)

[PATCH] Windows OpenGL video playback broken

Reported by: Lawrence Rust <lvr@…> Owned by: markk
Priority: minor Milestone: 0.24.1
Component: Ports - Windows Version: Master Head
Severity: high Keywords: OpenGL windows video
Cc: Ticket locked: no

Description

On Windows, MythTV has a setting to select OpenGL as the current video renderer. Unfortunately, tv & video playback is broken on my Win32 systems (Win2k and WinXP with Nvidia GTS 2 Pro graphics) together with Wine 1.3.6 and VirtualBox? 3.2.10. The attached patch enables video on all these systems.

Attachments (1)

win32-opengl.diff (589 bytes) - added by Lawrence Rust <lvr@…> 3 years ago.
OpenGL Windows video fix

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by Lawrence Rust <lvr@…>

OpenGL Windows video fix

comment:1 Changed 3 years ago by beirdo

  • Owner changed from nigel to markk
  • Status changed from new to assigned

comment:2 Changed 3 years ago by markk

see r27281

comment:3 Changed 3 years ago by markk

  • Resolution set to Fixed
  • Status changed from assigned to closed

(In [27292]) Backport r27281 from trunk to release-0-24-fixes

Don't call QGLContext::doneCurrent() in MythRenderOpenGL.

  • it should be unnecessary given that makeCurrent always checks the

correct context is current to the current thread and following the
threading changes, all of our OpenGL usage should be in the same thread.

  • it breaks playback on certain Windows builds.
  • it has a sizeable performance impact on at least one Intel system.

Closes #9242

comment:4 Changed 3 years ago by kenni

  • Milestone changed from unknown to 0.24.1

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.