[farsight2/master] Print optional params list pointer in debug too

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:08 PST 2008


---
 gst-libs/gst/farsight/fs-codec.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-codec.h b/gst-libs/gst/farsight/fs-codec.h
index 6914d21..72d15d8 100644
--- a/gst-libs/gst/farsight/fs-codec.h
+++ b/gst-libs/gst/farsight/fs-codec.h
@@ -126,13 +126,14 @@ struct _FsCodecParameter {
  * Formats the codec in args for FS_CODEC_FORMAT
  */
 
-#define FS_CODEC_FORMAT "%d: %s %s clock:%d channels:%d"
+#define FS_CODEC_FORMAT "%d: %s %s clock:%d channels:%d params:%p"
 #define FS_CODEC_ARGS(codec)                            \
     (codec)->id,                                        \
     fs_media_type_to_string ((codec)->media_type),      \
     (codec)->encoding_name,                             \
     (codec)->clock_rate,                                \
-    (codec)->channels                                   \
+    (codec)->channels,                                  \
+    (codec)->optional_params
 
 GType fs_codec_get_type (void);
 GType fs_codec_list_get_type (void);
-- 
1.5.6.5




More information about the farsight-commits mailing list