File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
libraries/exoplayer/src/main/java/androidx/media3/exoplayer/video Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11
11
* Audio:
12
12
* Make ` androidx.media3.common.audio.SonicAudioProcessor ` final.
13
13
* Video:
14
+ * Change ` MediaCodecVideoRenderer.shouldUsePlaceholderSurface ` to
15
+ protected so that applications can override to block usage of
16
+ placeholder surfaces
17
+ ([ #1905 ] ( https://github.com/androidx/media/pull/1905 ) ).
14
18
* Text:
15
19
* Metadata:
16
20
* Image:
Original file line number Diff line number Diff line change @@ -1882,7 +1882,7 @@ protected boolean shouldUseDetachedSurface(MediaCodecInfo codecInfo) {
1882
1882
return Util .SDK_INT >= 35 && codecInfo .detachedSurfaceSupported ;
1883
1883
}
1884
1884
1885
- private boolean shouldUsePlaceholderSurface (MediaCodecInfo codecInfo ) {
1885
+ protected boolean shouldUsePlaceholderSurface (MediaCodecInfo codecInfo ) {
1886
1886
return Util .SDK_INT >= 23
1887
1887
&& !tunneling
1888
1888
&& !codecNeedsSetOutputSurfaceWorkaround (codecInfo .name )
You can’t perform that action at this time.
0 commit comments