Commit a9a24f5e authored by diego's avatar diego

Add support for grayscale MJPEG streams sent by Axis cameras such as the

207MW (http://www.axis.com/products/cam_207mw/).
patch by Sam Hocevar, sam+ffmpeg zoy org


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9913 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5e1658d5
......@@ -298,6 +298,9 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
else
s->avctx->pix_fmt = PIX_FMT_GRAY8;
break;
case 0x110000:
s->avctx->pix_fmt = PIX_FMT_GRAY8;
break;
case 0x121111:
s->avctx->pix_fmt = s->cs_itu601 ? PIX_FMT_YUV440P : PIX_FMT_YUVJ440P;
break;
......
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