qtdemux: Update variables before early exit
authorEdward Hervey <edward@centricular.com>
Mon, 3 Apr 2017 09:34:49 +0000 (11:34 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 3 Apr 2017 09:37:52 +0000 (11:37 +0200)
commit1e4cdc6d6f9d2554aadd5bc1f22c1c23899b7ac2
tree3bdebacfc3102cb3e7af3ff710a99e5ebdc7faf1
parenta9f26c2a14928cf666bbbea0d0320a7681bdabb3
qtdemux: Update variables before early exit

This is an update of d78d5896272d78df41e696fac929e7dfb3bb3dfa

We still exit as early as possible in case of non-ok/non-unlinked combined
flow, but we first make sure that we update the internal position variables.

This ensures that if upstreams "ignores" the flow return (and carries on pushing),
we don't end up processing data with completely bogus variables/positions.
gst/isomp4/qtdemux.c