mirror of https://github.com/mpv-player/mpv
vo_null: do not accept hwaccel formats
Do not accept hwaccel formats since they need special vo support and thus will actually not work with it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33953 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar
This commit is contained in:
parent
9dc8d891d1
commit
4f04019338
|
@ -66,6 +66,8 @@ draw_frame(uint8_t *src[])
|
|||
static int
|
||||
query_format(uint32_t format)
|
||||
{
|
||||
if (IMGFMT_IS_HWACCEL(format))
|
||||
return 0;
|
||||
return VFCAP_CSP_SUPPORTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue