vaapivideobufferpool: split caps validation
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 23 May 2016 20:30:04 +0000 (22:30 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 24 May 2016 08:33:18 +0000 (10:33 +0200)
commit21b184284bc4e9c6740457e74312c8eabdb28a8e
tree36088c5a81f7c2144c76efd7d0bea28da2e92bf8
parent1f5ba28bd0e0cfdacd747170c1b09c4e33973a73
vaapivideobufferpool: split caps validation

When validating the caps from bufferpool config, this patch distinguishes the
error from no caps received (NULL) from the invalid caps (cannot be converted
into GstVideoInfo structure).
gst/vaapi/gstvaapivideobufferpool.c