vaapidecode: handle decode-only frames.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 30 Jan 2013 15:26:07 +0000 (16:26 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 30 Jan 2013 15:38:48 +0000 (16:38 +0100)
commit41dcd82e2f5747113bd90acea6034fb2d613536f
tree09d6d7454e206933e46ebc72151a929075c1d53e
parent0847b3888d42b3680c43d06cba84d69e67fb3c3b
vaapidecode: handle decode-only frames.

Decode-only frames may not have a valid surface proxy. So, simply discard
them gracefully, i.e. don't create meta data information. GstVideoDecoder
base class will properly handle this case and won't try to push any buffer
to downstream elements.
gst/vaapi/gstvaapidecode.c