Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lavc: Add hardware config metadata for decoders supporting hardware output | Mark Thompson | 2017-12-19 | 1 | -0/+38 |
| | | | | | | | | | This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwaccels as external declarations - this will be used later to generate the hwaccel list at configure time. | ||||
* | lavc: Add codec metadata to indicate hardware support | Mark Thompson | 2017-12-19 | 1 | -0/+18 |
| | |||||
* | pthread_frame: do not run hwaccel decoding asynchronously unless it's safe | Anton Khirnov | 2016-12-19 | 1 | -0/+24 |
Certain hardware decoding APIs are not guaranteed to be thread-safe, so having the user access decoded hardware surfaces while the decoder is running in another thread can cause failures (this is mainly known to happen with DXVA2). For such hwaccels, only allow the decoding thread to run while the user is inside a lavc decode call (avcodec_send_packet/receive_frame). |