[mythtv-commits] Ticket #11652: Fix DXVA segfault upon playback exit
MythTV
noreply at mythtv.org
Mon Jul 8 22:09:18 UTC 2013
#11652: Fix DXVA segfault upon playback exit
-----------------------------------------+------------------------
Reporter: SHinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: 0.26-fixes
Severity: medium | Keywords:
Ticket locked: 0 |
-----------------------------------------+------------------------
I've found the reason for the crashes on video exit and fixed it:
That's because IDirectXVideoDecoderService_CreateSurface
creates surface_count + 1 surfaces (1 frontbuffer + surface_count
backbuffers) but IDirectXVideoDecoderService_CreateDecoder is created with
surface_count buffers.
I also fixed the significant corruption when playback starts and following
a skip:
That's because of begin_frame in dxva2.c decoder fails. This
patch fixes this.
I've attached the two patches for fixes/0.26
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11652>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list