Added the previous changes back in

Original commit message from CVS:
Added the previous changes back in
This commit is contained in:
Wim Taymans 2001-01-03 20:55:16 +00:00
parent fc1645131b
commit ee33cb2a26

View file

@ -114,7 +114,7 @@ int main(int argc,char *argv[]) {
printf("\n");
printf("Pad Templates:\n");
if (g_list_length (factory->padtemplates) > 0) {
if (factory->numpadtemplates) {
pads = factory->padtemplates;
while (pads) {
padtemplate = (GstPadTemplate*)(pads->data);
@ -215,12 +215,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);