decoder: handle decode-only frames in raw API mode.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 30 Jan 2013 17:58:01 +0000 (18:58 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 30 Jan 2013 18:04:16 +0000 (19:04 +0100)
commit4499f39274b93a9987684f254d2cb0b60cf11659
tree6db5003cf7fa94fb98f52f9f5058057a51479540
parent2305b0db461753c756fe60b4ad60d5497f642ab0
decoder: handle decode-only frames in raw API mode.

Fix gst_vaapi_decoder_get_surface() to only return frames with a valid
surface proxy, i.e. with a valid VA surface. This means that any frame
marked as decode-only is simply skipped.
gst-libs/gst/vaapi/gstvaapidecoder.c