• T
    Fix bug in DynamicConcatenatingMediaSource at dynamic changes of empty timelines. · 28697799
    tonihei 提交于
    When the dynamic media source contains multiple empty timelines in a row and some
    of them dynamically change to a non-empty timeline, the window and period indices
    are not updated correctly because the index of the changed child source is wrong.
    
    To fix this bug, the child index is added to the media period holder to have direct
    access on the current child index to prevent ambiguity.
    
    Furthermore, the uid is changed to be the hash code of the MediaSourceHolder not the
    MediaSource itself to allow adding the same MediaSource twice without violating the
    unique uid policy.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=183973462
    28697799
DynamicConcatenatingMediaSource.java 29.4 KB