Commit graph

149 commits

Author SHA1 Message Date
Erik Walthinsen ba1e26a03b Merge from HEAD to BRANCH-GOBJECT1 at 200106241
Original commit message from CVS:
Merge from HEAD to BRANCH-GOBJECT1 at 200106241
2001-06-24 22:44:44 +00:00
Erik Walthinsen 0544b73b48 marked up the function pointers with GST_DEBUG_FUNCPTR
Original commit message from CVS:
marked up the function pointers with GST_DEBUG_FUNCPTR
2001-06-21 22:48:18 +00:00
Wim Taymans 6d868ae4fd Compile fixes for gobject.
Original commit message from CVS:
Compile fixes for gobject.
2001-06-21 14:22:24 +00:00
Wim Taymans 4158f4dc3b Added some signal shims.
Original commit message from CVS:
Added some signal shims.
Fixed the queue state_change stuff.
2001-06-20 23:43:00 +00:00
Erik Walthinsen 5e2aec5855 fixed signal registration problem in gobject2gtk shim
Original commit message from CVS:
fixed signal registration problem in gobject2gtk shim
2001-06-19 23:17:26 +00:00
Erik Walthinsen 8e3911f0da More GObject updates, cleanups to some of the elements to make the port correct.
Original commit message from CVS:
More GObject updates, cleanups to some of the elements to make the port
correct.
2001-06-19 21:14:08 +00:00
Wim Taymans c6f02dde10 Updated the params a bit.
Original commit message from CVS:
Updated the params a bit.
2001-06-17 15:06:06 +00:00
Erik Walthinsen f0c9187f69 Added gobject to gtkobject bridge (gobject2gtk.[ch]) and configure-time support for selecting between glib and gtk (-...
Original commit message from CVS:
Added gobject to gtkobject bridge (gobject2gtk.[ch]) and configure-time
support for selecting between glib and gtk (--enable-glib2 to build with
gobject).
2001-06-17 03:10:52 +00:00
Erik Walthinsen bb55e797b8 various fixes needed to get to sinesrc ! osssink
Original commit message from CVS:
various fixes needed to get to sinesrc ! osssink
2001-06-14 21:02:32 +00:00
Erik Walthinsen 5dcec92852 Bring all the other stuff in gst/ up to match libgst.la's GObject port.
Original commit message from CVS:
Bring all the other stuff in gst/ up to match libgst.la's GObject port.
Fixed some minor problems with the signalling stuff in the core.

IT WORKS!
2001-06-14 03:14:35 +00:00
Erik Walthinsen c7f0713077 First round of changes to port to GObject. libgst.la compiles, though there are a few things commented out. Specifi...
Original commit message from CVS:
First round of changes to port to GObject.  libgst.la compiles, though
there are a few things commented out.  Specifically object destruction
is probably broken, but wtay gets to fix that because he researched the
problem of glib 2.0 object destruction while doing the first round.
Some of the XML stuff is commented out, but that's an easy fix.

Next is the rest of the gst/ directory, then on to the plugins.
2001-06-13 21:52:36 +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