fix doc warnings

Original commit message from CVS:
fix doc warnings
This commit is contained in:
Thomas Vander Stichele 2002-04-18 19:30:55 +00:00
parent c1a1c03224
commit f6721ace69
4 changed files with 11 additions and 6 deletions

2
common

@ -1 +1 @@
Subproject commit ae138c8944d9ac7cb076a914afc5ce71c3114e39 Subproject commit d521cb2ed89f4d9f402dcd8d519caa3ad6783abd

View file

@ -20,7 +20,7 @@
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
/** /*
* TODO: * TODO:
* - handle automatic removal of unneeded elements * - handle automatic removal of unneeded elements
* - make the spider handle and send events (esp. new media) * - make the spider handle and send events (esp. new media)
@ -449,8 +449,12 @@ gst_spider_identity_plug (GstSpiderIdentity *ident)
padlist = gst_element_get_pad_list (GST_ELEMENT (spider)); padlist = gst_element_get_pad_list (GST_ELEMENT (spider));
while (padlist) while (padlist)
{ {
GstPad *otherpad = (GstPad *) GST_GPAD_REALPAD (padlist->data); GstPad *otherpad;
GstSpiderIdentity *peer = (GstSpiderIdentity *) GST_PAD_PARENT (otherpad); GstSpiderIdentity *peer;
g_assert (GST_IS_PAD (padlist->data));
otherpad = (GstPad *) GST_GPAD_REALPAD (padlist->data);
peer = (GstSpiderIdentity *) GST_PAD_PARENT (otherpad);
/* we only want to connect to the other side */ /* we only want to connect to the other side */
if (dir != GST_PAD_DIRECTION (otherpad)) if (dir != GST_PAD_DIRECTION (otherpad))
{ {
@ -624,6 +628,7 @@ gst_spider_plug_from_srcpad (GstSpiderConnection *conn, GstPad *srcpad)
/* FIXME: make that if go away and work anyway */ /* FIXME: make that if go away and work anyway */
if (srcpad == conn->sink->src) if (srcpad == conn->sink->src)
{ {
g_assert (GST_RPAD_PEER (conn->sink->sink) != NULL);
plugpath = gst_autoplug_sp (gst_pad_get_caps ((GstPad *) GST_RPAD_PEER (conn->sink->sink)), gst_pad_get_caps (conn->src->sink), spider->factories); plugpath = gst_autoplug_sp (gst_pad_get_caps ((GstPad *) GST_RPAD_PEER (conn->sink->sink)), gst_pad_get_caps (conn->src->sink), spider->factories);
} else { } else {
plugpath = gst_autoplug_sp (gst_pad_get_caps (srcpad), gst_pad_get_caps (conn->src->sink), spider->factories); plugpath = gst_autoplug_sp (gst_pad_get_caps (srcpad), gst_pad_get_caps (conn->src->sink), spider->factories);

View file

@ -32,7 +32,7 @@ extern "C" {
extern GstElementDetails gst_spider_details; extern GstElementDetails gst_spider_details;
/** /*
* Theory of operation: * Theory of operation:
* When connecting a sink to a source, GstSpiderConnections are used to keep track * When connecting a sink to a source, GstSpiderConnections are used to keep track
* of the current status of the connection. sink -> src is the path we intend to * of the current status of the connection. sink -> src is the path we intend to

View file

@ -63,7 +63,7 @@ error_callback (GObject *object, GstObject *orig, gchar *error)
g_print ("ERROR: %s: %s\n", GST_OBJECT_NAME (orig), error); g_print ("ERROR: %s: %s\n", GST_OBJECT_NAME (orig), error);
} }
/** /*
* Test program for the autoplugger. * Test program for the autoplugger.
* Uses new API extensions (2002-01-28), too. * Uses new API extensions (2002-01-28), too.
* *