1. 09 Feb, 2023 1 commit
    • Move VideoBoxesTest.java · 6af6cbec
      The existing implementation depends on an internal library (Mp4Slicer) to assert the output. We have removed the dependency on internal library and used golden data to compare the output.
      
      PiperOrigin-RevId: 508401527
      sheenachhabra committed
  2. 14 Feb, 2023 5 commits
  3. 08 Feb, 2023 32 commits
  4. 02 Feb, 2023 2 commits
    • Fix end of stream handling for previewing. · 976e3c72
      Before this CL, the `renderedLastFrame` flag is not set if the last frame is released immediately (force render), or when it's dropped.
      
      PiperOrigin-RevId: 506358626
      claincly committed
    • Report flushing completed after all pending frames are decoded. · 77cc2524
      With the current ExtTexMgr,
      
      it can happen that
      
      - `x` frames are registered, but haven't arrived yet
      - flush
        - need to drop `x` frames when they arrive on SurfaceTexture
        - status is reset to 0 pending, 0 available, drop `x` when frames arrive
      - register one frame
        - status is set to 1 pending, 0 available, drop `x` when frames arrive
      - flush
        - now the number of frame to drop is reset to `pending - available = 1`
        - but it should be `x+1`
      
      This CL solves the issue by reporting (by running the afterFlushTask) flush completes only after all the pending frames before calling flush are accounted for.
      
      PiperOrigin-RevId: 506310671
      claincly committed