docs/pwg/: Applied patch from Christophe Fergeau, fixes #333416

Original commit message from CVS:
* docs/pwg/advanced-tagging.xml:
* docs/pwg/building-pads.xml:
Applied patch from Christophe Fergeau, fixes #333416
This commit is contained in:
Wim Taymans 2006-03-07 17:06:53 +00:00
parent 7a88e2a762
commit 2ee0cdf799
3 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2006-03-07 Wim Taymans <wim@fluendo.com>
* docs/pwg/advanced-tagging.xml:
* docs/pwg/building-pads.xml:
Applied patch from Christophe Fergeau, fixes #333416
2006-03-07 Wim Taymans <wim@fluendo.com>
* docs/libs/gstreamer-libs-sections.txt:

View file

@ -273,10 +273,10 @@ gst_my_filter_loopfunc (GstElement *element)
}
/* merge tags with the ones retrieved from the application */
if (gst_tag_setter_get_list (tagsetter)) {
if ((gst_tag_setter_get_tag_list (tagsetter)) {
gst_tag_list_insert (taglist,
gst_tag_setter_get_list (tagsetter),
gst_tag_setter_get_merge_mode (tagsetter));
gst_tag_setter_get_tag_list (tagsetter),
gst_tag_setter_get_tag_merge_mode (tagsetter));
}
/* write tags */

View file

@ -84,9 +84,9 @@ static gboolean gst_my_filter_event (GstPad *pad,
<!-- example-begin init.func d -->
static void
gst_my_filter_init (GstMyFilter *filter)
gst_my_filter_init (GstMyFilter *filter, GstMyFilterClass *filter_klass)
{
GstElementClass *klass = GST_ELEMENT_GET_CLASS (filter);
GstElementClass *klass = GST_ELEMENT_CLASS (filter_klass);
/* pad through which data comes in to the element */
filter-&gt;sinkpad = gst_pad_new_from_template (