Commit graph

699 commits

Author SHA1 Message Date
Erik Walthinsen
91afe9cd73 Swapped PAUSED and PLAYING states, reworked thread interlocking.
Original commit message from CVS:
Swapped PAUSED and PLAYING states, reworked thread interlocking.
States are now: NULL <-> READY <-> PAUSED <-> PLAYING.

Had do update dv1394src, gst_arts, and xmmsinput, please test these out!

Cleaned up DEBUG output in several places to by much much less verbose
but still just as useful (denser).
2001-05-25 17:35:47 +00:00
Wim Taymans
4167e70050 Small fixes to various test apps.
Original commit message from CVS:
Small fixes to various test apps.
2001-05-25 10:43:34 +00:00
Wim Taymans
de8d436848 If the arg looks like a URI, gnomevfs is used, if gnomevfs is not found and the URI starts with file:/, disksrc is used.
Original commit message from CVS:
If the arg looks like a URI, gnomevfs is used, if gnomevfs is not found and
the URI starts with file:/, disksrc is used.
2001-05-25 10:43:04 +00:00
Erik Walthinsen
a7cd58c92e fixed some interruptability problems with thread and queue
Original commit message from CVS:
fixed some interruptability problems with thread and queue
2001-05-25 00:29:25 +00:00
Wim Taymans
a74b02deb8 Fixed the media player so that it works with incsched.
Original commit message from CVS:
Fixed the media player so that it works with incsched.
Removed the thread and add the _iterate to the g_idle_loop, this makes the
GUI very cluncky but is needed because we cannot chance the state of a thread
inside the threads context yet.
2001-05-25 00:09:10 +00:00
Erik Walthinsen
31750806b2 added better thread id debugging support
Original commit message from CVS:
added better thread id debugging support
2001-05-24 21:46:51 +00:00
Erik Walthinsen
43b635e3d0 fixed thread lock mis-merge
Original commit message from CVS:
fixed thread lock mis-merge
2001-05-24 20:36:59 +00:00
Wim Taymans
247c0f1e90 Added the queue to the thread
Original commit message from CVS:
Added the queue to the thread
2001-05-24 20:20:54 +00:00
Erik Walthinsen
f5314d44b4 Merge from HEAD into INCSCHED1 at 200105231.
Original commit message from CVS:
Merge from HEAD into INCSCHED1 at 200105231.
2001-05-24 00:46:45 +00:00
Wim Taymans
368f85114c Some small modifications.
Original commit message from CVS:
Some small modifications.
2001-05-23 20:35:26 +00:00
Erik Walthinsen
b619247000 fixed problem where mad wasn't an entry (it is now HACK HACK!!) and the scheduler wasn't catching the no entry case
Original commit message from CVS:
fixed problem where mad wasn't an entry (it is now HACK HACK!!) and the scheduler wasn't catching the no entry case
2001-05-23 19:49:56 +00:00
Erik Walthinsen
a92336c672 added have_size handler so the window matches the video size
Original commit message from CVS:
added have_size handler so the window matches the video size
2001-05-23 19:48:42 +00:00
Erik Walthinsen
d7e533b5ea reworked internal parameters a bit, added leaky-queue semantics
Original commit message from CVS:
reworked internal parameters a bit, added leaky-queue semantics
2001-05-23 19:09:28 +00:00
Erik Walthinsen
fe0a39cf60 fixed references to _gst_print_statename
Original commit message from CVS:
fixed references to _gst_print_statename
2001-05-22 20:11:12 +00:00
Erik Walthinsen
61805cfb88 Added ability for caps_nego_failed signal to indicate that it's solved the problem, via a gboolean * argument that's ...
Original commit message from CVS:
Added ability for caps_nego_failed signal to indicate that it's solved the
problem, via a gboolean * argument that's FALSE, and can be set to TRUE if
the handler has fixed things up.

Updated the autoplugger so it now works in both the unknown and known cases
with and without other issues like a crippled (mono-only) osssink.
2001-05-22 01:42:50 +00:00
Erik Walthinsen
aa743e581b Updates to DEBUG system: moved statename into gstelement.c, colorized the states:
Original commit message from CVS:
Updates to DEBUG system: moved statename into gstelement.c, colorized the
states:

