vpxenc: Unref frame on ERROR
authorThibault Saunier <tsaunier@gnome.org>
Tue, 19 Jan 2016 21:49:20 +0000 (22:49 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 20 Jan 2016 08:02:44 +0000 (10:02 +0200)
commit01f995b8ddc4f86e12ff32788ecd902c930129b5
tree5062b3030d0b79468257075265a0d112562384d5
parentd34910bf3065e3b04d095444e17fdbab3696261f
vpxenc: Unref frame on ERROR

All code paths for handle_frame() must somehow take ownership of the frame, be
it by actually unreffing, forwarding the frame elsewhere or storing it for
later.

http://bugzilla.gnome.org/show_bug.cgi?id=760666
ext/vpx/gstvpxenc.c