Commit 254842b7 by kimvde Committed by Ian Baker

Pass CapturingDecoderFactory to AssetLoader

Otherwise, the decoders are not captured. It works at the moment for the
video decoder because decoding is still done on the sample pipeline but
it will moved to the AssetLoader soon.

PiperOrigin-RevId: 495275575
parent 58242e6c
...@@ -160,7 +160,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; ...@@ -160,7 +160,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
.setRemoveVideo(removeVideo) .setRemoveVideo(removeVideo)
.setFlattenVideoForSlowMotion(transformationRequest.flattenForSlowMotion) .setFlattenVideoForSlowMotion(transformationRequest.flattenForSlowMotion)
.setMediaSourceFactory(mediaSourceFactory) .setMediaSourceFactory(mediaSourceFactory)
.setDecoderFactory(decoderFactory) .setDecoderFactory(this.decoderFactory)
.setLooper(internalLooper) .setLooper(internalLooper)
.setListener(componentListener) .setListener(componentListener)
.setClock(clock) .setClock(clock)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment