Commit graph

618 commits

Author SHA1 Message Date
Tim-Philipp Müller 0bf43651a9 tools: remove SIGUSR* handling from gst-launch
Remove SIGUSR* handling from gst-launch, since it might interfere
with other things (e.g. libleaks), and should be done differently
anyway (either via support for simple timed-commands scripting or
remote control via DBus or so).
2011-06-04 14:41:16 +01:00
Tim-Philipp Müller 510ee7be34 tools: remove gst-xmlinspect
People should just query the registry themselves or write a small
python script if they need this functionality (which is likely
less work than parsing the XML that this script outputs, and I'm
not aware of anything using the xml2text xsl either).
2011-06-04 14:28:08 +01:00
Tim-Philipp Müller 548856596d tools: remove gst-feedback
It's not really that useful, and no one's been using it for years.
2011-06-04 14:22:05 +01:00
Tim-Philipp Müller 9e20c4eadc tools, tests: fix some unused-but-set-variable compiler warnings 2011-06-04 14:13:07 +01:00
Sebastian Dröge 350a2d1ba8 gst-launch: Don't access the GstMessage structure directly 2011-05-30 07:44:50 +02:00
Sebastian Dröge 58302cedfa Merge branch 'master' into 0.11 2011-05-30 07:41:13 +02:00
Tim-Philipp Müller 329b786569 tools: catch and print missing-plugin messages in gst-launch
So that users get some feedback if they're using a pipeline
like  src ! decodebin2 ! sink  and are missing an element.
2011-05-27 15:17:32 +01:00
Wim Taymans 2c221a5729 feature: use object name
Remove the name property from the plugin feature and port code to use the object
name instead.
2011-05-24 18:17:24 +02:00
Wim Taymans e39182a085 Merge branch 'master' into 0.11
Conflicts:
	gst/gstminiobject.c
	gst/gstpad.c
	gst/gstpad.h
	gst/gstplugin.h
	libs/gst/base/gstbaseparse.c
2011-05-18 13:14:57 +02:00
Stefan Kost 649ff4e1f6 inspect: show flags the same way they need to be entered
The (de)serialisation uses "+" and not " | ".
2011-05-18 09:55:57 +03:00
Wim Taymans 22d64af104 tools: avoid using pad caps
Avoid directly accessing the pad caps, use gst_pad_get_current_caps() instead.
2011-05-09 10:54:10 +02:00
Wim Taymans ba6b915651 base: avoid using buffer caps
Comment all code using buffer caps.
Rework capsfilter code a little.
Fix some unit tests
2011-05-08 12:46:17 +02:00
Wim Taymans c4751ec8c1 Revert "context: use context on buffers instead of caps"
This reverts commit 9ef1346b1f.

Way to much for one commit and I'm not sure we want to get rid of the pad caps
just like that. It's nice to have the buffer and its type in onw nice bundle
without having to drag the complete context with it.
2011-05-05 13:17:08 +02:00
Wim Taymans 9ef1346b1f context: use context on buffers instead of caps
Put the srcpad context on buffers instead of caps. This allows us to associate
all the relevant info contained in events with a buffer.
2011-05-04 18:59:47 +02:00
Wim Taymans 6ab7e6c15d Remove pad_alloc, this can now be done better
Remove pad_alloc and all references. This can now be done more efficiently and
more flexible with the ALLOCATION query and the bufferpool objects. There is no
reverse negotiation yet but that will be done with an event later.
2011-04-29 13:26:19 +02:00
Wim Taymans 24bb414035 Merge branch 'master' into 0.11
Conflicts:
	configure.ac
2011-04-19 16:21:15 +02:00
Tim-Philipp Müller 7b9769b322 gst-launch: remove newline from translatable string 2011-04-16 14:52:40 +01:00
Wim Taymans 6be4dbdb5a Merge branch 'master' into 0.11
Conflicts:
	android/base.mk
	android/controller.mk
	android/dataprotocol.mk
	android/elements.mk
	android/gst-inspect.mk
	android/gst-launch.mk
	android/gst-plugin-scanner.mk
	android/gst.mk
	android/indexers.mk
	android/net.mk
	win32/common/libgstbase.def
2011-04-11 10:26:54 +02:00
Alessandro Decina 3f1ef2255a android: make it ready for androgenizer
Remove the android/ top dir
Fixe the Makefile.am to be androgenized

To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files.
Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 01:08:07 +02:00
Wim Taymans d82c8bd2af memory: port code to new buffer data API 2011-03-28 20:08:45 +02:00
Wim Taymans 230c3455ac Merge branch 'master' into 0.11
Conflicts:
	gst/gstregistry.h
2011-03-02 11:08:34 +01:00
Tim-Philipp Müller b923b7f901 tools: print "pad-added", "pad-removed" and "no-more-pads" signals for elements with sometimes pads
It's often not obvious to people that elements like e.g. uridecodebin
(or demuxers) automatically support the standard signals of the
GstElement class, so let's print the useful pad-related ones for
elements with sometimes pads.
2011-02-28 14:59:33 +00:00
Stefan Kost 88cda98939 gst-launch: add index support
When option "-i" is given, set an index object on the pipeline and compute
statistics for all index writers. Print a sumary when shutting down the
pipeline.
2011-02-24 15:36:47 +02:00
Wim Taymans 6c18c9508d miniobject: more boxed type fixing
More miniobject fixing, leaks horribly somewhere..
2011-02-23 10:35:09 +01:00
Wim Taymans 238b9a57cc Merge branch 'master' into 0.11
Conflicts:
	configure.ac
	gst/gstelement.c
	gst/gstelement.h
	gst/gstpad.c
	gst/gstutils.c
	libs/gst/base/Makefile.am
	libs/gst/check/Makefile.am
	libs/gst/controller/Makefile.am
	libs/gst/dataprotocol/Makefile.am
	libs/gst/net/Makefile.am
	win32/common/libgstreamer.def
