[Bug 84140] mplayer crashes playing some files using vdpau output
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Oct 7 07:14:57 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=84140
Christian König <deathsimple at vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |deathsimple at vodafone.de
--- Comment #24 from Christian König <deathsimple at vodafone.de> ---
Created attachment 107497
--> https://bugs.freedesktop.org/attachment.cgi?id=107497&action=edit
Possible fix
(In reply to Marek Olšák from comment #21)
> The context should be fully initialized to do anything no matter what the
> user API is, is that right, Christian?
Correct, yes. The context is the same we do CC conversion with and there it
works perfectly fine. We also hold a lock to make sure that the context isn't
used by more than one theread at the same time.
> The auxiliary context is for cases when you don't have any context around
> and need to submit some commands. It saves the context_create/destroy
> overhead but not much else. If the context created by VDPAU isn't
> initialized properly, the aux context can be used (if it works).
Well, using the auxiliary context migth work around the problem but won't
really solve it. Anyway a patch going this approach is attached, please test.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141007/4c687b68/attachment.html>
More information about the dri-devel
mailing list