Commit graph

143 commits

Author SHA1 Message Date
Wim Taymans
13e5c7ba91 Fix an endless loop at EOS.. this is a hack...
Original commit message from CVS:
Fix an endless loop at EOS.. this is a hack...
2001-06-30 00:35:55 +00:00
Richard Boulton
37c010c00d Convert XMMS and LIBGHTTP checks to use GST_CHECK_FEATURE()
Original commit message from CVS:
Convert XMMS and LIBGHTTP checks to use GST_CHECK_FEATURE()
XMMS check is turned off by default (though not in a very neat way)
2001-06-26 21:44:45 +00:00
Erik Walthinsen
7f8d8fe8d5 Merged from GOBJECT1 to HEAD at 200106241
Original commit message from CVS:
Merged from GOBJECT1 to HEAD at 200106241
2001-06-25 01:20:11 +00:00
Wim Taymans
41381041f7 Changed the bytes_written to a gint to avoid overflow...
Original commit message from CVS:
Changed the bytes_written to a gint to avoid overflow...
2001-06-19 18:32:27 +00:00
Wim Taymans
5c73a7824c Changed a stupid assert in request_pad.
Original commit message from CVS:
Changed a stupid assert in request_pad.
Some fixes for pullregion and EOS conditions.
Remove an unneeded check in the scheduler (check for NULL buffer)
some EOS fixes for pullregion in disksrc.
Removed the macro in the gstparse.h header 'cause it's internal to gstparse.c
Added a check in gstparse for NULL element.
2001-06-15 19:13:45 +00:00
Wim Taymans
3c18e42b39 Fixed some warnings.
Original commit message from CVS:
Fixed some warnings.
2001-06-01 18:30:40 +00:00
Thomas Vander Stichele
abe959c771 coded small bit in to allow changing of output location
Original commit message from CVS:
coded small bit in to allow changing of output location
2001-06-01 15:29:03 +00:00
Erik Walthinsen
13502fc293 Added some caps != NULL checks.
Original commit message from CVS:
Added some caps != NULL checks.
Patched up a problem with the thread handling when the iteration fails.
Cleaned up the output of -inspect a tiny bit.
2001-05-27 23:57:34 +00:00
Wim Taymans
14b03dfeac don't link against libgst.la because it seems to fail on some libtool versions.
Original commit message from CVS:
don't link against libgst.la because it seems to fail on some libtool
versions.
2001-05-26 12:17:05 +00:00
Wim Taymans
dfc62bcbce Added GST_LIBS to LIBADD.
Original commit message from CVS:
Added GST_LIBS to LIBADD.
2001-05-25 21:38:21 +00:00
Erik Walthinsen
4a583683e5 Merged from INCSCHED on 200505251!!!
Original commit message from CVS:
Merged from INCSCHED on 200505251!!!
2001-05-25 21:00:07 +00:00
David I. Lehn
568cbc3030 Update some signal func vars.
Original commit message from CVS:
Update some signal func vars.
2001-05-23 23:24:17 +00:00
Bastien Nocera
427203dc28 - it is now possible to change the opened file when state is PAUSED
Original commit message from CVS:
- it is now possible to change the opened file when state is PAUSED
2001-05-22 19:22:57 +00:00
Wim Taymans
8a89e0b83e Made pipefilter a DECOUPLED element.
Original commit message from CVS:
Made pipefilter a DECOUPLED element.
2001-05-20 14:12:36 +00:00
David I. Lehn
c447ea71a4 Pass buffer in handoff signal
Original commit message from CVS:
Pass buffer in handoff signal
2001-05-10 20:28:51 +00:00
David I. Lehn
38c9344701 Added "silent" arg.
Original commit message from CVS:
Added "silent" arg.
2001-05-09 04:12:09 +00:00
Steve Baker
f02d86f752 update sinesrc to latest caps
Original commit message from CVS:
update sinesrc to latest caps
2001-04-28 18:58:05 +00:00
Steve Baker
ad7fd56339 add factory init for sinesrc
Original commit message from CVS:
add factory init for sinesrc
2001-04-28 18:57:23 +00:00
Erik Walthinsen
09588296ae Collection of minor changes: autogen.sh - remove config.cache before running ./configure gst/elements/gstfakesink.c -...
Original commit message from CVS:
Collection of minor changes:

