Commit graph

1901 commits

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