qtmux: fix renegotiation check
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 4 Mar 2020 21:10:40 +0000 (22:10 +0100)
committerJan Schmidt <jan@centricular.com>
Thu, 19 Mar 2020 12:34:52 +0000 (23:34 +1100)
commit56e5243f030fe01398555f6ddf8cf2fdc8e19c34
tree93232faaf87263d570e4db08ab98baf6fb38df57
parent18e09de0a225ac3e784010aa56f16a6d7e5ff187
qtmux: fix renegotiation check

By the time sink_event is called, the pad's current caps have
already been updated. To address this, implement sink_event_pre_queue,
and check if the pad can be renegotiated there.

Fixes #707
gst/isomp4/gstqtmux.c