* autogen.sh - remove config.cache before running ./configure
* gst/elements/gstfakesink.c - print out the size of the buffer, too
* plugins/Makefile.am - removed a spare trailing backslash
* plugins/arts/gst_artsio_impl.cc - change the scale back to 0.5
* plugins/oss/gstosssrc.c - change name slightly to match osssink
2001-04-23 23:16:12 +00:00
Wim Taymans
892f4b3204 API docs updates.
Original commit message from CVS:
API docs updates.
Properly implemented the disksink.
Fixed a compile problem with alsa.
Added bufferpool handling to dvdec
Some compiler warning fixes
2001-04-22 16:04:19 +00:00
Richard Boulton
610e9e8227 Merged from BRANCH-PLUGINVER1
Original commit message from CVS:
Merged from BRANCH-PLUGINVER1
2001-04-22 12:30:14 +00:00
Wim Taymans
31427072e3 Added caps proxying and bufferpool passing to identity so that
Original commit message from CVS:
Added caps proxying and bufferpool passing to identity so that
-launch disksrc ! mad ! identity ! osssink works.
2001-04-20 19:21:51 +00:00
Thomas Vander Stichele
0b7ec5c86f update to take new gstdisksink element into account
Original commit message from CVS:
update to take new gstdisksink element into account
2001-04-20 12:04:40 +00:00
Thomas Vander Stichele
24db50efc9 first stab at a disk sink element no optimization, is it necessary ? basic error checking seems to work; you can copy...
Original commit message from CVS:
* first stab at a disk sink element
* no optimization, is it necessary ?
* basic error checking
* seems to work; you can copy files by typing
gstreamer-launch disksrc location=test.in ! disksink location=test.out
* decode of mp3 to raw pcm also tested
2001-04-20 11:14:10 +00:00
Erik Walthinsen
91aa46b62d finished change to GST_ macros
Original commit message from CVS:
finished change to GST_ macros
2001-04-17 05:24:24 +00:00
Wim Taymans
6118b074bc Added 1337 macros to create padtemplates and capstemplates.
Original commit message from CVS:
Added 1337 macros to create padtemplates and capstemplates.
Added some code for bufferpools
2001-04-16 21:45:02 +00:00
Wim Taymans
3b8a7d18f8 Added an arg to fakesink so that it doesn't printf.
Original commit message from CVS:
Added an arg to fakesink so that it doesn't printf.
2001-04-16 16:45:53 +00:00
Wim Taymans
b38d9a945b A rather large patch:
Original commit message from CVS:
A rather large patch:
- changed the API for the padtemplates:
- remove the factories (array of pointers) for the padtemplates,
properties and caps. The static array was a nice idea but converting
all the property values to a gpointer was not a good idea.
float properties were not possible, and casting a gint to a pointer
is not very portable. The new API just uses the _padtemplate_new,
_caps_new and _props_new functions to create the templates.
This has the added benefit that the API is now uniform for static
and dynamic templates and that the code can be made cleaner.
- lots of cleanups in the way the capabilities are constructed (va_list)
- lots of updates for all the plugins (new API)
- docs updates (new API)
- removed the videoraw docs.
2001-04-14 18:56:37 +00:00
Wim Taymans
335080574f Lots of updates to the plugins for caps negotiation.
Original commit message from CVS:
Lots of updates to the plugins for caps negotiation.
Added YUY2 output to the win32 dlls.
Added a colorspace converter in gstplay
2001-04-12 18:11:19 +00:00
Wim Taymans
0837e1e495 Modified a lot of plugins to use the caps system.
Original commit message from CVS:
Modified a lot of plugins to use the caps system.
Modified the caps of audio/raw to our agreed properties.
Added the multidisksrc plugin of Dominic Ludlam
Renamed audiosink/src to osssink/src and updated all the examples using
the old name. Moved oss specific plugins in an oss directory. removed
the old audiosink from the elements/ dir.
removed audioraw.h metadata header files since we now use the properties.
There are still a few plugins that won't build because they include the
old audioraw.h header file. This will be fixed soon.
Make sure the caps are set in the plugins as described by their
padtemplates (this should solve problems with gstmediaplay with various
media files).

