vaapiupload: fix sink caps to report the supported set of YUV caps.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 13:42:24 +0000 (14:42 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 20 Nov 2012 15:04:51 +0000 (16:04 +0100)
commit237a4adb0cdf4aa6a12c6de1bede4e7f8bb1d796
treea371b517e157d17d77cec688bc5502c1b6bada27
parentc2a610735ff2b3f7e6f7b801ec4263a5eb8359de
vaapiupload: fix sink caps to report the supported set of YUV caps.

Try to allocate the GstVaapiUploader helper object prior to listing the
supported image formats. Otherwise, only a single generic caps is output
with no particular pixel format referenced in there.
gst/vaapi/gstvaapiupload.c