Re: [FFmpeg-devel] [PATCH 2/2] pthread_frame: change the criterium for updating thread contexts

2020-06-10 Thread James Almer
On 6/9/2020 8:20 AM, Anton Khirnov wrote: > Currently the next thread's context is updated from the previous one's > if the codec descriptor is not marked as intra-only. That is not > entirely correct, since that property does not necessarily imply > anything about how a specific decoder

[FFmpeg-devel] [PATCH 2/2] pthread_frame: change the criterium for updating thread contexts

2020-06-09 Thread Anton Khirnov
Currently the next thread's context is updated from the previous one's if the codec descriptor is not marked as intra-only. That is not entirely correct, since that property does not necessarily imply anything about how a specific decoder implementation behaves. Instead, use the presence of the