download: use GstVideoInfo facilities to build output caps.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 21 Dec 2013 07:27:30 +0000 (08:27 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 21 Dec 2013 11:35:24 +0000 (12:35 +0100)
commit7f88fdcc03294ddf2785f5dac0c27c2f66f789f9
treea9a4143216f88e6a88b26df572621216abd9d475
parent113bd3a5f296086b618748950b36d51ff11efc98
download: use GstVideoInfo facilities to build output caps.

Use standard GstVideoInfo related functions to build the output caps,
thus directly preserving additional fields as needed, instead of
manually copying them over through gst_vaapi_append_surface_caps().

Also ensure that the input caps are fixated first.
gst/vaapi/gstvaapidownload.c