qtmux: Fix leak
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 13 Apr 2018 20:49:43 +0000 (22:49 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Fri, 13 Apr 2018 20:49:43 +0000 (22:49 +0200)
commitee99cd7037fac8f2c60303fe3f9f32a6278a9191
tree29f4d2d9e5c6e133111b965dbe976d5193f41297
parentacb6090e47ac36495c92ba30a9656e566ca1bc95
qtmux: Fix leak

gst_qt_mux_can_renegotiate () gets called everywhere following
that pattern:

return gst_qt_mux_can_renegotiate (ref(self));

This means the reference must be released both in the success
and failure cases, it was only done in the success case.
gst/isomp4/gstqtmux.c