Commit e462cf3
committed
vo_gpu_next: use emulated formats only as fallback
Makes use of the query_format fallback logic introduced in
the previous commit.
Fallback formats are likely to be extraordinarily slow.
Trigger for this issue was an Android device (of course)
where there are no reasonable formats to map yuv420p10le and
mpv would pick 32-bit float RGB as the next best format,
forcing a slow path in both swscale and the GLES driver.
With the new logic mpv will convert 8-bit YUV, which enables
playback at a reasonable frame rate.1 parent 02eda79 commit e462cf3
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1176 | 1176 | | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | | - | |
| 1179 | + | |
1180 | 1180 | | |
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | 1184 | | |
1185 | | - | |
| 1185 | + | |
1186 | 1186 | | |
| 1187 | + | |
1187 | 1188 | | |
1188 | | - | |
1189 | | - | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1190 | 1193 | | |
1191 | 1194 | | |
1192 | | - | |
| 1195 | + | |
1193 | 1196 | | |
1194 | 1197 | | |
1195 | 1198 | | |
| |||
0 commit comments