vaapipostproc: use scoped variable for return value
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Wed, 27 Sep 2017 11:32:34 +0000 (13:32 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 28 Sep 2017 11:56:13 +0000 (13:56 +0200)
commitf6fc1774b94f2d2e444ca38faa7102fcd1dc6334
treeac274c93e8362d30fc66ceed87419d11788b51f9
parent8fee85ecaa8acf7e907439356063074e6d507d0f
vaapipostproc: use scoped variable for return value

Instead of reusing a parameter variable for the return value of
gst_vaapipostproc_fixate_caps(), this patch uses the function scoped
pointer. Thus, the code is cleaner.

https://bugzilla.gnome.org/show_bug.cgi?id=785706
gst/vaapi/gstvaapipostproc.c