mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
Add conversion from IMGFMT_Y8 to PIX_FMT_GRAY8
Patch by Gianluigi Tiesi (sherpya AT netfarm DOT it> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19922 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
27d41c9145
commit
c49bbd2506
@ -44,6 +44,7 @@ enum PixelFormat imgfmt2pixfmt(int fmt)
|
||||
case IMGFMT_NV21:
|
||||
return PIX_FMT_NV21;
|
||||
case IMGFMT_Y800:
|
||||
case IMGFMT_Y8:
|
||||
return PIX_FMT_GRAY8;
|
||||
case IMGFMT_IF09:
|
||||
case IMGFMT_YVU9:
|
||||
|
Loading…
Reference in New Issue
Block a user