]> git.sesse.net Git - ffmpeg/commit
Make avcodec_pix_fmt_string() use the information in the pixel format
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 10 Nov 2010 20:13:19 +0000 (20:13 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 10 Nov 2010 20:13:19 +0000 (20:13 +0000)
commit2de6f6e8284ca63266330ada36d75ed4e37ccf19
tree7b7d70a29f4f2a1473a0fcec8939d178f2a95f7f
parent086e997e34d05b27804a8521791399ecccd76011
Make avcodec_pix_fmt_string() use the information in the pixel format
descriptors for printing the number of channels/components.

Also replace the term "nb_channels" with "nb_components" which is more
consistent with the FFmpeg internal terminology, and is somehow
different with respect to the current definition of nb_channels in
PixFmtInfo.

See thread:
Subject: [FFmpeg-devel] [PATCH 6/8] Make avcodec_pix_fmt_string() use the
        information in the pixel format descriptors for printing the
        number of planes. Also replace the term "nb_channels" with
        "nb_planes" which is more correct.
Date: Fri,  5 Nov 2010 12:01:38 +0100

Originally committed as revision 25717 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgconvert.c