mirror of https://github.com/mpv-player/mpv
There is a draw_alpha for uyvy, use it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18195 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ced4a23f8d
commit
22f7791e6c
|
@ -278,6 +278,8 @@ inline static draw_alpha_f get_draw_alpha(uint32_t fmt) {
|
|||
return vo_draw_alpha_yv12;
|
||||
case IMGFMT_YUY2:
|
||||
return vo_draw_alpha_yuy2;
|
||||
case IMGFMT_UYVY:
|
||||
return vo_draw_alpha_uyvy;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue