• Seungha Yang's avatar
    qtdemux: Don't switch active streams and old streams ... · 05bd25ea
    Seungha Yang authored
    ... before the old streams is not exposed yet for MSS stream.
    
    In case of DASH, newly configured streams will be exposed
    whenever demux got moov without delay.
    Meanwhile, since there is no moov box in MSS stream,
    the caps will act like moov. Then, there is delay for exposing new pads
    until demux got the first moof.
    
    So, following scenario is possible only for MSS but not for DASH,
    STREAM-START -> CAPS -> (configure stream but NOT EXPOSED YET)
    -> STREAM-START-> CAPS (configure stream again).
    
    In above scenario, we can reuse old stream without any stream reconfigure.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=797239
    05bd25ea
qtdemux.c 493 KB