qtmux: Don't forget to update pad->last_buf
authorEdward Hervey <edward@centricular.com>
Wed, 12 Apr 2017 11:26:59 +0000 (13:26 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 12 Apr 2017 11:26:59 +0000 (13:26 +0200)
commit7077425c3d0cdf3fc418d1747dfb16293c8322f2
tree436d0f57dd84b8bea0dce99a6ef7da4e514ec7d9
parent7e9b7658e57dca5dcf450c430ec38db8c047f3c6
qtmux: Don't forget to update pad->last_buf

buf is the current pad->last_buf value. If ever it gets copied/unreffed,
we need to make sure to write back the new  pointer to the last_buf
variable.

Fixes using wrong pointer values in the case of decrasing DTS value
gst/isomp4/gstqtmux.c