Commit ce59680
Always call onProcessedStreamChanged for first stream for effects
Before this CL:
- MediaCodecVideoRenderer.onProcessedStreamChanged was called for the
first stream in CompositionPlayer.
- MediaCodecVideoRenderer.onProcessedStreamChanged was NOT called for
the first stream in ExoPlayer.setVideoEffects.
This discrepancy was adding some complexity to the code, making it less robust.
PiperOrigin-RevId: 7354393201 parent e8842b9 commit ce59680
File tree
2 files changed
+4
-9
lines changed- libraries
- exoplayer/src/main/java/androidx/media3/exoplayer/video
- transformer/src/main/java/androidx/media3/transformer
2 files changed
+4
-9
lines changedLines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
| 938 | + | |
938 | 939 | | |
939 | 940 | | |
940 | 941 | | |
| |||
962 | 963 | | |
963 | 964 | | |
964 | 965 | | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | | - | |
969 | | - | |
970 | | - | |
971 | | - | |
972 | 966 | | |
973 | 967 | | |
974 | 968 | | |
| |||
992 | 986 | | |
993 | 987 | | |
994 | 988 | | |
995 | | - | |
996 | 989 | | |
997 | 990 | | |
998 | 991 | | |
| |||
1869 | 1862 | | |
1870 | 1863 | | |
1871 | 1864 | | |
| 1865 | + | |
| 1866 | + | |
| 1867 | + | |
1872 | 1868 | | |
1873 | 1869 | | |
1874 | 1870 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | 332 | | |
334 | 333 | | |
335 | 334 | | |
| |||
0 commit comments