[Bug 84140] mplayer crashes playing some files using vdpau output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changed bug 84140
What Removed Added
CC   deathsimple@vodafone.de

Comment # 24 on bug 84140 from
Created attachment 107497 [details] [review]
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux