summaryrefslogtreecommitdiff
path: root/testsuite/caps
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-01-29 01:20:23 +0000
committerDavid Schleef <ds@schleef.org>2004-01-29 01:20:23 +0000
commit6a096813d4e931610fbebb21e782c35eb53071c1 (patch)
tree55b7d53e3c4904ac9412ef321b189542cf98aba7 /testsuite/caps
parent0d25cd2aa476ad0de734b91aa9d2d85ec3a716f3 (diff)
configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
Original commit message from CVS: * configure.ac: Add detection for HAVE_PRINTF_EXTENSION and GST_PRINTF_EXTENSION_FORMAT_DEFINE. * docs/random/ds/0.9-suggested-changes: Notes from Company. * gst/gstcaps.c: (gst_caps_to_string): Add comment. * gst/gstconfig.h.in: Add define for GST_PTR_FORMAT * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object), (gst_debug_log_default), (_gst_info_printf_extension), (_gst_info_printf_extension_arginfo): Add printf extension. * gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P * gst/gststructure.c: (gst_structure_to_string), (_gst_structure_parse_value): Use gst_value_deserialize() and remove old code. * gst/gstvalue.c: (gst_value_deserialize_fourcc), (gst_value_deserialize_boolean), (gst_strtoi), (gst_value_deserialize_int), (gst_value_deserialize_double), (gst_value_deserialize_string), (gst_value_deserialize): Implement a bunch of deserialize functions and gst_value_deserialize. * gst/gstvalue.h: er, _de_serialize, not unserialize * testsuite/caps/string-conversions.c: (main): We don't currently handle (float) in caps, so convert these to (double). * testsuite/debug/Makefile.am: Add new test for the printf extension * testsuite/debug/printf_extension.c: (main): same
Diffstat (limited to 'testsuite/caps')
-rw-r--r--testsuite/caps/string-conversions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/caps/string-conversions.c b/testsuite/caps/string-conversions.c
index d94ee385d..8e9e7d648 100644
--- a/testsuite/caps/string-conversions.c
+++ b/testsuite/caps/string-conversions.c
@@ -147,10 +147,10 @@ bla:
/* fixed props entries */
test_string ("audio/raw ,test=(int)1");
- test_string ("audio/raw ,test=(float) 1");
+ test_string ("audio/raw ,test=(double) 1");
test_string ("audio/raw, test=(fourcc )1");
test_string ("audio/raw ,test=(i)1");
- test_string ("audio/raw ,test=(f) 1");
+ test_string ("audio/raw ,test=(d) 1");
test_string ("audio/raw, test=(4 )1");
test_string ("audio/raw,test=( fourcc ) 0x0000001");
test_string ("audio/raw,test =(fourcc) \"RGB \"");