Skip to content

Commit

Permalink
Pass CapturingDecoderFactory to AssetLoader
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kim-vde authored and icbaker committed Dec 15, 2022
1 parent 58242e6 commit 254842b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public TransformerInternal(
.setRemoveVideo(removeVideo)
.setFlattenVideoForSlowMotion(transformationRequest.flattenForSlowMotion)
.setMediaSourceFactory(mediaSourceFactory)
.setDecoderFactory(decoderFactory)
.setDecoderFactory(this.decoderFactory)
.setLooper(internalLooper)
.setListener(componentListener)
.setClock(clock)
Expand Down

0 comments on commit 254842b

Please sign in to comment.