mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 01:47:38 +00:00
vo_gpu_next: fix typo in video_screenshot()
Undefined behavior (bad initializer). Somehow didn't trigger a warning
on my end...
Fixes: a8192eda6c
This commit is contained in:
parent
a8192eda6c
commit
7ae4396ea5
@ -1177,7 +1177,7 @@ static bool update_auto_profile(struct priv *p, int *events)
|
||||
static void video_screenshot(struct vo *vo, struct voctrl_screenshot *args)
|
||||
{
|
||||
struct priv *p = vo->priv;
|
||||
pl_options pars = pars;
|
||||
pl_options pars = p->pars;
|
||||
pl_gpu gpu = p->gpu;
|
||||
pl_tex fbo = NULL;
|
||||
args->res = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user