mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
support Y800 in raw video
patch by Attila Ötvös, oattila chello hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24768 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
29979efc60
commit
7b356a6680
@ -79,6 +79,7 @@ static demuxer_t* demux_rawvideo_open(demuxer_t* demuxer) {
|
||||
case IMGFMT_YV12: imgsize=width*height+2*(width>>1)*(height>>1);break;
|
||||
case IMGFMT_YUY2: imgsize=width*height*2;break;
|
||||
case IMGFMT_UYVY: imgsize=width*height*2;break;
|
||||
case IMGFMT_Y800:
|
||||
case IMGFMT_Y8: imgsize=width*height;break;
|
||||
default:
|
||||
if (IMGFMT_IS_RGB(format))
|
||||
|
Loading…
Reference in New Issue
Block a user