Fix compile error with opengl and without va-api.
This commit is contained in:
parent
4fa4f6616a
commit
ee2311d252
2
video.c
2
video.c
|
@ -10196,7 +10196,9 @@ static const VideoModule *VideoModules[] = {
|
||||||
&VaapiModule,
|
&VaapiModule,
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_GLX
|
#ifdef USE_GLX
|
||||||
|
#ifdef USE_VAAPI
|
||||||
&VaapiGlxModule, // FIXME: if working, prefer this
|
&VaapiGlxModule, // FIXME: if working, prefer this
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
&NoopModule
|
&NoopModule
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue