Mercurial > libavcodec.hg
changeset 11695:2912f70b4e71 libavcodec
Make the codec tags for the yuvjXXX pixel formats the same as the
corresponding ones for the yuvXXX pixel formats.
author | stefano |
---|---|
date | Sun, 09 May 2010 23:04:01 +0000 |
parents | 5e8fdcac294e |
children | 9519a0e8cec6 |
files | raw.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/raw.c Sun May 09 22:56:04 2010 +0000 +++ b/raw.c Sun May 09 23:04:01 2010 +0000 @@ -36,6 +36,13 @@ { PIX_FMT_YUV411P, MKTAG('Y', '4', '1', 'B') }, { PIX_FMT_YUV422P, MKTAG('Y', '4', '2', 'B') }, { PIX_FMT_YUV422P, MKTAG('P', '4', '2', '2') }, + /* yuvjXXX formats are deprecated hacks specific to libav*, + they are identical to yuvXXX */ + { PIX_FMT_YUVJ420P, MKTAG('I', '4', '2', '0') }, /* Planar formats */ + { PIX_FMT_YUVJ420P, MKTAG('I', 'Y', 'U', 'V') }, + { PIX_FMT_YUVJ420P, MKTAG('Y', 'V', '1', '2') }, + { PIX_FMT_YUVJ422P, MKTAG('Y', '4', '2', 'B') }, + { PIX_FMT_YUVJ422P, MKTAG('P', '4', '2', '2') }, { PIX_FMT_GRAY8, MKTAG('Y', '8', '0', '0') }, { PIX_FMT_GRAY8, MKTAG(' ', ' ', 'Y', '8') },