gst-plugins-base: tests: test 16-bit rgb formats in test_parse_caps_rgb

Vincent Penquerc'h vincent at kemper.freedesktop.org
Mon Jan 30 08:04:04 PST 2012


Module: gst-plugins-base
Branch: master
Commit: 6f6f079dd93e113ad8f2e41ef56d462acbf3fea1
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=6f6f079dd93e113ad8f2e41ef56d462acbf3fea1

Author: George Kiagiadakis <george.kiagiadakis at collabora.com>
Date:   Tue Jan 10 21:17:58 2012 +0200

tests: test 16-bit rgb formats in test_parse_caps_rgb

https://bugzilla.gnome.org/show_bug.cgi?id=667681

---

 tests/check/libs/video.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/tests/check/libs/video.c b/tests/check/libs/video.c
index fd3178d..ea32bd4 100644
--- a/tests/check/libs/video.c
+++ b/tests/check/libs/video.c
@@ -560,7 +560,13 @@ GST_START_TEST (test_parse_caps_rgb)
     GST_VIDEO_CAPS_RGBA, GST_VIDEO_FORMAT_RGBA}, {
     GST_VIDEO_CAPS_ARGB, GST_VIDEO_FORMAT_ARGB}, {
     GST_VIDEO_CAPS_BGRA, GST_VIDEO_FORMAT_BGRA}, {
-    GST_VIDEO_CAPS_ABGR, GST_VIDEO_FORMAT_ABGR}
+    GST_VIDEO_CAPS_ABGR, GST_VIDEO_FORMAT_ABGR},
+        /* 16 bit */
+    {
+    GST_VIDEO_CAPS_RGB_16, GST_VIDEO_FORMAT_RGB16}, {
+    GST_VIDEO_CAPS_BGR_16, GST_VIDEO_FORMAT_BGR16}, {
+    GST_VIDEO_CAPS_RGB_15, GST_VIDEO_FORMAT_RGB15}, {
+    GST_VIDEO_CAPS_BGR_15, GST_VIDEO_FORMAT_BGR15}
   };
   gint i;
 



More information about the gstreamer-commits mailing list