mirror of
https://github.com/mpv-player/mpv
synced 2025-03-29 15:00:27 +00:00
vo_tga: Use the proper imgfmt names
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31719 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a7308d3546
commit
c2abfa3799
@ -193,8 +193,8 @@ static int draw_frame(uint8_t * src[])
|
||||
static int query_format(uint32_t format)
|
||||
{
|
||||
switch(format){
|
||||
case IMGFMT_BGR|15:
|
||||
case IMGFMT_BGR|24:
|
||||
case IMGFMT_BGR15:
|
||||
case IMGFMT_BGR24:
|
||||
case IMGFMT_BGRA:
|
||||
return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user