vaapidecodebin: fix a leaked display instance
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 2 Nov 2015 18:05:07 +0000 (19:05 +0100)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 9 Nov 2015 14:50:14 +0000 (15:50 +0100)
commita2611b7f35ef34677eda6e7c149690e5a5a6bcc2
tree5f0b91217893651473f422732fe9c8c60078e46f
parentf182fcfb379344690292c52542f92a9e7f0bf1a3
vaapidecodebin: fix a leaked display instance

The display returned by gst_vaapi_video_context_get_display() increments the
references. Thus, we have to unref the returned display.

Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
https://bugzilla.gnome.org/show_bug.cgi?id=757595
gst/vaapi/gstvaapidecodebin.c