Commit graph

1822 commits

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