mirror of https://github.com/mpv-player/mpv
parent
c0cbe74912
commit
79272e1469
|
@ -63,7 +63,7 @@ static int init_decoder(struct lavc_ctx *ctx, int w, int h)
|
|||
|
||||
// This is proper use of the hw_frames_ctx API, but it does not work
|
||||
// (appaears to work but fails e.g. with 10 bit). The cuvid wrapper
|
||||
// does non-standard things, and it's a meesy situation.
|
||||
// does non-standard things, and it's a messy situation.
|
||||
/*
|
||||
hwframe_ctx->width = w;
|
||||
hwframe_ctx->height = h;
|
||||
|
|
|
@ -622,7 +622,7 @@ static struct sc_uniform *find_uniform(struct gl_shader_cache *sc,
|
|||
return &sc->uniforms[sc->num_uniforms - 1];
|
||||
}
|
||||
|
||||
const char* mp_sampler_type(GLenum texture_target)
|
||||
const char *mp_sampler_type(GLenum texture_target)
|
||||
{
|
||||
switch (texture_target) {
|
||||
case GL_TEXTURE_1D: return "sampler1D";
|
||||
|
|
Loading…
Reference in New Issue