libs: context: skip VAContext if no frame size
authorHyunjun Ko <zzoon@igalia.com>
Fri, 2 Dec 2016 00:30:52 +0000 (09:30 +0900)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 7 Dec 2016 15:47:01 +0000 (16:47 +0100)
commit41d27b5e2ec3fab6cebbe92569dd6e29428f1033
treef37caf20520e5da86893972ec6be08cb432609e2
parent059cc59a29c5df1cba55bee8d8c4a25002e9f973
libs: context: skip VAContext if no frame size

If GstVaapiContextInfo has just initial information, without frame's
width and height, skip the creation of the VAContext, just keep the
VAConfig.

https://bugzilla.gnome.org/show_bug.cgi?id=769266

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
gst-libs/gst/vaapi/gstvaapicontext.c