mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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.
This commit is contained in:
parent
4b379f5727
commit
e879eec880
2 changed files with 15 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* 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.
|
||||
|
||||
2005-11-21 Michael Smith <msmith@fluendo.com>
|
||||
|
||||
* gst/auparse/Makefile.am:
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue