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:20:55 +0000 (17:20 +0100)
commite5abbe0440784a38c856f7b311fdb3869763a409
tree8ccd83769afaa65b2ffd6b5e26f1284d3d7fc130
parent8a1dc4978f9b96f2361d6717cffe3304d7c9335d
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