David Schleef
a77e6e35e4
gst/gstcaps.c: Add new function.
...
Original commit message from CVS:
* gst/gstcaps.c: (_gst_structure_is_equal_foreach),
(gst_caps_is_equal_fixed): Add new function.
* gst/gstcaps.h: ditto.
* gst/gstpad.c: (gst_real_pad_class_init),
(gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
(gst_pad_set_explicit_caps), (gst_pad_get_caps): In try_set_caps,
check new caps against existing caps -- if they're the same, return
OK without renegotiating. caps-nego-failed signal fixed so that
the marshaller isn't VOID__OBJECT. Also changed to G_TYPE_POINTER
to save an extra caps copy. Don't complete negotiation if a pad
link function returns DELAYED.
2004-01-02 23:04:14 +00:00
Benjamin Otte
62d2803d5d
gst/gstpad.c: Fix wrong g_return_if_fail
...
Original commit message from CVS:
2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstpad.c: (gst_pad_try_relink_filtered):
Fix wrong g_return_if_fail
2004-01-02 19:10:44 +00:00
Jan Schmidt
de0c9fba96
Change the marshalilng of element_added/element_removed signals to use gst_marshal_VOID__OBJECT over gst_marshal_VOID...
...
Original commit message from CVS:
Change the marshalilng of element_added/element_removed signals to use
gst_marshal_VOID__OBJECT over gst_marshal_VOID__POINTER
2004-01-02 15:41:08 +00:00
David Schleef
15a286a3ec
Clean up some code in last checkin. Fix minor bug where allowed_caps were incorrectly used for negotiation.
...
Original commit message from CVS:
Clean up some code in last checkin. Fix minor bug where allowed_caps
were incorrectly used for negotiation.
2004-01-02 10:01:11 +00:00
David Schleef
9ad670e297
Add new use_explicit_caps() and set_explicit_caps() functions.
...
Original commit message from CVS:
Add new use_explicit_caps() and set_explicit_caps() functions.
2004-01-02 07:02:43 +00:00
David Schleef
1af3878c8f
remove bogus FIXME
...
Original commit message from CVS:
remove bogus FIXME
2004-01-02 06:58:17 +00:00
David Schleef
e7d186c69a
Negotiation fixes
...
Original commit message from CVS:
Negotiation fixes
2004-01-01 02:23:47 +00:00
David Schleef
58f4b89e95
Implement gst_caps_normalize()
...
Original commit message from CVS:
Implement gst_caps_normalize()
2004-01-01 02:17:44 +00:00
Ronald S. Bultje
dd6ba0b28e
gst/gstqueue.c: use gst_pad_proxy_getcaps()
...
Original commit message from CVS:
2003-12-31 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/gstqueue.c: (gst_queue_init):
use gst_pad_proxy_getcaps()
2003-12-31 11:08:01 +00:00
David Schleef
2ecb08f2bd
Negotiation fixes
...
Original commit message from CVS:
Negotiation fixes
2003-12-31 08:09:38 +00:00
David Schleef
8f8aaf83f4
Add functions useful default pad_link and fixate functions.
...
Original commit message from CVS:
Add functions useful default pad_link and fixate functions.
2003-12-31 08:06:49 +00:00
David Schleef
1933a78c8e
Fix segfault caused by last checkin
...
Original commit message from CVS:
Fix segfault caused by last checkin
2003-12-30 19:11:03 +00:00
David Schleef
cd1d72deb2
gst/gstcaps.*: Add simplify function
...
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
(gst_caps_structure_simplify), (gst_caps_simplify):
* gst/gstcaps.h:
Add simplify function
* gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
(gst_pad_perform_negotiate), (gst_pad_is_negotiated):
* gst/gstpad.h:
Copy over srcnotify, sinknotify when calling old pad_link
functions. Add new is_negotiated() function.
* gst/gststructure.c: (gst_structure_copy):
Fix an incredibly stupid bug that should have been noticed
weeks ago. _copy() returned the argument, not the new copy.
2003-12-30 04:59:48 +00:00
Benjamin Otte
a8a68d0c0c
only call link functions to restore old link if the old link was negotiated
...
Original commit message from CVS:
only call link functions to restore old link if the old link was negotiated
2003-12-27 15:49:15 +00:00
Benjamin Otte
f98a10e5d0
set freed caps to NULL
...
Original commit message from CVS:
set freed caps to NULL
2003-12-27 14:09:51 +00:00
Benjamin Otte
9df878658c
gst/gstcaps.c: add sanity checks
...
Original commit message from CVS:
2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/gstcaps.c: (gst_caps_append):
add sanity checks
* gst/gstcaps.h: (gst_caps_debug):
remove, it doesn't exist anymore.
* gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
(gst_element_threadsafe_properties_post_run):
make debugging messages not clutter up THREAD debug category
(gst_element_negotiate_pads), (gst_element_clear_pad_caps),
(gst_element_change_state):
update to new caps API
* gst/gstinterface.c: (gst_implements_interface_cast):
don't put vital code in g_return_if_fail
* gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
(gst_pad_link_filtered):
add pst_pad_try_link and use it.
(gst_pad_perform_negotiate), (gst_pad_renegotiate):
implement correctly, deprecate first one.
(gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
add and implement.
(gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
implement.
(gst_pad_get_negotiated_caps):
add and implement. Make GST_PAD_CAPS call this function.
(gst_pad_get_caps):
remove unneeded check..
(gst_pad_recover_caps_error):
disable, always return FALSE.
(gst_real_pad_dispose):
don't free caps and appfilter anymore, they're unused.
* gst/gstpad.h:
Reflect changes mentioned above.
* gst/gstsystemclock.c: (gst_system_clock_wait):
Make 'clock is way behind' a debugging message.
* gst/gstthread.c: (gst_thread_change_state):
Fix debugging message
2003-12-27 13:51:31 +00:00
Thomas Vander Stichele
6cc7e04989
fix GST_DEBUG_CATEGORY_INIT description
...
Original commit message from CVS:
fix GST_DEBUG_CATEGORY_INIT description
2003-12-25 09:42:56 +00:00
Thomas Vander Stichele
e448390775
removing last mentions of wingo cothreads
...
Original commit message from CVS:
removing last mentions of wingo cothreads
2003-12-24 15:11:20 +00:00
Thomas Vander Stichele
47274a1abe
fix non-gtk-doc comment blocks
...
Original commit message from CVS:
fix non-gtk-doc comment blocks
2003-12-24 14:39:46 +00:00
Thomas Vander Stichele
dfedf4271f
whitespace and doc style fixes
...
Original commit message from CVS:
whitespace and doc style fixes
2003-12-24 14:36:03 +00:00
Thomas Vander Stichele
28f19dd965
remove trailing comma for gtk-doc
...
Original commit message from CVS:
remove trailing comma for gtk-doc
2003-12-24 12:55:00 +00:00
Colin Walters
5d39cbbd4e
Make GstCaps parameter const. Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED. Don't double-fre...
...
Original commit message from CVS:
Make GstCaps parameter const. Copy caps parameter. Use _POINTER to
marshal caps instead of _BOXED. Don't double-free caps.Use
GST_PAD_LINK_SUCCESSFUL.
2003-12-24 07:42:43 +00:00
David Schleef
686e3f1805
Fix a few logic bugs in gst_element_get_compatible_pad_filtered() caused by new pad negotiation. Add some debugging,...
...
Original commit message from CVS:
Fix a few logic bugs in gst_element_get_compatible_pad_filtered() caused
by new pad negotiation. Add some debugging, and fix logic bug in gstpad.c.
2003-12-24 03:28:27 +00:00
David Schleef
e73192ddb4
Implement gst_pad_can_link_filtered(). Fix a few minor bugs.
...
Original commit message from CVS:
Implement gst_pad_can_link_filtered(). Fix a few minor bugs.
2003-12-24 02:32:42 +00:00
David Schleef
4441d749e9
Add some sanity tests to gstpad.c. Check that pad is linked before calling gst_pad_try_set_caps() on it in spideride...
...
Original commit message from CVS:
Add some sanity tests to gstpad.c. Check that pad is linked before
calling gst_pad_try_set_caps() on it in spideridentity.
2003-12-24 01:39:08 +00:00
David Schleef
f94d6d1d47
Check caps for NULL before copying
...
Original commit message from CVS:
Check caps for NULL before copying
2003-12-24 00:26:45 +00:00
David Schleef
473c2e6446
Fix bug in _gst_caps_value_copy() that could cause GValue corruption
...
Original commit message from CVS:
Fix bug in _gst_caps_value_copy() that could cause GValue corruption
2003-12-24 00:02:17 +00:00
Colin Walters
fa4316c123
Use GST_PAD_LINK_SUCCESSFUL.
...
Original commit message from CVS:
Use GST_PAD_LINK_SUCCESSFUL.
2003-12-23 23:37:54 +00:00
David Schleef
778c24a58a
gst/elements/: Use gst_pad_proxy_getcaps().
...
Original commit message from CVS:
* gst/elements/gstaggregator.c:
* gst/elements/gsttee.c:
Use gst_pad_proxy_getcaps().
* gst/gstpad.c:
* gst/gstpad.h:
Add gst_pad_proxy_getcaps(), which filter elements can use
as a generic getcaps implementation.
Fix gst_pad_get_allowed_caps(). It just wasn't doing what
was advertised.
2003-12-23 23:19:07 +00:00
David Schleef
91954ff66b
gst/gstpad.c: Rearrange/rewrite much of the pad negotiation code, since it resembled pasta. This actually changes th...
...
Original commit message from CVS:
* gst/gstpad.c:
Rearrange/rewrite much of the pad negotiation code, since it
resembled pasta. This actually changes the way some
negotiation works, since the previous code was inconsistent
depending on how it was invoked. Add (internal) structure
GstPadLink, which is used to hold some information (more in
the future) about the link between two pads. Fixes a number
of bugs, including random lossage of filter caps when the
initial negotiation is delayed. A few functions are still
unimplemented.
* gst/gstpad.h:
Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros. Please use
these when testing GstPadLinkReturn values instead of comparing
directly.
2003-12-23 21:39:35 +00:00
David Schleef
b121bf3571
Fix typo in last checkin that caused a regression.
...
Original commit message from CVS:
Fix typo in last checkin that caused a regression.
2003-12-23 21:22:38 +00:00
David Schleef
63079b12bc
Rearrange lots of code. Change registration of compare function into registration of compare/serialize/deserialize f...
...
Original commit message from CVS:
Rearrange lots of code. Change registration of compare function
into registration of compare/serialize/deserialize functions.
2003-12-23 20:58:05 +00:00
David Schleef
a95a3d2064
Remove these; we don't use them anymore
...
Original commit message from CVS:
Remove these; we don't use them anymore
2003-12-23 19:21:33 +00:00
Colin Walters
31808e7afa
Add interface to setting GValues directly.
...
Original commit message from CVS:
Add interface to setting GValues directly.
2003-12-23 04:50:01 +00:00
David Schleef
fd203e87e2
Print double ranges in a locale-friendly way
...
Original commit message from CVS:
Print double ranges in a locale-friendly way
2003-12-22 19:28:07 +00:00
Benjamin Otte
31baf87dd4
gst/elements/gstelements.c: Set ranks of elements to NONE, so the autoplugger doesn't use them.
...
Original commit message from CVS:
2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/elements/gstelements.c:
Set ranks of elements to NONE, so the autoplugger doesn't use them.
* gst/elements/gstshaper.c: (gst_shaper_getcaps):
Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
gst_caps (peer).
2003-12-22 19:10:41 +00:00
Benjamin Otte
d136495dd9
gst/autoplug/: Fix autoplugging in spider element, so it works with new caps.
...
Original commit message from CVS:
2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
* gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
(gst_spider_identity_getcaps), (gst_spider_identity_change_state),
(gst_spider_identity_sink_loop_type_finding):
* gst/autoplug/gstspideridentity.h:
Fix autoplugging in spider element, so it works with new caps.
This was mainly caused by identifying empty caps incorrectly.
2003-12-22 18:06:22 +00:00
Thomas Vander Stichele
50b7bcab86
some docs style cleanups
...
Original commit message from CVS:
some docs style cleanups
2003-12-22 10:51:03 +00:00
Thomas Vander Stichele
487f0893ee
minor style issues, no need to ChangeLog it
...
Original commit message from CVS:
minor style issues, no need to ChangeLog it
2003-12-22 10:37:31 +00:00
David Schleef
72163f3e5c
Add gst_value_init_and_copy() and use it, to avoid silly mistakes in using g_value_copy()
...
Original commit message from CVS:
Add gst_value_init_and_copy() and use it, to avoid silly mistakes in
using g_value_copy()
2003-12-22 07:00:25 +00:00
David Schleef
003a59c4f3
Allow more characters to be recognized as caps characters
...
Original commit message from CVS:
Allow more characters to be recognized as caps characters
2003-12-22 06:57:29 +00:00
David Schleef
6150b02001
rename gstcaps2.[ch] to gstcaps.[ch]
...
Original commit message from CVS:
rename gstcaps2.[ch] to gstcaps.[ch]
2003-12-22 01:58:20 +00:00
David Schleef
8c9cd079d4
Merge CAPS branch
...
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:39:35 +00:00
Ronald S. Bultje
f12a5871cf
gst/gstqueue.c: implement timeout for sending events. Workaround for if the pipeline on this queue is not passing any...
...
Original commit message from CVS:
2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
* gst/gstqueue.c: (gst_queue_handle_pending_events),
(gst_queue_chain), (gst_queue_handle_src_event):
implement timeout for sending events. Workaround for if the
pipeline on this queue is not passing any data.
2003-12-21 18:59:06 +00:00
Brian Cameron
0cb4645646
Fixed shell in docs/gst/Makefile.am and docs/libs/Makefile.am so that it works with Solaris /bin/sh. Fixed gst/gstpl...
...
Original commit message from CVS:
Fixed shell in docs/gst/Makefile.am and docs/libs/Makefile.am so that
it works with Solaris /bin/sh. Fixed gst/gstplugin.c so it compiles
properly when the configure --disable-gst_debug option is used.
Fixed gst/parse/Makefile.am so that it doesn't append grammar.tab.h to
the end of lex._gst_parse_yy.c since lex._gst_parse_yy.c already
includes grammar.tab.h via a <#include ...> line.
2003-12-19 20:27:03 +00:00
David Schleef
0e86531c8b
Fix powerpc asm
...
Original commit message from CVS:
Fix powerpc asm
2003-12-18 09:41:49 +00:00
Colin Walters
6b9383ce6c
Fix type of GST_TAG_TRACK_COUNT.
...
Original commit message from CVS:
Fix type of GST_TAG_TRACK_COUNT.
2003-12-18 04:28:43 +00:00
Ronald S. Bultje
c231ca28a8
Remove need for calling set_active(FALSE)+set_active(TRUE) before calling handle_discont(). I didn't really understan...
...
Original commit message from CVS:
Remove need for calling set_active(FALSE)+set_active(TRUE) before
calling handle_discont(). I didn't really understand this part but
I'm assuming that "hey, it works!" is good enough this time...
2003-12-17 22:35:25 +00:00
Benjamin Otte
9195d5bf8e
implement gst_bin_get_(all_)by_interface
...
Original commit message from CVS:
implement gst_bin_get_(all_)by_interface
2003-12-16 19:35:26 +00:00
Thomas Vander Stichele
cdfe720faa
rename option as suggested to avoid bad jokes :)
...
Original commit message from CVS:
rename option as suggested to avoid bad jokes :)
2003-12-16 12:20:54 +00:00
Thomas Vander Stichele
f4f76837fa
fix brian's commit
...
Original commit message from CVS:
fix brian's commit
2003-12-15 22:13:03 +00:00
Brian Cameron
c6a18b92c2
Removed grammar.tab.h from the flex command to build lex._gst_parse_yy.c because this caused grammar.tab.h to be incl...
...
Original commit message from CVS:
Removed grammar.tab.h from the flex command to build lex._gst_parse_yy.c
because this caused grammar.tab.h to be included twice in the file (since
it is already included directly in parse.l via an #include statement).
Including this file twice was causing Forte to be unable to compile it.
2003-12-15 18:40:13 +00:00
Brian Cameron
bdbfd1bebe
Removed needless semicolon that was causing a compiler error with Forte.
...
Original commit message from CVS:
Removed needless semicolon that was causing a compiler error with Forte.
2003-12-15 18:22:57 +00:00
Thomas Vander Stichele
a4f74f5eb4
implementing segfault handler for plugin loading
...
Original commit message from CVS:
implementing segfault handler for plugin loading
2003-12-15 12:44:35 +00:00
Ronald S. Bultje
9111ea764c
Fix a deadlock that happens if the next element sends an event and the previous element sends a buffer where the queu...
...
Original commit message from CVS:
Fix a deadlock that happens if the next element sends an event and the previous element sends a buffer where the queue is full. See the comment in the code for the rest.
2003-12-14 13:14:35 +00:00
Benjamin Otte
8cf0d17c3f
fix caps parsing. Some evil person (me?\!) disallowed the dot as a character in caps
...
Original commit message from CVS:
fix caps parsing. Some evil person (me?\!) disallowed the dot as a character in caps
2003-12-14 04:28:11 +00:00
Ronald S. Bultje
90d64117c5
This is either a rewrite or a large bugfix to the queue element, whatever you prefer to call it.
...
Original commit message from CVS:
This is either a rewrite or a large bugfix to the queue element, whatever
you prefer to call it.
* upstream event forwarding now works. This should fix Julien's issues.
* this queue allows setting a min. treshold size and a max. limit size
in bytes, buffers and time before the queue allows the next element
to pull data or the previous element to push data into it. This is
very interesting for network-related buffering. Also includes signals
et all for the end user application.
* Events are no longer part of the queue's "size", they're essentially
seen as "void data". they have no size or time associated with them
anyway, so this shouldn't really sound weird.
2003-12-13 17:12:46 +00:00
Benjamin Otte
46a70fddfb
removed GST_*_CAST. Disabling of type checking is done in glib.
...
Original commit message from CVS:
removed GST_*_CAST. Disabling of type checking is done in glib.
2003-12-13 16:58:29 +00:00
Benjamin Otte
e8dbaf28bc
do connect elements directly, if they can be connected already and don't try to find an element that fits in between
...
Original commit message from CVS:
do connect elements directly, if they can be connected already and don't try to find an element that fits in between
2003-12-09 16:28:34 +00:00
David Schleef
44fe9524c3
oops, didn't intend to do last checkin
...
Original commit message from CVS:
oops, didn't intend to do last checkin
2003-12-09 04:05:31 +00:00
David Schleef
1cd87b37e5
Change GST_.*_PADDING to _gst_padding[GST_PADDING];
...
Original commit message from CVS:
Change GST_.*_PADDING to _gst_padding[GST_PADDING];
2003-12-09 02:39:31 +00:00
Benjamin Otte
b9d7ea92ed
finish everything typefinding related (like seeking to correct offset) _before_ pushing the first buffer
...
Original commit message from CVS:
finish everything typefinding related (like seeking to correct offset) _before_ pushing the first buffer
2003-12-07 19:02:30 +00:00
Ronald S. Bultje
103c22dee3
Rename GstInterface to GstImplementsInterface (see bug #122423 )
...
Original commit message from CVS:
Rename GstInterface to GstImplementsInterface (see bug #122423 )
2003-12-07 12:08:44 +00:00
Thomas Vander Stichele
7918a27650
more trademark fixing
...
Original commit message from CVS:
more trademark fixing
2003-12-05 12:32:06 +00:00
Andy Wingo
8ca1b1fe7f
remove copyright field from plugin structs
...
Original commit message from CVS:
remove copyright field from plugin structs
2003-12-04 10:02:41 +00:00
Thomas Vander Stichele
a0e8e56d8d
fix docs build fix make distcheck
...
Original commit message from CVS:
fix docs build
fix make distcheck
2003-12-02 18:21:35 +00:00
Benjamin Otte
1f6bda5395
comment out caps2 stuff
...
Original commit message from CVS:
comment out caps2 stuff
2003-12-02 16:48:11 +00:00
David Schleef
71454fa19c
change gst_pad_select() to gst_pad_selectv(), and add/fix gst_pad_select() and gst_pad_select_valist()
...
Original commit message from CVS:
change gst_pad_select() to gst_pad_selectv(), and add/fix gst_pad_select()
and gst_pad_select_valist()
2003-12-02 04:39:00 +00:00
David Schleef
b061d65ecc
change gst_event_new_discontinuousv to gst_event_new_discontinuous_valist (again)
...
Original commit message from CVS:
change gst_event_new_discontinuousv to gst_event_new_discontinuous_valist (again)
2003-12-02 04:29:47 +00:00
David Schleef
dd597cd485
change gst_event_new_discontinuousv to gst_event_new_discontinuous_valist
...
Original commit message from CVS:
change gst_event_new_discontinuousv to gst_event_new_discontinuous_valist
2003-12-02 04:28:26 +00:00
David Schleef
02ce7980b2
remove gstcaps2.h
...
Original commit message from CVS:
remove gstcaps2.h
2003-12-01 20:42:15 +00:00
Jan Schmidt
3e4c58bac8
Add gstcaps2.h for installation so gst-plugins builds.
...
Original commit message from CVS:
Add gstcaps2.h for installation so gst-plugins builds.
2003-12-01 11:36:35 +00:00
David Schleef
476dea14ad
Change 'const' to 'G_CONST_RETURN' in header files
...
Original commit message from CVS:
Change 'const' to 'G_CONST_RETURN' in header files
2003-11-29 06:34:05 +00:00
David Schleef
58b18a3624
Merge gstvalue and gststructure from CAPS branch
...
Original commit message from CVS:
Merge gstvalue and gststructure from CAPS branch
2003-11-29 06:31:10 +00:00
David Schleef
97383fdaee
remove old autoplug support
...
Original commit message from CVS:
remove old autoplug support
2003-11-29 05:30:56 +00:00
David Schleef
57fcf33e5e
Remove old autoplug code
...
Original commit message from CVS:
Remove old autoplug code
2003-11-29 05:29:30 +00:00
David Schleef
5bb8f132f5
fix minor typo
...
Original commit message from CVS:
fix minor typo
2003-11-29 04:39:29 +00:00
Benjamin Otte
387b7f7f5b
make sure props are really sorted before intersecting them.
...
Original commit message from CVS:
make sure props are really sorted before intersecting them.
And then intersect them correctly
2003-11-25 22:08:45 +00:00
Benjamin Otte
17b132c9b3
and remove that debugging g_print - sheesh
...
Original commit message from CVS:
and remove that debugging g_print - sheesh
2003-11-24 21:38:54 +00:00
Benjamin Otte
63b0509428
send correct buffer offset after seek
...
Original commit message from CVS:
send correct buffer offset after seek
2003-11-24 21:36:59 +00:00
Benjamin Otte
25f85868d4
implement URI schemes
...
Original commit message from CVS:
implement URI schemes
Elements can now register as a source or sink for a protocol and applications can use gst_element_make_from_uri () to get an element that handles a given URI.
This patch provides:
- removal of old broken URI handling scheme.
- new URI handling using interfaces.
- updates for registry to save handled URIs.
- interface for URI handlers.
- implementation of that in filesrc and filesink for the file:// URI
- extension to pipeline parsing to allow specifying only a URI instead of element
Does not include:
- tests
- inclusion in docs build
2003-11-24 03:21:54 +00:00
Benjamin Otte
4e8fb08626
oops, glib function too new for general audience
...
Original commit message from CVS:
oops, glib function too new for general audience
2003-11-24 02:53:40 +00:00
Benjamin Otte
385b9ee5c4
merge in tagging
...
Original commit message from CVS:
merge in tagging
Includes:
- gsttag.[ch] - The definition of GstTagList and tag registering/querying
- gsttaginterface.[ch] - Interface for elements that can handle setting of tags
- updates and merges to gststructure.[ch] and gstvalue.[ch]
- testsuite/tags - some tests for tagging
- bugfixes
- updates to make make distcheck work
- updates the version number to 0.7.2.1
Does not include:
- including tagging stuff in docs
- extensive tests
2003-11-24 02:09:23 +00:00
Ronald S. Bultje
858d9bde08
Disable i18n if it's not there - this fixes build issues with older versions of libgnomeui, i18n-tools, etc.
...
Original commit message from CVS:
Disable i18n if it's not there - this fixes build issues with older versions of libgnomeui, i18n-tools, etc.
2003-11-22 21:46:07 +00:00
Benjamin Otte
cb853c1bcf
change the chainwrapper to allow removing pads during iterations
...
Original commit message from CVS:
change the chainwrapper to allow removing pads during iterations
2003-11-22 19:11:58 +00:00
Ronald S. Bultje
6fa0298713
Add GstElement as a prerequisite for GstInterface
...
Original commit message from CVS:
Add GstElement as a prerequisite for GstInterface
2003-11-18 19:05:39 +00:00
Benjamin Otte
30842f709c
improve debugging options:
...
Original commit message from CVS:
improve debugging options:
- don't compile in debug help if compiled with GST_DISABLE_GST_DEBUG
- load all plugins on gst_debug_help so that all debugging categories can be displayed
2003-11-18 15:31:30 +00:00
Benjamin Otte
6402b4730b
always check file length before making decisions based on it
...
Original commit message from CVS:
always check file length before making decisions based on it
2003-11-17 01:11:32 +00:00
Benjamin Otte
284a8c25e7
keep pads active at all times (this is a workaround to not get '... but pad is not active' errors
...
Original commit message from CVS:
keep pads active at all times (this is a workaround to not get '... but pad is not active' errors
2003-11-17 01:09:56 +00:00
Benjamin Otte
9d3683f11f
query sink pads before querying peers of source pads in default handler
...
Original commit message from CVS:
query sink pads before querying peers of source pads in default handler
2003-11-17 01:08:00 +00:00
Iain Holmes
34888f9abe
Make the type G_TYPE_POINTER instead of GST_TYPE_PLUGIN. Fixes a crash in gst-register
...
Original commit message from CVS:
Make the type G_TYPE_POINTER instead of GST_TYPE_PLUGIN. Fixes a crash in gst-register
2003-11-14 15:54:47 +00:00
Thomas Vander Stichele
cc00f4039a
put GST_CACHE_DIR in config.h
...
Original commit message from CVS:
put GST_CACHE_DIR in config.h
2003-11-14 15:08:15 +00:00
David Schleef
a2d015b88a
change another G_TYPE_POINTER in g_signal_new() to GST_TYPE_PLUGIN, fixing boxed type functions so it doesn't crash
...
Original commit message from CVS:
change another G_TYPE_POINTER in g_signal_new() to GST_TYPE_PLUGIN,
fixing boxed type functions so it doesn't crash
2003-11-13 04:03:49 +00:00
David Schleef
aa7c0f2116
fixes for last checkin
...
Original commit message from CVS:
fixes for last checkin
2003-11-13 03:29:33 +00:00
David Schleef
cd429e460c
Change G_TYPE_POINTER to the appropriate type in g_signal_new()
...
Original commit message from CVS:
Change G_TYPE_POINTER to the appropriate type in g_signal_new()
2003-11-13 02:47:03 +00:00
David Schleef
2fa95b4fac
Add new caps code
...
Original commit message from CVS:
Add new caps code
2003-11-11 19:14:14 +00:00
Andy Wingo
ad008198e0
fix an old bug traversing pad template lists, and change _padtemplates to _pad_templates in new functions
...
Original commit message from CVS:
fix an old bug traversing pad template lists, and change _padtemplates to _pad_templates in new functions
2003-11-11 12:34:15 +00:00
David Schleef
7eca737099
change navigation from caps to structure
...
Original commit message from CVS:
change navigation from caps to structure
2003-11-11 00:31:09 +00:00
Ronald S. Bultje
b96f885fa1
Caps with empty props (which is not NULL - gst_props_new_empty()) can result in an invalid string, so we need to chec...
...
Original commit message from CVS:
Caps with empty props (which is not NULL - gst_props_new_empty()) can result in an invalid string, so we need to check for empty props (as opposed to NULL props) too.
2003-11-09 21:26:13 +00:00
Ronald S. Bultje
9227b98fe3
Compile fix for gcc-2.9x
...
Original commit message from CVS:
Compile fix for gcc-2.9x
2003-11-09 13:47:21 +00:00
David Schleef
fc35aeeaad
Add gst_element_class_get_pad_template()
...
Original commit message from CVS:
Add gst_element_class_get_pad_template()
2003-11-08 23:28:04 +00:00
David Schleef
67fb6a19f6
revert last change
...
Original commit message from CVS:
revert last change
2003-11-07 19:51:20 +00:00
Julien Moutte
e72439148e
Adding GST_EVENT_RENEGOTIATE
...
Original commit message from CVS:
Adding GST_EVENT_RENEGOTIATE
2003-11-07 17:17:06 +00:00
Jan Schmidt
458e4ada59
Fix a crash when unlinking Ghost pads which was included in the reversion of error changes.
...
Original commit message from CVS:
Fix a crash when unlinking Ghost pads which was included in the reversion
of error changes.
2003-11-06 16:30:32 +00:00
Benjamin Otte
94f7a8ee6d
set default errorlevel to NONE. Make configure change it to ERROR (the current value) when running cvs builds. This s...
...
Original commit message from CVS:
set default errorlevel to NONE. Make configure change it to ERROR (the current value) when running cvs builds. This should make releases not output any debugging information at all
2003-11-06 02:28:26 +00:00
Benjamin Otte
23ad5f6b1a
set chainfunction on request pads (FIXME: do we even support chainbased elements with multiple sinkpads?)
...
Original commit message from CVS:
set chainfunction on request pads (FIXME: do we even support chainbased elements with multiple sinkpads?)
2003-11-05 01:40:29 +00:00
Benjamin Otte
9cadba0df4
memory management and debugging issues
...
Original commit message from CVS:
memory management and debugging issues
2003-11-05 01:38:01 +00:00
Benjamin Otte
ea5d0235bd
initialise pad->convertfunc only once return FALSE in the default handler if an event wasn't handled
...
Original commit message from CVS:
initialise pad->convertfunc only once return FALSE in the default handler if an event wasn't handled
2003-11-05 01:35:32 +00:00
Benjamin Otte
b0ab53ea6a
make gst_element_link work when connecting from a NULL-caps request pad
...
Original commit message from CVS:
make gst_element_link work when connecting from a NULL-caps request pad
2003-11-05 01:33:02 +00:00
David Schleef
91b0389731
hacking. Add value_compare, value_union, and value_intersect functions
...
Original commit message from CVS:
hacking. Add value_compare, value_union, and value_intersect functions
2003-11-04 19:00:54 +00:00
Benjamin Otte
b940244e53
disable debugging when it hasn't been initialized yet. Fixes testsuite
...
Original commit message from CVS:
disable debugging when it hasn't been initialized yet. Fixes testsuite
2003-11-04 17:27:22 +00:00
Benjamin Otte
4a549c798b
fix missing include for OS X (bug 126069) - HEAD should compile on OS X now
...
Original commit message from CVS:
fix missing include for OS X (bug 126069) - HEAD should compile on OS X now
2003-11-04 17:24:46 +00:00
David Schleef
25e993e571
Adjust API based on comments from other developers
...
Original commit message from CVS:
Adjust API based on comments from other developers
2003-11-04 05:54:24 +00:00
David Schleef
32eac40ddb
fix typo
...
Original commit message from CVS:
fix typo
2003-11-04 05:53:35 +00:00
David Schleef
b75efb7f59
Add G_DISABLE_DEPRECATED and fix deprecated code
...
Original commit message from CVS:
Add G_DISABLE_DEPRECATED and fix deprecated code
2003-11-03 20:56:53 +00:00
David Schleef
5539c318e7
Add GstStructure and GstValue
...
Original commit message from CVS:
Add GstStructure and GstValue
2003-11-03 09:10:07 +00:00
Ronald S. Bultje
9abb3e0669
XML, gst-editor, gst-rec and anything that's not based on spider is now broken. This re-fixes it.
...
Original commit message from CVS:
XML, gst-editor, gst-rec and anything that's not based on spider is now broken. This re-fixes it.
2003-11-02 16:46:12 +00:00
Benjamin Otte
4180066759
implement 'gst_element_factory_find_from_element' to replace gst_element_get_factory
...
Original commit message from CVS:
implement 'gst_element_factory_find_from_element' to replace gst_element_get_factory
2003-11-02 16:24:22 +00:00
Benjamin Otte
3ddbdba789
fix stupidity bug in gstelement.c (which only crashes other computers :)
...
Original commit message from CVS:
fix stupidity bug in gstelement.c (which only crashes other computers :)
2003-11-02 14:58:05 +00:00
Ronald S. Bultje
78708234bd
Add QPL and GPL/QPL, plus add links to licenses
...
Original commit message from CVS:
Add QPL and GPL/QPL, plus add links to licenses
2003-11-02 14:17:17 +00:00
David Schleef
42c5e74e0d
Fix warnings due to previous checkin
...
Original commit message from CVS:
Fix warnings due to previous checkin
2003-10-31 20:54:44 +00:00
David Schleef
f4cbe54b68
add rule dependency
...
Original commit message from CVS:
add rule dependency
2003-10-31 20:20:36 +00:00
Benjamin Otte
907e3e97d9
update plugin initialization restructuring (see email for details
...
Original commit message from CVS:
update plugin initialization restructuring (see email for details
2003-10-31 19:32:47 +00:00
Benjamin Otte
37d3d6ec99
cvs can't merge - these should have been dead since typefind merge
...
Original commit message from CVS:
cvs can't merge - these should have been dead since typefind merge
2003-10-31 16:48:45 +00:00
David Schleef
40fe161510
Clean more files
...
Original commit message from CVS:
Clean more files
2003-10-31 03:52:11 +00:00
Benjamin Otte
db2c2df575
remove types directory. Should have been killed by TYPEFIND merge but wasn't
...
Original commit message from CVS:
remove types directory. Should have been killed by TYPEFIND merge but wasn't
2003-10-31 02:57:46 +00:00
Benjamin Otte
18c107965b
declaration order fixes
...
Original commit message from CVS:
declaration order fixes
2003-10-30 19:54:29 +00:00
David Schleef
16fccf325d
Allow NULL to be a valid value for factory->extensions.
...
Original commit message from CVS:
Allow NULL to be a valid value for factory->extensions.
2003-10-29 23:10:49 +00:00
David Schleef
0a4c6d8fd2
clean up some warnings
...
Original commit message from CVS:
clean up some warnings
2003-10-29 04:11:11 +00:00
David Schleef
a3723260ce
Add typedef to named enum
...
Original commit message from CVS:
Add typedef to named enum
2003-10-29 04:10:33 +00:00
David Schleef
0259155e08
don't dist files generated by flex and bison, since they're not portable.
...
Original commit message from CVS:
don't dist files generated by flex and bison, since they're not
portable.
2003-10-29 00:15:46 +00:00
Benjamin Otte
3235f1d4c0
merge TYPEFIND branch. Major changes:
...
Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- bytestream is out of the core again
- typefind element is now part of gstelements
2003-10-28 20:25:30 +00:00
Ronald S. Bultje
40b7ac445c
Properly give an error if no file was given
...
Original commit message from CVS:
Properly give an error if no file was given
2003-10-20 14:58:07 +00:00
Ronald S. Bultje
2021fd636c
We need to store the new GList. Else, this causes problems if we remove the first entry from the list (unreferenced p...
...
Original commit message from CVS:
We need to store the new GList. Else, this causes problems if we remove the first entry from the list (unreferenced pointer). Also, we need to destroy the unused entry afterwards (memleak).
2003-10-20 08:22:19 +00:00
David Schleef
f8e5104302
add gst_alloc_trace_live_all(), used by the test suites
...
Original commit message from CVS:
add gst_alloc_trace_live_all(), used by the test suites
2003-10-15 21:31:23 +00:00
David Schleef
dcb2dce108
Change the iterate callback functions to a GSignal
...
Original commit message from CVS:
Change the iterate callback functions to a GSignal
2003-10-14 00:00:37 +00:00
Benjamin Otte
6a9e76ee20
g_list_length is unsigned
...
Original commit message from CVS:
g_list_length is unsigned
2003-10-09 19:13:19 +00:00
Thomas Vander Stichele
30da970283
fix cleaning
...
Original commit message from CVS:
fix cleaning
2003-10-09 13:47:35 +00:00
David Schleef
d4ee10bd79
distcheck fixes. Some tests have been disabled.
...
Original commit message from CVS:
distcheck fixes. Some tests have been disabled.
2003-10-09 01:13:21 +00:00
Andy Wingo
31d748d332
s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488 . Also inc...
...
Original commit message from CVS:
s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488 . Also includes scheduler patches, and probably fixes some queue bugs relating to events and buffers.
2003-10-08 16:06:02 +00:00
David Schleef
85a63494bf
Add padding to structures and objects
...
Original commit message from CVS:
Add padding to structures and objects
2003-10-07 21:58:42 +00:00
David Schleef
f20644277f
remember to set buffer size.
...
Original commit message from CVS:
remember to set buffer size.
2003-10-07 21:56:36 +00:00
Andy Wingo
87945fb3a8
Make GST_PROPS_PROPERTIES return NULL when props is NULL. This allows
...
Original commit message from CVS:
Make GST_PROPS_PROPERTIES return NULL when props is NULL. This allows
GST_PROPS_PROPERTIES (gst_caps_get_props (caps)) even if the caps have no props.
2003-10-06 14:03:05 +00:00
Thomas Vander Stichele
27b0ea3990
fix docs for four functions
...
Original commit message from CVS:
fix docs for four functions
2003-10-05 20:48:48 +00:00
Thomas Vander Stichele
7731fe15a6
allow pad push if peer is active
...
Original commit message from CVS:
allow pad push if peer is active
2003-10-05 19:42:21 +00:00
Thomas Vander Stichele
1adec99a85
forward port of 123517 adds more debug info to optscheduler
...
Original commit message from CVS:
forward port of 123517
adds more debug info to optscheduler
2003-10-05 15:18:11 +00:00
Ronald S. Bultje
6fbff1c106
New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:11:45 +00:00
Andy Wingo
00d6aa9c21
make filesink handle events only in the chainfunction
...
Original commit message from CVS:
make filesink handle events only in the chainfunction
2003-09-30 13:11:44 +00:00
Iain Holmes
0ef614172a
Update the --gst-debug help documentation
...
Original commit message from CVS:
Update the --gst-debug help documentation
2003-09-29 21:54:10 +00:00
Ronald S. Bultje
2cd09b6c68
cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that...
...
Original commit message from CVS:
cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that ourselves, that's a good thing.
2003-09-29 14:32:22 +00:00
Benjamin Otte
5d1e64e379
make the registry read the plugin feature's rank - this should even make the autoplugger work again. Did I mention I'...
...
Original commit message from CVS:
make the registry read the plugin feature's rank - this should even make the autoplugger work again. Did I mention I'm annoyed because someone didn't test his rank-removing patch? Once opening gst-player or rhythmbox with it would have shown that it doesn't work anymore...
2003-09-27 18:51:16 +00:00
Iain Holmes
ebaed96716
When scheduling a group, check that its not the group thats currently in the top of the runqueue.
...
Original commit message from CVS:
When scheduling a group, check that its not the group thats currently in the
top of the runqueue.
Then, when scheduling a different group, disable the first group and search for the next enabled group to run. Stops deadlocking in loop based elements.
Also remove the g_list_length's from the debugging statements for a bit of speed
2003-09-27 14:13:41 +00:00
David Schleef
b2334b319c
Fix assumption that size_t is int
...
Original commit message from CVS:
Fix assumption that size_t is int
2003-09-24 19:27:02 +00:00
David Schleef
5db318b09a
Fix powerpc asm. Fixes #122952
...
Original commit message from CVS:
Fix powerpc asm. Fixes #122952
2003-09-22 21:47:57 +00:00
David Schleef
6e1a58e9bd
Fix powerpc stuff for non-gas assemblers
...
Original commit message from CVS:
Fix powerpc stuff for non-gas assemblers
2003-09-22 19:15:27 +00:00
David Schleef
90abdd2f23
change a debug message to a g_warning().
...
Original commit message from CVS:
change a debug message to a g_warning().
2003-09-18 22:37:09 +00:00
Thomas Vander Stichele
c4c3c998df
reverting error patches before making a branch.
...
Original commit message from CVS:
reverting error patches before making a branch.
2003-09-16 09:57:31 +00:00
Jan Schmidt
331ee18596
Fix compiler breakage.
...
Original commit message from CVS:
Fix compiler breakage.
2003-09-15 10:55:03 +00:00
Benjamin Otte
ac695261b3
update docs to new error signal
...
Original commit message from CVS:
update docs to new error signal
2003-09-15 01:42:04 +00:00
Benjamin Otte
9afd27f29b
update default error callback to new error signal
...
Original commit message from CVS:
update default error callback to new error signal
2003-09-15 01:36:53 +00:00
Benjamin Otte
be1eaa4de3
implement translatable error messages using gerror.
...
Original commit message from CVS:
implement translatable error messages using gerror.
Includes bugfixes for:
- crash when unlinking Ghostpads
- make *_PAD_* macros use glib casts
- make spider typefinding merge buffers correctly
2003-09-14 19:49:32 +00:00
David Schleef
ce8fe777e6
Add navigation event
...
Original commit message from CVS:
Add navigation event
2003-09-14 11:09:28 +00:00
David Schleef
b3e15a8f71
add check for setting pad_get and pad_chain functions on wrong type pads.
...
Original commit message from CVS:
add check for setting pad_get and pad_chain functions on wrong type pads.
2003-09-14 11:04:11 +00:00
David Schleef
a2961db715
fix handling of _ in properties
...
Original commit message from CVS:
fix handling of _ in properties
2003-09-13 18:32:16 +00:00
Ronald S. Bultje
eb01d6187a
Make interface hack work with multiple interfaces per element
...
Original commit message from CVS:
Make interface hack work with multiple interfaces per element
2003-09-13 15:47:33 +00:00
Ronald S. Bultje
5d76a2e9b3
Implement generic interface stuff, with per-instance support checking instead of per-class checking
...
Original commit message from CVS:
Implement generic interface stuff, with per-instance support checking instead of per-class checking
2003-09-13 01:10:12 +00:00
Ronald S. Bultje
5a26d2f709
Implement seekability-only-if-available
...
Original commit message from CVS:
Implement seekability-only-if-available
2003-09-13 01:06:53 +00:00
Thomas Vander Stichele
2b881623ff
ignore these test code
...
Original commit message from CVS:
ignore these
test code
2003-09-11 12:19:22 +00:00
Thomas Vander Stichele
2e1e7054f2
ignore
...
Original commit message from CVS:
ignore
2003-09-11 12:13:56 +00:00
David Schleef
b79680d0b2
Dist files generated by bison and flex.
...
Original commit message from CVS:
Dist files generated by bison and flex.
2003-08-30 02:42:55 +00:00
Angel Carpintero
7e6ea67d56
fix the error that break the built
...
Original commit message from CVS:
fix the error that break the built
2003-08-27 10:19:08 +00:00
Thomas Vander Stichele
4aeb784a6f
fixes event function setting on unconnected pads
...
Original commit message from CVS:
fixes event function setting on unconnected pads
2003-08-26 10:50:35 +00:00
David Schleef
c4d186ec85
Er, plugins actually use gst_element_factory_set_rank(). Add a define to call gst_plugin_feature_set_rank().
...
Original commit message from CVS:
Er, plugins actually use gst_element_factory_set_rank(). Add a
define to call gst_plugin_feature_set_rank().
2003-08-19 07:31:24 +00:00
David Schleef
7cd75b0ae0
convert pad templates to GST_CAPS_ANY
...
Original commit message from CVS:
convert pad templates to GST_CAPS_ANY
2003-08-19 04:18:19 +00:00
David Schleef
dd7878f38c
Add code to poison objects being destroyed
...
Original commit message from CVS:
Add code to poison objects being destroyed
2003-08-19 04:10:29 +00:00
David Schleef
a937894b48
Add GST_CAPS_NONE and GST_CAPS_ANY
...
Original commit message from CVS:
Add GST_CAPS_NONE and GST_CAPS_ANY
2003-08-19 04:08:29 +00:00
Ronald S. Bultje
9d570688de
Remove duplicate rank field ( fixes #119510 )
...
Original commit message from CVS:
Remove duplicate rank field (fixes #119510 )
2003-08-18 21:14:16 +00:00
David Schleef
4a3c752bca
initialize gettext stuff, plus a few string i18ns
...
Original commit message from CVS:
initialize gettext stuff, plus a few string i18ns
2003-08-17 22:04:55 +00:00
Benjamin Otte
a4ccb27cfd
use _delete_link again
...
Original commit message from CVS:
use _delete_link again
2003-08-17 20:18:58 +00:00
Benjamin Otte
4f1525c8bd
fix gst_debug_remove_with_compare_func and make testsuite/debug run again
...
Original commit message from CVS:
fix gst_debug_remove_with_compare_func and make testsuite/debug run again
2003-08-17 16:45:09 +00:00
Joshua N. Pritikin
46eb739952
Add my name to the copywrite (since I wrote most of this file).
...
Original commit message from CVS:
Add my name to the copywrite (since I wrote most of this file).
Don't fail if get_writer_id is called more than once for the same writer.
Rename debug category according to accepted norms.
2003-08-15 13:39:14 +00:00
Thomas Vander Stichele
f7c80738f7
build fix
...
Original commit message from CVS:
build fix
2003-08-13 11:07:26 +00:00
David Schleef
370c665fbd
Add m68k support (from Debian bug report #172269 )
...
Original commit message from CVS:
Add m68k support (from Debian bug report #172269 )
2003-08-07 23:28:53 +00:00
Andy Wingo
5c2d6b2f43
cache return values of _gst_debug_nameof_funcptr
...
Original commit message from CVS:
kill some memleaks, add ::signal-handoffs property to fakesrc/sink (default FALSE), cache return values of _gst_debug_nameof_funcptr
2003-08-07 12:45:31 +00:00
David Schleef
093f00d2df
Make dladdr() code dependent on HAVE_DLADDR
...
Original commit message from CVS:
Make dladdr() code dependent on HAVE_DLADDR
2003-08-06 03:00:21 +00:00
Thomas Vander Stichele
cee7aab405
cia check
...
Original commit message from CVS:
cia check
2003-08-05 10:38:54 +00:00
Ronald S. Bultje
e2a9a87c64
Implement simple seek API. This can later be extended to work with GstPipeline as arguments and so on *autodetect pro...
...
Original commit message from CVS:
Implement simple seek API. This can later be extended to work with GstPipeline as arguments and so on *autodetect proper element to send event to and so on), but this'll do as a start... See #116149
2003-08-04 21:48:06 +00:00
Benjamin Otte
f7c37a4384
optimized debugging.
...
Original commit message from CVS:
optimized debugging.
good: - we're a lot faster than before (no more locking in debug printing)
bad : - we leak memory now when adding/removing debug handlers (which equals never for every current gstreamer app)
- gst_debug_set_active isn't threadsafe anymore
2003-08-03 17:18:40 +00:00
David Schleef
3a8c2c74cf
Remove check for readability of a registry, since if it doesn't exist, it's not readable. Lower-level functions alre...
...
Original commit message from CVS:
Remove check for readability of a registry, since if it doesn't
exist, it's not readable. Lower-level functions already handle
this.
2003-08-02 01:53:08 +00:00
David Schleef
4f207a7a8b
Add pad->unlinkfunc and gst_pad_set_unlink_function()
...
Original commit message from CVS:
Add pad->unlinkfunc and gst_pad_set_unlink_function()
2003-08-02 01:52:14 +00:00
Ronald S. Bultje
98670720c1
Support gcc-2.9x, too
...
Original commit message from CVS:
Support gcc-2.9x, too
2003-08-01 16:17:46 +00:00
David Schleef
b5c340df0d
Add using_mmap field to GstFileSrc
...
Original commit message from CVS:
Add using_mmap field to GstFileSrc
2003-07-30 01:41:23 +00:00
David Schleef
8f36390eda
Implement read() as a fallback method if mmap() fails. Fixes #117786
...
Original commit message from CVS:
Implement read() as a fallback method if mmap() fails. Fixes #117786
2003-07-30 00:44:58 +00:00
David Schleef
0e48102252
Fix typo in last commit
...
Original commit message from CVS:
Fix typo in last commit
2003-07-29 22:34:43 +00:00
David Schleef
e3ce6294e6
1. Learn sparc asm 2. Realize the level of bogosity of the existing asm 3. Fix it 4. Profit!
...
Original commit message from CVS:
1. Learn sparc asm
2. Realize the level of bogosity of the existing asm
3. Fix it
4. Profit!
2003-07-29 22:24:39 +00:00
Ronald S. Bultje
3770896368
Implement gst_caps_has_property*() as functions instead of macro's - this prevents failed assertions when calling the...
...
Original commit message from CVS:
Implement gst_caps_has_property*() as functions instead of macro's - this prevents failed assertions when calling them in some specific cases. See #115886
2003-07-29 12:00:38 +00:00
Benjamin Otte
333aa50f50
clean up debugging messages in gstthread.c - includes fix for segfault from bug #118151
...
Original commit message from CVS:
clean up debugging messages in gstthread.c - includes fix for segfault from bug #118151
2003-07-27 13:26:38 +00:00
David Schleef
590d364baa
Removed building of ext/cothreads and corresponding scheduler. If you want to reenable it, please fix it first. (Se...
...
Original commit message from CVS:
Removed building of ext/cothreads and corresponding scheduler. If
you want to reenable it, please fix it first. (See bug #87163 )
2003-07-27 05:10:42 +00:00
Brian Cameron
e5b66a8990
Fixed Forte compile issue.
...
Original commit message from CVS:
Fixed Forte compile issue.
2003-07-25 17:02:35 +00:00
David Schleef
13c11bbedf
Change strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
...
Original commit message from CVS:
Change strtod() -> g_ascii_strtod(), since strtod() is locale
dependent.
2003-07-25 07:57:11 +00:00
David Schleef
393bd81d25
Changed strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
...
Original commit message from CVS:
Changed strtod() -> g_ascii_strtod(), since strtod() is locale
dependent.
2003-07-25 07:55:59 +00:00
Joshua N. Pritikin
9c65247b62
1. Change many comments from // to /**/.
...
Original commit message from CVS:
1. Change many comments from // to /**/.
2. Change over to the new debugging macros.
2003-07-25 03:13:24 +00:00
Joshua N. Pritikin
dfbb31c49f
Assign IDs starting from 1 instead of from 0.
...
Original commit message from CVS:
Assign IDs starting from 1 instead of from 0.
2003-07-25 03:11:59 +00:00
Joshua N. Pritikin
a589a794c8
Add a GST_SEEK catagory for diagnostics about handling seek events.
...
Original commit message from CVS:
Add a GST_SEEK catagory for diagnostics about handling seek events.
2003-07-25 01:59:49 +00:00
Anonymous Ignore This
f77860a4e2
Prevent the registry from enter an infinite loop. Somehow the type find code is getting messed up, but that should c...
...
Original commit message from CVS:
Prevent the registry from enter an infinite loop. Somehow the
type find code is getting messed up, but that should cause
gstreamer to become unusable.
2003-07-25 01:53:34 +00:00
David Schleef
a331a7a82e
But you can't use G_TYPE_BOXED in a signal. Changing to G_TYPE_POINTER until code is added to register a type for Gs...
...
Original commit message from CVS:
But you can't use G_TYPE_BOXED in a signal. Changing to G_TYPE_POINTER
until code is added to register a type for GstCaps.
2003-07-24 08:59:05 +00:00
David Schleef
112c6867f3
Properly ref caps and pad template in FACTORY macros
...
Original commit message from CVS:
Properly ref caps and pad template in FACTORY macros
2003-07-24 07:03:56 +00:00
Joshua N. Pritikin
876398c493
fix type in documentation
...
Original commit message from CVS:
fix type in documentation
2003-07-24 02:14:47 +00:00
Ronald S. Bultje
f1015883d0
Add support for not incrementing bytecounter while we're not at the end of the stream
...
Original commit message from CVS:
Add support for not incrementing bytecounter while we're not at the end of the stream
2003-07-22 21:33:02 +00:00
Joshua N. Pritikin
71921dd910
Use a helper function to swap prop entries such they are properly ordered by flexibility. This is important now that...
...
Original commit message from CVS:
Use a helper function to swap prop entries such they are properly ordered
by flexibility. This is important now that framerate is specified as a
list of floats AND as a float range.
2003-07-22 08:07:43 +00:00
David Schleef
091e1c3a75
Add glib.h for G_BEGIN_DECLS
...
Original commit message from CVS:
Add glib.h for G_BEGIN_DECLS
2003-07-18 21:35:40 +00:00
David Schleef
6467bbcfed
Add G_BEGIN_DECLS/G_END_DECLS to exported headers
...
Original commit message from CVS:
Add G_BEGIN_DECLS/G_END_DECLS to exported headers
2003-07-18 20:51:02 +00:00
Benjamin Otte
8461453b10
add valist function for gst_event_new_discontinuous original patch from Brett Kosinski fixes #117348
...
Original commit message from CVS:
add valist function for gst_event_new_discontinuous
original patch from Brett Kosinski
fixes #117348
2003-07-16 19:25:11 +00:00
Andy Wingo
73f2d45295
some formatting and doc fixes, and make gstdebug output line up
...
Original commit message from CVS:
some formatting and doc fixes, and make gstdebug output line up
2003-07-16 15:49:40 +00:00
Andy Wingo
ff57e00592
run pre_run_func and post_run_func when working without a cothread -- fixes threadsafe element props
...
Original commit message from CVS:
run pre_run_func and post_run_func when working without a cothread -- fixes threadsafe element props
2003-07-16 15:39:46 +00:00
David Schleef
ee5586e873
Reference the caps used as filtercaps
...
Original commit message from CVS:
Reference the caps used as filtercaps
2003-07-14 08:23:28 +00:00
David Schleef
8198263d02
Check added in last checkin was tripping on the ends of the varargs array
...
Original commit message from CVS:
Check added in last checkin was tripping on the ends of the varargs array
2003-07-13 21:04:25 +00:00
David Schleef
902c0c29eb
Print float props using %g. Warn about corrupt props and setting invalid props types.
...
Original commit message from CVS:
Print float props using %g. Warn about corrupt props and setting
invalid props types.
2003-07-13 20:34:53 +00:00
David Schleef
88282d4f05
add warning if getcaps function returns an unreferenced caps
...
Original commit message from CVS:
add warning if getcaps function returns an unreferenced caps
2003-07-13 19:15:30 +00:00
Ronald S. Bultje
d1301cbba8
Add G_BEGIN/END_DECLS macros around all the stuff to make c++ plugins compile against this properly, too
...
Original commit message from CVS:
Add G_BEGIN/END_DECLS macros around all the stuff to make c++ plugins compile against this properly, too
2003-07-12 15:15:57 +00:00
Wim Taymans
37717df482
Added some comments and use _PAD_IS_USABLE instead of _IS_ACTIVE
...
Original commit message from CVS:
Added some comments and use _PAD_IS_USABLE instead of _IS_ACTIVE
2003-07-10 20:40:02 +00:00
Benjamin Otte
9b48b95257
fix issue with null pointer cast use brackets around macro arguments
...
Original commit message from CVS:
fix issue with null pointer cast
use brackets around macro arguments
2003-07-10 11:13:34 +00:00
Benjamin Otte
e258e44e83
include license in registry
...
Original commit message from CVS:
include license in registry
2003-07-09 01:56:08 +00:00
Benjamin Otte
329e7d6917
fix endianness issue in xml comments for 4CCs
...
Original commit message from CVS:
fix endianness issue in xml comments for 4CCs
2003-07-09 01:51:02 +00:00
Benjamin Otte
f10cd44abb
clean up element details structs
...
Original commit message from CVS:
clean up element details structs
2003-07-08 17:10:49 +00:00
Benjamin Otte
76ea441abf
make sure we have sane element details - this breaks some plugins, fix them :)
...
Original commit message from CVS:
make sure we have sane element details - this breaks some plugins, fix them :)
2003-07-08 16:17:33 +00:00
Benjamin Otte
f88ed0bae1
fix bogus warning
...
Original commit message from CVS:
fix bogus warning
2003-07-08 13:18:30 +00:00
Benjamin Otte
4ef9f4abc2
rewrite vararg prop entry using functions to cope with GST_PROPS_TYPE_LIST - fixes loads of segfaults in caps rewrite
...
Original commit message from CVS:
rewrite vararg prop entry using functions to cope with GST_PROPS_TYPE_LIST - fixes loads of segfaults in caps rewrite
2003-07-08 03:23:56 +00:00
Benjamin Otte
433bea4d7d
debugging cleanup
...
Original commit message from CVS:
debugging cleanup
2003-07-05 15:05:23 +00:00
Benjamin Otte
568de85efc
fix threading on non-optimized atomic architectures. This unfortunately requires initializing threading in init_pre b...
...
Original commit message from CVS:
fix threading on non-optimized atomic architectures. This unfortunately requires initializing threading in init_pre because the debugging subsystem needs this. Therefore the --gst-nothreads command line option does not work anymore. So I erased it. You can however still call gst_use_threads (FALSE); before calling gst_init
2003-07-03 18:34:36 +00:00
Benjamin Otte
1211e26e59
docs fixes: comment macros in templates, not in headers (stupid gtk-doc)
...
Original commit message from CVS:
docs fixes: comment macros in templates, not in headers (stupid gtk-doc)
2003-06-29 14:57:19 +00:00
Benjamin Otte
803ce6bf48
GST_DEBUG reorganization containing loads of stuff:
...
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug
expect breakage
2003-06-29 14:05:49 +00:00
Ronald S. Bultje
1899fd27ba
I'm too lazy to comment this
...
Original commit message from CVS:
Add _valist style autoplug functions (#90471 ), thanks to Brett Kosinski <brettk@frodo.dyn.gno.org>
2003-06-18 11:11:16 +00:00
David Schleef
e10992295e
NULL is a valid props
...
Original commit message from CVS:
NULL is a valid props
2003-06-16 17:43:42 +00:00
Andy Wingo
4d278e135a
set GstElement->elementfactory before creating any instances; doc updates for deep_notify
...
Original commit message from CVS:
set GstElement->elementfactory before creating any instances; doc updates for deep_notify
2003-06-16 15:08:34 +00:00
David Schleef
ced6786dd9
Fix gst_props_get_entry(): props==NULL is a valid props.
...
Original commit message from CVS:
Fix gst_props_get_entry(): props==NULL is a valid props.
2003-06-15 06:09:00 +00:00
Benjamin Otte
e1968f80ac
fix HAVE_* macros for ppc
...
Original commit message from CVS:
fix HAVE_* macros for ppc
2003-06-14 18:00:13 +00:00
Wim Taymans
024c51c559
- further productizing the fixed flag on GstCaps by using the flag on
...
Original commit message from CVS:
- further productizing the fixed flag on GstCaps by using the flag on
GstProps instead of keeping the two in sync.
- implemented proper flag updates in _props_set and _props_remove.
2003-06-13 21:26:33 +00:00
David Schleef
8fb91bef0b
Add gst_pad_template_newv() as a va_list alternative to gst_pad_template_new()
...
Original commit message from CVS:
Add gst_pad_template_newv() as a va_list alternative to
gst_pad_template_new()
2003-06-10 18:23:51 +00:00
Wim Taymans
7afb834917
removed namespace code again, it was not needed :)
...
Original commit message from CVS:
removed namespace code again, it was not needed :)
2003-06-09 13:14:35 +00:00
Thomas Vander Stichele
a2d4f04d97
fix object loaded signal
...
Original commit message from CVS:
fix object loaded signal
2003-06-09 12:40:42 +00:00
Wim Taymans
f6de672b86
added new method and type to add namespaces to xml files. No actual code is implemented yet.
...
Original commit message from CVS:
added new method and type to add namespaces to xml files. No actual
code is implemented yet.
2003-06-09 12:28:06 +00:00
Thomas Vander Stichele
31d75cf682
don't recursively call gst_bin_set_state on failure don't do unnecessary state changes
...
Original commit message from CVS:
don't recursively call gst_bin_set_state on failure
don't do unnecessary state changes
2003-06-07 22:39:11 +00:00
Thomas Vander Stichele
c349a582b4
fix color for NULL from bright white to blue
...
Original commit message from CVS:
fix color for NULL from bright white to blue
2003-06-07 16:24:25 +00:00
Wim Taymans
61a4a6389f
try to fix #114252
...
Original commit message from CVS:
try to fix #114252
2003-06-07 11:36:42 +00:00
Ronald S. Bultje
e3cfc0c701
Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
...
Original commit message from CVS:
Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
2003-06-07 09:37:16 +00:00
Ronald S. Bultje
63bc38c519
Make filesink fail with some grace, see #114614
...
Original commit message from CVS:
Make filesink fail with some grace, see #114614
2003-06-07 09:35:37 +00:00
Ronald S. Bultje
1c17e4700b
Get rid of NEW_MEDIA event, EOS is supposed to handle that
...
Original commit message from CVS:
Get rid of NEW_MEDIA event, EOS is supposed to handle that
2003-06-07 00:15:18 +00:00
Ronald S. Bultje
fdba81e0fa
Some adjustments to allow for setting a new filename after EOS, useful for writing multiple files
...
Original commit message from CVS:
Some adjustments to allow for setting a new filename after EOS, useful for writing multiple files
2003-06-06 23:48:04 +00:00
Thomas Vander Stichele
04471c9cdd
fix format test
...
Original commit message from CVS:
fix format test
2003-06-05 22:01:13 +00:00
Thomas Vander Stichele
96a354d4a7
make functions static taaz patch
...
Original commit message from CVS:
make functions static
taaz patch
2003-06-05 21:33:03 +00:00
Wim Taymans
e5dc4ede3a
- marked piece of wrong code in the state change function with a FIXME
...
Original commit message from CVS:
- marked piece of wrong code in the state change function with a FIXME
2003-06-03 21:53:15 +00:00
Wim Taymans
0b1607785b
- added GST_ELEMENT_ERROR flag to mark elements in error and to trap and avoid recursive error loops.
...
Original commit message from CVS:
- added GST_ELEMENT_ERROR flag to mark elements in error and to trap and
avoid recursive error loops.
- moved state change signal back to original place as it causes lockups.
2003-06-03 21:18:39 +00:00
Wim Taymans
a913f1fbc0
- added a property to force a failure for a given state transition.
...
Original commit message from CVS:
- added a property to force a failure for a given state transition.
2003-06-03 20:22:52 +00:00
Ronald S. Bultje
2ddc5c4974
I don't know how I ever got to introducing this madness, but I was wrong. *REALLY* wrong. It hasn't even worked, it s...
...
Original commit message from CVS:
I don't know how I ever got to introducing this madness, but I was wrong. *REALLY* wrong. It hasn't even worked, it still doesn't work and it will never work because the whole concept of doing a multifile output in filesink is completely braindead. Signal EOS, close file, set new filename and reset to PLAYING is so much easier. This patch removes all the multifile output cruft that I introduced and makes filesink simply work.
2003-06-01 12:27:39 +00:00
Colin Walters
e5872bf925
Add new --enable-fast-stack-trash option, defaults to on.
...
Original commit message from CVS:
Add new --enable-fast-stack-trash option, defaults to on.
We need this because valgrind doesn't implement an insn used
by it.
2003-05-31 09:51:28 +00:00
Colin Walters
28fbd2e87b
Add --gst-disable-cpu-opt argument.
...
Original commit message from CVS:
Add --gst-disable-cpu-opt argument.
2003-05-31 02:04:59 +00:00
Ronald S. Bultje
ed086d5f79
see #108268 - kudos go to janzen@pixelmetrix.com
...
Original commit message from CVS:
Add patch for better buffering (especially useful for network streaming), see #108268 - kudos go to janzen@pixelmetrix.com
2003-05-30 23:20:02 +00:00
Wim Taymans
a7b3634ddd
- the result from the getcaps function should be sunken (gst_caps_sink) instead of unreffed. Not sure that's the righ...
...
Original commit message from CVS:
- the result from the getcaps function should be sunken (gst_caps_sink)
instead of unreffed. Not sure that's the right thing to do...
2003-05-30 13:36:04 +00:00
David Schleef
808c52f535
gst_caps_to_string: print NULL caps correctly
...
Original commit message from CVS:
gst_caps_to_string: print NULL caps correctly
2003-05-30 03:02:38 +00:00
Thomas Vander Stichele
e05cab4b4c
help us debug caps ref issues
...
Original commit message from CVS:
help us debug caps ref issues
2003-05-29 17:24:03 +00:00
Ronald S. Bultje
e46a8e3add
GstCaps is not a GObject but a boxed-type
...
Original commit message from CVS:
GstCaps is not a GObject but a boxed-type
2003-05-29 09:31:51 +00:00
Ronald S. Bultje
12d80b1964
Fix type definition bug plus missing argument for callback
...
Original commit message from CVS:
Fix type definition bug plus missing argument for callback
2003-05-26 06:15:27 +00:00
Wim Taymans
a4df733d52
only update the DURATION field when appending buffers and both buffers have a valid duration.
...
Original commit message from CVS:
only update the DURATION field when appending buffers and both buffers
have a valid duration.
2003-05-24 11:04:57 +00:00
Wim Taymans
a4f13fb2be
- moved functionality of GST_FORMAT_UNITS to GST_FORMAT_DEFAULT, the old _DEFAULT functionality was ambigous; now the...
...
Original commit message from CVS:
- moved functionality of GST_FORMAT_UNITS to GST_FORMAT_DEFAULT, the old
_DEFAULT functionality was ambigous; now the _DEFAULT format is media
specific (frames for video, samples for audio, ...)
2003-05-24 10:30:37 +00:00
Wim Taymans
6ab1630c40
- First attempt at implementing #113180 , this one also removes automatic (byte) offset calculations in the subbuffer ...
...
Original commit message from CVS:
- First attempt at implementing #113180 , this one also removes
automatic (byte) offset calculations in the subbuffer code and moves
that logic to bytestream and filesrc. It will also update the offset
and duration fields in some special cases.
2003-05-24 10:09:39 +00:00
David Schleef
c4e27d225a
Fix aliasing problems noticed by gcc-3.3. Suggests that we need to change gst_pad_{push|pull}() to GstData *. (and ...
...
Original commit message from CVS:
Fix aliasing problems noticed by gcc-3.3. Suggests that we need to
change gst_pad_{push|pull}() to GstData *. (and probably others)
2003-05-22 00:05:57 +00:00
David Schleef
484c536ba9
Remove (incorrect) cast on gst_buffer_is_writable()
...
Original commit message from CVS:
Remove (incorrect) cast on gst_buffer_is_writable()
2003-05-20 22:05:28 +00:00
David Schleef
23823201b3
Fix _second_ sparc asm. Who would have guessed there would be two?
...
Original commit message from CVS:
Fix _second_ sparc asm. Who would have guessed there would be two?
2003-05-19 21:45:37 +00:00
David Schleef
e0859eb74a
Fix sparc asm code for gcc prior to 3.2
...
Original commit message from CVS:
Fix sparc asm code for gcc prior to 3.2
2003-05-19 21:04:53 +00:00
Ronald S. Bultje
4f5c06b34a
Weird C code fix
...
Original commit message from CVS:
Weird C code fix
2003-05-19 18:01:42 +00:00
David Schleef
906329ab04
Fix caps negotiation problems.
...
Original commit message from CVS:
Fix caps negotiation problems.
2003-05-19 02:36:01 +00:00
David Schleef
214c557a6d
Change GST_DEBUG_FUNCPTR() to return a pointer of the same type that it is called with. Fix lots of warnings due to ...
...
Original commit message from CVS:
Change GST_DEBUG_FUNCPTR() to return a pointer of the same type that it
is called with. Fix lots of warnings due to change.
2003-05-18 23:34:12 +00:00
Thomas Vander Stichele
6cf83f6d8b
applying http://bugzilla.gnome.org/show_bug.cgi?id=110707 patch, should fix testsuite issues
...
Original commit message from CVS:
applying
http://bugzilla.gnome.org/show_bug.cgi?id=110707
patch, should fix testsuite issues
2003-05-18 22:59:51 +00:00
David Schleef
6b42d9aca7
Change uint to guint
...
Original commit message from CVS:
Change uint to guint
2003-05-18 22:45:27 +00:00
David Schleef
d2e2686411
Fix aliasing warning from gcc-3.3
...
Original commit message from CVS:
Fix aliasing warning from gcc-3.3
2003-05-18 22:44:11 +00:00
David Schleef
ac8e84fb8e
change from sscanf to strtol
...
Original commit message from CVS:
change from sscanf to strtol
2003-05-18 22:41:25 +00:00
Thomas Vander Stichele
5b97f4ce2b
oops
...
Original commit message from CVS:
oops
2003-05-18 16:28:15 +00:00
Thomas Vander Stichele
bdea7633cd
a bunch of gtk-doc fixes
...
Original commit message from CVS:
a bunch of gtk-doc fixes
2003-05-18 15:03:34 +00:00
Benjamin Otte
c51366dc49
fix wrong caps refcount handling of filtered caps in cornercases.
...
Original commit message from CVS:
fix wrong caps refcount handling of filtered caps in cornercases.
2003-05-18 03:22:04 +00:00
Benjamin Otte
42f3a63586
remove _destroy functions from public headers and make them static.
...
Original commit message from CVS:
remove _destroy functions from public headers and make them static.
2003-05-18 02:42:19 +00:00
Benjamin Otte
012cb2cb6f
make the parser accept chained caps, too
...
Original commit message from CVS:
make the parser accept chained caps, too
2003-05-18 02:30:00 +00:00
Thomas Vander Stichele
439b5101ba
clock debug addition
...
Original commit message from CVS:
clock debug addition
2003-05-17 23:08:40 +00:00
Benjamin Otte
a960c7a7a3
This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip o...
...
Original commit message from CVS:
This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip of the syntax you might want to look at testsuite/caps/string-conversions.c or run that test
2003-05-17 20:45:06 +00:00
Benjamin Otte
4471a7e84d
only set state to playing when elements are linked - don't pause in SOMETIMES callback
...
Original commit message from CVS:
only set state to playing when elements are linked - don't pause in SOMETIMES callback
2003-05-17 17:08:58 +00:00
Benjamin Otte
63c6869123
fix wrong debug message to print the right thing
...
Original commit message from CVS:
fix wrong debug message to print the right thing
2003-05-17 15:55:23 +00:00
Ronald S. Bultje
9c4c70d69e
Add unistd.h ( #110671 )
...
Original commit message from CVS:
Add unistd.h (#110671 )
2003-05-17 13:10:00 +00:00
Benjamin Otte
f13198c52b
added gst_{props,caps}_{from,to}_string to API, see documentation for use, put errors into testsuite/caps/string-conv...
...
Original commit message from CVS:
added gst_{props,caps}_{from,to}_string to API, see documentation for use, put errors into testsuite/caps/string-conversions.c
2003-05-17 00:47:01 +00:00
Benjamin Otte
75ec036895
ref pool before creating buffer that's using it
...
Original commit message from CVS:
ref pool before creating buffer that's using it
2003-05-17 00:42:57 +00:00
Ronald S. Bultje
8777f9a763
make -> shell variable
...
Original commit message from CVS:
make -> shell variable
2003-05-16 06:33:36 +00:00
Thomas Vander Stichele
2565248558
gtk-doc fixes clock debug
...
Original commit message from CVS:
gtk-doc fixes
clock debug
2003-05-15 22:46:37 +00:00
Benjamin Otte
22c2af5de1
Fix macro GST_FOURCC_ARGS - it assumed big endian ints
...
Original commit message from CVS:
Fix macro GST_FOURCC_ARGS - it assumed big endian ints
2003-05-13 23:15:46 +00:00
David Schleef
dda34273e0
Added GST_CAT_APPLICATION. Fixes #111009
...
Original commit message from CVS:
Added GST_CAT_APPLICATION. Fixes #111009
2003-05-13 06:48:49 +00:00
David Schleef
376ec32dce
Fix bug in PRINT() macro
...
Original commit message from CVS:
Fix bug in PRINT() macro
2003-05-13 05:47:04 +00:00
James A Morrison
34e5211a15
fix sparc atomic functions.
...
Original commit message from CVS:
Patch from James A Morrison <ja2morri@student.math.uwaterloo.ca> to
fix sparc atomic functions.
2003-05-12 23:20:55 +00:00
Wim Taymans
f4845c186c
Make sure the FIXED flag is computed correctly when normalizing a GstProps.
...
Original commit message from CVS:
Make sure the FIXED flag is computed correctly when normalizing a GstProps.
2003-05-10 18:09:48 +00:00
Benjamin Otte
e8bc3500f3
SysClocks need their own mutex/cond pair, as we have multiple (via subclasses). Use a static mutex for setting THE sy...
...
Original commit message from CVS:
SysClocks need their own mutex/cond pair, as we have multiple (via subclasses). Use a static mutex for setting THE system clock
2003-05-10 14:38:48 +00:00
Benjamin Otte
b74e6f24f2
enable allocation tracing for GstObjects and make allocation tracing a configure switch (enable by default for now)
...
Original commit message from CVS:
enable allocation tracing for GstObjects and make allocation tracing a configure switch (enable by default for now)
2003-05-10 12:42:02 +00:00
Wim Taymans
b41c935ff7
Use GstMemChunk to allocate events
...
Original commit message from CVS:
Use GstMemChunk to allocate events
2003-05-10 12:15:58 +00:00
Benjamin Otte
76b9ffbdbc
bugfixes:
...
Original commit message from CVS:
bugfixes:
- allow disposal of subclasses of GstSystemClock
- only create one system clock
2003-05-10 11:11:29 +00:00
Wim Taymans
4a64884918
Fix 112596, gst_caps_is_always_compatible() broken
...
Original commit message from CVS:
Fix 112596, gst_caps_is_always_compatible() broken
2003-05-08 19:57:06 +00:00
Benjamin Otte
6c44f865e8
some minor improvements:
...
Original commit message from CVS:
some minor improvements:
- better debugging output
- don't set state to paused when plugging anymore
- bugfix: set typefind caps on srcpad, not sinkpad
- remove unnecessary check for right caps
2003-05-06 23:47:07 +00:00
Benjamin Otte
316124eb40
state need not be playing with new schedulers when adding/removing elements
...
Original commit message from CVS:
state need not be playing with new schedulers when adding/removing elements
2003-05-06 23:42:23 +00:00
Benjamin Otte
fe3861c2d3
do error checking for int/float values and don't accept trailing characters, but do accept overflows
...
Original commit message from CVS:
do error checking for int/float values and don't accept trailing characters, but do accept overflows
2003-05-06 22:58:04 +00:00
Wim Taymans
69787c811a
Documentation updates
...
Original commit message from CVS:
Documentation updates
2003-05-06 22:10:29 +00:00
Benjamin Otte
05adc8c15c
implement proper refcounting of pad's templates and references from real pads to their ghost pads and the other way a...
...
Original commit message from CVS:
implement proper refcounting of pad's templates and references from real pads to their ghost pads and the other way around - this fixes the segfaults in the player
2003-05-06 21:58:49 +00:00
Wim Taymans
1bdcd2e7b6
err... reset to desired version after doing a benchmark :)
...
Original commit message from CVS:
err... reset to desired version after doing a benchmark :)
2003-05-06 21:04:46 +00:00
Wim Taymans
1dc969236f
- Explicitly set buffer fields to default values instead of using memset, this seems to speed up buffer allocation by...
...
Original commit message from CVS:
- Explicitly set buffer fields to default values instead of using memset,
this seems to speed up buffer allocation by at least 30%
2003-05-06 21:03:34 +00:00
Benjamin Otte
50351bc28d
remove unnecessary check for registries - registry gets rebuilt automagically anyway
...
Original commit message from CVS:
remove unnecessary check for registries - registry gets rebuilt automagically anyway
2003-05-02 21:13:19 +00:00
Benjamin Otte
33ef3f7d4d
make gst-launch --gst-mask=-1 fakesrc ! fakesink work on Solaris
...
Original commit message from CVS:
make gst-launch --gst-mask=-1 fakesrc ! fakesink work on Solaris
2003-05-02 20:07:45 +00:00
Benjamin Otte
cbe36c876b
fix gcc 2.x compiler error, when variables aren't defined at the top.
...
Original commit message from CVS:
fix gcc 2.x compiler error, when variables aren't defined at the top.
2003-05-01 20:57:40 +00:00
Benjamin Otte
8bf9277aa3
unreachable code
...
Original commit message from CVS:
unreachable code
2003-05-01 20:16:14 +00:00
Benjamin Otte
ca0fb4bea5
fix for forte
...
Original commit message from CVS:
fix for forte
2003-05-01 16:54:09 +00:00
Benjamin Otte
c57955fc68
added GST_STR_NULL to check for NULL strings. Fixed a case where a char* given to printf was NULL to use that macro.
...
Original commit message from CVS:
added GST_STR_NULL to check for NULL strings. Fixed a case where a char* given to printf was NULL to use that macro.
2003-05-01 16:36:27 +00:00
Benjamin Otte
fe9a0a6d05
silence forte warnings
...
Original commit message from CVS:
silence forte warnings
2003-05-01 15:16:17 +00:00
David Schleef
38b667a0aa
Disable MIPS, 'cuz it's broken.
...
Original commit message from CVS:
Disable MIPS, 'cuz it's broken.
2003-05-01 01:11:52 +00:00
Benjamin Otte
7524c49140
offsets may be negative (nobody ever seeked beackwards, hu?)
...
Original commit message from CVS:
offsets may be negative (nobody ever seeked beackwards, hu?)
2003-04-28 21:48:37 +00:00
Benjamin Otte
91d22b150d
fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
...
Original commit message from CVS:
fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
2003-04-28 00:01:31 +00:00
Benjamin Otte
9837c9dbaa
add extra error for empty pipeline
...
Original commit message from CVS:
add extra error for empty pipeline
2003-04-27 23:56:31 +00:00
Benjamin Otte
775fbca9a5
Make events use internal links, too
...
Original commit message from CVS:
Make events use internal links, too
2003-04-27 21:34:01 +00:00
Wim Taymans
a6766132e6
- remove some \n in GstThread debugging
...
Original commit message from CVS:
- remove some \n in GstThread debugging
- move the state change g_cond_signal to the set_state function to make
sure that we don't unlock the waiters before we completed the state
change.
2003-04-26 14:38:18 +00:00
Benjamin Otte
fa69e9954c
fix debugging segfault
...
Original commit message from CVS:
fix debugging segfault
2003-04-26 13:55:13 +00:00
Benjamin Otte
a68e0b8324
fix and better comment gst_event_new_discontinuous. Nice memory leak there
...
Original commit message from CVS:
fix and better comment gst_event_new_discontinuous. Nice memory leak there
2003-04-26 01:54:01 +00:00
Benjamin Otte
8cebfd7528
I suck - it's the wrong variable and I don't get it for ages even while testing this code
...
Original commit message from CVS:
I suck - it's the wrong variable and I don't get it for ages even while testing this code
But while I was atit, I fixed it right this time (I hope)
2003-04-25 17:35:26 +00:00
Benjamin Otte
b04519c43d
just to be sure...
...
Original commit message from CVS:
just to be sure...
2003-04-25 00:26:09 +00:00
Benjamin Otte
d02583b999
fix stupid segfault when setting integer properties
...
Original commit message from CVS:
fix stupid segfault when setting integer properties
2003-04-24 22:34:10 +00:00
Benjamin Otte
5d35141256
fix 2 warnings
...
Original commit message from CVS:
fix 2 warnings
2003-04-23 20:06:54 +00:00
Thomas Vander Stichele
582913dc84
make the user registry location major-minor versioned so it doesn't clash with older incompatible registries make gst...
...
Original commit message from CVS:
* make the user registry location major-minor versioned so it doesn't
clash with older incompatible registries
* make gst-register output the location of the registry it's writing
2003-04-23 19:59:38 +00:00
Benjamin Otte
313c399808
workaround for bison 1.35 bug
...
Original commit message from CVS:
workaround for bison 1.35 bug
2003-04-23 19:16:06 +00:00
Benjamin Otte
b7077cab18
make gst_thread_get_current() work with threaded cothreads
...
Original commit message from CVS:
make gst_thread_get_current() work with threaded cothreads
2003-04-21 18:37:13 +00:00
Benjamin Otte
fb14f53284
make that error message more useful, it kept confusing me
...
Original commit message from CVS:
make that error message more useful, it kept confusing me
2003-04-21 18:34:20 +00:00
Benjamin Otte
7f5dc1299b
assorted fixes:
...
Original commit message from CVS:
assorted fixes:
- fix for #111146 (works now with lots of warnings (or maybe even without - the fun of races))
- more useful debugging output
- restructuring of when to release the lock
- emitting SHUTDOWN when holding lock so we're not destroyed while signalling
- probably something else I don't remember
2003-04-21 18:09:29 +00:00
Wim Taymans
22fa9810d6
GST_DEBUG/INFO doesn't need a \n at the end.
...
Original commit message from CVS:
GST_DEBUG/INFO doesn't need a \n at the end.
2003-04-19 11:52:07 +00:00
Wim Taymans
5af24ec4e5
- removed an assert, mmaping the stack of another thread seems to work fine.
...
Original commit message from CVS:
- removed an assert, mmaping the stack of another thread seems to work fine.
This makes the cothread based scheduler work again with the new GstThread.
2003-04-19 11:50:27 +00:00
Benjamin Otte
90dc6ded4d
rewrite GstThread - should be quite a bit cleaner and does change state correctly now
...
Original commit message from CVS:
rewrite GstThread - should be quite a bit cleaner and does change state correctly now
2003-04-18 23:35:34 +00:00
Benjamin Otte
64a6a1d2bd
- make child_state_change a virtual function
...
Original commit message from CVS:
- make child_state_change a virtual function
- remove unneeded != NULL checks
- implement gst_bin_sync_children_state
2003-04-18 23:34:21 +00:00
Benjamin Otte
78b4079072
make EOS really recursive and not just one layer deep
...
Original commit message from CVS:
make EOS really recursive and not just one layer deep
2003-04-18 23:31:18 +00:00
Wim Taymans
e1bfecf799
- Added a property to perform caps negotiation in the chain function instead of using proxied negotiation.
...
Original commit message from CVS:
- Added a property to perform caps negotiation in the chain function instead
of using proxied negotiation.
2003-04-17 22:31:32 +00:00
Wim Taymans
9811bb9aad
Added a simple function gst_pad_recover_caps_error that a plugin should call from now on (instead of gst_element_erro...
...
Original commit message from CVS:
Added a simple function gst_pad_recover_caps_error that a plugin
should call from now on (instead of gst_element_error). This function
will emit a caps_nego_failed signal that the app can catch to resolve
the negotiation failure.
2003-04-17 22:29:31 +00:00
Wim Taymans
8365acd9b6
Transform variable properties too
...
Original commit message from CVS:
Transform variable properties too
2003-04-17 22:21:13 +00:00
Benjamin Otte
95b23e597d
release lock before doing signal handling
...
Original commit message from CVS:
release lock before doing signal handling
2003-04-17 19:51:28 +00:00
Wim Taymans
fff499ea25
- don't be rude but give informative message about what went wrong.
...
Original commit message from CVS:
- don't be rude but give informative message about what went wrong.
2003-04-17 17:11:51 +00:00
Benjamin Otte
354e85056f
another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
...
Original commit message from CVS:
another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
2003-04-17 14:52:38 +00:00
Benjamin Otte
30267f6a64
It's absolute fun if you don't find this. If an element claims a successful state change but did not actually change ...
...
Original commit message from CVS:
It's absolute fun if you don't find this. If an element claims a successful state change but did not actually change its state it is broken and the program deserves to crash. And hard. Can you hear I'm annoyed?
2003-04-17 13:52:41 +00:00
Colin Walters
900066617c
Remove dummy signals, add full signal.
...
Original commit message from CVS:
Remove dummy signals, add full signal.
2003-04-17 09:19:34 +00:00
Benjamin Otte
45521ec77a
bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
...
Original commit message from CVS:
bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
2003-04-16 21:37:35 +00:00
Benjamin Otte
b36a2350ba
*_is_writeable => *_is_writable (spelling)
...
Original commit message from CVS:
*_is_writeable => *_is_writable (spelling)
2003-04-16 18:35:57 +00:00
Benjamin Otte
42efbe5648
change *_is_readonly to *_is_writeable. Hope the name stays now...
...
Original commit message from CVS:
change *_is_readonly to *_is_writeable. Hope the name stays now...
2003-04-15 21:33:08 +00:00
Benjamin Otte
ede90a27db
remove left over _needs_copy_on_write
...
Original commit message from CVS:
remove left over _needs_copy_on_write
2003-04-15 19:22:05 +00:00
Benjamin Otte
3941b18ca9
remove left over GST_DATA_IS_READONLY
...
Original commit message from CVS:
remove left over GST_DATA_IS_READONLY
2003-04-15 19:16:51 +00:00
Benjamin Otte
4bf4de13ed
Ouch: gst_element_dispose does a state change to NULL. Change the state to NULL yourself if you dispose plugins that ...
...
Original commit message from CVS:
Ouch: gst_element_dispose does a state change to NULL. Change the state to NULL yourself if you dispose plugins that reference some of the freed memory on state changes.
This is probably broken in lots of cases.
2003-04-15 18:46:09 +00:00
Benjamin Otte
6cb527fed3
API change: remove gst_object_destroy and #defines to it
...
Original commit message from CVS:
API change: remove gst_object_destroy and #defines to it
2003-04-15 18:43:57 +00:00
Benjamin Otte
c016763611
API change: rename (currently unused function) gst_(data|buffer)_needs_copy_on_write to gst_(data|buffer)_is_readonly...
...
Original commit message from CVS:
API change: rename (currently unused function) gst_(data|buffer)_needs_copy_on_write to gst_(data|buffer)_is_readonly - we don't want to confuse even core developers
2003-04-15 18:41:23 +00:00
Wim Taymans
54b35086ea
- make aggregator actually work
...
Original commit message from CVS:
- make aggregator actually work
2003-04-14 18:58:11 +00:00
Wim Taymans
d19cc5f7a0
Updated makefile too..
...
Original commit message from CVS:
Updated makefile too..
2003-04-14 18:53:40 +00:00
Wim Taymans
eb5536af92
- Added infrastructure to run a filter against plugins, registries and registrypools. This makes it possible to creat...
...
Original commit message from CVS:
- Added infrastructure to run a filter against plugins, registries and
registrypools. This makes it possible to create custom code to filter
out the plugins/features you're interested in.
2003-04-14 18:53:03 +00:00
Wim Taymans
4c33218ba3
- use g_list_foreach where apropriate
...
Original commit message from CVS:
- use g_list_foreach where apropriate
2003-04-14 18:38:11 +00:00
Benjamin Otte
838ffca4fa
enable debugging output for bison parser, fix // comments, better error recovery, error out on non-instantiable eleme...
...
Original commit message from CVS:
enable debugging output for bison parser, fix // comments, better error recovery, error out on non-instantiable elements (fixes #110758 )
2003-04-14 18:33:58 +00:00
David Schleef
7421b1f671
Revert last Makefile.am change, and fix it correctly. I _think_ this won't break with earlier flex versions, otherwi...
...
Original commit message from CVS:
Revert last Makefile.am change, and fix it correctly. I _think_
this won't break with earlier flex versions, otherwise let me know.
2003-04-13 19:40:31 +00:00
Benjamin Otte
f4f0a51890
- added macros GST_CLOCK_TIME_IS_VALID and GST_BUFFE_TIMESTAMP_IS_VALID
...
Original commit message from CVS:
- added macros GST_CLOCK_TIME_IS_VALID and GST_BUFFE_TIMESTAMP_IS_VALID
- use macros in some places
- buffer's timestamp field is a GstClockTime, not a guint64 - this is currently the same, but be sure to only use GstClockTime when working with timestamps in the future
2003-04-13 03:07:07 +00:00
Benjamin Otte
e3b00b80bc
silence compiler warning
...
Original commit message from CVS:
silence compiler warning
2003-04-13 03:04:26 +00:00
Benjamin Otte
f3fad44a00
don't error out on max-buffers = 0
...
Original commit message from CVS:
don't error out on max-buffers = 0
2003-04-13 00:55:08 +00:00
Wim Taymans
bd3511da69
- Added function to apply a custom filter on plugin features
...
Original commit message from CVS:
- Added function to apply a custom filter on plugin features
2003-04-12 15:14:55 +00:00
Benjamin Otte
0c6387ce5f
signal EOS on parent bins, when the last element playing sends EOS
...
Original commit message from CVS:
signal EOS on parent bins, when the last element playing sends EOS
2003-04-12 13:38:32 +00:00
David Schleef
5706980d33
Disable compiler warning because of a bug in flex-2.5.31
...
Original commit message from CVS:
Disable compiler warning because of a bug in flex-2.5.31
2003-04-11 21:44:04 +00:00
Benjamin Otte
8bfbc81d36
general fixes:
...
Original commit message from CVS:
general fixes:
- changed newly added locked_state API to work like GStreamer does
- added gst_element_sync_state_with_parent function
- revert: pad linking does not require non-playing state
- updated spider and pipeline parsing to link elements in playing state
- bugfix: pads are now activated when added to a playing element (broke above change)
2003-04-11 00:00:46 +00:00
Wim Taymans
3f8006734d
Removed sanity check that does not hold in some cases with the opt scheduler.
...
Original commit message from CVS:
Removed sanity check that does not hold in some cases with the opt
scheduler.
2003-04-10 22:00:55 +00:00
Benjamin Otte
4754ab2601
documentation
...
Original commit message from CVS:
documentation
2003-04-10 01:45:36 +00:00
Benjamin Otte
d89dd2d325
bugfix: wrong function due to missing char
...
Original commit message from CVS:
bugfix: wrong function due to missing char
2003-04-10 01:32:56 +00:00
David Schleef
c760bb88b7
Remove grammar.output, too
...
Original commit message from CVS:
Remove grammar.output, too
2003-04-08 23:21:37 +00:00
David Schleef
2d40f10230
Clean up Makefile.am
...
Original commit message from CVS:
Clean up Makefile.am
2003-04-08 23:18:30 +00:00
David Schleef
ac84bc9a55
Fix warning
...
Original commit message from CVS:
Fix warning
2003-04-08 23:17:36 +00:00
Benjamin Otte
3a897e2f30
rewritten pipeline parsing lands. Have fun breaking it.
...
Original commit message from CVS:
rewritten pipeline parsing lands. Have fun breaking it.
regressions:
- No support for filtered links. If anybody needs this, please contact me and I'll add it as fast as possible.
improvements:
- The pipeline building actually works as expected.
- syntax compatible nearly everywhere but more flexible
- better property parsing (you can now set enums by name or nick)
- uses locked_state to allow for delayed pads
- can connect video pipelines without the need for queues
- allows properties on bins
- does not return a bin, but an element.
You may want to read docs/random/company/gstparse to learn how it works.
2003-04-08 21:59:44 +00:00
Benjamin Otte
64f71f6961
do not return SUCCESS if a bin's child can't change state. This fix breaks old gstparse
...
Original commit message from CVS:
do not return SUCCESS if a bin's child can't change state. This fix breaks old gstparse
2003-04-08 21:50:32 +00:00
Benjamin Otte
ff856af64a
- clean bison- and flex-built files on make clean. ( fixes #101421 )
...
Original commit message from CVS:
- clean bison- and flex-built files on make clean. (fixes #101421 )
- use CFLAGS that enable debugging symbols.
2003-04-08 21:48:27 +00:00
Benjamin Otte
a03e803bb6
huge modifications, hope i didn't break something:
...
Original commit message from CVS:
huge modifications, hope i didn't break something:
- added functions for setting/getting locked state of elements. gst_element_lock_state syncs the pads state with the state of its parent.
- made all gst_element_link_* functions call gst_element_link_pads_filtered
- gst_element_link_pads_filtered now accepts NULL as a pad name.
- make sure the link functions are only called when the elements are paused
That's it.
2003-04-08 21:14:23 +00:00
Benjamin Otte
62d382149a
pad linking only works when both elements are not playing
...
Original commit message from CVS:
pad linking only works when both elements are not playing
2003-04-08 21:07:46 +00:00
Benjamin Otte
55aa16f47c
make typefinding work when the src provides caps. Fixes #93735
...
Original commit message from CVS:
make typefinding work when the src provides caps. Fixes #93735
2003-04-08 08:02:36 +00:00
David Schleef
815fb8543b
add printf format and args macros for FOURCCs
...
Original commit message from CVS:
add printf format and args macros for FOURCCs
2003-04-07 20:11:38 +00:00
Benjamin Otte
6ddd676a02
ok, this is my nomination for idiot of the week
...
Original commit message from CVS:
ok, this is my nomination for idiot of the week
2003-04-04 19:52:46 +00:00
Benjamin Otte
afe37388cb
remove old workaround for older popt version.
...
Original commit message from CVS:
remove old workaround for older popt version.
2003-04-04 17:37:19 +00:00
Benjamin Otte
95b078ac08
many changes to startup handling:
...
Original commit message from CVS:
many changes to startup handling:
- make gst_init_with_popt_table work like gst_init - exit program on failure, return void
- add gst_init_check_with_popt_table to be the same as gst_init_with_popt_table before - work the same as gst_init_check
- revert an old workaround and apply the proper fix
- do not use g_error to exit the application, g_error causes a segfault. Use exit.
2003-04-04 16:29:37 +00:00
Benjamin Otte
42b3e8c7f1
documentation changes (thx Ross)
...
Original commit message from CVS:
documentation changes (thx Ross)
2003-03-30 18:30:07 +00:00
Martin Schulze
df2f947370
gst/gstelementfactory.c: Add "g_free (dp->license)" in gst_element_details_free().
...
Original commit message from CVS:
2003-03-29 Martin Schulze <MHL.Schulze@t-online.de>
* gst/gstelementfactory.c: Add "g_free (dp->license)" in
gst_element_details_free().
* gst/gstevent.[ch]: Add function gst_event_get_type() to
support c++ language binding. Make macros gst_event_ref[_by_count]
return a GstEvent* instead of a GstData*.
* gst/gstbuffer.[ch]: Add functions gst_buffer[_pool]_get_type()
to support c++ language binding.
2003-03-29 11:58:15 +00:00
Wim Taymans
f6d654aad5
Remove redundant _clock_set
...
Original commit message from CVS:
Remove redundant _clock_set
2003-03-28 17:36:22 +00:00
Wim Taymans
63db8dfb67
- enable chain if an active group is added to it
...
Original commit message from CVS:
- enable chain if an active group is added to it
- enable group if a PLAYING element is added to it
2003-03-28 17:29:57 +00:00
Benjamin Otte
fec6a61298
cleanup: remove writer/reader booleans, just signal everytime bugfix: signal not_full after flush (Martin Janzen)
...
Original commit message from CVS:
cleanup: remove writer/reader booleans, just signal everytime
bugfix: signal not_full after flush (Martin Janzen)
2003-03-27 03:16:08 +00:00
Wim Taymans
729bbc9c0a
Added some extra debugging info
...
Original commit message from CVS:
Added some extra debugging info
2003-03-25 19:42:19 +00:00
Wim Taymans
1123103926
- Added _LOCKED_STATE element flag
...
Original commit message from CVS:
- Added _LOCKED_STATE element flag
- parent bin does not perform state changes on _LOCKED_STATE elements
2003-03-25 19:39:18 +00:00
Wim Taymans
5b91593b0e
Set initial flags on various scheduler structures
...
Original commit message from CVS:
Set initial flags on various scheduler structures
2003-03-25 19:34:30 +00:00
Benjamin Otte
e2c19765d9
fix memory leaks and unlock a mutex earlier
...
Original commit message from CVS:
fix memory leaks and unlock a mutex earlier
This is a 0.6 branch candidate, btw
2003-03-21 20:53:26 +00:00
Benjamin Otte
38a25af608
bugfi^H^Hworkaround: only send eos to unconnected elements - fixes new mikmod
...
Original commit message from CVS:
bugfi^H^Hworkaround: only send eos to unconnected elements - fixes new mikmod
2003-03-18 00:39:34 +00:00
Christian Meyer
dabb6637bd
Fixed bug #108514 .
...
Original commit message from CVS:
Fixed bug #108514 .
2003-03-16 20:06:02 +00:00
Benjamin Otte
17b8c5d004
added new function gst_event_has_new_media
...
Original commit message from CVS:
added new function gst_event_has_new_media
2003-03-16 18:29:45 +00:00
Wim Taymans
0b3a5d14db
- Slight reorganisation of functions that should be disabled
...
Original commit message from CVS:
- Slight reorganisation of functions that should be disabled
- make sure _gst_debug_register_funcptr is #ifdeffed out when DEBUGGING is
disabled.
This should fix 106047. Please retest.
2003-03-14 18:31:47 +00:00
Benjamin Otte
981f6185c5
debugging session with wim
...
Original commit message from CVS:
debugging session with wim
2003-03-13 23:59:36 +00:00
Wim Taymans
4e44ab15b5
- fix unlink between decoupled elements
...
Original commit message from CVS:
- fix unlink between decoupled elements
- clear the entry point of a group when we remove the element
- fix a potential problem in _merge_groups that could be triggered when
someone is holding an extra refcount to the group.
2003-03-13 18:46:21 +00:00
Benjamin Otte
35391c0907
mutexes want to be free, too
...
Original commit message from CVS:
mutexes want to be free, too
2003-03-12 21:55:09 +00:00
Wim Taymans
678ea8bbbb
Fix optimal scheduler with cothreads
...
Original commit message from CVS:
Fix optimal scheduler with cothreads
2003-03-11 23:26:18 +00:00
Benjamin Otte
0f2a63a169
Fix bug when joining threads.
...
Original commit message from CVS:
Fix bug when joining threads.
2003-03-11 21:37:36 +00:00
Benjamin Otte
c3ebe159bd
added (hopefully) compatible cothreads emulation by using GThreads.
...
Original commit message from CVS:
added (hopefully) compatible cothreads emulation by using GThreads.
use '--gst-scheduler=basicgthread' to try it out
includes bugfix for opt to call do_cothreads_init when using threads
2003-03-11 21:01:31 +00:00
Wim Taymans
aab288b33e
Never take away the group from a loop based element
...
Original commit message from CVS:
Never take away the group from a loop based element
2003-03-04 20:55:25 +00:00
Wim Taymans
a82c7a7572
Better capsnego
...
Original commit message from CVS:
Better capsnego
2003-03-02 14:00:11 +00:00
Wim Taymans
efaef0379d
Also set the pad filter when proxy negotiating
...
Original commit message from CVS:
Also set the pad filter when proxy negotiating
2003-03-02 13:59:46 +00:00
Wim Taymans
5bda977d93
Fix the get_wrapper to handle the case where the peer group is disabled
...
Original commit message from CVS:
Fix the get_wrapper to handle the case where the peer group is disabled
2003-02-28 23:14:50 +00:00
Wim Taymans
f006787228
Stupid bug, always use the runqueue to start scheduling things.
...
Original commit message from CVS:
Stupid bug, always use the runqueue to start scheduling things.
2003-02-28 17:50:04 +00:00
Wim Taymans
777cae1b0b
Schedule next chain on interrupt
...
Original commit message from CVS:
Schedule next chain on interrupt
2003-02-27 23:47:40 +00:00
Wim Taymans
71775c37e3
- More refcounting fixes that now sustain abuse from spider, key is to be careful when iterating over a list when our...
...
Original commit message from CVS:
- More refcounting fixes that now sustain abuse from spider, key is to be
careful when iterating over a list when our current pointer could be
removed.
2003-02-27 23:07:30 +00:00
Wim Taymans
e44d5c1d4a
Removed an assert that will not hold when the chain currently executing was merged into another one.
...
Original commit message from CVS:
Removed an assert that will not hold when the chain currently executing
was merged into another one.
2003-02-27 21:23:39 +00:00
Wim Taymans
ecb6dd6c6a
so it's no big thing.
...
Original commit message from CVS:
- API change in padprobes, nobody uses this yet (or could), so it's no big
thing.
2003-02-27 18:56:30 +00:00
Wim Taymans
2b3c56c4d1
print refcount in _show
...
Original commit message from CVS:
print refcount in _show
2003-02-27 18:29:07 +00:00
Wim Taymans
91d33d766a
Added refcounting to the optimal scheduler to guard against modifications during iterations
...
Original commit message from CVS:
Added refcounting to the optimal scheduler to guard against modifications
during iterations
2003-02-27 18:21:34 +00:00
Wim Taymans
ddd3265b11
Add refcounting around _iterate to guard against unreffing in scheduling callbacks or other nastyties
...
Original commit message from CVS:
Add refcounting around _iterate to guard against unreffing in scheduling
callbacks or other nastyties
2003-02-27 18:18:32 +00:00
Wim Taymans
687448e204
Small cleanup
...
Original commit message from CVS:
Small cleanup
2003-02-27 18:16:29 +00:00
Wim Taymans
8d011c1f87
Fix typo
...
Original commit message from CVS:
Fix typo
2003-02-27 18:15:50 +00:00
Wim Taymans
f1b49bfcad
Adjust the fixed flag in gst_caps_set_props
...
Original commit message from CVS:
Adjust the fixed flag in gst_caps_set_props
2003-02-25 19:52:03 +00:00
Wim Taymans
faa67ac4af
Also allow static plugin registration after calling _gst_plugin_init()
...
Original commit message from CVS:
Also allow static plugin registration after calling _gst_plugin_init()
2003-02-23 23:25:30 +00:00
Wim Taymans
ef258ceb50
- Added generic shaper element that keeps two streams in sync.
...
Original commit message from CVS:
- Added generic shaper element that keeps two streams in sync.
2003-02-23 20:29:12 +00:00
Christian Schaller
e8b49479dd
Added cutter patch from Andrew Turner and sat default scheduler to opt
...
Original commit message from CVS:
Added cutter patch from Andrew Turner and sat default scheduler to opt
2003-02-23 20:15:00 +00:00
Benjamin Otte
8ec39fa76f
Hi, my name is Uraeus and I don't compile code before committing :p
...
Original commit message from CVS:
Hi, my name is Uraeus and I don't compile code before committing :p
2003-02-23 11:28:19 +00:00
Christian Schaller
3fdcd5e9fa
adding re-license statement
...
Original commit message from CVS:
adding re-license statement
2003-02-23 10:53:42 +00:00
Wim Taymans
aebe47dccd
dump_mem should be fast and correct now (finally)
...
Original commit message from CVS:
dump_mem should be fast and correct now (finally)
2003-02-21 19:58:24 +00:00
Wim Taymans
6d3d60df51
turn g_print into GST_INFO
...
Original commit message from CVS:
turn g_print into GST_INFO
2003-02-21 19:55:23 +00:00
Wim Taymans
a3abc06133
fixed 105883
...
Original commit message from CVS:
fixed 105883
2003-02-12 17:23:45 +00:00
Wim Taymans
f498068ef7
Fix bogus warning message
...
Original commit message from CVS:
Fix bogus warning message
2003-02-11 21:03:51 +00:00
Wim Taymans
188ad57156
Define default scheduler name in just one place.
...
Original commit message from CVS:
Define default scheduler name in just one place.
2003-02-11 20:41:40 +00:00
Wim Taymans
9e1ed8d760
- fix gst_element_unlink, only unlink pads that belong to the dest element. (closes bug #105571 )
...
Original commit message from CVS:
- fix gst_element_unlink, only unlink pads that belong to the dest
element. (closes bug #105571 )
2003-02-11 20:28:29 +00:00
Wim Taymans
48c70d75cb
Close bug #105570 (added gst_bin_remove_many patch from omega)
...
Original commit message from CVS:
Close bug #105570 (added gst_bin_remove_many patch from omega)
2003-02-11 20:15:50 +00:00
Wim Taymans
1d8d165f41
Fix recursive clock _get problem
...
Original commit message from CVS:
Fix recursive clock _get problem
2003-02-11 18:22:34 +00:00
Wim Taymans
a6dfa0f792
Documentation updates
...
Original commit message from CVS:
Documentation updates
2003-02-10 23:01:55 +00:00
Wim Taymans
612d89da34
Added BEGIN_DECLS
...
Original commit message from CVS:
Added BEGIN_DECLS
2003-02-10 21:24:05 +00:00
Wim Taymans
e44705d2c1
include *pool.h
...
Original commit message from CVS:
include *pool.h
2003-02-10 20:49:12 +00:00
Wim Taymans
e462db001d
inlcude *pool.h
...
Original commit message from CVS:
inlcude *pool.h
2003-02-10 20:46:07 +00:00
Wim Taymans
56c560785b
- fix load/save
...
Original commit message from CVS:
- fix load/save
2003-02-10 20:37:21 +00:00
Wim Taymans
8f63a5e155
Removed old files
...
Original commit message from CVS:
Removed old files
2003-02-10 20:34:45 +00:00
Wim Taymans
d555ecf1fd
new uritype
...
Original commit message from CVS:
new uritype
2003-02-10 20:33:50 +00:00
Wim Taymans
b030b5cef2
- Add more --disable options
...
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
Wim Taymans
136e5d254e
Small cleanups and portability fixes for GUINT64
...
Original commit message from CVS:
Small cleanups and portability fixes for GUINT64
2003-02-10 20:16:38 +00:00
Wim Taymans
ec6a2c1997
Small cleanups
...
Original commit message from CVS:
Small cleanups
2003-02-10 20:12:01 +00:00
Wim Taymans
a2b7df0911
More sensible name for the scheduler when compiled without cothreads
...
Original commit message from CVS:
More sensible name for the scheduler when compiled without cothreads
2003-02-10 20:11:14 +00:00
Erik Walthinsen
0da768dacb
Fix various inconsistencies discovered while attempting to fix --disable-*.
...
Original commit message from CVS:
Fix various inconsistencies discovered while attempting to fix --disable-*.
Uraeus: this should fix the bison.simple problem that you've had.
2003-02-10 07:53:58 +00:00
Wim Taymans
f85c54a3b8
removed old code, g_object_get is the prefered method to get object properties
...
Original commit message from CVS:
removed old code, g_object_get is the prefered method to get object
properties
2003-02-08 02:26:15 +00:00
Wim Taymans
3ac27d6cf1
Fix typo spotted by tjansen
...
Original commit message from CVS:
Fix typo spotted by tjansen
2003-02-06 23:22:03 +00:00
Wim Taymans
50fccd3791
Clear any queued buffers when going to READY.
...
Original commit message from CVS:
Clear any queued buffers when going to READY.
2003-02-06 20:22:34 +00:00
David Schleef
a35e4e7053
Change %lld format to G_INT64_FORMAT
...
Original commit message from CVS:
Change %lld format to G_INT64_FORMAT
2003-02-06 01:52:26 +00:00
Wim Taymans
69f65800b3
Fix uri function..
...
Original commit message from CVS:
Fix uri function..
2003-02-05 23:23:41 +00:00
Ronald S. Bultje
637326bc8d
older gccs crack here
...
Original commit message from CVS:
older gccs crack here
2003-02-05 17:09:50 +00:00
Wim Taymans
7f3b5032b4
Only inform scheduler when the element changes scheduling stategy.
...
Original commit message from CVS:
Only inform scheduler when the element changes scheduling stategy.
2003-02-03 23:13:36 +00:00
Wim Taymans
d7e33dd2ce
- Use the eventhandler instead of the event function to send events.
...
Original commit message from CVS:
- Use the eventhandler instead of the event function to send events.
- make the scheduler setup the eventhandlers
- intercept flush events on pads links that can potentially queue data
and flush it.
- some more debugging info in spider.
I can think of one case where this flush might fail: unconnected pads where
the scheduler has not set up the eventhandler yet. I'll come up with a
solution for that soon.
2003-02-03 22:50:55 +00:00
Wim Taymans
6ad8197d61
- implement FLOATING flag on caps/props
...
Original commit message from CVS:
- implement FLOATING flag on caps/props
- use gstmemchunk for caps/props
- implement remove_entry for props
- various refcounting functions
- fix refcounting on caps/props
- use tracing for caps/props/propsentries
- fix memleak in transform functions
- fix refcounting on elementfactory padtemplates
- add dispose for padtemplates
- shortcut pad negotiation early on
2003-02-02 19:58:11 +00:00
Wim Taymans
f05a353f5c
gst_object_swap -> gst_object_replace as it's a better name. Wait for next commit to make gstelement.c compile again.
...
Original commit message from CVS:
gst_object_swap -> gst_object_replace as it's a better name. Wait for
next commit to make gstelement.c compile again.
2003-02-02 19:49:29 +00:00
Wim Taymans
fe83917b5c
- replace old tracing with common GstTrace
...
Original commit message from CVS:
- replace old tracing with common GstTrace
2003-02-02 19:40:10 +00:00
Wim Taymans
6b44117681
- Add the trace name
...
Original commit message from CVS:
- Add the trace name
2003-02-02 19:34:56 +00:00
Wim Taymans
3521cec843
- Added dispose handler
...
Original commit message from CVS:
- Added dispose handler
- remove unused mutex/cond
- use trace API
2003-02-02 19:21:06 +00:00
Wim Taymans
fb663a408f
- Small cleanups
...
Original commit message from CVS:
- Small cleanups
- add dispose handler that spews an error as the systemclock can never
be disposed of.
2003-02-02 19:19:39 +00:00
Wim Taymans
b87dbe8c98
Some extra debug info
...
Original commit message from CVS:
Some extra debug info
2003-02-02 19:14:26 +00:00
Wim Taymans
eab16fcf18
Funny how noone noticed that <list> tags are completely ignored, this patch fixes that
...
Original commit message from CVS:
Funny how noone noticed that <list> tags are completely ignored, this
patch fixes that
2003-02-02 19:13:43 +00:00
Wim Taymans
e8395f57a9
Add infrastructure to trace memleaks.
...
Original commit message from CVS:
Add infrastructure to trace memleaks.
2003-02-02 19:10:44 +00:00
Wim Taymans
e671a6ad22
- Small cleanup
...
Original commit message from CVS:
- Small cleanup
2003-02-02 18:58:51 +00:00
David Schleef
393033c6fa
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
...
Original commit message from CVS:
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix
pointer<->int conversion. Fixes warnings on alpha.
2003-02-01 20:29:27 +00:00
Wim Taymans
2c4d0a7e60
Comment out sparc asm as it's broken.
...
Original commit message from CVS:
Comment out sparc asm as it's broken.
2003-01-31 17:53:35 +00:00
Brian Cameron
d13abb525a
+ Fixed #includes in gst/cothreads.c so that configure.h before processing #ifdef HAVE_UCONTEXT_H, so it gets handled...
...
Original commit message from CVS:
+ Fixed #includes in gst/cothreads.c so that configure.h before
processing #ifdef HAVE_UCONTEXT_H, so it gets handled properly.
+ Fixed libs/ext/cothreads so that it doesn't require -Wall/-Werror when
compiling with Forte.
2003-01-31 15:41:45 +00:00
Wim Taymans
1c324a59f0
Small cleanup
...
Original commit message from CVS:
Small cleanup
2003-01-27 21:37:13 +00:00
Wim Taymans
07e409f402
Added some debug info
...
Original commit message from CVS:
Added some debug info
2003-01-27 21:31:58 +00:00
Wim Taymans
fac7be8705
Faster _dump function
...
Original commit message from CVS:
Faster _dump function
2003-01-26 23:38:30 +00:00
Wim Taymans
31105a5c6f
Some extra debug statement
...
Original commit message from CVS:
Some extra debug statement
2003-01-23 19:51:26 +00:00
Wim Taymans
d0f97d1978
- Proxy the get_caps function slightly differently. This is potentially dangerous as it works quite differently. My t...
...
Original commit message from CVS:
- Proxy the get_caps function slightly differently. This is potentially
dangerous as it works quite differently. My tests seem to work though and
it fixes the play-multi-file-segfault in the player.
2003-01-23 19:49:18 +00:00
Wim Taymans
84c67b8f69
Also clear cached connection filter when relinking pads with the clear-flag set.
...
Original commit message from CVS:
Also clear cached connection filter when relinking pads with the clear-flag
set.
2003-01-23 19:46:38 +00:00
Wim Taymans
8a2381a8ad
Some more debugging info
...
Original commit message from CVS:
Some more debugging info
2003-01-23 19:36:47 +00:00
Wim Taymans
50fad82368
Fix the case where a typefind function could not be loaded.
...
Original commit message from CVS:
Fix the case where a typefind function could not be loaded.
2003-01-23 19:03:02 +00:00
Thomas Vander Stichele
3c7944ed35
there might be a day that it doesn't take me twice to get it right
...
Original commit message from CVS:
there might be a day that it doesn't take me twice to get it right
2003-01-21 22:58:04 +00:00
Thomas Vander Stichele
42381fcb94
damn
...
Original commit message from CVS:
damn
2003-01-21 22:53:54 +00:00
David Schleef
32a905da80
Remove 'inline' from a function that is never actually inlined under any circumstances. Some compilers (Forte) don't...
...
Original commit message from CVS:
Remove 'inline' from a function that is never actually inlined
under any circumstances. Some compilers (Forte) don't like
non-static inlines, and neither do I. From Brian Cameron.
2003-01-21 22:13:48 +00:00
David Schleef
7106505492
Hide GCC assembly behind define(__GNUC__). From Brian Cameron.
...
Original commit message from CVS:
Hide GCC assembly behind define(__GNUC__). From Brian Cameron.
2003-01-21 22:11:13 +00:00
David Schleef
ba1f005623
Patch to remove GCC-ism for local structure initialization. From
...
Original commit message from CVS:
Patch to remove GCC-ism for local structure initialization. From
Brian Cameron.
2003-01-21 22:10:07 +00:00
David Schleef
fb27bbee37
Remove GCC-ism used to find current stack pointer, and use this opportunity to clean up the code slightly. Based on ...
...
Original commit message from CVS:
Remove GCC-ism used to find current stack pointer, and use this
opportunity to clean up the code slightly. Based on patch from
Brian Cameron.
2003-01-21 22:01:37 +00:00
David Schleef
fb9d810263
Replace __alignof__() GCC-ism with sizeof(). Should produce exactly the same code on all architectures except perhap...
...
Original commit message from CVS:
Replace __alignof__() GCC-ism with sizeof(). Should produce exactly
the same code on all architectures except perhaps m68k.
2003-01-21 20:50:27 +00:00
Erik Walthinsen
bab7be2c91
revert the revert, switch out the new code for the 'working' code with an #if
...
Original commit message from CVS:
revert the revert, switch out the new code for the 'working' code with an #if
2003-01-21 20:48:23 +00:00
Wim Taymans
69be241342
Revert 1.66 and 1.67 that seemed to break the unlink scheduler function 1.68 is still added
...
Original commit message from CVS:
Revert 1.66 and 1.67 that seemed to break the unlink scheduler function
1.68 is still added
2003-01-21 18:39:11 +00:00
Wim Taymans
59a224893a
Some more debugging
...
Original commit message from CVS:
Some more debugging
2003-01-20 23:11:51 +00:00
Wim Taymans
826f848618
- We need to pull UNUSABLE pads too because it might be an event
...
Original commit message from CVS:
- We need to pull UNUSABLE pads too because it might be an event
2003-01-20 23:10:32 +00:00
Erik Walthinsen
de6bcd890a
- added 'remove' argument to _chain_recursive_add to remove elements from old chain before adding to new one
...
Original commit message from CVS:
- added 'remove' argument to _chain_recursive_add to remove elements from
old chain before adding to new one
- reworked _pad_unlink to be simpler and more correct
2003-01-20 22:22:46 +00:00
Erik Walthinsen
cbbb8371fe
moved recursive exit to the front of the call, to make it easier to add prevchain removal
...
Original commit message from CVS:
moved recursive exit to the front of the call, to make it easier to add prevchain removal
2003-01-20 22:02:46 +00:00
Erik Walthinsen
590604e430
- some minor whitespace cleanups
...
Original commit message from CVS:
- some minor whitespace cleanups
- rework _chain_add_element to put the element in either the main or
disabled lists depending on whether the element is PLAYING or not.
2003-01-20 21:23:19 +00:00
David I. Lehn
9139cc81ba
comment out unused caps_changed related functions and prototypes
...
Original commit message from CVS:
comment out unused caps_changed related functions and prototypes
2003-01-18 21:41:34 +00:00
David I. Lehn
cfb515579a
FIXME "caps_changed" signal no longer exists, commenting out code that attempts to connect to it.
...
Original commit message from CVS:
FIXME "caps_changed" signal no longer exists, commenting out code that attempts
to connect to it.
2003-01-18 21:29:23 +00:00
Wim Taymans
6e55b3394c
Forgot to set the name on a new schedulerfactory, oops
...
Original commit message from CVS:
Forgot to set the name on a new schedulerfactory, oops
2003-01-18 14:11:36 +00:00
Wim Taymans
8e19b6a4d4
- Error after configurable number of buffers
...
Original commit message from CVS:
- Error after configurable number of buffers
2003-01-17 20:41:04 +00:00
Wim Taymans
acf7e665f3
More refcounting fixes
...
Original commit message from CVS:
More refcounting fixes
2003-01-17 20:02:27 +00:00
Wim Taymans
eadfe716a0
More cleanups and refcount fixage
...
Original commit message from CVS:
More cleanups and refcount fixage
2003-01-17 18:59:44 +00:00
Wim Taymans
06fe035ae4
- properly ref/unref scheduler and clock in gstelement
...
Original commit message from CVS:
- properly ref/unref scheduler and clock in gstelement
- ref/unref clock in scheduler
- better cleanup in element factory
2003-01-17 18:50:07 +00:00
Wim Taymans
2268739955
- sink the systemclock
...
Original commit message from CVS:
- sink the systemclock
- unref scheduler in pipeline with new API
- better ref/unref debug info in gstobject
2003-01-17 18:48:17 +00:00
Wim Taymans
6f2ff2f81e
Add helper function to set GstObject pointers with proper ref/unref sequence.
...
Original commit message from CVS:
Add helper function to set GstObject pointers with proper ref/unref
sequence.
2003-01-17 17:44:07 +00:00
Thomas Vander Stichele
1bce047ddc
avoid having to depend on glib 2.2
...
Original commit message from CVS:
avoid having to depend on glib 2.2
2003-01-17 16:06:23 +00:00
Wim Taymans
5886cb87ab
- Added rank to plugin features (for future use)
...
Original commit message from CVS:
- Added rank to plugin features (for future use)
- update docs in gsturi
2003-01-16 22:03:39 +00:00
Wim Taymans
1ee670cff4
Added infrastructure to register URI to element+property mappings
...
Original commit message from CVS:
Added infrastructure to register URI to element+property mappings
2003-01-16 21:22:06 +00:00
Thomas Vander Stichele
6550acf9c8
small fixes
...
Original commit message from CVS:
small fixes
2003-01-15 21:42:30 +00:00
Wim Taymans
a722e87b12
Clean up state change
...
Original commit message from CVS:
Clean up state change
2003-01-15 21:01:58 +00:00
Wim Taymans
90cff65964
Remove bogus inline
...
Original commit message from CVS:
Remove bogus inline
2003-01-15 18:29:40 +00:00
Wim Taymans
a4aa00288b
When we unref a caps, don't unref the chained caps
...
Original commit message from CVS:
When we unref a caps, don't unref the chained caps
2003-01-14 18:45:18 +00:00
Wim Taymans
59bd88118f
Added interrupt back in spider, make opt scheduler schedule next chain on interrupt (like basic did)
...
Original commit message from CVS:
Added interrupt back in spider, make opt scheduler schedule next chain
on interrupt (like basic did)
2003-01-12 20:28:08 +00:00
Wim Taymans
b695152ed0
No need to _yield here
...
Original commit message from CVS:
No need to _yield here
2003-01-12 19:33:18 +00:00
Wim Taymans
ca2b17259e
Use two GCond vars to work around a problem in NPTL
...
Original commit message from CVS:
Use two GCond vars to work around a problem in NPTL
2003-01-12 16:33:33 +00:00
Wim Taymans
31f2a95bf4
fix Dispose method by vishnu
...
Original commit message from CVS:
fix Dispose method by vishnu
2003-01-12 13:22:57 +00:00
Wim Taymans
1f144436cb
Avoid reads on freed memory (patch from vishnu)
...
Original commit message from CVS:
Avoid reads on freed memory (patch from vishnu)
2003-01-12 13:06:44 +00:00
Wim Taymans
2e1e40935f
Remove stupid interrupt call
...
Original commit message from CVS:
Remove stupid interrupt call
2003-01-12 12:39:09 +00:00
Wim Taymans
1ed68c8126
- make add/remove overridable for custom bins
...
Original commit message from CVS:
- make add/remove overridable for custom bins
2003-01-11 20:08:03 +00:00
Wim Taymans
6dc3e08f51
use the filter on the connection even if the pads don't have caps
...
Original commit message from CVS:
use the filter on the connection even if the pads don't have caps
2003-01-11 17:07:24 +00:00
Wim Taymans
89bf2733e9
- return boolean in _interrupt to better inform element
...
Original commit message from CVS:
- return boolean in _interrupt to better inform element
- fix default bufferpool unref
2003-01-11 16:27:45 +00:00
Iain Holmes
7ec295a0cd
Don't remove an element from its chain if it doesn't have a chain
...
Original commit message from CVS:
Don't remove an element from its chain if it doesn't have a chain
2003-01-11 13:44:33 +00:00
David Schleef
e85f1bed4e
Fix bison build line
...
Original commit message from CVS:
Fix bison build line
2003-01-10 21:24:36 +00:00
David I. Lehn
41e3108995
reverse compat typedefs
...
Original commit message from CVS:
reverse compat typedefs
2003-01-10 00:09:06 +00:00
David I. Lehn
5a74101933
more connect -> link updates
...
Original commit message from CVS:
more connect -> link updates
2003-01-09 22:59:37 +00:00
Thomas Vander Stichele
3f68dd5744
oopsie
...
Original commit message from CVS:
oopsie
2003-01-09 20:25:35 +00:00
Thomas Vander Stichele
f1af3cca60
code cleanups and further deprecation fixes
...
Original commit message from CVS:
code cleanups and further deprecation fixes
2003-01-09 20:02:34 +00:00
Thomas Vander Stichele
5529bbc7dc
first pass of connect->link gst-plugins and other stuff compiles without change at this point
...
Original commit message from CVS:
first pass of connect->link
gst-plugins and other stuff compiles without change at this point
2003-01-09 14:15:37 +00:00
Wim Taymans
7b087348ac
Fix typo connect -> link, you have been warned
...
Original commit message from CVS:
Fix typo
connect -> link, you have been warned
2003-01-08 22:45:46 +00:00
Wim Taymans
e8b63df877
Provide intrastructure to not have to pass NULL buffers on errors and interrupts, this should fix some issues with th...
...
Original commit message from CVS:
Provide intrastructure to not have to pass NULL buffers on errors and
interrupts, this should fix some issues with the optimal scheduler.
2003-01-08 21:33:20 +00:00
Thomas Vander Stichele
16870983fb
merge back from release branch
...
Original commit message from CVS:
merge back from release branch
2003-01-08 16:03:49 +00:00
Wim Taymans
9f92f33025
And now it's inlined again :)
...
Original commit message from CVS:
And now it's inlined again :)
2003-01-06 23:59:04 +00:00
Wim Taymans
27d52ae402
Make sure we implement the inlines too for when __inline__ doesn't work
...
Original commit message from CVS:
Make sure we implement the inlines too for when __inline__ doesn't work
2003-01-06 23:48:59 +00:00
Wim Taymans
fd1b4e1ce9
patch 13364 from vishnu
...
Original commit message from CVS:
patch 13364 from vishnu
2003-01-05 22:58:42 +00:00
Wim Taymans
481d542823
- Added property to select predefined resolver functions
...
Original commit message from CVS:
- Added property to select predefined resolver functions
- Added GType resolver
2003-01-05 20:34:24 +00:00
Wim Taymans
acd487b478
Patch 13357 and 13358 from vishnu
...
Original commit message from CVS:
Patch 13357 and 13358 from vishnu
2003-01-05 16:51:46 +00:00
Wim Taymans
2ef7c8b385
I think this makes a little more sense
...
Original commit message from CVS:
I think this makes a little more sense
2003-01-04 21:57:28 +00:00
Wim Taymans
e720f95202
Make sure we call the app resolved before passing the final id/string to the index implemention.
...
Original commit message from CVS:
Make sure we call the app resolved before passing the final id/string
to the index implemention.
2003-01-04 16:57:31 +00:00
Wim Taymans
d093fb3fa4
Register the two indexers
...
Original commit message from CVS:
Register the two indexers
2003-01-04 16:26:58 +00:00
Wim Taymans
411642197f
Added fileindex
...
Original commit message from CVS:
Added fileindex
2003-01-04 16:06:05 +00:00
David I. Lehn
0d3e4d08af
make GstPropsEntry a boxed type
...
Original commit message from CVS:
make GstPropsEntry a boxed type
2003-01-03 23:34:43 +00:00
David I. Lehn
4ec698fa6c
remove redundant flag set
...
Original commit message from CVS:
remove redundant flag set
2003-01-03 23:33:57 +00:00
Wim Taymans
7462cb8787
Documentation updates
...
Original commit message from CVS:
Documentation updates
2003-01-02 18:56:09 +00:00
Wim Taymans
6653167f11
- Remove annoying \n from cothread INFO/DEBUG messages
...
Original commit message from CVS:
- Remove annoying \n from cothread INFO/DEBUG messages
- only set an element to PAUSED when it gave an error during PLAYING
- ensure internal consistency of opt scheduler structures
- Added mex_recursion to opt scheduler
2003-01-01 04:28:33 +00:00
Wim Taymans
eb6c33fb23
- Added PAD_NEGOTIATING flag, remove PAD_EOS flag
...
Original commit message from CVS:
- Added PAD_NEGOTIATING flag, remove PAD_EOS flag
- Try to avoid negotiation in state change if pad were already negotiating
- Added gstquery.c for completeness (maybe merge common functions with
gstformat.c?)
2003-01-01 03:09:39 +00:00
David I. Lehn
624f4bf24d
don't need atomic ops here
...
Original commit message from CVS:
don't need atomic ops here
2002-12-31 18:42:17 +00:00
Wim Taymans
e20cb9265c
IS_USABLE is only for PLAYING elements
...
Original commit message from CVS:
IS_USABLE is only for PLAYING elements
2002-12-31 15:37:36 +00:00
Wim Taymans
177bf4bfbc
Negotiation can happen even on disabled pads (in READY state)
...
Original commit message from CVS:
Negotiation can happen even on disabled pads (in READY state)
2002-12-31 15:34:21 +00:00
Wim Taymans
d315eee490
- Fix PAD_IS_USABLE on ghostpads
...
Original commit message from CVS:
- Fix PAD_IS_USABLE on ghostpads
- fix typos in gstindex.h flags
- conditional lock in trashstack asm
2002-12-31 14:51:54 +00:00
Thomas Vander Stichele
f87c7929d4
revert usability test
...
Original commit message from CVS:
revert usability test
2002-12-31 10:52:09 +00:00
Thomas Vander Stichele
efebf989ff
some more debug output
...
Original commit message from CVS:
some more debug output
2002-12-31 10:34:35 +00:00
Wim Taymans
132bab1098
- copy kernel headers (waiting for libatomic..)
...
Original commit message from CVS:
- copy kernel headers (waiting for libatomic..)
- Make sure the atomic stuff is never seen by the app
- inline atomic stuff for core only, expose non-inlined version to apps.
hoping this one works... please test
2002-12-31 03:21:08 +00:00
Wim Taymans
aea79e82e1
Added comments to asm
...
Original commit message from CVS:
Added comments to asm
2002-12-30 23:59:59 +00:00
Wim Taymans
347505bcb9
- major API breakage (one of the last, I promise...)
...
Original commit message from CVS:
- major API breakage (one of the last, I promise...)
- GST_PAD_QUERY -> GST_QUERY
- GstPadQuery -> GstQuery
- Move query definitions to gstquery.h to allow for future dynamic
query types.
- remove _pad_handles_* in favour of extra format/event functions to
make the same checks.
- fix elements
- Implemented missing query/event/formats functions in gstelement
2002-12-30 17:42:11 +00:00
Wim Taymans
8854eac118
- First pass at cleaning up the atomic mess
...
Original commit message from CVS:
- First pass at cleaning up the atomic mess
- moved weird asm to datastructure that makes sense
- this should also make the trasition to libatomic less painful
2002-12-29 19:19:45 +00:00
Wim Taymans
a09fefa6a6
asm doesn't work on ppc
...
Original commit message from CVS:
asm doesn't work on ppc
2002-12-29 04:15:06 +00:00
Wim Taymans
a03425c8b3
- disable pads when going to PAUSED, we want to make sure no data is passing when an element is not PLAYING.
...
Original commit message from CVS:
- disable pads when going to PAUSED, we want to make sure no data is
passing when an element is not PLAYING.
- changed the clock sync API, element should now get a ClockID first and
sync on that. This makes it possible to cancel clock requests.
2002-12-27 22:57:13 +00:00
Wim Taymans
3b210c32e6
_IS_USABLE also checks for the peer pad, IS_ACTIVE is correct in this case.
...
Original commit message from CVS:
_IS_USABLE also checks for the peer pad, IS_ACTIVE is correct in this
case.
2002-12-27 04:24:56 +00:00
Wim Taymans
290a082d53
- Keep track of pending clock waits so we can unlock them
...
Original commit message from CVS:
- Keep track of pending clock waits so we can unlock them
- don't wait when diff bigger than configurable max to avoid clock lockups
2002-12-27 04:11:59 +00:00
Wim Taymans
fb9970d85a
- Added flags to lookup method so that one can search for keyframes too
...
Original commit message from CVS:
- Added flags to lookup method so that one can search for keyframes too
- Updated memindex
2002-12-26 22:35:58 +00:00
Wim Taymans
2694db659d
Fix merge_groups
...
Original commit message from CVS:
Fix merge_groups
2002-12-26 22:11:04 +00:00
Wim Taymans
a067031e72
Also display buffer flags
...
Original commit message from CVS:
Also display buffer flags
2002-12-26 19:15:06 +00:00
Wim Taymans
483e647a76
This got accidently removed and screws up seeking a lot
...
Original commit message from CVS:
This got accidently removed and screws up seeking a lot
2002-12-26 19:01:41 +00:00
Wim Taymans
8b63056472
Commited a bit too much..
...
Original commit message from CVS:
Commited a bit too much..
2002-12-24 12:48:35 +00:00
Wim Taymans
cfeeeee2cf
- Added commit
...
Original commit message from CVS:
- Added commit
- Added flags to make index readonly
2002-12-23 00:31:14 +00:00
Wim Taymans
4bbde846e3
Forgot .h file..
...
Original commit message from CVS:
Forgot .h file..
2002-12-23 00:30:08 +00:00
Wim Taymans
0f930b062b
- Move common function to gstformat
...
Original commit message from CVS:
- Move common function to gstformat
- sending events on disabled pad is allowed, buffers isn't...
2002-12-22 20:21:27 +00:00
Wim Taymans
155369d80c
Added pad_query with percent format on filesrc and some constants
...
Original commit message from CVS:
Added pad_query with percent format on filesrc and some constants
2002-12-22 14:03:09 +00:00
Wim Taymans
74d9fe06f9
- offset is supposed to be a uint64
...
Original commit message from CVS:
- offset is supposed to be a uint64
2002-12-21 14:28:42 +00:00
Wim Taymans
f8feed18a0
- queue can change state only when not connected
...
Original commit message from CVS:
- queue can change state only when not connected
- bufferpools can only be requested from srcpads
2002-12-21 14:21:15 +00:00
Wim Taymans
abfc7a0ed8
implemented yield/interrupt
...
Original commit message from CVS:
implemented yield/interrupt
2002-12-21 02:25:54 +00:00
Wim Taymans
4a63ac4d02
Destroy cothreads first before destroying context
...
Original commit message from CVS:
Destroy cothreads first before destroying context
2002-12-20 18:49:17 +00:00
Wim Taymans
68b53ac4ab
- Cleanups
...
Original commit message from CVS:
- Cleanups
- Added padding to structs
- fixed typechecking/casts
- reduced casts
- implemented remove_element in gstbin
- implemented set index on bin
2002-12-19 21:31:03 +00:00
Wim Taymans
bcec5c6c6f
Added float transform
...
Original commit message from CVS:
Added float transform
2002-12-19 19:59:21 +00:00
Wim Taymans
7e16eb73de
Delete chains only once..
...
Original commit message from CVS:
Delete chains only once..
2002-12-19 19:45:13 +00:00
Wim Taymans
61763adf68
Small cleanup, fix fixed caps detection even on XML load
...
Original commit message from CVS:
Small cleanup, fix fixed caps detection even on XML load
2002-12-18 23:00:34 +00:00
Thomas Vander Stichele
7c84581a90
patch from brian cameron for iso c compliance
...
Original commit message from CVS:
patch from brian cameron for iso c compliance
2002-12-18 21:44:57 +00:00
Wim Taymans
e7ccc2ec08
- Factor out some error functions
...
Original commit message from CVS:
- Factor out some error functions
- handle the cases where multipad get to multi-sink loop/chain based
elements are connected.
2002-12-16 21:21:02 +00:00
Thomas Vander Stichele
84e121f4dd
don't do queries on error, we don't get many errors these days for which it is useful tell us which scheduler we're n...
...
Original commit message from CVS:
don't do queries on error, we don't get many errors these days for which
it is useful
tell us which scheduler we're not finding
2002-12-16 09:50:40 +00:00
Wim Taymans
103d810e2c
Decoupled elements needs special case when we look for grouped elements.
...
Original commit message from CVS:
Decoupled elements needs special case when we look for grouped elements.
2002-12-15 22:52:48 +00:00
Wim Taymans
bd9dc3604f
Some cleanups, added FIXMEs
...
Original commit message from CVS:
Some cleanups, added FIXMEs
2002-12-15 22:02:20 +00:00
Wim Taymans
8f06b55c38
- Removed old deprecated fastscheduler
...
Original commit message from CVS:
- Removed old deprecated fastscheduler
- ifdef out cothread specific code in optimalscheduler
- added more g_asserts to optimalscheduler
- create separate scheduler called "opt", removed property from scheduler
- fixed iterations property
2002-12-15 18:21:43 +00:00
Wim Taymans
14031db6be
Fix silent property
...
Original commit message from CVS:
Fix silent property
2002-12-15 12:22:11 +00:00
Wim Taymans
11b376c838
Improve the optimal scheduler, mainly element remove and pad disconnect
...
Original commit message from CVS:
Improve the optimal scheduler, mainly element remove and pad disconnect
2002-12-15 12:18:04 +00:00
Wim Taymans
8c5466095f
Renamed the thread argument to cothread to avoid confusion
...
Original commit message from CVS:
Renamed the thread argument to cothread to avoid confusion
Documentation updates
2002-12-14 16:20:41 +00:00
Wim Taymans
29e2850eff
Documentation updates
...
Original commit message from CVS:
Documentation updates
2002-12-14 13:02:16 +00:00
Thomas Vander Stichele
593079820a
fixes a jhbuild bug
...
Original commit message from CVS:
fixes a jhbuild bug
2002-12-13 15:33:42 +00:00
Wim Taymans
8de25d9aff
cache->index
...
Original commit message from CVS:
cache->index
2002-12-12 22:16:11 +00:00
Wim Taymans
fcd8d12069
Renamed GstCache to GstIndex
...
Original commit message from CVS:
Renamed GstCache to GstIndex
2002-12-12 22:14:36 +00:00
Thomas Vander Stichele
2ced1a341f
oops, too much revert
...
Original commit message from CVS:
oops, too much revert
2002-12-11 22:22:35 +00:00
Thomas Vander Stichele
a022e03e98
not used anymore
...
Original commit message from CVS:
not used anymore
2002-12-11 22:13:27 +00:00
Thomas Vander Stichele
65d35489ac
merge from release branch
...
Original commit message from CVS:
merge from release branch
2002-12-11 21:33:07 +00:00
David Schleef
af978603db
Clean up cothread destruction code
...
Original commit message from CVS:
Clean up cothread destruction code
2002-12-10 04:05:14 +00:00
David Schleef
384d119c72
Lots of new assertions and debugging
...
Original commit message from CVS:
Lots of new assertions and debugging
2002-12-10 04:01:09 +00:00
David Schleef
29f657f52e
Added setting of _gst_debug_cothread_index for debugging
...
Original commit message from CVS:
Added setting of _gst_debug_cothread_index for debugging
2002-12-10 03:59:15 +00:00
David Schleef
b423eeb18c
Added thread-loval variable for cothread index.
...
Original commit message from CVS:
Added thread-loval variable for cothread index.
2002-12-10 03:48:15 +00:00
David Schleef
a818246c70
Partially revert last change, since it breaks things. wtay: FIXME!
...
Original commit message from CVS:
Partially revert last change, since it breaks things. wtay: FIXME!
2002-12-10 03:45:03 +00:00
Wim Taymans
0d994e41ad
turn off cothreads, fix some typos
...
Original commit message from CVS:
turn off cothreads, fix some typos
2002-12-09 22:31:16 +00:00
Wim Taymans
f07281a771
Destroying the cothread seems like a good idea here
...
Original commit message from CVS:
Destroying the cothread seems like a good idea here
2002-12-09 20:33:27 +00:00
David Schleef
fff07e9420
Use makecontext() as a generic implementation
...
Original commit message from CVS:
Use makecontext() as a generic implementation
2002-12-09 01:41:05 +00:00
David Schleef
62c16b78c8
Fix the powerpc atomix swap
...
Original commit message from CVS:
Fix the powerpc atomix swap
2002-12-09 01:32:37 +00:00
Wim Taymans
d8dc45098d
Better debugging
...
Original commit message from CVS:
Better debugging
2002-12-08 20:09:42 +00:00
Wim Taymans
8549904056
Fix broken __PRETY_FUNCTION__
...
Original commit message from CVS:
Fix broken __PRETY_FUNCTION__
2002-12-08 20:06:04 +00:00
Wim Taymans
a2f011e446
A little more debugging info and error checking
...
Original commit message from CVS:
A little more debugging info and error checking
2002-12-08 16:43:27 +00:00
Thomas Vander Stichele
7eea6a04b7
fix for parallel installability
...
Original commit message from CVS:
fix for parallel installability
2002-12-08 14:39:38 +00:00
Thomas Vander Stichele
9a796e2cb5
oops
...
Original commit message from CVS:
oops
2002-12-08 02:08:47 +00:00
Wim Taymans
9e8e9385cb
fix bug #96751
...
Original commit message from CVS:
fix bug #96751
2002-12-08 01:26:02 +00:00
Thomas Vander Stichele
45a34253ac
move these to macros
...
Original commit message from CVS:
move these to macros
2002-12-07 22:18:17 +00:00
Thomas Vander Stichele
58d2d2798c
typos
...
Original commit message from CVS:
typos
2002-12-07 14:15:52 +00:00
Thomas Vander Stichele
0d32dbb262
fix a warning
...
Original commit message from CVS:
fix a warning
2002-12-07 14:13:50 +00:00
Thomas Vander Stichele
d9efd29627
move some code around to avoid warnings
...
Original commit message from CVS:
move some code around to avoid warnings
2002-12-07 14:13:27 +00:00
David Schleef
2fed56b4a8
Removing unused code related to stack allocation (cothreads_stackquery(), gst_scheduler_get_preferred_stack())
...
Original commit message from CVS:
Removing unused code related to stack allocation (cothreads_stackquery(),
gst_scheduler_get_preferred_stack())
2002-12-06 23:05:26 +00:00
Wim Taymans
e04e9d291e
Make sure we set the reaping flag when going to NULL before we signal the parent.
...
Original commit message from CVS:
Make sure we set the reaping flag when going to NULL before we signal the
parent.
2002-12-06 20:12:38 +00:00
Wim Taymans
07cf2da0c2
Added syntax to make filtered connections like: osssrc src\!audio/raw, channels=int 2, width=int 8\!sink fakesink
...
Original commit message from CVS:
Added syntax to make filtered connections like:
osssrc src\!audio/raw, channels=int 2, width=int 8\!sink fakesink
2002-12-06 20:06:06 +00:00
Wim Taymans
0539bc2b87
Make sure we don't set caps that violate the (app)filter
...
Original commit message from CVS:
Make sure we don't set caps that violate the (app)filter
2002-12-06 20:03:57 +00:00
Wim Taymans
a58c54c2ee
Fix valloc bug found by jmi25@cam.ac.uk, closes bug #100553 . removed dead code
...
Original commit message from CVS:
Fix valloc bug found by jmi25@cam.ac.uk , closes bug #100553 .
removed dead code
2002-12-06 20:02:24 +00:00
Thomas Vander Stichele
2aaf59bad0
looks like a silly typo
...
Original commit message from CVS:
looks like a silly typo
2002-12-06 13:37:43 +00:00
David Schleef
aff80e14d7
refactor cothread stack mmap code. Add makecontext() as an option for initial stack preparation.
...
Original commit message from CVS:
refactor cothread stack mmap code. Add makecontext() as an option
for initial stack preparation.
2002-12-05 01:50:31 +00:00
David Schleef
89994cf808
Add some assertions to check that we're running inside the correct thread when playing with that thread's cothreads
...
Original commit message from CVS:
Add some assertions to check that we're running inside the correct
thread when playing with that thread's cothreads
2002-12-04 00:07:13 +00:00
David Schleef
f161e16a44
Change GPrivate usage to GStaticPrivate, assuming it's more trustworthy
...
Original commit message from CVS:
Change GPrivate usage to GStaticPrivate, assuming it's more trustworthy
2002-12-03 22:44:49 +00:00
Wim Taymans
2dd7336e68
Reset the scheduler when going to NULL
...
Original commit message from CVS:
Reset the scheduler when going to NULL
2002-12-03 21:33:29 +00:00
David Schleef
83bc63d787
Add assertion in cothread_get_context()
...
Original commit message from CVS:
Add assertion in cothread_get_context()
2002-12-03 21:02:55 +00:00
Wim Taymans
b3cef553cf
More cache updates
...
Original commit message from CVS:
More cache updates
2002-12-02 22:39:56 +00:00
Wim Taymans
1ce6deb624
Added current status of memcache
...
Original commit message from CVS:
Added current status of memcache
2002-12-02 20:20:13 +00:00
Gerhard Tonn
52cc556b97
I'm too lazy to comment this
...
Original commit message from CVS:
Patch from Gerhard Tonn <GerhardTonn@gammatau.de> for s390
2002-12-02 19:09:47 +00:00
Jeremy Simon
c0e293f689
Initialize buf with NULL ... should compile now
...
Original commit message from CVS:
Initialize buf with NULL ... should compile now
2002-12-01 18:32:34 +00:00
Steve Baker
6c751c7cd4
remove debug
...
Original commit message from CVS:
remove debug
2002-12-01 01:42:48 +00:00
Steve Baker
5b920bb458
this debugging would have borked
...
Original commit message from CVS:
this debugging would have borked
2002-12-01 01:39:35 +00:00
Steve Baker
7fec8602c3
first phase of spider cleanup
...
Original commit message from CVS:
first phase of spider cleanup
- get rid of the buffer cache for type finding
- do type finding within spider identity instead of in seperate element
- currently doing type finding with the first buffer only. will eventually merge buffer until there is "enough" data to typefind with
- spider now only has 1 sink instead of many. I don't believe it would be possible to mux with spider anyway
- if type finding fails, gst_element_error is called. Its up to the app to catch the error signal and stop the pipeline
2002-12-01 01:37:58 +00:00
Wim Taymans
ff1a2e8f7b
Make forte heppy
...
Original commit message from CVS:
Make forte heppy
2002-11-29 19:19:32 +00:00
Wim Taymans
fa3381146a
More forte compiler fixes, added a .h file to store commonly used macros that have to ifdefed out on non-gcc compilers
...
Original commit message from CVS:
More forte compiler fixes, added a .h file to store commonly used macros
that have to ifdefed out on non-gcc compilers
2002-11-29 19:08:47 +00:00
Wim Taymans
95d4c6fdf1
Add a little cast to make forte happy
...
Original commit message from CVS:
Add a little cast to make forte happy
2002-11-29 18:34:32 +00:00
Wim Taymans
91df0963a7
Index caches dir too, add caches to Makefile.am
...
Original commit message from CVS:
Index caches dir too, add caches to Makefile.am
2002-11-29 18:16:58 +00:00
Wim Taymans
a02dcd9779
Added memory cache
...
Original commit message from CVS:
Added memory cache
2002-11-29 18:16:06 +00:00
Wim Taymans
9178bdcfd1
- Save longdesc
...
Original commit message from CVS:
- Save longdesc
- Save caches
2002-11-29 18:15:01 +00:00
Wim Taymans
bf0c285d5f
Make caches plugable
...
Original commit message from CVS:
Make caches plugable
2002-11-29 18:13:54 +00:00
Wim Taymans
9c90317f9f
Make the cache plugable
...
Original commit message from CVS:
Make the cache plugable
2002-11-29 18:13:29 +00:00
Wim Taymans
d8712f073b
Used glib macros for no_intrument
...
Original commit message from CVS:
Used glib macros for no_intrument
2002-11-29 18:10:21 +00:00
Thomas Vander Stichele
009e8bb2b4
applied fixed patch from Brian
...
Original commit message from CVS:
applied fixed patch from Brian
2002-11-29 17:05:13 +00:00
Thomas Vander Stichele
7cd8540542
revert fix because GST_DEBUG_LEAVE("") doesn't work with it
...
Original commit message from CVS:
revert fix because GST_DEBUG_LEAVE("") doesn't work with it
2002-11-29 14:20:53 +00:00
Thomas Vander Stichele
35387bca47
random cleanups and paranoia checks
...
Original commit message from CVS:
random cleanups and paranoia checks
2002-11-29 13:59:30 +00:00
Christian Schaller
54cbcd0c18
commit Brian's patch with AC fix from thomas
...
Original commit message from CVS:
commit Brian's patch with AC fix from thomas
2002-11-29 11:10:35 +00:00
Wim Taymans
431fba3939
Fix stupid bug
...
Original commit message from CVS:
Fix stupid bug
2002-11-28 21:30:13 +00:00
Thomas Vander Stichele
18f9761afc
cleanups
...
Original commit message from CVS:
cleanups
2002-11-28 21:24:01 +00:00
Christian Schaller
63a4cb67c2
commit the fdsrc fix from Pedro Corte-Real
...
Original commit message from CVS:
commit the fdsrc fix from Pedro Corte-Real
2002-11-28 14:13:51 +00:00
Christian Schaller
2d9c2e484b
commiting Leifs registry to /var/cache patch, works well for me :)
...
Original commit message from CVS:
commiting Leifs registry to /var/cache patch, works well for me :)
2002-11-28 13:29:52 +00:00
Christian Schaller
e6d279fc4d
added vishnu's doc patch
...
Original commit message from CVS:
added vishnu's doc patch
2002-11-28 00:10:38 +00:00
Wim Taymans
c925bc7de0
Small cleanups
...
Original commit message from CVS:
Small cleanups
2002-11-27 23:14:33 +00:00
Wim Taymans
cc7cebbead
Fix stupid compiler warning
...
Original commit message from CVS:
Fix stupid compiler warning
2002-11-27 22:37:57 +00:00
Wim Taymans
9fa136e479
Removed old timecache
...
Original commit message from CVS:
Removed old timecache
2002-11-27 21:10:20 +00:00
Thomas Vander Stichele
58855aa95b
gst_init modeled upon gtk_init code cleanups
...
Original commit message from CVS:
gst_init modeled upon gtk_init
code cleanups
2002-11-27 21:08:06 +00:00
Wim Taymans
a48bce0ad6
- Added first attempt at general caching mechanism (GstTimeCache renamed to GstCache)
...
Original commit message from CVS:
- Added first attempt at general caching mechanism (GstTimeCache renamed
to GstCache)
- Some more clocking checks and updates (waiting on GST_CLOCK_TIME_NONE
returns immediatly instead of blocking forever)
- Moved clock get/set functions to element class instead of instance.
- Added cache methods on elements.
- Renamed GST_PROPS_BOOL_TYPE to GST_PROPS_BOOLEAN_TYPE to make it more
consistent with gst_props_get/set_boolean and GST_PROPS_BOOLEAN.
- Give short stats about plugins in gst-inspect.
2002-11-27 20:47:39 +00:00
Wim Taymans
86376a2402
Make different names for the different cothreads implementations
...
Original commit message from CVS:
Make different names for the different cothreads implementations
2002-11-25 00:20:52 +00:00
Wim Taymans
ce5f3238d2
Make sure to unset the scheduler
...
Original commit message from CVS:
Make sure to unset the scheduler
2002-11-22 23:17:39 +00:00
Wim Taymans
b7ee3bebf5
Added g_return_if_fail
...
Original commit message from CVS:
Added g_return_if_fail
2002-11-22 23:15:14 +00:00
Wim Taymans
a003b87f10
Only setup the scheduler when going to READY so that one can create a pipeline in another thread than that where it w...
...
Original commit message from CVS:
Only setup the scheduler when going to READY so that one can create a
pipeline in another thread than that where it will eventually iterate in.
2002-11-22 22:10:06 +00:00
Wim Taymans
12490346d0
Small cleanups, more descriptive properties
...
Original commit message from CVS:
Small cleanups, more descriptive properties
2002-11-21 23:52:30 +00:00
David Schleef
774edda66b
Add assertion to make sure that we're in the thread containing the cothread we're trying to switch to.
...
Original commit message from CVS:
Add assertion to make sure that we're in the thread containing the
cothread we're trying to switch to.
2002-11-21 00:54:32 +00:00
Wim Taymans
e09a7f841a
Better error recovery when the mmap fails.
...
Original commit message from CVS:
Better error recovery when the mmap fails.
2002-11-20 21:31:05 +00:00
Wim Taymans
20e44c6f57
Use full object path string in default error/notify handlers.
...
Original commit message from CVS:
Use full object path string in default error/notify handlers.
2002-11-20 21:13:07 +00:00
Wim Taymans
3fc8ad0842
- an element also has a failed state change if the scheduler setup failed.
...
Original commit message from CVS:
- an element also has a failed state change if the scheduler setup failed.
- set a thread to _STATE_NULL before destroying it.
2002-11-19 23:15:23 +00:00
David Schleef
eaba0a07e8
Added gst_buffer[_pool]_needs_copy_on_write()
...
Original commit message from CVS:
Added gst_buffer[_pool]_needs_copy_on_write()
2002-11-19 02:30:45 +00:00
David Schleef
f42d7e6ac8
Added gst_data_needs_copy_on_write()
...
Original commit message from CVS:
Added gst_data_needs_copy_on_write()
2002-11-19 02:29:18 +00:00
David Schleef
edd2819c89
Added atomic code for PowerPC
...
Original commit message from CVS:
Added atomic code for PowerPC
2002-11-19 02:28:09 +00:00
David Schleef
2b647a953c
Cleaned up cothread_create(), added comments, added code to unmap a guard page.
...
Original commit message from CVS:
Cleaned up cothread_create(), added comments, added code to unmap a
guard page.
2002-11-19 02:25:52 +00:00
Thomas Vander Stichele
8fbc440cc3
a little cleanup also, clear the global we use here so we can reuse cothreads
...
Original commit message from CVS:
a little cleanup
also, clear the global we use here so we can reuse cothreads
2002-11-18 22:44:47 +00:00
David Schleef
179a63446c
Move stack_top code from cothread_create() to cothread_context_init(), since we only need to calculate it once.
...
Original commit message from CVS:
Move stack_top code from cothread_create() to cothread_context_init(),
since we only need to calculate it once.
2002-11-15 09:51:41 +00:00
Thomas Vander Stichele
eb5368cbf7
on the negative side, I have to add the mmap back or else it segfaults on the positive side, with ds's fix for stack_...
...
Original commit message from CVS:
on the negative side, I have to add the mmap back or else it segfaults
on the positive side, with ds's fix for stack_top, I haven't had a
segfault in any of the thread tests since ;)
Let's cross fingers here
2002-11-14 13:35:13 +00:00
David Schleef
5fa7e059eb
Fix up allocation of stack space for a cothread. Previous code did not allow for the underlying threading model to i...
...
Original commit message from CVS:
Fix up allocation of stack space for a cothread. Previous code did
not allow for the underlying threading model to insert an unmapped
guard page.
2002-11-14 11:14:52 +00:00
Thomas Vander Stichele
ede132c69c
add some debug info
...
Original commit message from CVS:
add some debug info
2002-11-10 14:28:25 +00:00
Thomas Vander Stichele
2db9dfdb45
adding formats
...
Original commit message from CVS:
adding formats
2002-11-09 18:16:27 +00:00
Wim Taymans
9955ea95b9
Remove groups from chains and elements from groups when they are destroyed.
...
Original commit message from CVS:
Remove groups from chains and elements from groups when they are destroyed.
2002-11-07 18:50:06 +00:00
Wim Taymans
535d8911aa
Do some more checking on the input paramaters
...
Original commit message from CVS:
Do some more checking on the input paramaters
2002-11-03 15:48:31 +00:00
Wim Taymans
936c0aff15
Remove bogus free
...
Original commit message from CVS:
Remove bogus free
2002-11-03 00:13:40 +00:00
Thomas Vander Stichele
7e6550818f
small fix
...
Original commit message from CVS:
small fix
2002-11-02 14:06:43 +00:00
Wim Taymans
91b824a34c
- Reworked the clock to prepare for async notifications
...
Original commit message from CVS:
- Reworked the clock to prepare for async notifications
- moved some common scheduler checking to gstbin
- added some vmethods to gstbin for future use
- more fixes to the optimal scheduler
- use new clock api in the schedulers
2002-11-02 13:54:34 +00:00
Wim Taymans
83380aa595
- Added caps as a property
...
Original commit message from CVS:
- Added caps as a property
- Removed signals in favour of property notification
- Use probes instead of event_received signal
- Small cleanups
2002-11-02 13:31:31 +00:00
Wim Taymans
d5ba1b6a4c
Added padprobe to makefile
...
Original commit message from CVS:
Added padprobe to makefile
2002-11-02 13:28:14 +00:00
Wim Taymans
7eda531ad0
Removed annoying notify messages and removed properties that are better handled with query
...
Original commit message from CVS:
Removed annoying notify messages and removed properties that are
better handled with query
2002-11-02 13:25:18 +00:00
Wim Taymans
4514d28486
Small cleanups
...
Original commit message from CVS:
Small cleanups
2002-11-02 13:22:31 +00:00
Wim Taymans
93d794c494
We might use this in the future
...
Original commit message from CVS:
We might use this in the future
2002-11-02 13:21:07 +00:00
Wim Taymans
580a572044
Flashed out transform function
...
Original commit message from CVS:
Flashed out transform function
2002-11-02 13:20:26 +00:00
Wim Taymans
6637a949e7
Moved deep notify to GstObject
...
Original commit message from CVS:
Moved deep notify to GstObject
2002-11-02 13:19:30 +00:00
Wim Taymans
4992cb5838
Added the long awaited gst_buffer_set_data
...
Original commit message from CVS:
Added the long awaited gst_buffer_set_data
2002-11-02 13:15:55 +00:00
Wim Taymans
a92661f761
Small cleanup
...
Original commit message from CVS:
Small cleanup
2002-11-02 13:15:10 +00:00
Wim Taymans
cc59aa1770
Added first stab at probes.
...
Original commit message from CVS:
Added first stab at probes.
2002-11-02 13:14:33 +00:00
David Schleef
81c1506cd4
remove debugging message
...
Original commit message from CVS:
remove debugging message
2002-11-02 00:41:11 +00:00
David I. Lehn
86fddd8349
use plugin feature api vs gstobject api
...
Original commit message from CVS:
use plugin feature api vs gstobject api
2002-11-01 22:05:28 +00:00
David Schleef
e7db7a70ad
Change from pthreads to GThreads
...
Original commit message from CVS:
Change from pthreads to GThreads
2002-11-01 21:38:39 +00:00
Thomas Vander Stichele
ec02fff666
fix up autoplug test a little
...
Original commit message from CVS:
fix up autoplug test a little
2002-11-01 15:07:46 +00:00
David Schleef
5c1230f6d1
Fix parsing of negative numbers. Note that parsing of floating point numbers is broken in exponential form (1.0e6 or...
...
Original commit message from CVS:
Fix parsing of negative numbers. Note that parsing of floating point
numbers is broken in exponential form (1.0e6 or 1.0E6).
2002-10-31 20:06:44 +00:00
Wim Taymans
ac94f1f879
- A regular seek event sets the endoffset to -1 to indicate that the value should be ignored.
...
Original commit message from CVS:
- A regular seek event sets the endoffset to -1 to indicate
that the value should be ignored.
- A segment seek only takes start < stop
2002-10-31 18:41:18 +00:00
David I. Lehn
96ef7028f7
move G_BEGIN_DECLS to after #include
...
Original commit message from CVS:
move G_BEGIN_DECLS to after #include
2002-10-30 09:53:54 +00:00
David I. Lehn
31efa36756
use G_{BEGIN,END}_DECLS
...
Original commit message from CVS:
use G_{BEGIN,END}_DECLS
2002-10-30 09:17:34 +00:00
Thomas Vander Stichele
0933f2df88
how did this get by ?
...
Original commit message from CVS:
how did this get by ?
2002-10-29 21:34:14 +00:00
Thomas Vander Stichele
b75745b109
alp's fix
...
Original commit message from CVS:
alp's fix
2002-10-29 18:39:32 +00:00
Thomas Vander Stichele
da4942aee3
instigated by alp. If this is wrong, let us know.
...
Original commit message from CVS:
instigated by alp. If this is wrong, let us know.
2002-10-29 17:53:42 +00:00
Thomas Vander Stichele
de8df7b917
style stuff
...
Original commit message from CVS:
style stuff
2002-10-29 17:36:41 +00:00
Thomas Vander Stichele
daa9517e02
this is a real programming error
...
Original commit message from CVS:
this is a real programming error
2002-10-27 01:35:51 +00:00
David Schleef
e1b376fb58
Convert from sys_errlist[] to g_strerror()
...
Original commit message from CVS:
Convert from sys_errlist[] to g_strerror()
2002-10-25 23:57:12 +00:00
Wim Taymans
bc43ca26f0
This should fix seeking in a non empty cache..
...
Original commit message from CVS:
This should fix seeking in a non empty cache..
2002-10-25 23:24:56 +00:00
Wim Taymans
2030bd0eb1
A discont event should not flush the queue
...
Original commit message from CVS:
A discont event should not flush the queue
2002-10-25 19:14:57 +00:00
Thomas Vander Stichele
517829a0d4
still killing comma's
...
Original commit message from CVS:
still killing comma's
2002-10-24 09:02:11 +00:00
Thomas Vander Stichele
03c68402d8
can you guess what I've been reading ?
...
Original commit message from CVS:
can you guess what I've been reading ?
2002-10-24 09:01:22 +00:00
Thomas Vander Stichele
82ae865ddb
fixing ANSI C compliance issues
...
Original commit message from CVS:
fixing ANSI C compliance issues
2002-10-24 09:00:12 +00:00
David Schleef
d91bb1bca4
Fix for HPPA asm code
...
Original commit message from CVS:
Fix for HPPA asm code
2002-10-17 23:02:59 +00:00
Wim Taymans
99315ab3a6
Add an fd param to set the file descriptor as an int
...
Original commit message from CVS:
Add an fd param to set the file descriptor as an int
2002-10-17 22:32:55 +00:00
David Schleef
0f02673d3e
After the third time of calling GST_PROPS_FLOAT with an integer and wondering why it didn't work, I add an explicit c...
...
Original commit message from CVS:
After the third time of calling GST_PROPS_FLOAT with an integer and
wondering why it didn't work, I add an explicit cast.
2002-10-17 00:53:13 +00:00
Thomas Vander Stichele
731b554fd8
code cleanup and API change (gst_caps_check_compatibility -> gst_caps_is_always_compatible)
...
Original commit message from CVS:
code cleanup and API change
(gst_caps_check_compatibility -> gst_caps_is_always_compatible)
2002-10-02 07:51:54 +00:00
Thomas Vander Stichele
8b8026589e
can somebody who understands this comment this more
...
Original commit message from CVS:
can somebody who understands this comment this more
2002-10-01 20:33:42 +00:00
Thomas Vander Stichele
4e42be7934
small fix
...
Original commit message from CVS:
small fix
2002-10-01 13:03:23 +00:00
Thomas Vander Stichele
0321f03994
code cleanup and better debug output
...
Original commit message from CVS:
code cleanup and better debug output
2002-10-01 13:02:22 +00:00