API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets us...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 9 Aug 2006 15:13:14 +0000 (15:13 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 9 Aug 2006 15:13:14 +0000 (15:13 +0000)
commit57212633aa48050e14fcc11866c8c7e01d66e042
tree9f3435ad3ca4517bf6cd35f3d7ce2bb2bd1b583e
parentcb49718e8685f9941f383fc4ee2684d7bc270ce3
API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets us easily dump GstSegments into debug ...

Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/gstconfig.h.in:
* gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
(_gst_info_printf_extension_ptr),
(_gst_info_printf_extension_segment):
API: add GST_SEGMENT_FORMAT, which is a printf extension we
register that lets us easily dump GstSegments into debug
logs (#350419).
* tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
(info_segment_format_printf_extension), (gst_info_suite):
Add simple unit test that logs a bunch of different segments (not
valgrinded at the moment because of leaks in gst_debug_add_log_function).
ChangeLog
configure.ac
docs/gst/gstreamer-sections.txt
gst/gstconfig.h.in
gst/gstinfo.c
tests/check/gst/gstinfo.c [new file with mode: 0644]