*please don't panic when some plugins won't build, just cd manually into
the plugin dirs* This will be fixed soon.
2001-03-24 17:22:03 +00:00
Wim Taymans
0267b92c93 More work on capsnego proxying. It should be OK now.
Original commit message from CVS:
More work on capsnego proxying. It should be OK now.
Added another testcase enum that shows various capsnego algorithms.
Warn about pads that try to set a capability incompatible with their
padtemplate.
Implemented refcounting and copy_on_write for caps/props.
2001-03-20 18:29:00 +00:00
Wim Taymans
29cb713b21 More work on capsnego, mostly proxying
Original commit message from CVS:
More work on capsnego, mostly proxying
Added another testsuite for capsnego
Added caps to vorbisdec, mp3parse, mp1videoparse
Redid the queue proxy handling a bit.
2001-03-18 16:17:39 +00:00
Wim Taymans
3534e68563 Reworked the capsnegotiation function audiosink now uses capsnego to set its parameters mpg123/ac3dec use capsnego in...
Original commit message from CVS:
Reworked the capsnegotiation function
audiosink now uses capsnego to set its parameters
mpg123/ac3dec use capsnego instead of metadata
Added the beginnings of a testsuite for capsnego.
2001-03-18 02:42:30 +00:00
Wim Taymans
3ec275832a Merged the CAPSNEGO1 branch..
Original commit message from CVS:
Merged the CAPSNEGO1 branch..
2001-03-12 21:02:12 +00:00
Wim Taymans
5647ffcc86 Applied the sinesrc patch from Steve Baker.
Original commit message from CVS:
Applied the sinesrc patch from Steve Baker.
2001-03-11 18:34:45 +00:00
Wim Taymans
55006f6367 Merged the AUTOPLUG2 branch
Original commit message from CVS:
Merged the AUTOPLUG2 branch
2001-03-07 21:52:56 +00:00
David I. Lehn
da7eb8492f Remove alias for asyncdisksrc backwards compatability.
Original commit message from CVS:
Remove alias for asyncdisksrc backwards compatability.
2001-02-21 20:57:02 +00:00
David I. Lehn
d22d054374 Fixed typo in element details.
Original commit message from CVS:
Fixed typo in element details.
2001-02-21 20:28:31 +00:00
David I. Lehn
0edc93ae29 Added parameter checking to gst_queue_get().
Original commit message from CVS:
Added parameter checking to gst_queue_get().
2001-02-21 20:27:54 +00:00
Erik Walthinsen
c17ed10404 Reworked getregion/pullregion stuff. Region is now specified by a type (OFFSET_LEN, TIME_LEN, etc.) and two guint64'...
Original commit message from CVS:
Reworked getregion/pullregion stuff.  Region is now specified by a type
(OFFSET_LEN, TIME_LEN, etc.) and two guint64's.  They are offset and len,
where offset can be used for the time field, and len would be zero or
the time unit (say, 33ms for video).
2001-02-05 17:16:23 +00:00
Erik Walthinsen
38ff9ae802 moved asyncdisksrc to disksrc, no point in having a distinction
Original commit message from CVS:
moved asyncdisksrc to disksrc, no point in having a distinction
2001-02-04 21:37:14 +00:00
Wim Taymans
51cbf22624 This is a megapatch with the following changes:
Original commit message from CVS:
This is a megapatch with the following changes:

