Make regression tests to pass with libavfilter.
authorVitor Sessak <vitor1001@gmail.com>
Sun, 10 Feb 2008 18:04:36 +0000 (18:04 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sun, 10 Feb 2008 18:04:36 +0000 (18:04 +0000)
Originally committed as revision 11895 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/formats.c

index 3748030..c237c8a 100644 (file)
@@ -85,7 +85,7 @@ AVFilterFormats *avfilter_make_format_list(int len, ...)
 
 AVFilterFormats *avfilter_all_colorspaces(void)
 {
 
 AVFilterFormats *avfilter_all_colorspaces(void)
 {
-    return avfilter_make_format_list(31,
+    return avfilter_make_format_list(35,
                 PIX_FMT_YUV444P,  PIX_FMT_YUV422P,  PIX_FMT_YUV420P,
                 PIX_FMT_YUV411P,  PIX_FMT_YUV410P,
                 PIX_FMT_YUYV422,  PIX_FMT_UYVY422,  PIX_FMT_UYYVYY411,
                 PIX_FMT_YUV444P,  PIX_FMT_YUV422P,  PIX_FMT_YUV420P,
                 PIX_FMT_YUV411P,  PIX_FMT_YUV410P,
                 PIX_FMT_YUYV422,  PIX_FMT_UYVY422,  PIX_FMT_UYYVYY411,
@@ -99,7 +99,9 @@ AVFilterFormats *avfilter_all_colorspaces(void)
                 PIX_FMT_RGB8,     PIX_FMT_BGR8,
                 PIX_FMT_RGB4_BYTE,PIX_FMT_BGR4_BYTE,
                 PIX_FMT_GRAY16BE, PIX_FMT_GRAY16LE,
                 PIX_FMT_RGB8,     PIX_FMT_BGR8,
                 PIX_FMT_RGB4_BYTE,PIX_FMT_BGR4_BYTE,
                 PIX_FMT_GRAY16BE, PIX_FMT_GRAY16LE,
-                PIX_FMT_GRAY8,    PIX_FMT_PAL8);
+                PIX_FMT_GRAY8,    PIX_FMT_PAL8,
+                PIX_FMT_MONOWHITE,PIX_FMT_MONOBLACK
+                PIX_FMT_NV12,     PIX_FMT_NV21);
 }
 
 void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref)
 }
 
 void avfilter_formats_ref(AVFilterFormats *f, AVFilterFormats **ref)