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