Commit graph

1784 commits

Author SHA1 Message Date
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