summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2009-11-04gst-indent: Use the same logic to find gnuindent as the git hookJan Schmidt1-1/+25
2009-11-03docs: add another example to the gst-launch man pageTim-Philipp Müller1-1/+13
Add an example that shows how to refer to specific pads by name when constructing a pipeline string. Fixes #600382.
2009-10-19tools/gst-inspect: Check we're not handling NULL pointers.Edward Hervey1-1/+4
2009-10-19tools/gst-inspect: Remove dead assignmentEdward Hervey1-2/+1
2009-10-07build: sprintf, sscanf need stdio.hStefan Kost1-0/+1
2009-10-07man: fix copy and past mistake for -q optionStefan Kost1-1/+1
2009-10-07gst-launch: Don't activate tracing if not requested.Edward Hervey1-2/+1
2009-10-06Add restarting of the plugin loader and blacklisting of broken filesJan Schmidt1-2/+44
2009-08-18tools: Use iterate_internal_links instead of deprecated get_internal_linksSebastian Dröge2-6/+6
2009-07-10tools: the plugin features listed by gst-inspect are typefinders, not typesTim-Philipp Müller1-4/+4
2009-07-08tools: Fix compilation if option parsing is disabledPhilip Jägenstedt2-0/+12
Fixes bug #587976.
2009-06-19gst-inspect: fix broken flags to flag string serialisationTim-Philipp Müller1-35/+45
e.g. cdparnoiasrc would show fragment|full for a flags value of 2.
2009-06-04gst-launch: refer to element, pad, or object in some message stringsTim-Philipp Müller1-18/+34
Revisit these strings now that the change regarding the message source object in gst_element_found_tags_for_pad() got reverted. Try to refer explicitly to what kind of element it is (element, pad, etc.) in some cases, which is nicer than having to deduce this info (and we can re-use the already existing translated strings for the most common case). It also makes for better example code, since it's clear now that the message source object doesn't have to be an element.
2009-06-02tools: Set pipeline to PAUSED before waiting for main loop idleDavid Schleef1-3/+4
When it is shutting down a pipeline after ctrl-c, set pipeline to paused before waiting for the main loop to complete all pending transactions. Fixes #584657. If some part of the pipeline is generating signals or idle functions at a fast rate, waiting for a main loop iteration may never return.
2009-05-26docs: fix cdparanoia example pipeline in gst-launch man pageTim-Philipp Müller1-5/+10
2009-05-21gst-launch: don't use G_GUINT32_FORMAT in translatable stringTim-Philipp Müller1-4/+2
xgettext doesn't handle this very well. Fixes #583419.
2009-05-14gst-launch: Print the path string for message sourcesSebastian Dröge1-8/+21
This reduces confusion if the message source is a pad and only "src" is printed as source.
2009-05-11-launch: connect to deep-notify with right nameWim Taymans1-1/+1
Connect to the right signal name with - instead of _.
2009-04-16-launch: disable CLOCK_LOST message handlingWim Taymans1-0/+5
Disable the handling of the CLOCK_LOST messages until we fixed and released the elements (rtspsrc) that break when we quickly PAUSE/PLAY the pipeline. Fixes #579127
2009-04-10-launch: handle clock-lost messagesWim Taymans1-0/+5
When we receive a clock-lost message, we need to select a new clock in the pipeline by setting the pipeline to PAUSED and back to PLAYING.
2009-04-04gst-inspect: remove dead assignmentEdward Hervey1-2/+0
first_flag will be either: * rewritten without being read if we loop again (line 284) * not read again if we don't loop
2009-03-31gst-launch: Fixes error when DISABLE_FAULT_HANDLER is definedThiago Santos1-1/+2
When defined, this macro prevented the declaration of 'waiting_eos', causing an error.
2009-03-27Adds flag for eos on shutdown in gst-launch. Fixes #575814.Thiago Santos1-10/+43
2009-03-24docs: gst-launch man page fixTim-Philipp Müller1-1/+1
The command line option is --gst-debug-disable, not --gst-disable-debug. Fixes #576556. Spotted by Bogdan Harjoc.
2009-02-23fix uri handler iteration in gst-inspectAndy Wingo1-1/+1
* tools/gst-inspect.c (print_all_uri_handlers): Whoops, fix iteration. I'm stupid.
2009-02-19tools: print normal output to stdout, and only errors and warnings to stderr ↵Tim-Philipp Müller1-4/+4
in gst-launch Let's not print everything to stderr. Suppress some more 'normal' messages when --quiet was passed.
2009-02-19tools: use g_print*() instead of *printf() in gst-launchTim-Philipp Müller1-51/+35
We should use GLib's g_print*() functions for printing stuff in gst-launch, not printf and friends, since we're printing translated strings, which we get in UTF-8 encoding, and GLib's print functions expect UTF-8 encoded strings whereas printf et al. expect strings in the locale encoding, which may or may not be UTF-8. Also add a PRINT convenience macro so we don't have to litter the code with if (!quiet) statements.
2009-02-18Add message to request a state changeWim Taymans1-15/+32
Add a GST_MESSAGE_REQUEST_STATE that can be posted by element when they would like to have the application change the state of the pipeline. the primary use case is to pause the pipeline when an audio mixer is mixing a higher priority stream but it can also be used for other purposes. Add some docs and a unit test. Implement the REQUEST_STATE message in gst-launch. API: gst_message_new_request_state() API: gst_message_parse_request_state() API: GST_MESSAGE_REQUEST_STATE
2009-02-15gst-launch: add -q/--quiet option to supress any non error output.Stefan Kost2-15/+35
Having no output is nice for scripting. Also update the manpage.
2008-12-09tools/gst-launch.1.in: Fix description of how to specify a type in caps. ↵Stefan Kost1-4/+4
Fixes #553873. Original commit message from CVS: * tools/gst-launch.1.in: Fix description of how to specify a type in caps. Fixes #553873. Also ranges and list contain values and not property-assignments.
2008-11-21tools/gst-launch.c: Make gst-launch handle LATENCY messages and make it ↵Wim Taymans1-0/+6
recalculate the latency. Original commit message from CVS: * tools/gst-launch.c: (event_loop): Make gst-launch handle LATENCY messages and make it recalculate the latency.
2008-11-17tools/gst-inspect.c (print_all_uri_handlers): New function, prints a summary ↵Andy Wingo1-3/+89
of what URI schemes are supported by wha... Original commit message from CVS: 2008-11-17 Andy Wingo <wingo@pobox.com> * tools/gst-inspect.c (print_all_uri_handlers): New function, prints a summary of what URI schemes are supported by what elements. (main): Plumb in support for --uri-handlers or -u, and fix the argc check for -a and -u.
2008-11-12tools/gst-inspect.c: Add --plugin option. Fixes #560301.Wim Taymans1-6/+14
Original commit message from CVS: * tools/gst-inspect.c: (main): Add --plugin option. Fixes #560301.
2008-11-04tools/gst-launch.c: Print the message seqnums.Wim Taymans1-1/+5
Original commit message from CVS: * tools/gst-launch.c: (event_loop): Print the message seqnums.
2008-10-12tools/gst-launch.c: Change the printing of the 'buffering...' output to ↵Jan Schmidt1-1/+1
avoid putting a \r in a translateable string ... Original commit message from CVS: * tools/gst-launch.c: Change the printing of the 'buffering...' output to avoid putting a \r in a translateable string (flagged by the TP).
2008-08-18tools/gst-launch.1.in: Document GST_REGISTRY_UPDATE environment variable.Tim-Philipp Müller1-0/+7
Original commit message from CVS: * tools/gst-launch.1.in: Document GST_REGISTRY_UPDATE environment variable.
2008-07-31Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.Sebastian Dröge3-33/+4
Original commit message from CVS: * configure.ac: * docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer.types: * docs/gst/gstreamer.types.in: * gst/Makefile.am: * gst/gst.c: * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func): * gst/gstconfig.h.in: * gst/gstelement.c: (gst_element_get_index): * gst/gstregistrybinary.c: (gst_registry_binary_save_feature), (gst_registry_binary_load_feature), (gst_registry_binary_read_cache): * gst/gstregistryxml.c: (load_feature), (gst_registry_xml_read_cache), (gst_registry_xml_save_feature): * plugins/Makefile.am: * tools/gst-indent: * tools/gst-inspect.c: (print_index_info), (print_element_list), (print_plugin_features), (print_element_features): * tools/gst-xmlinspect.c: (print_event_masks), (print_element_info): * win32/common/gstconfig.h: Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. Disabling the indexers and URI handler code will only reduce the required amount of memory by a very small amount but on the other hand requires much more maintaince work. Apart from that many places of code are broken when disabling them. Disabling the enum types doesn't reduce the required amount of memory by more than a few bytes and makes it hard to fix bugs like #539772, i.e. use the enums as GObject properties.
2008-07-02tools/gst-plot-timeline.py: Fix parsing of log messagesThijs Vermeir1-1/+1
Original commit message from CVS: * tools/gst-plot-timeline.py: Fix parsing of log messages
2008-05-28tools/gst-inspect.c: If possible print the element type of GValueArray ↵Sebastian Dröge1-1/+8
properties. Original commit message from CVS: * tools/gst-inspect.c: (print_element_properties_info): If possible print the element type of GValueArray properties.
2008-05-04tools/gst-inspect.c: Use "%s" as format string instead of printing strings ↵Sebastian Dröge1-9/+9
directly. Original commit message from CVS: * tools/gst-inspect.c: (n_print), (print_hierarchy), (print_interfaces), (print_element_properties_info), (print_signal_info): Use "%s" as format string instead of printing strings directly.
2008-04-26tools/gst-run.c: Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.Edward Hervey1-0/+2
Original commit message from CVS: Patch by Edward Hervey <edward.hervey@collabora.co.uk> * tools/gst-run.c: Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
2008-04-25tools/gst-launch.1.in: Forgot to also add the envvar docs here.Stefan Kost1-0/+3
Original commit message from CVS: * tools/gst-launch.1.in: Forgot to also add the envvar docs here.
2008-04-20tools/gst-inspect.c: Print the URI protocols and the URI type supported by ↵Sebastian Dröge1-0/+34
the element. Original commit message from CVS: * tools/gst-inspect.c: (print_uri_handler_info), (print_element_info): Print the URI protocols and the URI type supported by the element.
2008-04-12tools/gst-xmlinspect.c: De-cruft a bit. If no argument is specified, print ↵Tim-Philipp Müller1-210/+40
all elements in Original commit message from CVS: * tools/gst-xmlinspect.c: (print_element_info), (main): De-cruft a bit. If no argument is specified, print all elements in XML syntax rather than a freestyle list of elements like gst-inspect. Also, don't print XML header chunk unless we actually have something to print (ie. don't print it before an error message); print error message to stderr not stdout. Remove support for printing plugin info (it would just output something freestyle along the lines of gst-inspect so far), which fixes #514507. Also add license header.
2008-03-22API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECTSebastian Dröge1-0/+3
Original commit message from CVS: * gst/gstminiobject.c: (gst_value_dup_mini_object), (gst_param_spec_mini_object): * gst/gstminiobject.h: * win32/common/libgstreamer.def: * docs/gst/gstreamer-sections.txt: API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move GstParamSpecMiniObject into a public header for this. This make GstMiniObject a bit more consistent with GObject and makes it possible to extend the param specs. gst_value_dup_mini_object is mainly useful for set_property methods. Fixes bug #523798. * tools/gst-inspect.c: (print_element_properties_info): Print something useful for GstMiniObject properties and not just "unknown type".
2008-02-29Correct all relevant warnings found by the sparse semantic code analyzer. ↵Sebastian Dröge2-3/+3
This include marking several symbols static... Original commit message from CVS: * gst/gstconfig.h.in: * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer): * libs/gst/check/gstcheck.c: (gst_check_log_message_func), (gst_check_log_critical_func), (gst_check_drop_buffers), (gst_check_element_push_buffer_list): * libs/gst/controller/gstcontroller.c: (gst_controller_get), (gst_controller_get_type): * libs/gst/controller/gsthelper.c: (gst_object_control_properties), (gst_object_get_controller), (gst_object_get_control_source): * libs/gst/controller/gstinterpolationcontrolsource.c: (gst_interpolation_control_source_new): * libs/gst/controller/gstlfocontrolsource.c: (gst_lfo_control_source_new): * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_event_from_packet_0_2): * plugins/elements/gstfdsrc.c: * plugins/elements/gstmultiqueue.c: * plugins/elements/gsttee.c: * plugins/elements/gsttypefindelement.c: * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml), (gst_file_index_add_association): * plugins/indexers/gstmemindex.c: * tests/benchmarks/gstpollstress.c: (mess_some_more): * tests/check/elements/queue.c: (setup_queue): * tests/check/gst/gstpipeline.c: * tests/check/libs/collectpads.c: (setup), (teardown), (gst_collect_pads_suite): * tests/examples/adapter/adapter_test.c: * tests/examples/metadata/read-metadata.c: (make_pipeline): * tests/examples/xml/createxml.c: * tests/examples/xml/runxml.c: * tools/gst-inspect.c: * tools/gst-run.c: Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static, using NULL instead of 0 for pointers, not using variable sized arrays on the stack, moving variable declarations to the beginning of a block and using "foo (void)" instead of "foo ()" for declarations.
2008-02-05tools/gst-launch.c: Dump one graph per pipeline state-change and state ↵Stefan Kost1-13/+9
change name (if GST_DEBUG_DUMP_DOT_DIR is set). Original commit message from CVS: * tools/gst-launch.c: Dump one graph per pipeline state-change and state change name (if GST_DEBUG_DUMP_DOT_DIR is set).
2008-02-02tools/gst-inspect.c: Fix a few memory leaks.Sebastian Dröge1-4/+16
Original commit message from CVS: * tools/gst-inspect.c: (print_interfaces), (print_element_properties_info), (print_pad_info), (print_signal_info), (print_element_info): Fix a few memory leaks.
2008-01-30tools/gst-inspect.c: Revert previous commit in preparation for an impromptu ↵Jan Schmidt1-16/+4
0.10.17 release Original commit message from CVS: * tools/gst-inspect.c: Revert previous commit in preparation for an impromptu 0.10.17 release
2008-01-29tools/gst-inspect.c: Fix a few memory leaks.Sebastian Dröge1-4/+16
Original commit message from CVS: * tools/gst-inspect.c: (print_interfaces), (print_element_properties_info), (print_pad_info), (print_signal_info), (print_element_info): Fix a few memory leaks.