Commit graph

265 commits

Author SHA1 Message Date
Thomas Vander Stichele
8dba993065 even better
Original commit message from CVS:
even better
2002-06-01 10:29:29 +00:00
Thomas Vander Stichele
21201fe9b1 This looks a lot better when printing out ranges for doubles which are set at max. Tell me if I can change the other...
Original commit message from CVS:
This looks a lot better when printing out ranges for doubles which are
set at max.  Tell me if I can change the other arguments to be printed like
this too and I will change them
2002-06-01 10:24:38 +00:00
Steve Baker
d4e56cc925 this wasn't actually needed
Original commit message from CVS:
this wasn't actually needed
2002-05-29 15:30:10 +00:00
Steve Baker
608589ef0d this seems to be needed when doing a pipeline like -launch { foo ! bar }
Original commit message from CVS:
this seems to be needed when doing a pipeline like -launch { foo ! bar }

Now you can run:
gst-launch --gst-mask=-1 { fakesrc ! fakesink }
to see what seems to be a double locking problem
2002-05-28 14:42:22 +00:00
Thomas Vander Stichele
d2ad90cb82 should make stuff more legible
Original commit message from CVS:
should make stuff more legible
2002-05-28 08:56:34 +00:00
Wim Taymans
6f96a24d2e - The clock_wait now returns the difference between requested time and unlock time.
Original commit message from CVS:
- The clock_wait now returns the difference between requested time and
unlock time.
- Misc defines like GST_SECOND in gstclock.h
- remove pre/post in gstelement.c until fixed.
- added release_locks to gstelement so that the element can unlock itself
- added some more predefined events.
- added folowing functions to gstpad:
- convert function: get the relation between formats on this pad
- query function: get stats about the pad (position/total/latency)
- internal connect function: find out how this pad connects to other
pad internally to the element.
- generic pad_dispatcher.
- removed the last bits of pullregion
- use release_locks on the queue.
- added some events to queue
- make gstthread use the new release_locks function
- make the scheduler use the new clock_wait functions
- added events to fakesink
- added query functions to filesrc
- swap type and offset in the bytestream seek API to match fseek
- added some event handling in bytestream.
2002-05-26 21:54:27 +00:00
David I. Lehn
fbaeb5882f ulong type fix add 64b types add printing name of unknown type
Original commit message from CVS:
ulong type fix
add 64b types
add printing name of unknown type
2002-05-14 00:45:10 +00:00
Wim Taymans
086de421dc Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups

I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
2002-05-08 20:40:48 +00:00
Benjamin Otte
8cd991a9d6 - make all _get_list functions return a const reference to original lists and no copy
Original commit message from CVS:
- make all _get_list functions return a const reference to original lists and no copy
- redo code accordingly
- fix compile issue in dparam stuff
2002-04-19 19:49:41 +00:00
Benjamin Otte
8e5c223871 fix bug with --gst-fatal-warnings when exclude_args is NULL
Original commit message from CVS:
fix bug with --gst-fatal-warnings when exclude_args is NULL
2002-04-17 00:18:04 +00:00
Benjamin Otte
5f8324949f yay, a new option to play with! added -X / --exclude to exclude output of specific properties. Currently only --exclu...
Original commit message from CVS:
yay, a new option to play with!
added -X / --exclude to exclude output of specific properties. Currently only --exclude will work because we're not on popt 1.6.3 yet (blame it on Debian).
removed the harcoded excluding of the 'offset' property. You need to specify --exclude=offset now if you want your old output back
2002-04-16 14:45:53 +00:00
Thomas Vander Stichele
43a68fd149 merged back fixes from release branch
Original commit message from CVS:
merged back fixes from release branch
2002-04-15 09:21:14 +00:00
Steve Baker
39f81291e1 - changed the output so that the names of elements can be parsed by gst-inspect-check
Original commit message from CVS:
- changed the output so that the names of elements can be parsed by gst-inspect-check
- display the range of the element properties
- display the available dparams, just like the properties
- added int64 to element properties displayed
2002-04-14 10:13:24 +00:00
Steve Baker
b47d7c345b link gst-inspect to libgstcontrol so that -inspect will show what dparams are available. I think it is ok to link he...
Original commit message from CVS:
link gst-inspect to libgstcontrol so that -inspect will show what dparams are available.  I think it is ok to link helper libraries like libgstcontrol to the apps in tools/.
2002-04-14 10:11:14 +00:00
Thomas Vander Stichele
e00bcd6792 registry handling changes read up on it in docs/random/thomasvs/registry if interested net effect should be transpare...
Original commit message from CVS:
registry handling changes
read up on it in docs/random/thomasvs/registry if interested
net effect should be transparent; ie. it will keep on working, but will
be more flexible than before.  Testing with garnome seems to work now.
Should probably be rewritten completely, together with plugin loading, but
only after we spec it out ;) It's a bit messy.
2002-04-12 09:53:00 +00:00
Andy Wingo
b214d35eed commit to make gstreamer follow the gtk function/macro naming conventions:
Original commit message from CVS:
commit to make gstreamer follow the gtk function/macro naming conventions:

GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

and the same for *factory and typefind.
2002-04-11 20:35:18 +00:00
Andy Wingo
70cfc6cb4d new parser that uses flex and bison
Original commit message from CVS:
* new parser that uses flex and bison
- doesn't do dynamic pipelines yet...
* added GErrors to the gst_parse_launch[v] api
* added --gst-mask-help command line option
* fixed -o option for gst-launch
* GstElement api change:
- gst_element_get_pad
- gst_element_get_request_pad, gst_element_get_static_pad
- gst_element_get_compatible_pad
- gst_element_get_compatible_static_pad, gst_element_get_compatible_request_pad
- gst_element_[dis]connect -> gst_element_[dis]connect_pads
- gst_element_[dis]connect_elements -> gst_element_[dis]connect
* manual update
* example, tool, and doc updates for the api changes
- no more plugin docs in the core docs, plugins require a more
extensive doc system
2002-04-07 23:32:16 +00:00
Benjamin Otte
8ae7350492 fix all compiler warnings
Original commit message from CVS:
fix all compiler warnings
2002-04-04 19:28:23 +00:00
Wim Taymans
06c7e989ef Get rid of the warning
Original commit message from CVS:
Get rid of the warning
2002-03-31 16:27:28 +00:00
Andy Wingo
cfb228b0f9 add notify back to filesrc, it's needed for MVC applications remove notify printouts from gst-launch cleanup in gst-p...
Original commit message from CVS:
* add notify back to filesrc, it's needed for MVC applications
* remove notify printouts from gst-launch
* cleanup in gst-plugins configure.ac
* some jack updates
* remove SELF_ITERATING flag in favor of SEF_SCHEDULABLE (not a clear name,
but it's what we have for the moment)
* improve parsing of request pad names, no more sscanf
* fixes to the fastscheduler Makefile.am
2002-03-30 19:31:14 +00:00
Wim Taymans
0e40bc56b6 Updates to the new props API
Original commit message from CVS:
Updates to the new props API
Some more info in -inspect
2002-03-30 17:06:45 +00:00
Andy Wingo
862538e9ac added a bunch of cvsignore stuff off of a fresh checkout and build i will win the race to max LOC changed ;-)
Original commit message from CVS:
added a bunch of cvsignore stuff off of a fresh checkout and build

