display: destroy display on creation failure.
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 13 Oct 2011 21:08:13 +0000 (17:08 -0400)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 7 Dec 2011 16:27:36 +0000 (17:27 +0100)
commit921f44e258c85929b150094bd08b6a99ed9562f8
tree2aa048f2394231fcb2f835f4d5cbf819893d5b4e
parent67cd9d15e2624d8d428d88b0f72f6f2795dba985
display: destroy display on creation failure.

This allows element to detect that the display creation has actually
failed.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/gstvaapidisplay.c