plugins: simlpify gst_vaapi_create_display() helper.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Jul 2013 09:58:31 +0000 (11:58 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Jul 2013 09:58:31 +0000 (11:58 +0200)
commitcee9101dd8932fdfc426c51d28ccd17db97cc045
tree8acbc4aa2dd687582ea24481930b89f92517c10a
parent3d290a162cde580c49609bffb0e177922c08b3be
plugins: simlpify gst_vaapi_create_display() helper.

Simplify gst_vaapi_create_display() helper as gst_vaapi_display_XXX_new()
performs the necessary validation checks for the underlying VA display
prior to returning to the caller. So, if an error occurred, then NULL is
really returned in that case.
gst/vaapi/gstvaapipluginutil.c