1. 11 Apr, 2023 6 commits
    • Test: Add TextureOutputListener for texture output tests · 135cf814
      Before this CL, SurfaceTexture.onFrameAvailable was used to tell whether a frame
      was available in the VideoFrameProcessor's output texture. This was incorrect, as
      it would rely on having the texture be written to before the
      SurfaceTexture.onFrameAvailableListener is invoked, leading to null-pointer-
      exceptions on timeouts.
      
      Instead of using DefaultVideoFrameProcessor different interfaces to set that we
      want to output to a texture, and get that output texture, use one interface that
      sets a listener, and renders to a texture iff that listener is set. As this
      listener is executed on the GL thread, this also allows us to no longer need to
      expand visibility for the GL task executor and tasks.
      
      PiperOrigin-RevId: 522362101
      huangdarwin committed
    • disable transfer colors in DefaultShaderProgram.createApplyingOetf · 4ec70402
      PiperOrigin-RevId: 522347729
      tofunmi committed
    • Do not select unprepared media period in getMediaPeriodForEvent · 86f03b7b
      There is a race with the ad period preparation having completed
      and `onDownstreamFormatChanged` being called when a live stream
      is joined in an ad period. In this case the stream event metadata
      of the period is immediately emitted and causing an ad media period
      being created that is selected in `getMediaPeriodForEvent` before
      being prepared (1 out of 4).
      
      Using an `isPrepared` flag makes sure we don't hand out the media
      period to early in `getMediaPeriodForEvent`.
      
      PiperOrigin-RevId: 522340046
      bachinger committed
    • Read H265 profile info from CSD-0 data · 04e007bf
      To set the chroma format and depth information for H265 format,the csd-0 data
      needs to be parsed. The previous implementation skipped parsing
      csd-0 data and hard coded values based on "profile" field in MediaFormat.
      
      Along with above mention changes, corrected some of the comments
      as per spec.
      
      PiperOrigin-RevId: 522335595
      sheenachhabra committed
    • Correct ad durations when timeline moves more than a single period · d31ff0f9
      This change improves `ImaUtil.maybeCorrectPreviouslyUnknownAdDuration` to
      handles the case when the timeline moves forward more than a single period
      while an ad group with unknown period duration is being played.
      
      PiperOrigin-RevId: 522292612
      bachinger committed
    • Deprecate MediaMetadata folderType and stabilize mediaType+isBrowsable · 5e9b0c2f
      PiperOrigin-RevId: 522058915
      tonihei committed
  2. 05 Apr, 2023 20 commits
  3. 30 Mar, 2023 14 commits