From 24461755be62dd6becdf743a373e60942622a3e1 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 24 Mar 2006 17:11:56 +0000 Subject: gst/: use DEBUG_FUNCPTR for collectpads Original commit message from CVS: * gst/matroska/matroska-mux.c: (gst_matroska_mux_init): * gst/multipart/multipartmux.c: (gst_multipart_mux_init): * gst/smpte/gstsmpte.c: (gst_smpte_init): * gst/videomixer/videomixer.c: (gst_videomixer_init): use DEBUG_FUNCPTR for collectpads --- gst/matroska/matroska-mux.c | 3 ++- gst/multipart/multipartmux.c | 3 ++- gst/smpte/gstsmpte.c | 2 +- gst/videomixer/videomixer.c | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) (limited to 'gst') diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index 729075eb..4c054f15 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -232,7 +232,8 @@ gst_matroska_mux_init (GstMatroskaMux * mux, GstMatroskaMuxClass * g_class) mux->collect = gst_collect_pads_new (); gst_collect_pads_set_function (mux->collect, - (GstCollectPadsFunction) gst_matroska_mux_collected, mux); + (GstCollectPadsFunction) GST_DEBUG_FUNCPTR (gst_matroska_mux_collected), + mux); mux->ebml_write = gst_ebml_write_new (mux->srcpad); diff --git a/gst/multipart/multipartmux.c b/gst/multipart/multipartmux.c index 8bcad113..1057bd39 100644 --- a/gst/multipart/multipartmux.c +++ b/gst/multipart/multipartmux.c @@ -229,7 +229,8 @@ gst_multipart_mux_init (GstMultipartMux * multipart_mux) multipart_mux->collect = gst_collect_pads_new (); gst_collect_pads_set_function (multipart_mux->collect, - (GstCollectPadsFunction) gst_multipart_mux_collected, multipart_mux); + (GstCollectPadsFunction) GST_DEBUG_FUNCPTR (gst_multipart_mux_collected), + multipart_mux); } static void diff --git a/gst/smpte/gstsmpte.c b/gst/smpte/gstsmpte.c index a87b4d95..02cafb9a 100644 --- a/gst/smpte/gstsmpte.c +++ b/gst/smpte/gstsmpte.c @@ -277,7 +277,7 @@ gst_smpte_init (GstSMPTE * smpte) smpte->collect = gst_collect_pads_new (); gst_collect_pads_set_function (smpte->collect, - (GstCollectPadsFunction) gst_smpte_collected, smpte); + (GstCollectPadsFunction) GST_DEBUG_FUNCPTR (gst_smpte_collected), smpte); gst_collect_pads_start (smpte->collect); gst_collect_pads_add_pad (smpte->collect, smpte->sinkpad1, diff --git a/gst/videomixer/videomixer.c b/gst/videomixer/videomixer.c index 28784588..03f685a3 100644 --- a/gst/videomixer/videomixer.c +++ b/gst/videomixer/videomixer.c @@ -558,7 +558,8 @@ gst_videomixer_init (GstVideoMixer * mix) mix->fps_n = mix->fps_d = 0; gst_collect_pads_set_function (mix->collect, - (GstCollectPadsFunction) gst_videomixer_collected, mix); + (GstCollectPadsFunction) GST_DEBUG_FUNCPTR (gst_videomixer_collected), + mix); } static GstCaps * -- cgit