docs/pwg/building-pads.xml: s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()

Original commit message from CVS:
* docs/pwg/building-pads.xml:
s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
This commit is contained in:
Tim-Philipp Müller 2005-07-15 12:55:30 +00:00
parent f3b34a3e21
commit 18bcbf1b26
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
* docs/pwg/building-pads.xml:
s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
2005-07-15 Andy Wingo <wingo@pobox.com>
* tools/gst-typefind.c: Update, add copyright block.

View file

@ -148,7 +148,7 @@ gst_my_filter_setcaps (GstPad *pad,
if (strcmp (mime, "audio/x-raw-int") != 0) {
GST_WARNING ("Wrong mimetype %s provided, we only support %s",
mime, "audio/x-raw-int");
return GST_PAD_LINK_REFUSED;
return FALSE;
}
/* we're a filter and don't touch the properties of the data.