Changed the maxcothreads to 16. connect to the new_ghost_pad signal in parse.

Original commit message from CVS:
Changed the maxcothreads to 16.
connect to the new_ghost_pad signal in parse.
This commit is contained in:
Wim Taymans 2001-06-06 18:29:57 +00:00
parent 8e58af799d
commit c416297af4
2 changed files with 2 additions and 1 deletions

View file

@ -38,7 +38,7 @@
#define STACK_SIZE 0x200000
#define COTHREAD_MAXTHREADS 64
#define COTHREAD_MAXTHREADS 16
#define COTHREAD_STACKSIZE (STACK_SIZE/COTHREAD_MAXTHREADS)
struct _cothread_context {

View file

@ -279,6 +279,7 @@ if (GST_IS_GHOST_PAD(srcpad)) GST_DEBUG(0,"it's a ghost pad\n");
srcpadname,GST_DEBUG_PAD_NAME(sinkpad));
gtk_signal_connect (GTK_OBJECT (previous), "new_pad", dynamic_connect, connect);
gtk_signal_connect (GTK_OBJECT (previous), "new_ghost_pad", dynamic_connect, connect);
}
else {
GST_DEBUG(0,"CONNECTING %s:%s and %s:%s\n",GST_DEBUG_PAD_NAME(srcpad),GST_DEBUG_PAD_NAME(sinkpad));