Commit graph

1737 commits

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