Commit graph

327 commits

Author SHA1 Message Date
Steve Baker
34fd63e2bf compile fix for glib2
Original commit message from CVS:
compile fix for glib2
2001-07-27 16:35:27 +00:00
Wim Taymans
695c1a2960 Added signal output and object hierarchy output.
Original commit message from CVS:
Added signal output and object hierarchy output.
2001-07-25 21:40:42 +00:00
Christian Schaller
f867411c2e - Put README contents into man page and fixed the Groff enconding (or whatever it is called.)
Original commit message from CVS:
2001-23-07 Christian Schaller <Uraeus@linuxrising.org>
- Put README contents into man page and fixed the Groff enconding (or whatever it is called.)
2001-07-24 20:05:27 +00:00
Wim Taymans
3f1fe95677 Reverted to the old g_idle loop. too many problems with xvideosink and the GtkWindow when we don't have an idle loop..
Original commit message from CVS:
Reverted to the old g_idle loop. too many problems with xvideosink and
the GtkWindow when we don't have an idle loop..
2001-07-23 00:57:06 +00:00
Wim Taymans
44dc27ce21 Changed the main loop to while (iterate(bin))
Original commit message from CVS:
Changed the main loop to while (iterate(bin))
2001-07-15 14:24:27 +00:00
Wim Taymans
d9f96e3201 Print out the request pad function.
Original commit message from CVS:
Print out the request pad function.
2001-07-11 15:50:16 +00:00
Wim Taymans
d1b66a439a Added the xid stuff in again if compiling against gtk.
Original commit message from CVS:
Added the xid stuff in again if compiling against gtk.
2001-07-05 21:53:30 +00:00
Wim Taymans
4498dccbec Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it instead so that we can do full expansion on the s...
Original commit message from CVS:
Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it
instead so that we can do full expansion on the sysconfdir.
2001-06-26 22:15:20 +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
Richard Boulton
216e862be2 Add -o option argument to gstreamer-launch, to specify a file to output the pipeline to, instead of running it.
Original commit message from CVS:
Add -o option argument to gstreamer-launch, to specify a file to output
the pipeline to, instead of running it.
2001-06-19 10:34:15 +00:00
Wim Taymans
07b3816510 Updated the README file with some cool gstreamer-launch cmd lines
Original commit message from CVS:
Updated the README file with some cool gstreamer-launch cmd lines
by Matthew McClintock <mattsm@mail.utexas.edu>
2001-06-15 19:46:46 +00:00
Richard Boulton
d6bcf426af Some formatting updates, thanks to using manedit
Original commit message from CVS:
Some formatting updates, thanks to using manedit
2001-06-10 21:13:12 +00:00
Richard Boulton
d74c7d5d70 Add gstreamer-compprep man page.
Original commit message from CVS:
Add gstreamer-compprep man page.
2001-06-07 10:58:40 +00:00
Erik Walthinsen
0d7c4dc838 added --gst-mask to the man pages
Original commit message from CVS:
added --gst-mask to the man pages
2001-06-07 00:08:56 +00:00
Wim Taymans
9b3ec7e2f6 Somewhat improve the layout of args in inspect.
Original commit message from CVS:
Somewhat improve the layout of args in inspect.
2001-06-05 17:45:52 +00:00
Wim Taymans
98f65dadac Fixed the xid stuff and some cleanups.
Original commit message from CVS:
Fixed the xid stuff and some cleanups.
2001-06-04 21:02:01 +00:00
Wim Taymans
d008889f00 Print out the default values.
Original commit message from CVS:
Print out the default values.
2001-06-04 14:50:21 +00:00
Wim Taymans
3bee2c0c34 More info about the other tools.
Original commit message from CVS:
More info about the other tools.
2001-06-03 22:30:07 +00:00
Richard Boulton
58cbf46951 Add man page for gstreamer-complete
Original commit message from CVS:
Add man page for gstreamer-complete
2001-06-03 19:49:51 +00:00
Erik Walthinsen
b4dcb2f779 added check to make sure there's a pipeline desc before building
Original commit message from CVS:
added check to make sure there's a pipeline desc before building
2001-06-02 18:26:25 +00:00
Richard Boulton
9b68e531fb Add a note about gstreamer-complete
Original commit message from CVS:
Add a note about gstreamer-complete
2001-06-01 13:27:15 +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
Steve Baker
b5cd8b4b99 now builds for those who are too lazy to upgrade their xml libraries
Original commit message from CVS:
now builds for those who are too lazy to upgrade their xml libraries
2001-05-27 17:02:25 +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
Wim Taymans
4212a8dfdc Fixed a problem with -inspect where some args would not show up correctly
Original commit message from CVS:
Fixed a problem with -inspect where some args would not show up correctly
2001-05-20 21:24:59 +00:00
Wim Taymans
7fb020ffe6 Better output of element flags.
Original commit message from CVS:
Better output of element flags.
2001-05-20 20:12:45 +00:00
Wim Taymans
86bdfc6663 Escape spaces in the cmdline args with "\\ " so that parse can handle it.
Original commit message from CVS:
Escape spaces in the cmdline args with "\\ " so that parse can handle it.
2001-05-20 20:06:09 +00:00
Steve Baker
c07e195b0e added output of float properties
Original commit message from CVS:
added output of float properties
2001-04-28 19:16:30 +00:00
Erik Walthinsen
043f6239b8 save xml file of the launch cmdline
Original commit message from CVS:
save xml file of the launch cmdline
2001-04-15 22:54:57 +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
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
David I. Lehn
82f6368bf0 Added man pages.
Original commit message from CVS:
Added man pages.
2001-03-16 01:06:50 +00:00
Wim Taymans
df681e7f0e Adjusted -inspect to the new GstCaps structure
Original commit message from CVS:
Adjusted -inspect to the new GstCaps structure
2001-03-13 22:21:29 +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
Richard Boulton
681c6e7ad2 Trivial fix: change launch to gstreamer-launch in README.
Original commit message from CVS:
Trivial fix: change launch to gstreamer-launch in README.
2001-02-16 12:15:32 +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
Wim Taymans
044c4611af More eos handling, bin in bin is handled correctly now.
Original commit message from CVS:
More eos handling, bin in bin is handled correctly now.
Updated gstreamer-launch to loop while !EOS.
2001-01-21 16:06:42 +00:00
Erik Walthinsen
c31f9a570c First pass at updating to new ghostpad system. The objects are in place,
Original commit message from CVS:
First pass at updating to new ghostpad system.  The objects are in place,
I now need to go and get all the Bin end of things worked out.  Testing
should be fairly easy, at least for verification.