i will win the race to max LOC changed ;-)
2002-03-25 05:01:02 +00:00
Andy Wingo
ed9b628168 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:09 +00:00
Andy Wingo
a43fadec2e s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way added jack ...
Original commit message from CVS:
* s/gst_element_install_std_props/gst_element_class_install_std_props/ -- it just makes more sense that way
* added jack element, doesn't quite work right yet but i didn't want to lose the work -- it does build, register,
and attempt to run though
* imposed some restrictions on the naming of request pads to better allow for reverse parsing
* added '%s' to reverse parsing
* added new bin flag to indicate that it is self-iterating, and some lame code in gst-launch to test it out
* fixen on launch-gui
* added pkg-config stuff for the editor's libs
2002-03-18 04:41:37 +00:00
Benjamin Otte
1952e9d714 updated popt stuff:
Original commit message from CVS:
updated popt stuff:
- added 'gst_init_with_popt_table' to gst.h
- added a --silent option to launch to suppress g_object_notify events
2002-02-24 17:08:07 +00:00
Andy Wingo
991e42bc4b add 'toolsdir' to the pc files add our first plugin test, which involves simply running gst-compprep, which in the co...
Original commit message from CVS:
* add 'toolsdir' to the pc files
* add our first plugin test, which involves simply running gst-compprep,
which in the course of creating the completion registry instantiates every
plugin. gst-register is run first.
2002-02-16 17:53:58 +00:00
Andy Wingo
bae6d1e31b to set default categories for an app, call set_categories before the gst_init restores gst-register to its previous v...
Original commit message from CVS:
to set default categories for an app, call set_categories before the gst_init
restores gst-register to its previous verbosity (but --gst-mask=0 works)
2002-02-15 21:11:46 +00:00
Thomas Vander Stichele
72276c6522 don't set INFO categories before running gst_init
Original commit message from CVS:
don't set INFO categories before running gst_init
2002-02-13 16:15:40 +00:00
Benjamin Otte
c3dd1a65b3 make -launch receive and print out errors.
Original commit message from CVS:
make -launch receive and print out errors.
There is also a fix to allow printing gint64 variables. This should be removed when GLib does it. Glib1.3.13 does not.
2002-02-06 19:10:38 +00:00
Andy Wingo
f7aa64cf33 core is glib2 only now tried to convert to g_strdup_value_contents as much as i could misc other fixes
Original commit message from CVS:
* core is glib2 only now
* tried to convert to g_strdup_value_contents as much as i could
* misc other fixes
2002-02-06 16:35:16 +00:00
Benjamin Otte
27d973f2bf <wingo> i thought _get gave you a copy of the string --- he's right
Original commit message from CVS:
<wingo> i thought _get gave you a copy of the string --- he's right
2002-02-06 15:02:26 +00:00
Benjamin Otte
173ccc9b28 bugfixing: always use the right GType when using g_object_get/set; do not free strings from g_object_get, they're not...
Original commit message from CVS:
bugfixing: always use the right GType when using g_object_get/set; do not free strings from g_object_get, they're not yours (see docs/design/part-standards.txt)
2002-02-06 08:23:10 +00:00
Benjamin Otte
7e4e644d51 make gst-launch property aware
Original commit message from CVS:
make gst-launch property aware
2002-02-06 07:10:37 +00:00
Richard Boulton
030a1f6a25 gstreamer-register -> gst-register gstreamer-launch -> gst-launch etc.
Original commit message from CVS:
gstreamer-register -> gst-register
gstreamer-launch -> gst-launch
etc.
2002-02-04 20:33:14 +00:00
Andy Wingo
0050b2af50 man page updates
Original commit message from CVS:
man page updates
2002-01-15 17:10:48 +00:00
Andy Wingo
9e7087cf0e added xmllaunch man page
Original commit message from CVS:
added xmllaunch man page
2002-01-15 16:48:38 +00:00
Andy Wingo
703f271947 minor cleanups
Original commit message from CVS:
minor cleanups
2002-01-15 05:58:45 +00:00
Andy Wingo
aa29faadef gst-xmllaunch works now. it's a separate target built from gst-launch.c, just with a different name. it can set the p...
Original commit message from CVS:
gst-xmllaunch works now. it's a separate target built from gst-launch.c, just with
a different name. it can set the properties of elements by name, as in
element.property=value. craete pipelines using gst-launch -o file.xml <pipeline description>
2002-01-15 05:57:14 +00:00
Andy Wingo
57dc4b544d doc and configure updates, and the beginnings of gst-xmllaunch
Original commit message from CVS:
doc and configure updates, and the beginnings of gst-xmllaunch
2002-01-14 07:18:43 +00:00
Andy Wingo
f38969ff25 fix doc build for glib2 remove template files from cvs, they are generated with gtkdoc-mktmpl new, cleaner interface ...
Original commit message from CVS:
* fix doc build for glib2
* remove template files from cvs, they are generated with gtkdoc-mktmpl
* new, cleaner interface to the parser facilities
* cleanups in gstparse.c
2002-01-14 04:09:56 +00:00
David I. Lehn
c0110cf644 convert 'adding factory' message to a plugin loading debug message
Original commit message from CVS:
convert 'adding factory' message to a plugin loading debug message
2002-01-12 01:25:14 +00:00
David I. Lehn
344cb7291c typo fix
Original commit message from CVS:
typo fix
2002-01-12 01:23:42 +00:00
Andy Wingo
d262bea863 summary: fix xml in gstreamer 1) make clear distinction between loading xml that actually creates objects and loading...
Original commit message from CVS:
summary: fix xml in gstreamer

