On Mon, Sep 7, 2015 at 11:44 AM, Vittorio Giovara <[email protected]> wrote: > On Mon, Sep 7, 2015 at 9:13 AM, Anton Khirnov <[email protected]> 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 [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
