diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-11-21 17:23:46 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-11-21 17:23:46 +0000 |
commit | e879eec880a5b1286f350b31181e50c00b2dc8a4 (patch) | |
tree | 040e2ad23f666d6fa82c43bbf6ce48bd157cc27e /gst | |
parent | 4b379f57270a99df9fff10f79d69dae421634b2e (diff) |
gst/wavparse/gstwavparse.c: Use GST_DEBUG_FUNCPTR; add debug message in pad activate function.
Original commit message from CVS:
* gst/wavparse/gstwavparse.c: (gst_wavparse_init),
(gst_wavparse_create_sourcepad), (gst_wavparse_sink_activate):
Use GST_DEBUG_FUNCPTR; add debug message in pad activate function.
Diffstat (limited to 'gst')
-rw-r--r-- | gst/wavparse/gstwavparse.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 1cdc83d6..59835d0b 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -209,9 +209,10 @@ gst_wavparse_init (GstWavParse * wavparse) gst_pad_new_from_template (gst_static_pad_template_get (&sink_template_factory), "sink"); gst_element_add_pad (GST_ELEMENT (wavparse), wavparse->sinkpad); - gst_pad_set_activate_function (wavparse->sinkpad, gst_wavparse_sink_activate); + gst_pad_set_activate_function (wavparse->sinkpad, + GST_DEBUG_FUNCPTR (gst_wavparse_sink_activate)); gst_pad_set_activatepull_function (wavparse->sinkpad, - gst_wavparse_sink_activate_pull); + GST_DEBUG_FUNCPTR (gst_wavparse_sink_activate_pull)); gst_wavparse_reset (wavparse); } @@ -235,9 +236,11 @@ gst_wavparse_create_sourcepad (GstWavParse * wavparse) (&src_template_factory), "src"); gst_pad_use_fixed_caps (wavparse->srcpad); gst_pad_set_query_type_function (wavparse->srcpad, - gst_wavparse_get_query_types); - gst_pad_set_query_function (wavparse->srcpad, gst_wavparse_pad_query); - gst_pad_set_event_function (wavparse->srcpad, gst_wavparse_srcpad_event); + GST_DEBUG_FUNCPTR (gst_wavparse_get_query_types)); + gst_pad_set_query_function (wavparse->srcpad, + GST_DEBUG_FUNCPTR (gst_wavparse_pad_query)); + gst_pad_set_event_function (wavparse->srcpad, + GST_DEBUG_FUNCPTR (gst_wavparse_srcpad_event)); } static void @@ -1326,6 +1329,7 @@ gst_wavparse_sink_activate (GstPad * sinkpad) if (gst_pad_check_pull_range (sinkpad)) return gst_pad_activate_pull (sinkpad, TRUE); + GST_DEBUG ("pull_range not supported on sinkpad"); return FALSE; }; |