- moved the gchar *name to GstObject, removed the ones in GstElement and
GstPad.
- moved the parent handling completely into GstObject. This cause *all* of
the plugins to fail (except those that used gst_pad_get_parent)
- rearanged the XML save handling.
- GstObject now has a class function save/restore_thyself.
- GstObject has a generic method gst_object_save_thyself, this makes it
possible to fire a signal wehever a new object is loaded. This is needed
so we can add XML save hooks.
- GstXML API has changed slightly. You now have to create a GstXML object
first before you can actually load something. This makes it possible to
attach a signal to GstXML whenever an object is loaded. I'm not sure we
will keep this interface.
- GstObject can now print the path_string without knowing about the GstPad and
GstElement types.
- Added gst_bin_get_by_name_recurse_up to lookup an element in the current
element hierarchy.
- added XML namespaces to the saved pipelines the namespace is:
http://gstreamer.net/gst-core/1.0/
namespaces are needed to distinguish user generated XML from the core XML.

Note that the plugins still contain a macro GST_OBJECT_PARENT that will be
replaced with gst_pad_get_parent shortly.
2001-01-29 00:06:02 +00:00
Wim Taymans
75aa948e0c Docs updates
Original commit message from CVS:
Docs updates
Added XML load from memory functionality
Undid the videosink patch, something else is wrong now on my machine:
no MMX acceleration :-(
2001-01-21 23:20:46 +00:00
Sepp Wijnands
8c54486378 the 'OSS hangs when opening the device when in use' bug.
Original commit message from CVS:
Applied the patch from Sepp Wijnands <mrrazz@garbage-coderz.net> that solves
the 'OSS hangs when opening the device when in use' bug.
2001-01-21 00:57:50 +00:00
Wim Taymans
7ce56f5dab More EOS changes.
Original commit message from CVS:
More EOS changes.
When a bin2 is found inside a bin1, we add the bin2 to the EOS providers
of the bin1. When there is nothing more to schedule in bin1 and bin2 has
fired EOS, bin1 is in EOS.
The queue overrides the EOS notification and calls EOS on the src pad
when the queue is empty and the sink pad is in EOS.
2001-01-20 17:59:25 +00:00
Wim Taymans
0a9cc5f2fe Make sure the loopfunction ends when an element goes to EOS.
Original commit message from CVS:
Make sure the loopfunction ends when an element goes to EOS.
Fixed the fakesrc bug found by taaz.
2001-01-20 03:28:37 +00:00
Wim Taymans
e40880a90e And here they are....
Original commit message from CVS:
And here they are....
2001-01-19 00:02:53 +00:00
Wim Taymans
520fbbee75 Moved queue and typefind elements to the core since they are referenced by name.
Original commit message from CVS:
Moved queue and typefind elements to the core since they are referenced
by name.
2001-01-19 00:01:42 +00:00
Wim Taymans
90f82b6840 Added mthodes to request an element to create pads: gst_element_request_pad*
Original commit message from CVS:
Added mthodes to request an element to create pads: gst_element_request_pad*
This can be used to construct a tee and a muxer/mixer/aggregator element.
Moved the tee element to elements/ because it can now be handled with the
new pad request features.
The padfactory also has some changes: a pad can now be of presence REQUEST,
which means that the pad can be requested from this plugin (doh).
2001-01-18 23:46:15 +00:00
Erik Walthinsen
9ca8248cc2 Massive build fixup. Will send message to -devel list later with details on the changes and what they mean for Makef...
Original commit message from CVS:
Massive build fixup.  Will send message to -devel list later with details
on the changes and what they mean for Makefile.am writers.  Check
docs/random/omega/build/TODO for a list of things that I had to make sure
of.

NOTE: this requires a complete rebuild of all plugins, since I also
changed the STATE enum to a bitfield instead of sequential numbers.
2001-01-14 21:55:41 +00:00