[FFmpeg-devel] [PATCH] List supported pixel formats

Michael Niedermayer michaelni
Fri May 25 19:45:43 CEST 2007


Hi

On Fri, May 25, 2007 at 05:46:35PM +0200, Stefano Sabatini wrote:
> Hi dear ffmpeg developers.
> 
> This patch is based on a patch recently posted by Panagiotis (see
> "List compiled in codecs"), and applies the same functionality and
> interface to -pix_fmt.
> 
> In order to get ffmpeg able to list the pixel formats the patch does what follows:
> 
> * move the PixFmtInfo structure definition from
>   libavcodec/imgconvert.c to libavcodec/avcodec.h
> 
> * declare as extern in avcodec.h the structure pix_fmt_info containing
>   all the pixel formats infos.

rejected this struct array is unfit to be exported like that
adding a field to the struct would break compatibility ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070525/a5c0ab10/attachment.pgp>



More information about the ffmpeg-devel mailing list