mirror of https://git.ffmpeg.org/ffmpeg.git
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: 377cfc28a2
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
19139d8516
|
@ -35,10 +35,10 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
/** Extract VASurfaceID from a Picture */
|
||||
static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *frm)
|
||||
/** Extract VASurfaceID from an AVFrame */
|
||||
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 */
|
||||
|
|
Loading…
Reference in New Issue