Added proper comment for the bonobo component fix a compile bug in inspect... Erik...
authorWim Taymans <wim.taymans@gmail.com>
Wed, 3 Jan 2001 19:54:01 +0000 (19:54 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 3 Jan 2001 19:54:01 +0000 (19:54 +0000)
Original commit message from CVS:
Added proper comment for the bonobo component
fix a compile bug in inspect... Erik, have pending changes to gstpad.h?

configure.in
tools/gstreamer-inspect.c

index 4db9311..0a56621 100644 (file)
@@ -607,7 +607,7 @@ plugins/cdparanoia/Makefile
 plugins/esd/Makefile
 plugins/esd/esdsink/Makefile
 gstplay/Makefile
-components/bonobo-gstmediaplay/Makefile
+dnl components/bonobo-gstmediaplay/Makefile
 test/Makefile
 test/xml/Makefile
 test/bindings/Makefile
index ec3ae17..89d2ced 100644 (file)
@@ -111,7 +111,7 @@ int main(int argc,char *argv[]) {
   printf("\n");
 
   printf("Pad Templates:\n");
-  if (factory->numpadtemplates) {
+  if (g_list_length (factory->padtemplates) > 0) {
     pads = factory->padtemplates;
     while (pads) {
       padtemplate = (GstPadTemplate*)(pads->data);
@@ -201,12 +201,12 @@ int main(int argc,char *argv[]) {
         printf("      Has getregionfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->getregionfunc));
       if (pad->qosfunc)
         printf("      Has qosfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->qosfunc));
-      if (pad->eosfunc) {
-        if (pad->eosfunc == gst_pad_eos_func)
-          printf("      Has default eosfunc() gst_pad_eos_func()\n");
-        else
-          printf("      Has eosfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->eosfunc));
-      }
+      //if (pad->eosfunc) {
+        //if (pad->eosfunc == gst_pad_eos_func)
+        //  printf("      Has default eosfunc() gst_pad_eos_func()\n");
+        //else
+        //  printf("      Has eosfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->eosfunc));
+      //}
 
       if (pad->padtemplate)
         printf("    Pad Template: '%s'\n",pad->padtemplate->name_template);