1) make clear distinction between loading xml that actually creates objects and loading xml that just
synchronizes properties with objects. moved most of gst_element_restore_thyself functionality to
gst_xml_make_element. this new function name can change if it sucks.
2) many various fixes. createxml and runxml work now.
3) doc updates.
4) GstSignalObject is stil broken. i have no idea what it's supposed to do.
2002-01-11 15:49:47 +00:00
Christian Schaller
de85531b18 added avi playback and moved all movie examples togheter
Original commit message from CVS:
added avi playback and moved all movie examples togheter
2002-01-07 20:50:32 +00:00
Christian Schaller
420e70235f Added syntax for playing both audio and video from a video clip
Original commit message from CVS:
Added syntax for playing both audio and video from a video clip
2002-01-07 20:43:52 +00:00
Christian Schaller
2e4818ba0e Rename all examples from gstreamer to gst
Original commit message from CVS:
Rename all examples from gstreamer to gst
2002-01-06 17:36:49 +00:00
Andy Wingo
441aeb13e9 for i in gstreamer-*; do mv $i echo $i | sed -e 's/gstreamer/gst/'; done
Original commit message from CVS:
for i in gstreamer-*; do mv $i `echo $i | sed -e 's/gstreamer/gst/'`; done

*THIS CHANGES PROGRAM NAMES*

