Erik Walthinsen
aec5a57022
updated autoplugcache so it can be removed mid-signal, now autoplugtest works
...
Original commit message from CVS:
updated autoplugcache so it can be removed mid-signal, now autoplugtest works
2001-05-07 21:46:15 +00:00
Erik Walthinsen
5bb3603feb
fixed bug in datastructure usage
...
Original commit message from CVS:
fixed bug in datastructure usage
2001-05-06 22:48:41 +00:00
Erik Walthinsen
e88151bc2e
fixed gst_scheduler_pad_disconnect (never ignore compiler warnings\!) and updated a few INFO lines
...
Original commit message from CVS:
fixed gst_scheduler_pad_disconnect (never ignore compiler warnings\!) and updated a few INFO lines
2001-05-06 22:12:46 +00:00
Erik Walthinsen
fa726627a3
fixed up some things, added vorbis
...
Original commit message from CVS:
fixed up some things, added vorbis
2001-05-06 22:12:00 +00:00
Wim Taymans
82091e16ff
Adjusted the Makefile so that it builds here...
...
Original commit message from CVS:
Adjusted the Makefile so that it builds here...
2001-05-06 18:03:49 +00:00
Erik Walthinsen
4b85dd12e9
initial checkin of autoplugcache and a test program to simulate dynamic autoplugging
...
Original commit message from CVS:
initial checkin of autoplugcache and a test program to simulate dynamic autoplugging
2001-05-06 17:33:57 +00:00
Erik Walthinsen
9bc5f785d7
Add the GST_ELEMENT_NO_ENTRY flag, which when set will force the scheduler to skip over an element as an option for t...
...
Original commit message from CVS:
Add the GST_ELEMENT_NO_ENTRY flag, which when set will force the scheduler
to skip over an element as an option for the first cothread jump. This is
needed because libraries like mad don't ever seem to want to quit. Thus
they ignore COTHREAD_STOPPING and can't be trusted to be the entry.
2001-05-04 22:14:35 +00:00
Erik Walthinsen
649c98a5f7
Some minor DEBUG cleanups, renamed the various scheduler-specific routines to actually be called gst_schedule_ instea...
...
Original commit message from CVS:
Some minor DEBUG cleanups, renamed the various scheduler-specific routines
to actually be called gst_schedule_ instead of gst_bin_.
2001-05-04 20:43:44 +00:00
Wim Taymans
b3484a042a
Added and extra whitespace before ## args (remember it eats all non whitespace chars to the left if it's empty).
...
Original commit message from CVS:
Added and extra whitespace before ## args (remember it eats all non
whitespace chars to the left if it's empty).
2001-05-02 23:44:46 +00:00
Erik Walthinsen
4777090985
re-enabled the funcptr hash table
...
Original commit message from CVS:
re-enabled the funcptr hash table
2001-05-02 20:27:25 +00:00
Erik Walthinsen
4b2bb87b25
Converted the DEBUG system to look like the INFO system, with a function pointer that can be replaced. Not done with...
...
Original commit message from CVS:
Converted the DEBUG system to look like the INFO system, with a function
pointer that can be replaced. Not done with everything, since it seems
that we need an ERROR system plus a FATAL error, or maybe just an ERROR
system with a severity, and depending on this the DEBUG system might again
be changed to have a single or at least fewer handlers.
Also did a bit of work fixing up the actual DEBUG and INFO commands
scattered throughout the code. We still have over 500 of these in gst/*.c
alone...
2001-05-02 19:20:24 +00:00
Erik Walthinsen
114c923c9f
/me is an idiot
...
Original commit message from CVS:
/me is an idiot
2001-05-01 23:00:51 +00:00
Erik Walthinsen
879f3b4f29
- fixed configure.in %VAR stuff
...
Original commit message from CVS:
- fixed configure.in %VAR stuff
- fixed gstreamer.pc.in description string
- fixed up incremental scheduling some more
- updated the GST_DEBUG_FUNCPTR code to no longer need a hash
- minor updates to DEBUG colorization
- new test/mpeg2parse4.c
2001-05-01 21:41:40 +00:00
Thomas Vander Stichele
861ebf934c
added newlines to debug output
...
Original commit message from CVS:
added newlines to debug output
2001-05-01 13:16:43 +00:00
Wim Taymans
7d7de1b296
Added more colors for props/caps/clock/negotiation.
...
Original commit message from CVS:
Added more colors for props/caps/clock/negotiation.
2001-04-28 18:59:03 +00:00
Erik Walthinsen
86027bd86f
- Updated colorization some more (pthread and cothread id is in color)
...
Original commit message from CVS:
- Updated colorization some more (pthread and cothread id is in color)
- Added some minor debug to help trace mp1vid segfaults
2001-04-28 04:23:27 +00:00
Erik Walthinsen
7fdca5f428
Updated the colorization a bit more, and did a significant pass through all the other code to change categories on DE...
...
Original commit message from CVS:
Updated the colorization a bit more, and did a significant pass through all
the other code to change categories on DEBUG and INFO statements to be
correct, and not simply zero. There are still more, but this is a good
first pass.
2001-04-28 02:54:53 +00:00
Matt Howell
7678183d1a
fixed another thread synch case... better debug
...
Original commit message from CVS:
fixed another thread synch case... better debug
2001-04-28 01:46:00 +00:00
Erik Walthinsen
f3e94925e9
another update to the colorization code
...
Original commit message from CVS:
another update to the colorization code
2001-04-28 01:06:08 +00:00
Erik Walthinsen
0a7edf91e0
fixes to colorization
...
Original commit message from CVS:
fixes to colorization
2001-04-27 21:09:42 +00:00
Matt Howell
cb0068581c
initial fix of thread synch for queues and state change
...
Original commit message from CVS:
initial fix of thread synch for queues and state change
2001-04-27 20:55:47 +00:00
Erik Walthinsen
41ca38a36d
added colorization of DEBUG and INFO, and a comment in gstelement.h
...
Original commit message from CVS:
added colorization of DEBUG and INFO, and a comment in gstelement.h
2001-04-27 20:47:21 +00:00
Wim Taymans
89a89a8665
Tried to get the autoplugger working by setting the pipeline to PAUSED before attempting to connect pads...
...
Original commit message from CVS:
Tried to get the autoplugger working by setting the pipeline to PAUSED before
attempting to connect pads...
2001-04-27 20:45:18 +00:00
Erik Walthinsen
c5cce64b7b
fixed cothread_current_main so it, um, works.
...
Original commit message from CVS:
fixed cothread_current_main so it, um, works.
2001-04-27 01:46:14 +00:00
Erik Walthinsen
cea5e50a9d
added cothread_current_main with (void) args
...
Original commit message from CVS:
added cothread_current_main with (void) args
2001-04-27 01:42:19 +00:00
Erik Walthinsen
0e6ec7d33d
gstbin.c: commented out the requirement that a bin be !PLAYING to add gstthread.c: fixed an old failed merge that loc...
...
Original commit message from CVS:
gstbin.c: commented out the requirement that a bin be !PLAYING to add
gstthread.c: fixed an old failed merge that locked the same mutex twice
...in a row
2001-04-26 22:32:13 +00:00
Erik Walthinsen
583f6660fa
Merged from HEAD to INCSCHED1 on 200104251
...
Original commit message from CVS:
Merged from HEAD to INCSCHED1 on 200104251
2001-04-26 01:53:20 +00:00
Erik Walthinsen
7b28fc9215
fixed a locking issue
...
Original commit message from CVS:
fixed a locking issue
2001-04-25 23:30:23 +00:00
Erik Walthinsen
284bfca414
Added element-level locking support, implemented for cothreads with a mutex held whenever an element is actually curr...
...
Original commit message from CVS:
Added element-level locking support, implemented for cothreads with a mutex
held whenever an element is actually currently running. This should be done
with atomic variables eventually, but the best I can find is to use
<asm/spinlock.h> from the kernel, which brings in too much for my taste.
Also increased cothread stack size to 32KB and max cothread count to 64,
which fits within the default pthread 2MB stack. It would probably be good
to do a pthread_attr_getstacksize() to verify that it's 2MB, and if
linuxthreads had a pthread_attr_setstacksize(), we could remove these
limits.
2001-04-25 22:32:17 +00:00
Erik Walthinsen
7a34155777
brought in autoplug dir from HEAD after screwed up merge
...
Original commit message from CVS:
brought in autoplug dir from HEAD after screwed up merge
2001-04-16 23:17:54 +00:00
Erik Walthinsen
e6a59c8a62
Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
...
Original commit message from CVS:
Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
2001-04-16 21:43:28 +00:00
Erik Walthinsen
395527b2f2
latest updates, things are very close to working
...
Original commit message from CVS:
latest updates, things are very close to working
2001-04-15 23:59:02 +00:00
Erik Walthinsen
f75bb0f38b
snapshot for matth to work with while I fly over to Europe....
...
Original commit message from CVS:
snapshot for matth to work with while I fly over to Europe....
2001-03-30 00:06:43 +00:00
Zaheer Abbas Merali
8a10800420
Fixed locking issue when PLAYING to READY
...
Original commit message from CVS:
Fixed locking issue when PLAYING to READY
2001-03-16 00:49:05 +00:00
Erik Walthinsen
54e416683a
fixed READY_TO_NULL bug
...
Original commit message from CVS:
fixed READY_TO_NULL bug
2001-03-13 02:20:03 +00:00
Zaheer Abbas Merali
03d8077ee2
removed fine grained locking and added simultaneous waiting for 2 states
...
Original commit message from CVS:
removed fine grained locking and added simultaneous waiting for 2 states
2001-03-13 01:44:44 +00:00
Zaheer Abbas Merali
e7b0927f99
exactly opposite check needed in wait_thread
...
Original commit message from CVS:
exactly opposite check needed in wait_thread
2001-03-13 01:24:17 +00:00
Zaheer Abbas Merali
e143ca77fb
made wait_thread check for logical true rather than check equality with gboolean
...
Original commit message from CVS:
made wait_thread check for logical true rather than check equality with gboolean
2001-03-13 01:08:12 +00:00
Zaheer Abbas Merali
518f0ac5d1
changed debug to print unsigned not signed
...
Original commit message from CVS:
changed debug to print unsigned not signed
2001-03-13 00:57:24 +00:00
Zaheer Abbas Merali
5561a9e79c
TYPO: ISSET should be IS_SET
...
Original commit message from CVS:
TYPO: ISSET should be IS_SET
2001-03-13 00:46:57 +00:00
Zaheer Abbas Merali
9f51259c73
added debug to signal noting the result of the flag after being set
...
Original commit message from CVS:
added debug to signal noting the result of the flag after being set
2001-03-13 00:45:11 +00:00
Zaheer Abbas Merali
10de3d17c1
Made locks more granular, one lock for each state
...
Original commit message from CVS:
Made locks more granular, one lock for each state
2001-03-13 00:39:35 +00:00
Zaheer Abbas Merali
33b6cb333e
made cond_wait into cond_timedwait
...
Original commit message from CVS:
made cond_wait into cond_timedwait
2001-03-13 00:09:37 +00:00
Zaheer Abbas Merali
8fc64053fc
repositioning of debug after mutex in wait_thread and signal_thread
...
Original commit message from CVS:
repositioning of debug after mutex in wait_thread and signal_thread
2001-03-12 23:39:25 +00:00
Zaheer Abbas Merali
93cca29397
typo in GST_DEBUG in signal_thread
...
Original commit message from CVS:
typo in GST_DEBUG in signal_thread
2001-03-12 23:28:38 +00:00
Zaheer Abbas Merali
be811977bf
Changed GST_DEBUG in signal_thread and wait_thread to reveal more info
...
Original commit message from CVS:
Changed GST_DEBUG in signal_thread and wait_thread to reveal more info
2001-03-12 23:27:33 +00:00
Zaheer Abbas Merali
954f21acf6
added a set flag to end of gst_thread_signal_thread and gst_signal_wait_thread to indicate whether signal should set ...
...
Original commit message from CVS:
added a set flag to end of gst_thread_signal_thread and gst_signal_wait_thread
to indicate whether signal should set flag or unset flag, and whether wait
should wait for flag to be set or to be unset. this is needed for
PLAYING_TO_PAUSE where STATE_SPINNING needs to be signalled to be unset
2001-03-12 02:44:17 +00:00
Zaheer Abbas Merali
8c5bad4956
making wait for REAPING state when gst_bin_iterate returns non zero
...
Original commit message from CVS:
making wait for REAPING state when gst_bin_iterate returns non zero
2001-03-12 01:55:13 +00:00
Zaheer Abbas Merali
d2c506810a
added debug statement
...
Original commit message from CVS:
added debug statement
2001-03-12 01:37:35 +00:00
Erik Walthinsen
88c57bd3f6
/me is an idiot. cvs add gsttypes.h
...
Original commit message from CVS:
/me is an idiot. cvs add gsttypes.h
2001-03-12 01:13:04 +00:00