vaapidecode: unref output frame earlier
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Sun, 10 Jul 2016 17:33:14 +0000 (19:33 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 11 Jul 2016 08:40:15 +0000 (10:40 +0200)
commitc9a5801c35c55544287689cc60743e8a67bc19ee
tree27ce02a0190a81265ddabea2d4490ec97facd180
parentcb0ec6b60c647cd3c01fe8d8c50a2fb81acf73eb
vaapidecode: unref output frame earlier

The queue in GstVaapiDecode adds an extra reference to the frames. This patch
unref that extra reference earlier making the code simpler to follow.

https://bugzilla.gnome.org/show_bug.cgi?id=768652
gst/vaapi/gstvaapidecode.c