Re: [FFmpeg-devel] [PATCH v2 3/3] vaapi: fix usage of invalid buffer ids.

2015-08-19 Thread wm4
On Wed, 19 Aug 2015 11:03:06 +0200 Gwenole Beauchesne wrote: > Invalid buffer ids are defined by VA_INVALID_ID. Use that through out > vaapi_*.c support files now that we have private data initialized and > managed by libavcodec. Previously, the only requirement for the public > vaapi_context str

[FFmpeg-devel] [PATCH v2 3/3] vaapi: fix usage of invalid buffer ids.

2015-08-19 Thread Gwenole Beauchesne
Invalid buffer ids are defined by VA_INVALID_ID. Use that through out vaapi_*.c support files now that we have private data initialized and managed by libavcodec. Previously, the only requirement for the public vaapi_context struct was to be zero-initialized. This fixes support for 3rdparty VA dri