1. 02 Mar, 2018 5 commits
    • Send empty timeline for empty DynamicConcatenatingMediaSource immediately. · 32b4db36
      Without child sources, the timeline can't possibly updated again within the
      current looper message. Thus, we can send the empty timeline immediately.
      
      This fixes a recently introduced flakiness in the test.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=187295700
      tonihei committed
    • Allow clipping offset windows · 38914f0b
      ClippingMediaSource provides a timeline where the period and window have the
      same start/end positions, so when clipping a child timeline with a non-zero
      offset between the window and period it is necessary to clear the offset then
      apply the offset to the start/end positions used in the ClippingMediaPeriod.
      
      Also add a message to clipping exceptions.
      
      Also fix adjustment of seeks to the start of the clipped view.
      
      Issue: #3888
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=187292506
      andrewlewis committed
    • Allow parallel reuse of media sources. · b2c44577
      This is achieved by adding a BaseMediaSource which keeps a reference count of the
      number of times the source has been prepared and forwards to the actual implementations
      only once, such that only minimal changes are needed for each media source.
      
      Issue:#3498
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=187186691
      tonihei committed
    • Change listener notification in DynamicConcatenatingMediaSource. · b489f58c
      Up to now we use a boolean "preventListenerNotification" to suppress updates
      while other operations are still in progress. This ensures, for example, that
      only one initial timeline is issued even for multiple child sources.
      
      As soon as we allow to reuse the same instance, it becomes increasingly difficult
      to manage this manual listener notification suppression. Therefore, this change
      schedules an update as a new message on the playback thread immediately after the
      current message. This way, we also ensure that all simultaneous updates within one
      looper message iteration are reported together.
      
      Issue:#3498
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=187180342
      tonihei committed
    • Update moe equivalence · 322e15f6
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=187165173
      olly committed
  2. 27 Feb, 2018 8 commits
  3. 26 Feb, 2018 6 commits
  4. 23 Feb, 2018 1 commit
  5. 22 Feb, 2018 7 commits
  6. 21 Feb, 2018 2 commits
  7. 20 Feb, 2018 11 commits