decoder: add gst_vaapi_decoder_get_frame() API.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 13 Dec 2012 13:27:18 +0000 (14:27 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 18 Dec 2012 14:31:51 +0000 (15:31 +0100)
commit09c9e2037941730675441c305089beaf079c5f3e
tree37cd94148785fdd015ca62715fe51d4742376c57
parentc21d76cff2d6fe0dbab212bf7f55b0c9d5f83c46
decoder: add gst_vaapi_decoder_get_frame() API.

Add new gst_vaapi_decoder_get_frame() function meant to be used with
gst_vaapi_decoder_decode(). The purpose is to return the next decoded
frame as a GstVideoCodecFrame and the associated GstVaapiSurfaceProxy
as the user-data object.
gst-libs/gst/vaapi/gstvaapidecoder.c
gst-libs/gst/vaapi/gstvaapidecoder.h