gstreamer-register -> gst-register et al
no one expressed objections to this over a two-day period, so i went ahead and did it
this can be reverted if folks complain too much...
2002-01-04 19:46:40 +00:00
Thomas Vander Stichele
5e9ce2d543 moving guilaunch to gst-editor
Original commit message from CVS:
moving guilaunch to gst-editor
2002-01-03 10:49:09 +00:00
Wim Taymans
abf0bf9506 Added a syntax line for avi.
Original commit message from CVS:
Added a syntax line for avi.
2001-12-31 15:55:29 +00:00
Wim Taymans
0d639bfc25 Removed the Xid stuff now that xvideosink supports toplevel windows.
Original commit message from CVS:
Removed the Xid stuff now that xvideosink supports toplevel windows.
2001-12-29 17:25:17 +00:00
Wim Taymans
ec5ff24595 Added info for gtk1.2 based builds, the name property doesn't work very well with the shim.
Original commit message from CVS:
Added info for gtk1.2 based builds, the name property doesn't work very
well with the shim.
2001-12-29 15:44:43 +00:00
Andy Wingo
9ee758f076 output human-readable xml
Original commit message from CVS:
output human-readable xml
2001-12-26 06:58:25 +00:00
Andy Wingo
799f1a9ed9 format the outputted reg.xml for libxml2. if anything causes your xml probs in the future, this is probably it...
Original commit message from CVS:
format the outputted reg.xml for libxml2. if anything causes your xml probs in the
future, this is probably it...
2001-12-25 22:57:31 +00:00
Ronald S. Bultje
4b5fc45173 missing include
Original commit message from CVS:
missing include
2001-12-24 22:57:32 +00:00
Wim Taymans
109f7a0d64 Added some more stats about iteration times
Original commit message from CVS:
Added some more stats about iteration times
2001-12-24 12:30:09 +00:00
Wim Taymans
b02211c06d Added buffer stats at the end, if it's not 0, we have a leak.
Original commit message from CVS:
Added buffer stats at the end, if it's not 0, we have a leak.
2001-12-22 21:26:56 +00:00
Thomas Vander Stichele
be48dec0a8 output cosmetic fix
Original commit message from CVS:
output cosmetic fix
2001-12-21 13:52:18 +00:00
Andy Wingo
e8e87fe956 removed gstreamer.m4 (packages should use pkg.m4) guilaunch depends only on gtk, not libglade-gnome removed an unnece...
Original commit message from CVS:
* removed gstreamer.m4 (packages should use pkg.m4)
* guilaunch depends only on gtk, not libglade-gnome
* removed an unnecessary check in dynamic-pipeline.c
* attempted to avoid a spurious autoheader run
* gtk2 fixes
* killed a lot of files that automake brings in for us
* killed acinclude.m4, it's autogenerated
2001-12-20 01:20:22 +00:00
Andy Wingo
51bb2b1c4c fix to get guilaunch to build properly with gnome2
Original commit message from CVS:
fix to get guilaunch to build properly with gnome2
2001-12-19 22:16:01 +00:00
Wim Taymans
34f05211c2 Added object cleanup at the end of -launch, report all problems please.
Original commit message from CVS:
Added object cleanup at the end of -launch, report all problems
please.
2001-12-19 19:23:51 +00:00
Wim Taymans
7dd1fb647b Remove the unref untill it works :(
Original commit message from CVS:
Remove the unref untill it works :(
2001-12-18 19:33:34 +00:00
Wim Taymans
b9e1c437bb Make launch catch pipeline events and print them out.
Original commit message from CVS:
Make launch catch pipeline events and print them out.
2001-12-18 19:07:06 +00:00
Wim Taymans
ceef45b80b Some help for playing both audio in video with -launch
Original commit message from CVS:
Some help for playing both audio in video with -launch
2001-12-17 14:24:26 +00:00
David I. Lehn
b343c988b6 merge fixup: guilaunch got removed, add it back
Original commit message from CVS:
merge fixup: guilaunch got removed, add it back
2001-12-16 20:02:53 +00:00
Wrobell
5de2baa2cd - clean up
Original commit message from CVS:
- clean up
2001-12-16 18:02:45 +00:00
Thomas Vander Stichele
40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Wim Taymans
273d058d03 Fix some comment errors.
Original commit message from CVS:
Fix some comment errors.
2001-12-15 23:18:15 +00:00
Christian Schaller
4e927120b2 replacing disksrc with filesrc and adding some / which I think man wants
Original commit message from CVS:
replacing disksrc with filesrc and adding some / which I think man wants
2001-12-14 23:25:07 +00:00
Christian Schaller
08e95cee03 ok, death to all // GCC only comments, we are going portable
Original commit message from CVS:
ok, death to all // GCC only comments, we are going portable
2001-12-14 20:56:51 +00:00
Wim Taymans
91881fb4ed Readded the CFLAGS.
Original commit message from CVS:
Readded the CFLAGS.
2001-12-14 20:43:44 +00:00
Michael Meeks
d04099240b gst/gst.c (gst_main, gst_main_quit): upd.
Original commit message from CVS:
2001-12-14  Michael Meeks  <michael@ximian.com>

* gst/gst.c (gst_main, gst_main_quit): upd.

* gst/gstutils.c (gst_util_has_arg): impl.
(gst_util_get_int64_arg): impl.

* plugins/mpeg2/video/gstmpeg2play.c
(gst_mpeg2play_class_init): min frames per sec = 0.

* plugins/mikmod/gstmikmod.c (gst_mikmod_class_init):
s/16bit/use16bit/ properties can't begin with a non
alpha.

* tools/gstreamer-guilaunch.c: fresh from the ministy
of nasty hacks.

* tools/Makefile.am: enable gstreamer-guilaunch for
Gnome 2.0

* tools/gstreamer-launch.c (main): upd.
(idle_func): quit the mainloop.
2001-12-14 18:11:52 +00:00
Wim Taymans
6dc4fb7616 Michael fixage
Original commit message from CVS:
Michael fixage
2001-12-14 14:28:27 +00:00
Christian Schaller
27b09f01a0 fixes outdated mpeg examples and adds a few more
Original commit message from CVS:
fixes outdated mpeg examples and adds a few more
2001-12-13 23:24:11 +00:00
Michael Meeks
7943a116f6 Aplied a patch from Michael Meeks to add libxml2 support.
Original commit message from CVS:
Aplied a patch from Michael Meeks to add libxml2 support.
2001-12-13 19:00:58 +00:00
Wim Taymans
8b965cf770 Disksrc is deprecated
Original commit message from CVS:
Disksrc is deprecated
2001-12-12 22:40:14 +00:00
Wim Taymans
d61cbc8ea0 Updated the examples exit if the pipeline doesn't want to go to the playing state.
Original commit message from CVS:
Updated the examples
exit if the pipeline doesn't want to go to the playing state.
2001-12-12 18:31:25 +00:00
David I. Lehn
90959f7a2c Remove some random chars, add ref to guilaunch
Original commit message from CVS:
Remove some random chars, add ref to guilaunch
2001-12-12 00:00:07 +00:00
David I. Lehn
fbcc8d55ab guilaunch manpage
Original commit message from CVS:
guilaunch manpage
2001-12-11 23:52:58 +00:00
Thomas Vander Stichele
b195d612b2 guess what
Original commit message from CVS:
guess what
2001-12-10 21:57:21 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Steve Baker
a4e42f7b06 return a negative error code instead of exiting on parse error
Original commit message from CVS:
return a negative error code instead of exiting on parse error
2001-10-27 13:44:18 +00:00
Steve Baker
799b712338 this is a major update which adds a tree view of the pipeline and lets you set individual element args through a dyna...
Original commit message from CVS:
this is a major update which adds a tree view of the pipeline and lets you set individual element args through a dynamically generated gui.  If you haven't tried this tool yet then try it now. The next step will be to add gui generation for dynamic params as well. Please email feedback and bug reports to the list
2001-10-23 17:43:49 +00:00
Erik Walthinsen
469e99dc90 made glib2-friendly
Original commit message from CVS:
made glib2-friendly
2001-10-20 23:15:01 +00:00
Erik Walthinsen
d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00
Steve Baker
813d84543a new gui tool to launch pipelines in the same vein as gstreamer-launch. try it out, it rocks
Original commit message from CVS:
new gui tool to launch pipelines in the same vein as gstreamer-launch. try it out, it rocks
2001-09-22 12:22:23 +00:00
Andy Wingo
07d52eef34 I think I finally have this configdir thing under control. The defines on the make command lines were not following t...
Original commit message from CVS:
I think I finally have this configdir thing under control. The defines on the
make command lines were not following the GST_CONFIG_DIR variable.
2001-09-02 01:56:20 +00:00
Wim Taymans
12bbbd5c1e Lots of modifications to the plugin system.
Original commit message from CVS:
Lots of modifications to the plugin system.
- Added a GstPluginfeature object that serves as a base class for all
plugin contents.
- changed the plugin API, everyhting is now added with
gst_plugin_add_feature
- typefactories are named now so that they can be located easily and filled
in at plugin load.
- mime types like "video/raw image/raw" are gone for now.
- lots of plugin updates (style and API changes)
- tested with an without registry.
- updates to various tools.
- added a little testsuite to test/show how you can load plugins (4 modes)

Test this one, Almost everything has changed :-)
2001-08-21 20:16:48 +00:00
Wim Taymans
5e6a3722ac Fixes to various plugins.
Original commit message from CVS:
Fixes to various plugins.
Removed the eos/qos calls in favour of the soon to be event system.
Added a test app to test element reuse (doesn't work)
2001-08-10 17:40:34 +00:00
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