qtdemux: Try to expose whenever got new moov or new stream-start
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 8 May 2018 11:26:41 +0000 (20:26 +0900)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 10 May 2018 06:09:20 +0000 (08:09 +0200)
commitd72a7c038c6a1be3f865afa9b50f2878d02d87ba
treeadb85ab938a33ca1d7965dabe235e27c78b04520
parent0bd3459053a1941de758e8771973aa6c9f2aed9f
qtdemux: Try to expose whenever got new moov or new stream-start

Whenever got new moov or new stream-start,
demux will try to expose new pad by following rule.

Comparing stream-id in the current moov with previous one, then
* If matched stream-id is found from previous one,
  reuse existing pad (most common case)
* Otherwise, expose new pad with new stream-start
* No more used stream will be freed

https://bugzilla.gnome.org/show_bug.cgi?id=684790
gst/isomp4/qtdemux.c
gst/isomp4/qtdemux.h