On 02/23/2016 01:11 PM, Michael Niedermayer wrote:
+            enum AVPixelFormat pix_fmt = enc->pix_fmt;
+            if (pix_fmt == AV_PIX_FMT_NONE && enc->bits_per_coded_sample == 1)
+                pix_fmt = AV_PIX_FMT_MONOWHITE;


When is pix_fmt AV_PIX_FMT_NONE in this context? And what is this "enum AVPixelFormat pix_fmt = enc->pix_fmt" doing?

Mats

--
Mats Peterson
http://matsp888.no-ip.org/~mats/

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to