mirror of
https://github.com/mpv-player/mpv
synced 2025-03-02 04:11:03 +00:00
vo_opengl: restore OSX "old" hwdec
Probably. Untested.
This commit is contained in:
parent
aac04c0d64
commit
8dd4ae13ff
@ -73,7 +73,7 @@ int ra_init_gl(struct ra *ra, GL *gl)
|
|||||||
desc->components[0][i] = i + 1;
|
desc->components[0][i] = i + 1;
|
||||||
desc->chroma_w = desc->chroma_h = 1;
|
desc->chroma_w = desc->chroma_h = 1;
|
||||||
}
|
}
|
||||||
if (strcmp(fmt->name, "ashit") == 0) {
|
if (strcmp(fmt->name, "appleyp") == 0) {
|
||||||
fmt->special_imgfmt = IMGFMT_UYVY;
|
fmt->special_imgfmt = IMGFMT_UYVY;
|
||||||
struct ra_imgfmt_desc *desc = talloc_zero(fmt, struct ra_imgfmt_desc);
|
struct ra_imgfmt_desc *desc = talloc_zero(fmt, struct ra_imgfmt_desc);
|
||||||
fmt->special_imgfmt_desc = desc;
|
fmt->special_imgfmt_desc = desc;
|
||||||
|
Loading…
Reference in New Issue
Block a user