Everything I've tried so far works with no changes, with is amazing.
That's just cool.  Once again we rewrite an entire subsystem, and nothing
else notices anything but the new features ;-)
2001-01-19 02:23:35 +00:00
Wim Taymans
1e9fa15f1f Updated -inspect to display the new pad presence REQUEST.
Original commit message from CVS:
Updated -inspect to display the new pad presence REQUEST.
2001-01-19 00:07:10 +00:00
Richard Boulton
41ebd85275 Fixes to work with libxml2.
Original commit message from CVS:
Fixes to work with libxml2.
Also improved a couple of debugging messagse.
2001-01-18 11:16:53 +00:00
Richard Boulton
a4ccb12164 Fix permissions problems: the directory will now always be created mode 2755. In addition, the temporary file is giv...
Original commit message from CVS:
Fix permissions problems: the directory will now always be created mode
2755.  In addition, the temporary file is given restricted permissions, and
the permissions on the registry file are preserved if one already exists,
or 666 (and modified by the umask) if one doesn't already exist.
2001-01-17 01:59:57 +00:00
Erik Walthinsen
3c288c183a fixed an odd case with the launcher, didn't deal with argc properly
Original commit message from CVS:
fixed an odd case with the launcher, didn't deal with argc properly
2001-01-14 21:38:15 +00:00
Wim Taymans
b312b35b25 Fixed the directory permission Bug #128637
Original commit message from CVS:
Fixed the directory permission Bug #128637
2001-01-13 14:25:16 +00:00
Erik Walthinsen
f20398a2f7 added unlink() of registry file, and moved info enable up
Original commit message from CVS:
added unlink() of registry file, and moved info enable up
2001-01-09 20:45:20 +00:00
Erik Walthinsen
a4c45cee9c typo fix
Original commit message from CVS:
typo fix
2001-01-09 06:48:46 +00:00
Erik Walthinsen
2671b85b04 various changes, including making -launch use the library version
Original commit message from CVS:
various changes, including making -launch use the library version
2001-01-09 04:39:35 +00:00
Richard Boulton
db5c4424d7 Fix typo in error message.
Original commit message from CVS:
Fix typo in error message.
2001-01-08 01:43:51 +00:00
Richard Boulton
39c609765b Fix typos in save_regsitry()
Original commit message from CVS:
Fix typos in save_regsitry()
2001-01-07 16:48:32 +00:00
Richard Boulton
9b1970967e Folling wtays suggestion, I was going to start using xmlDocDump, to avoid a symlink attack on the temporary registry ...
Original commit message from CVS:
Folling wtays suggestion, I was going to start using xmlDocDump, to
avoid a symlink attack on the temporary registry file.  Unfortunately,
xmlDocDump doesn't give any indication whether its successful, so I've
#ifdefed this out and left the original in place.  Since the tmp file
is in /etc/gstreamer, this should be okay for the moment, but I shall
ask the libxml people to add some way of getting the success value of
DocDump so we can use that in future.
2001-01-07 16:14:35 +00:00
Richard Boulton
e89f87b6b4 gstreamer-register will now never cause the
Original commit message from CVS:
gstreamer-register will now never cause the
** WARNING **: gstplugin: registry needs rebuild
warning to appear - sets a hidden global in gstplugin.c to turn the
warning off.
Fix a warning in gst/cothreads.c (function was declared extern, defined
static)
2001-01-07 15:20:49 +00:00
Richard Boulton
81aa7d16b0 Check plugin repository up-to-dateness by scanning through all directories on path, and checking that they and all th...
Original commit message from CVS:
Check plugin repository up-to-dateness by scanning through all directories
on path, and checking that they and all their files are older than the
repository.  Give warning message if not.
2001-01-07 07:01:37 +00:00
Richard Boulton
7b865ef7fd Test xmlSaveFile return value correctly (had to get source to find out what it meant...) gstreamer-register now seem...
Original commit message from CVS:
Test xmlSaveFile return value correctly (had to get source to find out
what it meant...)  gstreamer-register now seems to work fine, even in
a non-standard location.
2001-01-07 05:54:10 +00:00
Richard Boulton
0a418d15d0 Config directory (which currently just holds the registry)ecan now be set by configure --with-configdir=<directory path>
Original commit message from CVS:
Config directory (which currently just holds the registry)ecan now be set
by configure --with-configdir=<directory path>
2001-01-07 05:30:07 +00:00
Richard Boulton
62c3227e2f Almost completely rewritten gstreamer-register.
Original commit message from CVS:
Almost completely rewritten gstreamer-register.
Now checks most errors that can happen, and displays a useful message.
2001-01-07 04:51:31 +00:00
Erik Walthinsen
c116d7baa5 fixed a bug with NULL args, but need to fix the parser that created them
Original commit message from CVS:
fixed a bug with NULL args, but need to fix the parser that created them
2001-01-07 03:06:28 +00:00
Erik Walthinsen
ddfc781f7d fixed problems with -launch
Original commit message from CVS:
fixed problems with -launch
2001-01-04 20:34:39 +00:00
Wim Taymans
4827c9fe56 Added printout of the capabilities of the pads
Original commit message from CVS:
Added printout of the capabilities of the pads
2001-01-04 19:16:57 +00:00
Wim Taymans
22a79f5938 Added enum values with default removed debugging -g from Makefile
Original commit message from CVS:
Added enum values with default
removed debugging -g from Makefile
2001-01-04 18:57:29 +00:00
Richard Boulton
9f53f4c21b Replace Wim's fix after Erik dropped it. ;-)
Original commit message from CVS:
Replace Wim's fix after Erik dropped it. ;-)
2001-01-04 16:46:02 +00:00
Erik Walthinsen
e318439f64 Updated -inspect to list elements and plugin info too
Original commit message from CVS:
Updated -inspect to list elements and plugin info too
2001-01-04 10:47:39 +00:00
Wim Taymans
9e0b75c937 A little fix for parameter parsing
Original commit message from CVS:
A little fix for parameter parsing
2001-01-04 07:19:11 +00:00
Richard Boulton
5e7263ec75 Added partial fix so that arguments can be set.
Original commit message from CVS:
Added partial fix so that arguments can be set.
2001-01-04 00:15:13 +00:00
Wim Taymans
ee33cb2a26 Added the previous changes back in
Original commit message from CVS:
Added the previous changes back in
2001-01-03 20:55:16 +00:00
Wim Taymans
7411cfe17e Made the GstProps a GList instead of a GSList
Original commit message from CVS:
Made the GstProps a GList instead of a GSList
Some fixes to inspect: added the mime type
2001-01-03 20:21:22 +00:00
Wim Taymans
786ba1e3d7 Added proper comment for the bonobo component fix a compile bug in inspect... Erik, have pending changes to gstpad.h?
Original commit message from CVS:
Added proper comment for the bonobo component
fix a compile bug in inspect... Erik, have pending changes to gstpad.h?
2001-01-03 19:54:01 +00:00
Erik Walthinsen
8d6f8273fe Updates, it prints a lot more stuff now, like padtemplates, caps/props, and arguments. More stuff can be done, but n...
Original commit message from CVS:
Updates, it prints a lot more stuff now, like padtemplates, caps/props,
and arguments.  More stuff can be done, but not now, I must sleep.
2001-01-03 08:48:36 +00:00
Erik Walthinsen
38b35fd2d0 Updates to -launch, added -inspect.
Original commit message from CVS:
Updates to -launch, added -inspect.
2001-01-03 07:38:45 +00:00
Erik Walthinsen
424d4f5e4e Added stdlib.h to clean up exit() warnings
Original commit message from CVS:
Added stdlib.h to clean up exit() warnings
2000-12-31 22:15:28 +00:00
Erik Walthinsen
0ee56888a8 Complete rewrite of the launcher. Now supports pretty arbitrary pipelines.
Original commit message from CVS:
Complete rewrite of the launcher.  Now supports pretty arbitrary pipelines.
Try '((fakesrc) ! identity ! (fakesink))' out.  Doesn't seem to recognize
pad names yet for some reason, so it goes with the first sink/src pad it
finds in a given element.  Other problems still remain, but the hard part
is done with.
2000-12-31 10:46:16 +00:00
Erik Walthinsen
4e1875f826 Some minor compilation fixes...
Original commit message from CVS:
Some minor compilation fixes...
2000-12-17 04:54:57 +00:00
Wim Taymans
a63780a377 Header cleanup: try to include as little as possible; this will probably speed up compilation a bit.
Original commit message from CVS:
Header cleanup: try to include as little as possible; this will probably
speed up compilation a bit.
changed the .c files to use #include "..."
Fix for the 'plugins are loaded twice' bug.
Fix 22186: GstObject flags are now used everywhere. Added *_FLAG_LAST so
elements do not use the same flags. Added some padding in the flag enum
for future expansion.
2000-12-15 01:57:34 +00:00
Wim Taymans
552b7f32aa Changes to gstreamer-config to include gtk+ libs manual changes: queues, threads, programs gsteditor does not crash a...
Original commit message from CVS:
Changes to gstreamer-config to include gtk+ libs
manual changes: queues, threads, programs
gsteditor does not crash anymore.
gstpipline new should return a GstElement *
fixed ac3dec for new getbits
fixes to gstreamer-launch
more efficient startup for gstplay.
2000-09-09 16:36:10 +00:00
Wim Taymans
7ccc2cf90b Externalized the plugin information in /etc/gstreamer/reg.xml
Original commit message from CVS:
Externalized the plugin information in /etc/gstreamer/reg.xml
- no need to do a plugin_load_all()
- plugins are loaded when needed
- typedetect functions are loaded when needed (still buggy)
- no need to check for the existance of the plugin in the codecs
- added gstreamer-register to create the reg.xml file
- renamed launch to gstreamer-launch
- plugins need to register the typefactory they provide
modified the plugins to meet the new design
modified the plugins to correctly set their pad types
autoplugging can be done without loading the plugins now
2000-08-28 20:20:55 +00:00
Wim Taymans
6661696de0 Various fixes for the build/install problems update to the docs/manual. Added a simple helloworld example.
Original commit message from CVS:
Various fixes for the build/install problems
update to the docs/manual. Added a simple helloworld example.
2000-08-18 20:35:48 +00:00
Erik Walthinsen
af38527ad1 OK, I think I've got all the .cvsignore stuff taken care of, though we'll want to fine-tune things as we go, of cours...
Original commit message from CVS:
OK, I think I've got all the .cvsignore stuff taken care of, though we'll
want to fine-tune things as we go, of course.  Most of them are the same,
with some exceptions for directories that produce executables (those are
listed by name after the standard ones and a newline for separation).
2000-01-31 03:36:35 +00:00
Erik Walthinsen
0ec400890c initial checkin
Original commit message from CVS:
initial checkin
2000-01-30 10:44:33 +00:00