• Thibault Saunier's avatar
    nle: Handle nested timelines update when file changes · a5529631
    Thibault Saunier authored
    When we have nested timelines, we need to make sure the underlying
    formatted file is reloaded when commiting the main composition to
    take into account the new timeline.
    
    In other to make the implementation as simple as possible we make
    sure that whenever the toplevel composition is commited, the decodebin
    holding the gesdemux is torn down so that a new demuxer is created
    with the new content of the timeline.
    
    To do that a we do a NleCompositionQueryNeedsTearDown query to which
    gesdemux answers leading to a full nlecomposition stack
    deactivation/activation cycle.
    a5529631
gesdemux.c 12.1 KB