tests: use gst_vaapi_image_format_from_structure() in test-display.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 20 Mar 2013 10:53:59 +0000 (11:53 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 20 Mar 2013 17:30:09 +0000 (18:30 +0100)
commit8088b1b2b426069d00c3c38be280bd8a21bf9103
treec005bdc4c70c6afd90c8bd96bd378d0246768175
parent9128e5af48121e659f74d31745699f0b91e9d5a1
tests: use gst_vaapi_image_format_from_structure() in test-display.

Use gst_vaapi_image_format_from_structure() helper in test-display and
then extract a VAImageFormat from it instead of relying on GstCaps for
YUV and RGB formats.
tests/test-display.c