On Mon, Sep 7, 2015 at 11:44 AM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > On Mon, Sep 7, 2015 at 9:13 AM, Anton Khirnov <an...@khirnov.net> wrote: >> Quoting Vittorio Giovara (2015-09-02 18:59:40) >>> Applications can now detect rgb/yuv/gray/mono color types just >>> by looking at pixdesc.flags. >> >> Can't you do it already by checking that the pixfmt is single component >> and not rgb? > > you also have gray with alpha which is is two components
So check if its one component, or two and has the alpha flag? =p _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel