Added proper comment for the bonobo component fix a compile bug in inspect... Erik, have pending changes to gstpad.h?

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?
This commit is contained in:
Wim Taymans 2001-01-03 19:54:01 +00:00
parent 126569f47c
commit 786ba1e3d7
2 changed files with 8 additions and 8 deletions

View file

@ -607,7 +607,7 @@ plugins/cdparanoia/Makefile
plugins/esd/Makefile plugins/esd/Makefile
plugins/esd/esdsink/Makefile plugins/esd/esdsink/Makefile
gstplay/Makefile gstplay/Makefile
components/bonobo-gstmediaplay/Makefile dnl components/bonobo-gstmediaplay/Makefile
test/Makefile test/Makefile
test/xml/Makefile test/xml/Makefile
test/bindings/Makefile test/bindings/Makefile

View file

@ -111,7 +111,7 @@ int main(int argc,char *argv[]) {
printf("\n"); printf("\n");
printf("Pad Templates:\n"); printf("Pad Templates:\n");
if (factory->numpadtemplates) { if (g_list_length (factory->padtemplates) > 0) {
pads = factory->padtemplates; pads = factory->padtemplates;
while (pads) { while (pads) {
padtemplate = (GstPadTemplate*)(pads->data); 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)); printf(" Has getregionfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->getregionfunc));
if (pad->qosfunc) if (pad->qosfunc)
printf(" Has qosfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->qosfunc)); printf(" Has qosfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->qosfunc));
if (pad->eosfunc) { //if (pad->eosfunc) {
if (pad->eosfunc == gst_pad_eos_func) //if (pad->eosfunc == gst_pad_eos_func)
printf(" Has default eosfunc() gst_pad_eos_func()\n"); // printf(" Has default eosfunc() gst_pad_eos_func()\n");
else //else
printf(" Has eosfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->eosfunc)); // printf(" Has eosfunc(): %s\n",GST_DEBUG_FUNCPTR_NAME(pad->eosfunc));
} //}
if (pad->padtemplate) if (pad->padtemplate)
printf(" Pad Template: '%s'\n",pad->padtemplate->name_template); printf(" Pad Template: '%s'\n",pad->padtemplate->name_template);