Commit d91e96af authored by Jonathan Rosser's avatar Jonathan Rosser Committed by Guillaume Beraudo
Browse files

support UYVY pixel formats

parent f743c8b4
......@@ -83,6 +83,7 @@ int ms_picture_init_from_mblk_with_size(MSPicture *buf, mblk_t *m, MSPixFmt fmt,
break;
case MS_YUY2:
case MS_YUYV:
case MS_UYVY:
memset(buf,0,sizeof(*buf));
buf->w=w;
buf->h=h;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment