vaapivideomemory: add gst_video_info_update_from_surface()
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Fri, 9 Dec 2016 15:14:14 +0000 (16:14 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 14 Dec 2016 16:25:43 +0000 (17:25 +0100)
commit0f819fa190ef3f052d5e663b6e76d921b1ef2caf
treed3c98a345c71d9e3816f3e554cba2551cca67cf2
parent7b2f774036a6c568f688a3e61b5b76eb58814819
vaapivideomemory: add gst_video_info_update_from_surface()

With this function is possible to refactor and remove duplicated code
between dmabuf configuration and direct rendering/uploading
configuration.
gst/vaapi/gstvaapivideomemory.c