Commit graph

16 commits

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