Merge remote-tracking branch 'qatar/master'
* qatar/master: vaapi: switch ff_vaapi_get_surface_id from Picture to AVFrame Conflicts: libavcodec/vaapi.c libavcodec/vaapi_internal.h See: 377cfc28a226a66d6f872f0a16b3811208011ebc Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
19139d8516
@ -35,10 +35,10 @@
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** Extract VASurfaceID from a Picture */
|
/** Extract VASurfaceID from an AVFrame */
|
||||||
static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *frm)
|
static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *pic)
|
||||||
{
|
{
|
||||||
return (uintptr_t)frm->data[3];
|
return (uintptr_t)pic->data[3];
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Common AVHWAccel.end_frame() implementation */
|
/** Common AVHWAccel.end_frame() implementation */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user