NULL: white
READY: read
PAUSED: yellow
PLAYING: green
2001-05-21 23:23:39 +00:00
Erik Walthinsen
6ae2bbb62d fixed up pausing system, and added src_caps_nego_failed body
Original commit message from CVS:
fixed up pausing system, and added src_caps_nego_failed body
2001-05-21 21:35:44 +00:00
Erik Walthinsen
4118c5130e gstautoplugcache.c: Set default for cache's caps_proxy to FALSE again.
Original commit message from CVS:
gstautoplugcache.c: Set default for cache's caps_proxy to FALSE again.
gstautoplugger.c: Fixed with strategic positioning of gst_pad_set_caps()
2001-05-21 02:41:19 +00:00
Erik Walthinsen
57c7dc7c6a Updated some debug statements. Added specific debug for int props.
Original commit message from CVS:
Updated some debug statements.  Added specific debug for int props.
2001-05-21 02:40:11 +00:00
Erik Walthinsen
be22b09614 Added gstreamer-uninstalled.pc.in in prep for future changes to pkg-config.
Original commit message from CVS:
Added gstreamer-uninstalled.pc.in in prep for future changes to pkg-config.
Disabled docs building by default (--enable-docs-build to turn it on).
Added more visible warning messages for lacking libraries, listing the
plugins that won't build (not complete!).
2001-05-19 06:39:25 +00:00
Erik Walthinsen
50c9930349 update to latest code, includes caps_fail handlers that kinda work
Original commit message from CVS:
update to latest code, includes caps_fail handlers that kinda work
2001-05-17 22:00:30 +00:00
Wim Taymans
846ce23d28 Added thread refcounting and module test case
Original commit message from CVS:
Added thread refcounting and module test case
2001-05-16 22:09:29 +00:00
Wim Taymans
137e5a6d93 More testsuite updates
Original commit message from CVS:
More testsuite updates
2001-05-16 22:08:58 +00:00
Wim Taymans
d374791e8b Slighly take a different approach for object destruction, using the real _remove functions so that the scheduler has ...
Original commit message from CVS:
Slighly take a different approach for object destruction, using the real
_remove functions so that the scheduler has a chance to destroy its state
too.
This breaks the thread with ghostpads destruction case for now.
2001-05-16 22:08:40 +00:00
Erik Walthinsen
07aeaa83d5 added first_buffer signal, and default to caps_proxy true
Original commit message from CVS:
added first_buffer signal, and default to caps_proxy true
2001-05-16 21:19:59 +00:00
Erik Walthinsen
65a6e752bf up to latest (broken) autoplugger)
Original commit message from CVS:
up to latest (broken) autoplugger)
2001-05-16 21:18:15 +00:00
Wim Taymans
cff4720acf Added ghostpad destruction.
Original commit message from CVS:
Added ghostpad destruction.
2001-05-15 19:25:31 +00:00
Erik Walthinsen
05a517acf1 IT WORKS\!\!\!
Original commit message from CVS:
IT WORKS\!\!\!
2001-05-15 04:13:01 +00:00
Erik Walthinsen
d769aaaf99 gstinfo.c: one more check to make sure DEBUG_FUNCPTR_NAME doesn't go south gstpad.c: debugging changes gsttypefind.c:...
Original commit message from CVS:
gstinfo.c: one more check to make sure DEBUG_FUNCPTR_NAME doesn't go south
gstpad.c: debugging changes
gsttypefind.c: moved gst_pad_set_caps to *before* the caps_changed signal
gstautoplugcache.c: added refcounting around signal_emit, and debug updates
gstautoplugger.c: added code to remove the autoplugcache when done
2001-05-15 01:45:16 +00:00
Wim Taymans
0eb3cc9ca4 Added a reference to typefind.
Original commit message from CVS:
Added a reference to typefind.
2001-05-14 22:42:42 +00:00
Erik Walthinsen
6faaf698e6 enhanced debug and minor code cleanup (no functional changes)
Original commit message from CVS:
enhanced debug and minor code cleanup (no functional changes)
2001-05-14 22:21:03 +00:00
Wim Taymans
f00f7effdd Refcounting fixes
Original commit message from CVS:
Refcounting fixes
2001-05-14 21:57:06 +00:00
Wim Taymans
5cb557dbf5 fixed a mem leak in the destroy code.
Original commit message from CVS:
fixed a mem leak in the destroy code.
2001-05-14 21:22:52 +00:00
Wim Taymans
58085b9304 slightly different refcount handling. the pad shutdown function doesn't remove the pad from the parent because the pa...
Original commit message from CVS:
slightly different refcount handling. the pad shutdown function doesn't
remove the pad from the parent because the parent is needed in the destroy
function.
2001-05-14 21:20:31 +00:00
Erik Walthinsen
ed06327f06 cothreads.c: added a comment on one of the tests gstbin.h: added the GST_BIN_SELF_SCHEDULABLE flag gstelement.c: clea...
Original commit message from CVS:
cothreads.c: added a comment on one of the tests
gstbin.h: added the GST_BIN_SELF_SCHEDULABLE flag
gstelement.c: cleaned up the _change_state function a little
gstobject.c: improved the refcounting DEBUGs
gstpad.c: moved the connected signal to after capsnego,
added the caps_nego_failed signal
gstpad.h: added the caps_nego_failed signal funcptr
gstscheduler.c: added the GST_BIN_SELF_SCHEDULABLE exception
gsttypefind.c: added check code around signal_emit to deal with the case
where the signal's handler shuts down the element
gstautoplugcache.c: added the first_buffer signal and caps_proxy arg
gstautoplugger.c: significant rework, it functions quite nicely actually
2001-05-14 20:08:42 +00:00
Wim Taymans
dbbd2077d0 More testsuite updates
Original commit message from CVS:
More testsuite updates
2001-05-13 15:29:47 +00:00
Wim Taymans
3e44dbdb6e More housekeeping updates. _destroying an element or a pad properly removes if from the parent.
Original commit message from CVS:
More housekeeping updates.
_destroying an element or a pad properly removes if from the parent.
2001-05-13 15:29:25 +00:00
Wim Taymans
6f9ac3667b Fixed a leak in bin destruction
Original commit message from CVS:
Fixed a leak in bin destruction
More refcounting fixes
2001-05-12 18:04:20 +00:00
Wim Taymans
12cfd1842c More refcounting test cases
Original commit message from CVS:
More refcounting test cases
2001-05-12 18:03:52 +00:00
Wim Taymans
1041fcea08 More testcases
Original commit message from CVS:
More testcases
2001-05-12 14:07:28 +00:00
Wim Taymans
b42e262efe Added gst_element_remove_pad. more refcounting stuff (object unparent on destroy)
Original commit message from CVS:
Added gst_element_remove_pad.
more refcounting stuff (object unparent on destroy)
2001-05-12 14:07:13 +00:00
Wim Taymans
d5cb52427f Refcounting fixes to make the testsuite succeed.
Original commit message from CVS:
Refcounting fixes to make the testsuite succeed.
Added a ne w category for REFCOUNTING.
2001-05-12 00:04:32 +00:00
Wim Taymans
13c4e92c04 More testsuite updates
Original commit message from CVS:
More testsuite updates
2001-05-12 00:03:35 +00:00
Wim Taymans
ff175b6074 Updated the autoplugger example to use the new cache.
Original commit message from CVS:
Updated the autoplugger example to use the new cache.
2001-05-11 19:36:18 +00:00
Wim Taymans
e107d77284 Added the refcounting testsuite dir to configure.in
Original commit message from CVS:
Added the refcounting testsuite dir to configure.in
2001-05-11 18:44:48 +00:00
Wim Taymans
05a7d639e0 Added a testsuite for refcounting.
Original commit message from CVS:
Added a testsuite for refcounting.
2001-05-11 18:44:18 +00:00
Wim Taymans
fa8e54e450 Work on refcounting and proper object destruction.
Original commit message from CVS:
Work on refcounting and proper object destruction.
2001-05-11 18:41:13 +00:00
Erik Walthinsen
24a3b52549 minor updates to ouptut, added section for meta-elements' children
Original commit message from CVS:
minor updates to ouptut, added section for meta-elements' children
2001-05-10 08:22:39 +00:00
Erik Walthinsen
38e8ff8b70 minor cleanup of some debug strings
Original commit message from CVS:
minor cleanup of some debug strings
2001-05-10 08:17:45 +00:00
Erik Walthinsen
89aa4a3810 - Fixed up a bunch of warnings.
Original commit message from CVS:
- Fixed up a bunch of warnings.
- Fixed buffer_copy (alloc correct size)
- Added start of autoplugger meta-element
2001-05-10 08:16:36 +00:00