Skip to content
Snippets Groups Projects
Commit 8b3480e2 authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

C2VdaBqBlockPool: avoid unnecessary function call at surface switch

This CL changes the order of the function call at configuring producer
to avoid unnecessary call when any error occurs or the producer is not
changed.

Bug: 160110407
Test: android.media.cts.MediaCodecPlayerTest#testPlaybackSwitchViews

Change-Id: I194f929ab7dbdaa10ab55dd3a11ca4a1c9a0d40a
parent 626efac1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment