mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
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:
parent
8e58af799d
commit
c416297af4
2 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue