Commit graph

1878 commits

Author SHA1 Message Date
David Schleef
16fccf325d Allow NULL to be a valid value for factory->extensions.
Original commit message from CVS:
Allow NULL to be a valid value for factory->extensions.
2003-10-29 23:10:49 +00:00
David Schleef
0a4c6d8fd2 clean up some warnings
Original commit message from CVS:
clean up some warnings
2003-10-29 04:11:11 +00:00
David Schleef
a3723260ce Add typedef to named enum
Original commit message from CVS:
Add typedef to named enum
2003-10-29 04:10:33 +00:00
David Schleef
0259155e08 don't dist files generated by flex and bison, since they're not portable.
Original commit message from CVS:
don't dist files generated by flex and bison, since they're not
portable.
2003-10-29 00:15:46 +00:00
Benjamin Otte
3235f1d4c0 merge TYPEFIND branch. Major changes:
Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- bytestream is out of the core again
- typefind element is now part of gstelements
2003-10-28 20:25:30 +00:00
Ronald S. Bultje
40b7ac445c Properly give an error if no file was given
Original commit message from CVS:
Properly give an error if no file was given
2003-10-20 14:58:07 +00:00
Ronald S. Bultje
2021fd636c We need to store the new GList. Else, this causes problems if we remove the first entry from the list (unreferenced p...
Original commit message from CVS:
We need to store the new GList. Else, this causes problems if we remove the first entry from the list (unreferenced pointer). Also, we need to destroy the unused entry afterwards (memleak).
2003-10-20 08:22:19 +00:00
David Schleef
f8e5104302 add gst_alloc_trace_live_all(), used by the test suites
Original commit message from CVS:
add gst_alloc_trace_live_all(), used by the test suites
2003-10-15 21:31:23 +00:00
David Schleef
dcb2dce108 Change the iterate callback functions to a GSignal
Original commit message from CVS:
Change the iterate callback functions to a GSignal
2003-10-14 00:00:37 +00:00
Benjamin Otte
6a9e76ee20 g_list_length is unsigned
Original commit message from CVS:
g_list_length is unsigned
2003-10-09 19:13:19 +00:00
Thomas Vander Stichele
30da970283 fix cleaning
Original commit message from CVS:
fix cleaning
2003-10-09 13:47:35 +00:00
David Schleef
d4ee10bd79 distcheck fixes. Some tests have been disabled.
Original commit message from CVS:
distcheck fixes.  Some tests have been disabled.
2003-10-09 01:13:21 +00:00
Andy Wingo
31d748d332 s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also inc...
Original commit message from CVS:
s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also includes scheduler patches, and probably fixes some queue bugs relating to events and buffers.
2003-10-08 16:06:02 +00:00
David Schleef
85a63494bf Add padding to structures and objects
Original commit message from CVS:
Add padding to structures and objects
2003-10-07 21:58:42 +00:00
David Schleef
f20644277f remember to set buffer size.
Original commit message from CVS:
remember to set buffer size.
2003-10-07 21:56:36 +00:00
Andy Wingo
87945fb3a8 Make GST_PROPS_PROPERTIES return NULL when props is NULL. This allows
Original commit message from CVS:
Make GST_PROPS_PROPERTIES return NULL when props is NULL. This allows
GST_PROPS_PROPERTIES (gst_caps_get_props (caps)) even if the caps have no props.
2003-10-06 14:03:05 +00:00
Thomas Vander Stichele
27b0ea3990 fix docs for four functions
Original commit message from CVS:
fix docs for four functions
2003-10-05 20:48:48 +00:00
Thomas Vander Stichele
7731fe15a6 allow pad push if peer is active
Original commit message from CVS:
allow pad push if peer is active
2003-10-05 19:42:21 +00:00
Thomas Vander Stichele
1adec99a85 forward port of 123517 adds more debug info to optscheduler
Original commit message from CVS:
forward port of 123517
adds more debug info to optscheduler
2003-10-05 15:18:11 +00:00
Ronald S. Bultje
6fbff1c106 New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:11:45 +00:00
Andy Wingo
00d6aa9c21 make filesink handle events only in the chainfunction
Original commit message from CVS:
make filesink handle events only in the chainfunction
2003-09-30 13:11:44 +00:00
Iain Holmes
0ef614172a Update the --gst-debug help documentation
Original commit message from CVS:
Update the --gst-debug help documentation
2003-09-29 21:54:10 +00:00
Ronald S. Bultje
2cd09b6c68 cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that...
Original commit message from CVS:
cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that ourselves, that's a good thing.
2003-09-29 14:32:22 +00:00
Benjamin Otte
5d1e64e379 make the registry read the plugin feature's rank - this should even make the autoplugger work again. Did I mention I'...
Original commit message from CVS:
make the registry read the plugin feature's rank - this should even make the autoplugger work again. Did I mention I'm annoyed because someone didn't test his rank-removing patch? Once opening gst-player or rhythmbox with it would have shown that it doesn't work anymore...
2003-09-27 18:51:16 +00:00
Iain Holmes
ebaed96716 When scheduling a group, check that its not the group thats currently in the top of the runqueue.
Original commit message from CVS:
When scheduling a group, check that its not the group thats currently in the
top of the runqueue.

Then, when scheduling a different group, disable the first group and search for the next enabled group to run. Stops deadlocking in loop based elements.

Also remove the g_list_length's from the debugging statements for a bit of speed
2003-09-27 14:13:41 +00:00
David Schleef
b2334b319c Fix assumption that size_t is int
Original commit message from CVS:
Fix assumption that size_t is int
2003-09-24 19:27:02 +00:00
David Schleef
5db318b09a Fix powerpc asm. Fixes #122952
Original commit message from CVS:

Fix powerpc asm.  Fixes #122952
2003-09-22 21:47:57 +00:00
David Schleef
6e1a58e9bd Fix powerpc stuff for non-gas assemblers
Original commit message from CVS:
Fix powerpc stuff for non-gas assemblers
2003-09-22 19:15:27 +00:00
David Schleef
90abdd2f23 change a debug message to a g_warning().
Original commit message from CVS:
change a debug message to a g_warning().
2003-09-18 22:37:09 +00:00
Thomas Vander Stichele
c4c3c998df reverting error patches before making a branch.
Original commit message from CVS:
reverting error patches before making a branch.
2003-09-16 09:57:31 +00:00
Jan Schmidt
331ee18596 Fix compiler breakage.
Original commit message from CVS:
Fix compiler breakage.
2003-09-15 10:55:03 +00:00
Benjamin Otte
ac695261b3 update docs to new error signal
Original commit message from CVS:
update docs to new error signal
2003-09-15 01:42:04 +00:00
Benjamin Otte
9afd27f29b update default error callback to new error signal
Original commit message from CVS:
update default error callback to new error signal
2003-09-15 01:36:53 +00:00
Benjamin Otte
be1eaa4de3 implement translatable error messages using gerror.
Original commit message from CVS:
implement translatable error messages using gerror.

Includes bugfixes for:
- crash when unlinking Ghostpads
- make *_PAD_* macros use glib casts
- make spider typefinding merge buffers correctly
2003-09-14 19:49:32 +00:00
David Schleef
ce8fe777e6 Add navigation event
Original commit message from CVS:
Add navigation event
2003-09-14 11:09:28 +00:00
David Schleef
b3e15a8f71 add check for setting pad_get and pad_chain functions on wrong type pads.
Original commit message from CVS:
add check for setting pad_get and pad_chain functions on wrong type pads.
2003-09-14 11:04:11 +00:00
David Schleef
a2961db715 fix handling of _ in properties
Original commit message from CVS:
fix handling of _ in properties
2003-09-13 18:32:16 +00:00
Ronald S. Bultje
eb01d6187a Make interface hack work with multiple interfaces per element
Original commit message from CVS:
Make interface hack work with multiple interfaces per element
2003-09-13 15:47:33 +00:00
Ronald S. Bultje
5d76a2e9b3 Implement generic interface stuff, with per-instance support checking instead of per-class checking
Original commit message from CVS:
Implement generic interface stuff, with per-instance support checking instead of per-class checking
2003-09-13 01:10:12 +00:00
Ronald S. Bultje
5a26d2f709 Implement seekability-only-if-available
Original commit message from CVS:
Implement seekability-only-if-available
2003-09-13 01:06:53 +00:00
Thomas Vander Stichele
2b881623ff ignore these test code
Original commit message from CVS:
ignore these
test code
2003-09-11 12:19:22 +00:00
Thomas Vander Stichele
2e1e7054f2 ignore
Original commit message from CVS:
ignore
2003-09-11 12:13:56 +00:00
David Schleef
b79680d0b2 Dist files generated by bison and flex.
Original commit message from CVS:
Dist files generated by bison and flex.
2003-08-30 02:42:55 +00:00
Angel Carpintero
7e6ea67d56 fix the error that break the built
Original commit message from CVS:
fix the error that break the built
2003-08-27 10:19:08 +00:00
Thomas Vander Stichele
4aeb784a6f fixes event function setting on unconnected pads
Original commit message from CVS:
fixes event function setting on unconnected pads
2003-08-26 10:50:35 +00:00
David Schleef
c4d186ec85 Er, plugins actually use gst_element_factory_set_rank(). Add a define to call gst_plugin_feature_set_rank().
Original commit message from CVS:
Er, plugins actually use gst_element_factory_set_rank().  Add a
define to call gst_plugin_feature_set_rank().
2003-08-19 07:31:24 +00:00
David Schleef
7cd75b0ae0 convert pad templates to GST_CAPS_ANY
Original commit message from CVS:
convert pad templates to GST_CAPS_ANY
2003-08-19 04:18:19 +00:00
David Schleef
dd7878f38c Add code to poison objects being destroyed
Original commit message from CVS:
Add code to poison objects being destroyed
2003-08-19 04:10:29 +00:00
David Schleef
a937894b48 Add GST_CAPS_NONE and GST_CAPS_ANY
Original commit message from CVS:
Add GST_CAPS_NONE and GST_CAPS_ANY
2003-08-19 04:08:29 +00:00
Ronald S. Bultje
9d570688de Remove duplicate rank field (fixes #119510)
Original commit message from CVS:
Remove duplicate rank field (fixes #119510)
2003-08-18 21:14:16 +00:00
David Schleef
4a3c752bca initialize gettext stuff, plus a few string i18ns
Original commit message from CVS:
initialize gettext stuff, plus a few string i18ns
2003-08-17 22:04:55 +00:00
Benjamin Otte
a4ccb27cfd use _delete_link again
Original commit message from CVS:
use _delete_link again
2003-08-17 20:18:58 +00:00
Benjamin Otte
4f1525c8bd fix gst_debug_remove_with_compare_func and make testsuite/debug run again
Original commit message from CVS:
fix gst_debug_remove_with_compare_func and make testsuite/debug run again
2003-08-17 16:45:09 +00:00
Joshua N. Pritikin
46eb739952 Add my name to the copywrite (since I wrote most of this file).
Original commit message from CVS:
Add my name to the copywrite (since I wrote most of this file).
Don't fail if get_writer_id is called more than once for the same writer.
Rename debug category according to accepted norms.
2003-08-15 13:39:14 +00:00
Thomas Vander Stichele
f7c80738f7 build fix
Original commit message from CVS:
build fix
2003-08-13 11:07:26 +00:00
David Schleef
370c665fbd Add m68k support (from Debian bug report #172269)
Original commit message from CVS:
Add m68k support (from Debian bug report #172269)
2003-08-07 23:28:53 +00:00
Andy Wingo
5c2d6b2f43 cache return values of _gst_debug_nameof_funcptr
Original commit message from CVS:
kill some memleaks, add ::signal-handoffs property to fakesrc/sink (default FALSE), cache return values of _gst_debug_nameof_funcptr
2003-08-07 12:45:31 +00:00
David Schleef
093f00d2df Make dladdr() code dependent on HAVE_DLADDR
Original commit message from CVS:
Make dladdr() code dependent on HAVE_DLADDR
2003-08-06 03:00:21 +00:00
Thomas Vander Stichele
cee7aab405 cia check
Original commit message from CVS:
cia check
2003-08-05 10:38:54 +00:00
Ronald S. Bultje
e2a9a87c64 Implement simple seek API. This can later be extended to work with GstPipeline as arguments and so on *autodetect pro...
Original commit message from CVS:
Implement simple seek API. This can later be extended to work with GstPipeline as arguments and so on *autodetect proper element to send event to and so on), but this'll do as a start... See #116149
2003-08-04 21:48:06 +00:00
Benjamin Otte
f7c37a4384 optimized debugging.
Original commit message from CVS:
optimized debugging.
good: - we're a lot faster than before (no more locking in debug printing)
bad : - we leak memory now when adding/removing debug handlers (which equals never for every current gstreamer app)
- gst_debug_set_active isn't threadsafe anymore
2003-08-03 17:18:40 +00:00
David Schleef
3a8c2c74cf Remove check for readability of a registry, since if it doesn't exist, it's not readable. Lower-level functions alre...
Original commit message from CVS:
Remove check for readability of a registry, since if it doesn't
exist, it's not readable.  Lower-level functions already handle
this.
2003-08-02 01:53:08 +00:00
David Schleef
4f207a7a8b Add pad->unlinkfunc and gst_pad_set_unlink_function()
Original commit message from CVS:
Add pad->unlinkfunc and gst_pad_set_unlink_function()
2003-08-02 01:52:14 +00:00
Ronald S. Bultje
98670720c1 Support gcc-2.9x, too
Original commit message from CVS:
Support gcc-2.9x, too
2003-08-01 16:17:46 +00:00
David Schleef
b5c340df0d Add using_mmap field to GstFileSrc
Original commit message from CVS:
Add using_mmap field to GstFileSrc
2003-07-30 01:41:23 +00:00
David Schleef
8f36390eda Implement read() as a fallback method if mmap() fails. Fixes #117786
Original commit message from CVS:
Implement read() as a fallback method if mmap() fails.  Fixes #117786
2003-07-30 00:44:58 +00:00
David Schleef
0e48102252 Fix typo in last commit
Original commit message from CVS:
Fix typo in last commit
2003-07-29 22:34:43 +00:00
David Schleef
e3ce6294e6 1. Learn sparc asm 2. Realize the level of bogosity of the existing asm 3. Fix it 4. Profit!
Original commit message from CVS:
1. Learn sparc asm
2. Realize the level of bogosity of the existing asm
3. Fix it
4. Profit!
2003-07-29 22:24:39 +00:00
Ronald S. Bultje
3770896368 Implement gst_caps_has_property*() as functions instead of macro's - this prevents failed assertions when calling the...
Original commit message from CVS:
Implement gst_caps_has_property*() as functions instead of macro's - this prevents failed assertions when calling them in some specific cases. See #115886
2003-07-29 12:00:38 +00:00
Benjamin Otte
333aa50f50 clean up debugging messages in gstthread.c - includes fix for segfault from bug #118151
Original commit message from CVS:
clean up debugging messages in gstthread.c - includes fix for segfault from bug #118151
2003-07-27 13:26:38 +00:00
David Schleef
590d364baa Removed building of ext/cothreads and corresponding scheduler. If you want to reenable it, please fix it first. (Se...
Original commit message from CVS:
Removed building of ext/cothreads and corresponding scheduler.  If
you want to reenable it, please fix it first.  (See bug #87163)
2003-07-27 05:10:42 +00:00
Brian Cameron
e5b66a8990 Fixed Forte compile issue.
Original commit message from CVS:
Fixed Forte compile issue.
2003-07-25 17:02:35 +00:00
David Schleef
13c11bbedf Change strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
Original commit message from CVS:
Change strtod() -> g_ascii_strtod(), since strtod() is locale
dependent.
2003-07-25 07:57:11 +00:00
David Schleef
393bd81d25 Changed strtod() -> g_ascii_strtod(), since strtod() is locale dependent.
Original commit message from CVS:
Changed strtod() -> g_ascii_strtod(), since strtod() is locale
dependent.
2003-07-25 07:55:59 +00:00
Joshua N. Pritikin
9c65247b62 1. Change many comments from // to /**/.
Original commit message from CVS:
1. Change many comments from // to /**/.
2. Change over to the new debugging macros.
2003-07-25 03:13:24 +00:00
Joshua N. Pritikin
dfbb31c49f Assign IDs starting from 1 instead of from 0.
Original commit message from CVS:
Assign IDs starting from 1 instead of from 0.
2003-07-25 03:11:59 +00:00
Joshua N. Pritikin
a589a794c8 Add a GST_SEEK catagory for diagnostics about handling seek events.
Original commit message from CVS:
Add a GST_SEEK catagory for diagnostics about handling seek events.
2003-07-25 01:59:49 +00:00
Anonymous Ignore This
f77860a4e2 Prevent the registry from enter an infinite loop. Somehow the type find code is getting messed up, but that should c...
Original commit message from CVS:
Prevent the registry from enter an infinite loop.  Somehow the
type find code is getting messed up, but that should cause
gstreamer to become unusable.
2003-07-25 01:53:34 +00:00
David Schleef
a331a7a82e But you can't use G_TYPE_BOXED in a signal. Changing to G_TYPE_POINTER until code is added to register a type for Gs...
Original commit message from CVS:
But you can't use G_TYPE_BOXED in a signal.  Changing to G_TYPE_POINTER
until code is added to register a type for GstCaps.
2003-07-24 08:59:05 +00:00
David Schleef
112c6867f3 Properly ref caps and pad template in FACTORY macros
Original commit message from CVS:
Properly ref caps and pad template in FACTORY macros
2003-07-24 07:03:56 +00:00
Joshua N. Pritikin
876398c493 fix type in documentation
Original commit message from CVS:
fix type in documentation
2003-07-24 02:14:47 +00:00
Ronald S. Bultje
f1015883d0 Add support for not incrementing bytecounter while we're not at the end of the stream
Original commit message from CVS:
Add support for not incrementing bytecounter while we're not at the end of the stream
2003-07-22 21:33:02 +00:00
Joshua N. Pritikin
71921dd910 Use a helper function to swap prop entries such they are properly ordered by flexibility. This is important now that...
Original commit message from CVS:
Use a helper function to swap prop entries such they are properly ordered
by flexibility.  This is important now that framerate is specified as a
list of floats AND as a float range.
2003-07-22 08:07:43 +00:00
David Schleef
091e1c3a75 Add glib.h for G_BEGIN_DECLS
Original commit message from CVS:
Add glib.h for G_BEGIN_DECLS
2003-07-18 21:35:40 +00:00
David Schleef
6467bbcfed Add G_BEGIN_DECLS/G_END_DECLS to exported headers
Original commit message from CVS:
Add G_BEGIN_DECLS/G_END_DECLS to exported headers
2003-07-18 20:51:02 +00:00
Benjamin Otte
8461453b10 add valist function for gst_event_new_discontinuous original patch from Brett Kosinski fixes #117348
Original commit message from CVS:
add valist function for gst_event_new_discontinuous
original patch from Brett Kosinski
fixes #117348
2003-07-16 19:25:11 +00:00
Andy Wingo
73f2d45295 some formatting and doc fixes, and make gstdebug output line up
Original commit message from CVS:
some formatting and doc fixes, and make gstdebug output line up
2003-07-16 15:49:40 +00:00
Andy Wingo
ff57e00592 run pre_run_func and post_run_func when working without a cothread -- fixes threadsafe element props
Original commit message from CVS:
run pre_run_func and post_run_func when working without a cothread -- fixes threadsafe element props
2003-07-16 15:39:46 +00:00
David Schleef
ee5586e873 Reference the caps used as filtercaps
Original commit message from CVS:
Reference the caps used as filtercaps
2003-07-14 08:23:28 +00:00
David Schleef
8198263d02 Check added in last checkin was tripping on the ends of the varargs array
Original commit message from CVS:
Check added in last checkin was tripping on the ends of the varargs array
2003-07-13 21:04:25 +00:00
David Schleef
902c0c29eb Print float props using %g. Warn about corrupt props and setting invalid props types.
Original commit message from CVS:
Print float props using %g.  Warn about corrupt props and setting
invalid props types.
2003-07-13 20:34:53 +00:00
David Schleef
88282d4f05 add warning if getcaps function returns an unreferenced caps
Original commit message from CVS:
add warning if getcaps function returns an unreferenced caps
2003-07-13 19:15:30 +00:00
Ronald S. Bultje
d1301cbba8 Add G_BEGIN/END_DECLS macros around all the stuff to make c++ plugins compile against this properly, too
Original commit message from CVS:
Add G_BEGIN/END_DECLS macros around all the stuff to make c++ plugins compile against this properly, too
2003-07-12 15:15:57 +00:00
Wim Taymans
37717df482 Added some comments and use _PAD_IS_USABLE instead of _IS_ACTIVE
Original commit message from CVS:
Added some comments and use _PAD_IS_USABLE instead of _IS_ACTIVE
2003-07-10 20:40:02 +00:00
Benjamin Otte
9b48b95257 fix issue with null pointer cast use brackets around macro arguments
Original commit message from CVS:
fix issue with null pointer cast
use brackets around macro arguments
2003-07-10 11:13:34 +00:00
Benjamin Otte
e258e44e83 include license in registry
Original commit message from CVS:
include license in registry
2003-07-09 01:56:08 +00:00
Benjamin Otte
329e7d6917 fix endianness issue in xml comments for 4CCs
Original commit message from CVS:
fix endianness issue in xml comments for 4CCs
2003-07-09 01:51:02 +00:00
Benjamin Otte
f10cd44abb clean up element details structs
Original commit message from CVS:
clean up element details structs
2003-07-08 17:10:49 +00:00
Benjamin Otte
76ea441abf make sure we have sane element details - this breaks some plugins, fix them :)
Original commit message from CVS:
make sure we have sane element details - this breaks some plugins, fix them :)
2003-07-08 16:17:33 +00:00
Benjamin Otte
f88ed0bae1 fix bogus warning
Original commit message from CVS:
fix bogus warning
2003-07-08 13:18:30 +00:00
Benjamin Otte
4ef9f4abc2 rewrite vararg prop entry using functions to cope with GST_PROPS_TYPE_LIST - fixes loads of segfaults in caps rewrite
Original commit message from CVS:
rewrite vararg prop entry using functions to cope with GST_PROPS_TYPE_LIST - fixes loads of segfaults in caps rewrite
2003-07-08 03:23:56 +00:00
Benjamin Otte
433bea4d7d debugging cleanup
Original commit message from CVS:
debugging cleanup
2003-07-05 15:05:23 +00:00
Benjamin Otte
568de85efc fix threading on non-optimized atomic architectures. This unfortunately requires initializing threading in init_pre b...
Original commit message from CVS:
fix threading on non-optimized atomic architectures. This unfortunately requires initializing threading in init_pre because the debugging subsystem needs this. Therefore the --gst-nothreads command line option does not work anymore. So I erased it. You can however still call gst_use_threads (FALSE); before calling gst_init
2003-07-03 18:34:36 +00:00
Benjamin Otte
1211e26e59 docs fixes: comment macros in templates, not in headers (stupid gtk-doc)
Original commit message from CVS:
docs fixes: comment macros in templates, not in headers (stupid gtk-doc)
2003-06-29 14:57:19 +00:00
Benjamin Otte
803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
Ronald S. Bultje
1899fd27ba I'm too lazy to comment this
Original commit message from CVS:
Add _valist style autoplug functions (#90471), thanks to Brett Kosinski <brettk@frodo.dyn.gno.org>
2003-06-18 11:11:16 +00:00
David Schleef
e10992295e NULL is a valid props
Original commit message from CVS:
NULL is a valid props
2003-06-16 17:43:42 +00:00
Andy Wingo
4d278e135a set GstElement->elementfactory before creating any instances; doc updates for deep_notify
Original commit message from CVS:
set GstElement->elementfactory before creating any instances; doc updates for deep_notify
2003-06-16 15:08:34 +00:00
David Schleef
ced6786dd9 Fix gst_props_get_entry(): props==NULL is a valid props.
Original commit message from CVS:
Fix gst_props_get_entry(): props==NULL is a valid props.
2003-06-15 06:09:00 +00:00
Benjamin Otte
e1968f80ac fix HAVE_* macros for ppc
Original commit message from CVS:
fix HAVE_* macros for ppc
2003-06-14 18:00:13 +00:00
Wim Taymans
024c51c559 - further productizing the fixed flag on GstCaps by using the flag on
Original commit message from CVS:
- further productizing the fixed flag on GstCaps by using the flag on
GstProps instead of keeping the two in sync.
- implemented proper flag updates in _props_set and _props_remove.
2003-06-13 21:26:33 +00:00
David Schleef
8fb91bef0b Add gst_pad_template_newv() as a va_list alternative to gst_pad_template_new()
Original commit message from CVS:
Add gst_pad_template_newv() as a va_list alternative to
gst_pad_template_new()
2003-06-10 18:23:51 +00:00
Wim Taymans
7afb834917 removed namespace code again, it was not needed :)
Original commit message from CVS:
removed namespace code again, it was not needed :)
2003-06-09 13:14:35 +00:00
Thomas Vander Stichele
a2d4f04d97 fix object loaded signal
Original commit message from CVS:
fix object loaded signal
2003-06-09 12:40:42 +00:00
Wim Taymans
f6de672b86 added new method and type to add namespaces to xml files. No actual code is implemented yet.
Original commit message from CVS:
added new method and type to add namespaces to xml files. No actual
code is implemented yet.
2003-06-09 12:28:06 +00:00
Thomas Vander Stichele
31d75cf682 don't recursively call gst_bin_set_state on failure don't do unnecessary state changes
Original commit message from CVS:
don't recursively call gst_bin_set_state on failure
don't do unnecessary state changes
2003-06-07 22:39:11 +00:00
Thomas Vander Stichele
c349a582b4 fix color for NULL from bright white to blue
Original commit message from CVS:
fix color for NULL from bright white to blue
2003-06-07 16:24:25 +00:00
Wim Taymans
61a4a6389f try to fix #114252
Original commit message from CVS:
try to fix #114252
2003-06-07 11:36:42 +00:00
Ronald S. Bultje
e3cfc0c701 Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
Original commit message from CVS:
Actually, size should be a guint (because GST_BUFFER_SIZE(buffer) is a guint too)
2003-06-07 09:37:16 +00:00
Ronald S. Bultje
63bc38c519 Make filesink fail with some grace, see #114614
Original commit message from CVS:
Make filesink fail with some grace, see #114614
2003-06-07 09:35:37 +00:00
Ronald S. Bultje
1c17e4700b Get rid of NEW_MEDIA event, EOS is supposed to handle that
Original commit message from CVS:
Get rid of NEW_MEDIA event, EOS is supposed to handle that
2003-06-07 00:15:18 +00:00
Ronald S. Bultje
fdba81e0fa Some adjustments to allow for setting a new filename after EOS, useful for writing multiple files
Original commit message from CVS:
Some adjustments to allow for setting a new filename after EOS, useful for writing multiple files
2003-06-06 23:48:04 +00:00
Thomas Vander Stichele
04471c9cdd fix format test
Original commit message from CVS:
fix format test
2003-06-05 22:01:13 +00:00
Thomas Vander Stichele
96a354d4a7 make functions static taaz patch
Original commit message from CVS:
make functions static
taaz patch
2003-06-05 21:33:03 +00:00
Wim Taymans
e5dc4ede3a - marked piece of wrong code in the state change function with a FIXME
Original commit message from CVS:
- marked piece of wrong code in the state change function with a FIXME
2003-06-03 21:53:15 +00:00
Wim Taymans
0b1607785b - added GST_ELEMENT_ERROR flag to mark elements in error and to trap and avoid recursive error loops.
Original commit message from CVS:
- added GST_ELEMENT_ERROR flag to mark elements in error and to trap and
avoid recursive error loops.
- moved state change signal back to original place as it causes lockups.
2003-06-03 21:18:39 +00:00
Wim Taymans
a913f1fbc0 - added a property to force a failure for a given state transition.
Original commit message from CVS:
- added a property to force a failure for a given state transition.
2003-06-03 20:22:52 +00:00
Ronald S. Bultje
2ddc5c4974 I don't know how I ever got to introducing this madness, but I was wrong. *REALLY* wrong. It hasn't even worked, it s...
Original commit message from CVS:
I don't know how I ever got to introducing this madness, but I was wrong. *REALLY* wrong. It hasn't even worked, it still doesn't work and it will never work because the whole concept of doing a multifile output in filesink is completely braindead. Signal EOS, close file, set new filename and reset to PLAYING is so much easier. This patch removes all the multifile output cruft that I introduced and makes filesink simply work.
2003-06-01 12:27:39 +00:00
Colin Walters
e5872bf925 Add new --enable-fast-stack-trash option, defaults to on.
Original commit message from CVS:
Add new --enable-fast-stack-trash option, defaults to on.

We need this because valgrind doesn't implement an insn used
by it.
2003-05-31 09:51:28 +00:00
Colin Walters
28fbd2e87b Add --gst-disable-cpu-opt argument.
Original commit message from CVS:
Add --gst-disable-cpu-opt argument.
2003-05-31 02:04:59 +00:00
Ronald S. Bultje
ed086d5f79 see #108268 - kudos go to janzen@pixelmetrix.com
Original commit message from CVS:
Add patch for better buffering (especially useful for network streaming), see #108268 - kudos go to janzen@pixelmetrix.com
2003-05-30 23:20:02 +00:00
Wim Taymans
a7b3634ddd - the result from the getcaps function should be sunken (gst_caps_sink) instead of unreffed. Not sure that's the righ...
Original commit message from CVS:
- the result from the getcaps function should be sunken (gst_caps_sink)
instead of unreffed. Not sure that's the right thing to do...
2003-05-30 13:36:04 +00:00
David Schleef
808c52f535 gst_caps_to_string: print NULL caps correctly
Original commit message from CVS:
gst_caps_to_string: print NULL caps correctly
2003-05-30 03:02:38 +00:00
Thomas Vander Stichele
e05cab4b4c help us debug caps ref issues
Original commit message from CVS:
help us debug caps ref issues
2003-05-29 17:24:03 +00:00
Ronald S. Bultje
e46a8e3add GstCaps is not a GObject but a boxed-type
Original commit message from CVS:
GstCaps is not a GObject but a boxed-type
2003-05-29 09:31:51 +00:00
Ronald S. Bultje
12d80b1964 Fix type definition bug plus missing argument for callback
Original commit message from CVS:
Fix type definition bug plus missing argument for callback
2003-05-26 06:15:27 +00:00
Wim Taymans
a4df733d52 only update the DURATION field when appending buffers and both buffers have a valid duration.
Original commit message from CVS:
only update the DURATION field when appending buffers and both buffers
have a valid duration.
2003-05-24 11:04:57 +00:00
Wim Taymans
a4f13fb2be - moved functionality of GST_FORMAT_UNITS to GST_FORMAT_DEFAULT, the old _DEFAULT functionality was ambigous; now the...
Original commit message from CVS:
- moved functionality of GST_FORMAT_UNITS to GST_FORMAT_DEFAULT, the old
_DEFAULT functionality was ambigous; now the _DEFAULT format is media
specific (frames for video, samples for audio, ...)
2003-05-24 10:30:37 +00:00
Wim Taymans
6ab1630c40 - First attempt at implementing #113180, this one also removes automatic (byte) offset calculations in the subbuffer ...
Original commit message from CVS:
- First attempt at implementing #113180, this one also removes
automatic (byte) offset calculations in the subbuffer code and moves
that logic to bytestream and filesrc. It will also update the offset
and duration fields in some special cases.
2003-05-24 10:09:39 +00:00
David Schleef
c4e27d225a Fix aliasing problems noticed by gcc-3.3. Suggests that we need to change gst_pad_{push|pull}() to GstData *. (and ...
Original commit message from CVS:
Fix aliasing problems noticed by gcc-3.3.  Suggests that we need to
change gst_pad_{push|pull}() to GstData *.  (and probably others)
2003-05-22 00:05:57 +00:00
David Schleef
484c536ba9 Remove (incorrect) cast on gst_buffer_is_writable()
Original commit message from CVS:
Remove (incorrect) cast on gst_buffer_is_writable()
2003-05-20 22:05:28 +00:00
David Schleef
23823201b3 Fix _second_ sparc asm. Who would have guessed there would be two?
Original commit message from CVS:
Fix _second_ sparc asm.  Who would have guessed there would be two?
2003-05-19 21:45:37 +00:00
David Schleef
e0859eb74a Fix sparc asm code for gcc prior to 3.2
Original commit message from CVS:
Fix sparc asm code for gcc prior to 3.2
2003-05-19 21:04:53 +00:00
Ronald S. Bultje
4f5c06b34a Weird C code fix
Original commit message from CVS:
Weird C code fix
2003-05-19 18:01:42 +00:00
David Schleef
906329ab04 Fix caps negotiation problems.
Original commit message from CVS:
Fix caps negotiation problems.
2003-05-19 02:36:01 +00:00
David Schleef
214c557a6d Change GST_DEBUG_FUNCPTR() to return a pointer of the same type that it is called with. Fix lots of warnings due to ...
Original commit message from CVS:
Change GST_DEBUG_FUNCPTR() to return a pointer of the same type that it
is called with.  Fix lots of warnings due to change.
2003-05-18 23:34:12 +00:00
Thomas Vander Stichele
6cf83f6d8b applying http://bugzilla.gnome.org/show_bug.cgi?id=110707 patch, should fix testsuite issues
Original commit message from CVS:
applying
http://bugzilla.gnome.org/show_bug.cgi?id=110707
patch, should fix testsuite issues
2003-05-18 22:59:51 +00:00
David Schleef
6b42d9aca7 Change uint to guint
Original commit message from CVS:
Change uint to guint
2003-05-18 22:45:27 +00:00
David Schleef
d2e2686411 Fix aliasing warning from gcc-3.3
Original commit message from CVS:
Fix aliasing warning from gcc-3.3
2003-05-18 22:44:11 +00:00
David Schleef
ac8e84fb8e change from sscanf to strtol
Original commit message from CVS:
change from sscanf to strtol
2003-05-18 22:41:25 +00:00
Thomas Vander Stichele
5b97f4ce2b oops
Original commit message from CVS:
oops
2003-05-18 16:28:15 +00:00
Thomas Vander Stichele
bdea7633cd a bunch of gtk-doc fixes
Original commit message from CVS:
a bunch of gtk-doc fixes
2003-05-18 15:03:34 +00:00
Benjamin Otte
c51366dc49 fix wrong caps refcount handling of filtered caps in cornercases.
Original commit message from CVS:
fix wrong caps refcount handling of filtered caps in cornercases.
2003-05-18 03:22:04 +00:00
Benjamin Otte
42f3a63586 remove _destroy functions from public headers and make them static.
Original commit message from CVS:
remove _destroy functions from public headers and make them static.
2003-05-18 02:42:19 +00:00
Benjamin Otte
012cb2cb6f make the parser accept chained caps, too
Original commit message from CVS:
make the parser accept chained caps, too
2003-05-18 02:30:00 +00:00
Thomas Vander Stichele
439b5101ba clock debug addition
Original commit message from CVS:
clock debug addition
2003-05-17 23:08:40 +00:00
Benjamin Otte
a960c7a7a3 This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip o...
Original commit message from CVS:
This is filtered caps in 20 lines. Implemented full featured parsing of pipelines with filtered caps. To get a grip of the syntax you might want to look at testsuite/caps/string-conversions.c or run that test
2003-05-17 20:45:06 +00:00
Benjamin Otte
4471a7e84d only set state to playing when elements are linked - don't pause in SOMETIMES callback
Original commit message from CVS:
only set state to playing when elements are linked - don't pause in SOMETIMES callback
2003-05-17 17:08:58 +00:00
Benjamin Otte
63c6869123 fix wrong debug message to print the right thing
Original commit message from CVS:
fix wrong debug message to print the right thing
2003-05-17 15:55:23 +00:00
Ronald S. Bultje
9c4c70d69e Add unistd.h (#110671)
Original commit message from CVS:
Add unistd.h (#110671)
2003-05-17 13:10:00 +00:00
Benjamin Otte
f13198c52b added gst_{props,caps}_{from,to}_string to API, see documentation for use, put errors into testsuite/caps/string-conv...
Original commit message from CVS:
added gst_{props,caps}_{from,to}_string to API, see documentation for use, put errors into testsuite/caps/string-conversions.c
2003-05-17 00:47:01 +00:00
Benjamin Otte
75ec036895 ref pool before creating buffer that's using it
Original commit message from CVS:
ref pool before creating buffer that's using it
2003-05-17 00:42:57 +00:00
Ronald S. Bultje
8777f9a763 make -> shell variable
Original commit message from CVS:
make -> shell variable
2003-05-16 06:33:36 +00:00
Thomas Vander Stichele
2565248558 gtk-doc fixes clock debug
Original commit message from CVS:
gtk-doc fixes
clock debug
2003-05-15 22:46:37 +00:00
Benjamin Otte
22c2af5de1 Fix macro GST_FOURCC_ARGS - it assumed big endian ints
Original commit message from CVS:
Fix macro GST_FOURCC_ARGS - it assumed big endian ints
2003-05-13 23:15:46 +00:00
David Schleef
dda34273e0 Added GST_CAT_APPLICATION. Fixes #111009
Original commit message from CVS:
Added GST_CAT_APPLICATION.  Fixes #111009
2003-05-13 06:48:49 +00:00
David Schleef
376ec32dce Fix bug in PRINT() macro
Original commit message from CVS:
Fix bug in PRINT() macro
2003-05-13 05:47:04 +00:00
James A Morrison
34e5211a15 fix sparc atomic functions.
Original commit message from CVS:
Patch from James A Morrison <ja2morri@student.math.uwaterloo.ca> to
fix sparc atomic functions.
2003-05-12 23:20:55 +00:00
Wim Taymans
f4845c186c Make sure the FIXED flag is computed correctly when normalizing a GstProps.
Original commit message from CVS:
Make sure the FIXED flag is computed correctly when normalizing a GstProps.
2003-05-10 18:09:48 +00:00
Benjamin Otte
e8bc3500f3 SysClocks need their own mutex/cond pair, as we have multiple (via subclasses). Use a static mutex for setting THE sy...
Original commit message from CVS:
SysClocks need their own mutex/cond pair, as we have multiple (via subclasses). Use a static mutex for setting THE system clock
2003-05-10 14:38:48 +00:00
Benjamin Otte
b74e6f24f2 enable allocation tracing for GstObjects and make allocation tracing a configure switch (enable by default for now)
Original commit message from CVS:
enable allocation tracing for GstObjects and make allocation tracing a configure switch (enable by default for now)
2003-05-10 12:42:02 +00:00
Wim Taymans
b41c935ff7 Use GstMemChunk to allocate events
Original commit message from CVS:
Use GstMemChunk to allocate events
2003-05-10 12:15:58 +00:00
Benjamin Otte
76b9ffbdbc bugfixes:
Original commit message from CVS:
bugfixes:
- allow disposal of subclasses of GstSystemClock
- only create one system clock
2003-05-10 11:11:29 +00:00
Wim Taymans
4a64884918 Fix 112596, gst_caps_is_always_compatible() broken
Original commit message from CVS:
Fix 112596, gst_caps_is_always_compatible() broken
2003-05-08 19:57:06 +00:00
Benjamin Otte
6c44f865e8 some minor improvements:
Original commit message from CVS:
some minor improvements:
- better debugging output
- don't set state to paused when plugging anymore
- bugfix: set typefind caps on srcpad, not sinkpad
- remove unnecessary check for right caps
2003-05-06 23:47:07 +00:00
Benjamin Otte
316124eb40 state need not be playing with new schedulers when adding/removing elements
Original commit message from CVS:
state need not be playing with new schedulers when adding/removing elements
2003-05-06 23:42:23 +00:00
Benjamin Otte
fe3861c2d3 do error checking for int/float values and don't accept trailing characters, but do accept overflows
Original commit message from CVS:
do error checking for int/float values and don't accept trailing characters, but do accept overflows
2003-05-06 22:58:04 +00:00
Wim Taymans
69787c811a Documentation updates
Original commit message from CVS:
Documentation updates
2003-05-06 22:10:29 +00:00
Benjamin Otte
05adc8c15c implement proper refcounting of pad's templates and references from real pads to their ghost pads and the other way a...
Original commit message from CVS:
implement proper refcounting of pad's templates and references from real pads to their ghost pads and the other way around - this fixes the segfaults in the player
2003-05-06 21:58:49 +00:00
Wim Taymans
1bdcd2e7b6 err... reset to desired version after doing a benchmark :)
Original commit message from CVS:
err... reset to desired version after doing a benchmark :)
2003-05-06 21:04:46 +00:00
Wim Taymans
1dc969236f - Explicitly set buffer fields to default values instead of using memset, this seems to speed up buffer allocation by...
Original commit message from CVS:
- Explicitly set buffer fields to default values instead of using memset,
this seems to speed up buffer allocation by at least 30%
2003-05-06 21:03:34 +00:00
Benjamin Otte
50351bc28d remove unnecessary check for registries - registry gets rebuilt automagically anyway
Original commit message from CVS:
remove unnecessary check for registries - registry gets rebuilt automagically anyway
2003-05-02 21:13:19 +00:00
Benjamin Otte
33ef3f7d4d make gst-launch --gst-mask=-1 fakesrc ! fakesink work on Solaris
Original commit message from CVS:
make gst-launch --gst-mask=-1 fakesrc ! fakesink work on Solaris
2003-05-02 20:07:45 +00:00
Benjamin Otte
cbe36c876b fix gcc 2.x compiler error, when variables aren't defined at the top.
Original commit message from CVS:
fix gcc 2.x compiler error, when variables aren't defined at the top.
2003-05-01 20:57:40 +00:00
Benjamin Otte
8bf9277aa3 unreachable code
Original commit message from CVS:
unreachable code
2003-05-01 20:16:14 +00:00
Benjamin Otte
ca0fb4bea5 fix for forte
Original commit message from CVS:
fix for forte
2003-05-01 16:54:09 +00:00
Benjamin Otte
c57955fc68 added GST_STR_NULL to check for NULL strings. Fixed a case where a char* given to printf was NULL to use that macro.
Original commit message from CVS:
added GST_STR_NULL to check for NULL strings. Fixed a case where a char* given to printf was NULL to use that macro.
2003-05-01 16:36:27 +00:00
Benjamin Otte
fe9a0a6d05 silence forte warnings
Original commit message from CVS:
silence forte warnings
2003-05-01 15:16:17 +00:00
David Schleef
38b667a0aa Disable MIPS, 'cuz it's broken.
Original commit message from CVS:
Disable MIPS, 'cuz it's broken.
2003-05-01 01:11:52 +00:00
Benjamin Otte
7524c49140 offsets may be negative (nobody ever seeked beackwards, hu?)
Original commit message from CVS:
offsets may be negative (nobody ever seeked beackwards, hu?)
2003-04-28 21:48:37 +00:00
Benjamin Otte
91d22b150d fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
Original commit message from CVS:
fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
2003-04-28 00:01:31 +00:00
Benjamin Otte
9837c9dbaa add extra error for empty pipeline
Original commit message from CVS:
add extra error for empty pipeline
2003-04-27 23:56:31 +00:00
Benjamin Otte
775fbca9a5 Make events use internal links, too
Original commit message from CVS:
Make events use internal links, too
2003-04-27 21:34:01 +00:00
Wim Taymans
a6766132e6 - remove some \n in GstThread debugging
Original commit message from CVS:
- remove some \n in GstThread debugging
- move the state change g_cond_signal to the set_state function to make
sure that we don't unlock the waiters before we completed the state
change.
2003-04-26 14:38:18 +00:00
Benjamin Otte
fa69e9954c fix debugging segfault
Original commit message from CVS:
fix debugging segfault
2003-04-26 13:55:13 +00:00
Benjamin Otte
a68e0b8324 fix and better comment gst_event_new_discontinuous. Nice memory leak there
Original commit message from CVS:
fix and better comment gst_event_new_discontinuous. Nice memory leak there
2003-04-26 01:54:01 +00:00
Benjamin Otte
8cebfd7528 I suck - it's the wrong variable and I don't get it for ages even while testing this code
Original commit message from CVS:
I suck - it's the wrong variable and I don't get it for ages even while testing this code
But while I was atit, I fixed it right this time (I hope)
2003-04-25 17:35:26 +00:00
Benjamin Otte
b04519c43d just to be sure...
Original commit message from CVS:
just to be sure...
2003-04-25 00:26:09 +00:00
Benjamin Otte
d02583b999 fix stupid segfault when setting integer properties
Original commit message from CVS:
fix stupid segfault when setting integer properties
2003-04-24 22:34:10 +00:00
Benjamin Otte
5d35141256 fix 2 warnings
Original commit message from CVS:
fix 2 warnings
2003-04-23 20:06:54 +00:00
Thomas Vander Stichele
582913dc84 make the user registry location major-minor versioned so it doesn't clash with older incompatible registries make gst...
Original commit message from CVS:
* make the user registry location major-minor versioned so it doesn't
clash with older incompatible registries
* make gst-register output the location of the registry it's writing
2003-04-23 19:59:38 +00:00
Benjamin Otte
313c399808 workaround for bison 1.35 bug
Original commit message from CVS:
workaround for bison 1.35 bug
2003-04-23 19:16:06 +00:00
Benjamin Otte
b7077cab18 make gst_thread_get_current() work with threaded cothreads
Original commit message from CVS:
make gst_thread_get_current() work with threaded cothreads
2003-04-21 18:37:13 +00:00
Benjamin Otte
fb14f53284 make that error message more useful, it kept confusing me
Original commit message from CVS:
make that error message more useful, it kept confusing me
2003-04-21 18:34:20 +00:00
Benjamin Otte
7f5dc1299b assorted fixes:
Original commit message from CVS:
assorted fixes:
- fix for #111146 (works now with lots of warnings (or maybe even without - the fun of races))
- more useful debugging output
- restructuring of when to release the lock
- emitting SHUTDOWN when holding lock so we're not destroyed while signalling
- probably something else I don't remember
2003-04-21 18:09:29 +00:00
Wim Taymans
22fa9810d6 GST_DEBUG/INFO doesn't need a \n at the end.
Original commit message from CVS:
GST_DEBUG/INFO doesn't need a \n at the end.
2003-04-19 11:52:07 +00:00
Wim Taymans
5af24ec4e5 - removed an assert, mmaping the stack of another thread seems to work fine.
Original commit message from CVS:
- removed an assert, mmaping the stack of another thread seems to work fine.
This makes the cothread based scheduler work again with the new GstThread.
2003-04-19 11:50:27 +00:00
Benjamin Otte
90dc6ded4d rewrite GstThread - should be quite a bit cleaner and does change state correctly now
Original commit message from CVS:
rewrite GstThread - should be quite a bit cleaner and does change state correctly now
2003-04-18 23:35:34 +00:00
Benjamin Otte
64a6a1d2bd - make child_state_change a virtual function
Original commit message from CVS:
- make child_state_change a virtual function
- remove unneeded != NULL checks
- implement gst_bin_sync_children_state
2003-04-18 23:34:21 +00:00
Benjamin Otte
78b4079072 make EOS really recursive and not just one layer deep
Original commit message from CVS:
make EOS really recursive and not just one layer deep
2003-04-18 23:31:18 +00:00
Wim Taymans
e1bfecf799 - Added a property to perform caps negotiation in the chain function instead of using proxied negotiation.
Original commit message from CVS:
- Added a property to perform caps negotiation in the chain function instead
of using proxied negotiation.
2003-04-17 22:31:32 +00:00
Wim Taymans
9811bb9aad Added a simple function gst_pad_recover_caps_error that a plugin should call from now on (instead of gst_element_erro...
Original commit message from CVS:
Added a simple function gst_pad_recover_caps_error that a plugin
should call from now on (instead of gst_element_error). This function
will emit a caps_nego_failed signal that the app can catch to resolve
the negotiation failure.
2003-04-17 22:29:31 +00:00
Wim Taymans
8365acd9b6 Transform variable properties too
Original commit message from CVS:
Transform variable properties too
2003-04-17 22:21:13 +00:00
Benjamin Otte
95b23e597d release lock before doing signal handling
Original commit message from CVS:
release lock before doing signal handling
2003-04-17 19:51:28 +00:00
Wim Taymans
fff499ea25 - don't be rude but give informative message about what went wrong.
Original commit message from CVS:
- don't be rude but give informative message about what went wrong.
2003-04-17 17:11:51 +00:00
Benjamin Otte
354e85056f another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
Original commit message from CVS:
another bugfix, i will never get used to using the retrun value of g_(s)list_prepend
2003-04-17 14:52:38 +00:00
Benjamin Otte
30267f6a64 It's absolute fun if you don't find this. If an element claims a successful state change but did not actually change ...
Original commit message from CVS:
It's absolute fun if you don't find this. If an element claims a successful state change but did not actually change its state it is broken and the program deserves to crash. And hard. Can you hear I'm annoyed?
2003-04-17 13:52:41 +00:00
Colin Walters
900066617c Remove dummy signals, add full signal.
Original commit message from CVS:
Remove dummy signals, add full signal.
2003-04-17 09:19:34 +00:00
Benjamin Otte
45521ec77a bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
Original commit message from CVS:
bugfixing in pipeline parsing. Fixed the 2 pipelines that are now added to the testsuite
2003-04-16 21:37:35 +00:00
Benjamin Otte
b36a2350ba *_is_writeable => *_is_writable (spelling)
Original commit message from CVS:
*_is_writeable => *_is_writable (spelling)
2003-04-16 18:35:57 +00:00
Benjamin Otte
42efbe5648 change *_is_readonly to *_is_writeable. Hope the name stays now...
Original commit message from CVS:
change *_is_readonly to *_is_writeable. Hope the name stays now...
2003-04-15 21:33:08 +00:00
Benjamin Otte
ede90a27db remove left over _needs_copy_on_write
Original commit message from CVS:
remove left over _needs_copy_on_write
2003-04-15 19:22:05 +00:00
Benjamin Otte
3941b18ca9 remove left over GST_DATA_IS_READONLY
Original commit message from CVS:
remove left over GST_DATA_IS_READONLY
2003-04-15 19:16:51 +00:00
Benjamin Otte
4bf4de13ed Ouch: gst_element_dispose does a state change to NULL. Change the state to NULL yourself if you dispose plugins that ...
Original commit message from CVS:
Ouch: gst_element_dispose does a state change to NULL. Change the state to NULL yourself if you dispose plugins that reference some of the freed memory on state changes.

This is probably broken in lots of cases.
2003-04-15 18:46:09 +00:00
Benjamin Otte
6cb527fed3 API change: remove gst_object_destroy and #defines to it
Original commit message from CVS:
API change: remove gst_object_destroy and #defines to it
2003-04-15 18:43:57 +00:00
Benjamin Otte
c016763611 API change: rename (currently unused function) gst_(data|buffer)_needs_copy_on_write to gst_(data|buffer)_is_readonly...
Original commit message from CVS:
API change: rename (currently unused function) gst_(data|buffer)_needs_copy_on_write to gst_(data|buffer)_is_readonly - we don't want to confuse even core developers
2003-04-15 18:41:23 +00:00
Wim Taymans
54b35086ea - make aggregator actually work
Original commit message from CVS:
- make aggregator actually work
2003-04-14 18:58:11 +00:00
Wim Taymans
d19cc5f7a0 Updated makefile too..
Original commit message from CVS:
Updated makefile too..
2003-04-14 18:53:40 +00:00
Wim Taymans
eb5536af92 - Added infrastructure to run a filter against plugins, registries and registrypools. This makes it possible to creat...
Original commit message from CVS:
- Added infrastructure to run a filter against plugins, registries and
registrypools. This makes it possible to create custom code to filter
out the plugins/features you're interested in.
2003-04-14 18:53:03 +00:00
Wim Taymans
4c33218ba3 - use g_list_foreach where apropriate
Original commit message from CVS:
- use g_list_foreach where apropriate
2003-04-14 18:38:11 +00:00
Benjamin Otte
838ffca4fa enable debugging output for bison parser, fix // comments, better error recovery, error out on non-instantiable eleme...
Original commit message from CVS:
enable debugging output for bison parser, fix // comments, better error recovery, error out on non-instantiable elements (fixes #110758)
2003-04-14 18:33:58 +00:00
David Schleef
7421b1f671 Revert last Makefile.am change, and fix it correctly. I _think_ this won't break with earlier flex versions, otherwi...
Original commit message from CVS:
Revert last Makefile.am change, and fix it correctly.  I _think_
this won't break with earlier flex versions, otherwise let me know.
2003-04-13 19:40:31 +00:00
Benjamin Otte
f4f0a51890 - added macros GST_CLOCK_TIME_IS_VALID and GST_BUFFE_TIMESTAMP_IS_VALID
Original commit message from CVS:
- added macros GST_CLOCK_TIME_IS_VALID and GST_BUFFE_TIMESTAMP_IS_VALID
- use macros in some places
- buffer's timestamp field is a GstClockTime, not a guint64 - this is currently the same, but be sure to only use GstClockTime when working with timestamps in the future
2003-04-13 03:07:07 +00:00
Benjamin Otte
e3b00b80bc silence compiler warning
Original commit message from CVS:
silence compiler warning
2003-04-13 03:04:26 +00:00
Benjamin Otte
f3fad44a00 don't error out on max-buffers = 0
Original commit message from CVS:
don't error out on max-buffers = 0
2003-04-13 00:55:08 +00:00
Wim Taymans
bd3511da69 - Added function to apply a custom filter on plugin features
Original commit message from CVS:
- Added function to apply a custom filter on plugin features
2003-04-12 15:14:55 +00:00
Benjamin Otte
0c6387ce5f signal EOS on parent bins, when the last element playing sends EOS
Original commit message from CVS:
signal EOS on parent bins, when the last element playing sends EOS
2003-04-12 13:38:32 +00:00
David Schleef
5706980d33 Disable compiler warning because of a bug in flex-2.5.31
Original commit message from CVS:
Disable compiler warning because of a bug in flex-2.5.31
2003-04-11 21:44:04 +00:00
Benjamin Otte
8bfbc81d36 general fixes:
Original commit message from CVS:
general fixes:
- changed newly added locked_state API to work like GStreamer does
- added gst_element_sync_state_with_parent function
- revert: pad linking does not require non-playing state
- updated spider and pipeline parsing to link elements in playing state
- bugfix: pads are now activated when added to a playing element (broke above change)
2003-04-11 00:00:46 +00:00
Wim Taymans
3f8006734d Removed sanity check that does not hold in some cases with the opt scheduler.
Original commit message from CVS:
Removed sanity check that does not hold in some cases with the opt
scheduler.
2003-04-10 22:00:55 +00:00
Benjamin Otte
4754ab2601 documentation
Original commit message from CVS:
documentation
2003-04-10 01:45:36 +00:00
Benjamin Otte
d89dd2d325 bugfix: wrong function due to missing char
Original commit message from CVS:
bugfix: wrong function due to missing char
2003-04-10 01:32:56 +00:00
David Schleef
c760bb88b7 Remove grammar.output, too
Original commit message from CVS:
Remove grammar.output, too
2003-04-08 23:21:37 +00:00
David Schleef
2d40f10230 Clean up Makefile.am
Original commit message from CVS:
Clean up Makefile.am
2003-04-08 23:18:30 +00:00
David Schleef
ac84bc9a55 Fix warning
Original commit message from CVS:
Fix warning
2003-04-08 23:17:36 +00:00
Benjamin Otte
3a897e2f30 rewritten pipeline parsing lands. Have fun breaking it.
Original commit message from CVS:
rewritten pipeline parsing lands. Have fun breaking it.
regressions:
- No support for filtered links. If anybody needs this, please contact me and I'll add it as fast as possible.

improvements:
- The pipeline building actually works as expected.
- syntax compatible nearly everywhere but more flexible
- better property parsing (you can now set enums by name or nick)
- uses locked_state to allow for delayed pads
- can connect video pipelines without the need for queues
- allows properties on bins
- does not return a bin, but an element.

You may want to read docs/random/company/gstparse to learn how it works.
2003-04-08 21:59:44 +00:00
Benjamin Otte
64f71f6961 do not return SUCCESS if a bin's child can't change state. This fix breaks old gstparse
Original commit message from CVS:
do not return SUCCESS if a bin's child can't change state. This fix breaks old gstparse
2003-04-08 21:50:32 +00:00
Benjamin Otte
ff856af64a - clean bison- and flex-built files on make clean. (fixes #101421)
Original commit message from CVS:
- clean bison- and flex-built files on make clean. (fixes #101421)
- use CFLAGS that enable debugging symbols.
2003-04-08 21:48:27 +00:00
Benjamin Otte
a03e803bb6 huge modifications, hope i didn't break something:
Original commit message from CVS:
huge modifications, hope i didn't break something:
- added functions for setting/getting locked state of elements. gst_element_lock_state syncs the pads state with the state of its parent.
- made all gst_element_link_* functions call gst_element_link_pads_filtered
- gst_element_link_pads_filtered now accepts NULL as a pad name.
- make sure the link functions are only called when the elements are paused
That's it.
2003-04-08 21:14:23 +00:00
Benjamin Otte
62d382149a pad linking only works when both elements are not playing
Original commit message from CVS:
pad linking only works when both elements are not playing
2003-04-08 21:07:46 +00:00