Commit graph

592 commits

Author SHA1 Message Date
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