libs: encoder: refactor init_context_info()
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 4 Apr 2017 12:39:59 +0000 (14:39 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 6 Apr 2017 20:00:05 +0000 (22:00 +0200)
commit31d326c9ee12e6c8da7b765c9968ac52ac29239f
tree84db6134375ca7e4930abf2a84092ea989560297
parentdb7268117d804a54f8be60c1046b9969ac112950
libs: encoder: refactor init_context_info()

In order to generate vaapi contexts iterative, the function
init_context_info() is refactored to pass, as parameters the
GstVaapiContextInfo and the GstVaapiProfile.

https://bugzilla.gnome.org/show_bug.cgi?id=771291
gst-libs/gst/vaapi/gstvaapiencoder.c