2011-02-22 14:11:59 +01:00
Tim-Philipp Müller d6aec1acc3 gst-launch: pretty-print datetime tags 2011-02-13 22:57:48 +00:00
Tim-Philipp Müller 6fef105491 docs: minor gst-launch man page fix
Transmitter/receiver pipelines were mislabelled. Spotted by Majin.
2011-01-25 09:17:55 +00:00
Wim Taymans 920ef127ce element: rework GstElementDetails
Clean up the GstElement structure
Replace GstElementDetails with metadata
2010-12-07 15:33:04 +01:00
Wim Taymans 993eda5004 remove deprecated symbols and methods 2010-12-06 19:18:31 +01:00
Wim Taymans 99775e5271 more 0.10 -> 0.11 2010-12-06 13:21:45 +01:00
Mark Nauwelaerts 9be4aa34a3 gst-inspect: remove some commented code 2010-12-03 13:35:36 +01:00
Mark Nauwelaerts b9c582f4af gst-inspect: useful factory names for uri-handlers output
Fixes #632236.
2010-10-15 19:45:30 +02:00
Thijs Vermeir 0f896f8ab0 tools: fix parsing of timestamp in gst-plot-timeline 2010-10-05 11:52:24 +02:00
Tim-Philipp Müller bcb7ff4f1d gst-inspect: print GST_PARAM_MUTABLE_* property flags 2010-09-23 20:55:54 +01:00
Sebastian Dröge 748433776a gst-launch: Use g_file_test() instead of access() which does not exist on MSVC6
Fixes bug #629494.
2010-09-17 19:54:26 +02:00
Stefan Kost 3eb97aa32c gst-launch: add a sync bus handler and move state-change logging there
The sync handler is called for all mesages, the event loop we previously used
was not. In the sync handler trigger pipeline dot dumps and call access for a
file in tmp-dir to add markers interceptable by strace and co.
2010-09-09 15:59:55 +03:00
Tim-Philipp Müller 1b4504c50d gst-inspect: don't use gst_structure_foreach() on NULL pointers 2010-09-07 11:10:06 +01:00
Stefan Kost 65356fbb7a element-details: allow for arbitrary element details
Add a GstStructure to GstElementClass and GstElementFactory. Add setters/getter.
Handle it in the registry code. Print items in gst-inspect.
Fixes #396774.

API: gst_element_class_set_meta_data(), gst_element_factory_get_meta_data_detail()
2010-09-06 12:31:04 +03:00
David Schleef 95cd0ab6e4 gst-launch: Fix OIL_CPU_FLAGS docs for Orc 2010-08-24 12:51:41 -07:00
Stefan Kost 58b8319f9c man: remove OIL_CPU_FLAGS from man page
We're using ORC instead of libOil now.
2010-08-24 16:25:16 +03:00
Stefan Kost 330f308c3d inspect: pad info output improvements
Don't print empty query types. Also print caps-vmethods.
2010-08-05 09:40:03 +03:00
Tim-Philipp Müller 708bc7dc97 tools: make gst-inspect print the release date time stamp 2010-07-23 20:46:10 +01:00
Michael Bunk 6df8250d01 docs: fix typo on gst-inspect man page
See #624164.
2010-07-16 18:20:57 +01:00
Sebastian Dröge be77e8d6e1 Revert "-launch: disable CLOCK_LOST message handling"
This reverts commit 1f8eba611a.

This should be fixed now (and if not should be fixed) and the
clock-lost handling is now needed for playbin2 gapless playback.

See bug #579127.
2010-07-16 17:27:56 +02:00
Tim-Philipp Müller bd03793273 tools: remove -p shorthand for --no-sigusr-handler
It's not really needed, and doesn't map any longer after the long option
has been renamed.
2010-07-08 13:43:22 +01:00
Tim-Philipp Müller d989fa3cf1 tools: mention --eos-on-shutdown on gst-launch man page 2010-06-28 13:56:00 +01:00
Sebastian Dröge 5f4a965f67 gstxml: Deprecate GstXml and related functions
Pipeline serialisation to and from XML is horribly broken for all
but the most simple use cases, and will likely never be fixed.
Make sure everyone playing around with these tools is aware of
this, to avoid frustration. See countless bug reports in bugzilla.

Fixes bug #622685.
2010-06-25 18:25:40 +02:00
Tim-Philipp Müller fd64c4b255 tools: deprecate gst-xmllaunch and print fat warning if someone tries to use it
Pipeline serialisation to and from XML is horribly broken for all
but the most simple use cases, and will likely never be fixed.
Make sure everyone playing around with these tools is aware of
this, to avoid frustration. See countless bug reports in bugzilla.
2010-06-24 17:53:36 +01:00
Tim-Philipp Müller 1210e4a006 gst-launch: rename new --no-play command line option to --no-sigusr-handler
--no-play seems a bit confusing.

Fixes #621867.
2010-06-24 17:27:09 +01:00
Tim-Philipp Müller 1e3bd02618 gst-launch: print more errors to stderr and suppress more output in quiet mode
If --quiet is given, don't print anything but errors. Also, make
sure errors are always printed to stderr and not to stdout.

Fixes #621595.
2010-06-15 01:20:37 +01:00