summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-01-09gst/gstbuffer.c: Update some comments.Wim Taymans1-1/+1
Original commit message from CVS: * gst/gstbuffer.c: Update some comments. * tools/gst-inspect.c: (print_element_properties_info): Improve printing of flags.
2008-01-01tools/gst-plot-timeline.py: Add more options to gst-plot-timelineThijs Vermeir1-4/+58
Original commit message from CVS: * tools/gst-plot-timeline.py: Add more options to gst-plot-timeline
2007-12-13tools/gst-inspect.c: Add support for GstFraction properties.Sebastian Dröge1-0/+14
Original commit message from CVS: * tools/gst-inspect.c: (print_element_properties_info): Add support for GstFraction properties.
2007-12-11Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as ↵Stefan Kost1-2/+2
we don't have HAVE_POSIX_TIMERS in publi... Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstclock.h: * gst/gstdebugutils.c: * gst/gstinfo.c: * gst/gstutils.c: * gst/gstutils.h: * libs/gst/base/gstbasesink.c: * tools/gst-launch.c: Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don't have HAVE_POSIX_TIMERS in public headers. Thanks Tim for spotting.
2007-11-28gst/: Fix wrong order of args in GST_CLOCK_DIFF() usage.Stefan Kost1-4/+4
Original commit message from CVS: * gst/gstdebugutils.c: * gst/gstinfo.c: Fix wrong order of args in GST_CLOCK_DIFF() usage. * tools/gst-launch.c: Use new API to get elapsed time.
2007-11-22tools/gst-inspect.c: Print 'default value' for enums and flags too.Stefan Kost1-13/+32
Original commit message from CVS: * tools/gst-inspect.c: Print 'default value' for enums and flags too.
2007-10-29Improve bin graph dumping, by using the envvar to specify a path.Stefan Kost1-7/+10
Original commit message from CVS: * docs/gst/running.xml: * gst/gst.c: * gst/gstdebugutils.c: * gst/gstdebugutils.h: * tools/gst-launch.c: Improve bin graph dumping, by using the envvar to specify a path. Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2007-10-17Allow dumping pipelines as dot graphs. Fixes #456573.Stefan Kost1-0/+19
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/Makefile.am: * gst/gst.c: * gst/gst.h: * gst/gstdebugutils.c: * gst/gstdebugutils.h: * gst/gstinfo.c: * gst/gstinfo.h: * tools/gst-launch.c: Allow dumping pipelines as dot graphs. Fixes #456573.
2007-10-15tools/gst-inspect.c: Don't crash when inspecting an element.Wim Taymans1-2/+1
Original commit message from CVS: * tools/gst-inspect.c: (print_element_info): Don't crash when inspecting an element.
2007-10-15tools/gst-inspect.c: Save approx. 400 1 byte allocs when printing. Use API ↵Stefan Kost3-30/+55
to acces element details. Original commit message from CVS: * tools/gst-inspect.c: Save approx. 400 1 byte allocs when printing. Use API to acces element details. * tools/gst-run.c: Avoid a strdup. * tools/gst-xmlinspect.c: Use API to acces element details.
2007-09-23plugins/elements/gstfakesink.c: Add some debug text to error message to ↵Tim-Philipp Müller1-0/+15
indicate that we errored out on request. Original commit message from CVS: * plugins/elements/gstfakesink.c: Add some debug text to error message to indicate that we errored out on request. * tools/gst-launch.c: When the state change to PLAYING fails, check for an error message on the bus and print it.
2007-08-20tools/gst-launch.1.in: Add colorspace to example pipeline. Fixes #458274.Wim Taymans1-1/+1
Original commit message from CVS: * tools/gst-launch.1.in: Add colorspace to example pipeline. Fixes #458274.
2007-08-17tools/gst-launch.c: Don´t try to do any state management when a live ↵Wim Taymans1-1/+7
pipeline posts buffering messages. Original commit message from CVS: * tools/gst-launch.c: (event_loop), (main): Don´t try to do any state management when a live pipeline posts buffering messages. Also make the buffering string translatable.
2007-08-16gst/gstmessage.h: Add some more docs for the messages.Wim Taymans1-2/+1
Original commit message from CVS: * gst/gstmessage.h: Add some more docs for the messages. * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state), (gst_base_sink_query): Add some more debugging. * tools/gst-launch.c: (event_loop): When interrupting, don't try to set pipeline to PAUSED twice.
2007-07-25tools/gst-inspect.1.in: Document --print-all and ↵Steve Fink1-0/+7
--print-plugin-auto-install-info command line options in man page. Original commit message from CVS: Patch by: Steve Fink <sphink gmail com> * tools/gst-inspect.1.in: Document --print-all and --print-plugin-auto-install-info command line options in man page.
2007-07-23tools/gst-inspect.c: Also give media-type for typefinders in element output.Stefan Kost1-2/+4
Original commit message from CVS: * tools/gst-inspect.c: (print_plugin_features): Also give media-type for typefinders in element output.
2007-07-20tools/gst-plot-timeline.py: Better log parsing (categories can have -). ↵Stefan Kost1-5/+24
Adjust text vs. lines, so that they span the ... Original commit message from CVS: * tools/gst-plot-timeline.py: Better log parsing (categories can have -). Adjust text vs. lines, so that they span the same y-range.
2007-07-03tools/gst-launch.c: When we got an error, there is no point in waiting for ↵Wim Taymans1-1/+2
preroll when shutting down. Original commit message from CVS: * tools/gst-launch.c: (main): When we got an error, there is no point in waiting for preroll when shutting down.
2007-06-15tools/gst-launch.c: Remove crufy code. GOption does not need this workaround.Stefan Kost1-21/+0
Original commit message from CVS: * tools/gst-launch.c: (main): Remove crufy code. GOption does not need this workaround.
2007-05-24tools/gst-launch.c: When buffering goes from a two digit to a single digit ↵Wim Taymans1-1/+1
number, make sure to remove the old second... Original commit message from CVS: * tools/gst-launch.c: (event_loop): When buffering goes from a two digit to a single digit number, make sure to remove the old second digit by writing a blank over it.
2007-05-12tools/gst-launch.c: Give more interesting info when buffering starts and stops.Wim Taymans1-4/+8
Original commit message from CVS: * tools/gst-launch.c: (event_loop): Give more interesting info when buffering starts and stops. Fix case where buffering starts but we fail to update the buffering flag because the target state is not PLAYING.
2007-05-03tools/gst-inspect.c (print_implementation_info): Remove 0.8 cruft.Zaheer Abbas Merali1-2/+0
Original commit message from CVS: * tools/gst-inspect.c (print_implementation_info): Remove 0.8 cruft.
2007-05-02tools/: Don't create a customised man page based on the host architecture, ↵Tim-Philipp Müller2-3/+5
describe the default registry path generic... Original commit message from CVS: * tools/Makefile.am: * tools/gst-launch.1.in: Don't create a customised man page based on the host architecture, describe the default registry path generically. That way the man page is the same for all architectures and packagers have one multilib issue less to deal with. Fixes #434926.
2007-04-05tools/gst-launch.1.in: fractions are better supported in gstreamer than ↵Michael Smith1-1/+1
ractions, so suggest using those. Original commit message from CVS: * tools/gst-launch.1.in: fractions are better supported in gstreamer than ractions, so suggest using those.
2007-03-15tools/gst-inspect.c: Now that we don't check for the 'Codec' keyword any ↵Tim-Philipp Müller1-1/+0
longer in the klass, we shouldn't spew a war... Original commit message from CVS: * tools/gst-inspect.c: (print_plugin_automatic_install_info_codecs): Now that we don't check for the 'Codec' keyword any longer in the klass, we shouldn't spew a warning if the klass isn't a decoder or encoder (since it might be a Source/Network, for example).
2007-03-14tools/gst-inspect.c: Don't require decoder/demuxer/depayloader elements or ↵Tim-Philipp Müller1-3/+0
encoder/muxer/paylader elements to have 'C... Original commit message from CVS: * tools/gst-inspect.c: (print_plugin_automatic_install_info_codecs): Don't require decoder/demuxer/depayloader elements or encoder/muxer/paylader elements to have 'Codec' as part of their factory class string when introspecting a plugin's capabilities. draft-klass.txt mentions that it might be removed in future, and flump3dec doesn't have it as part of its class string, so chances are others might also not have it.
2007-03-08tools/gst-launch.c: Print INFO messages.Wim Taymans1-0/+14
Original commit message from CVS: * tools/gst-launch.c: (event_loop): Print INFO messages.
2007-02-23gst/gstpipeline.c: Don't ref a NULL clock in _provide_clock_func().Wim Taymans1-1/+1
Original commit message from CVS: * gst/gstpipeline.c: (gst_pipeline_change_state), (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay): Don't ref a NULL clock in _provide_clock_func(). Don't allow an INVALID delay. Don't try to calculate base_time with an invalid start_time. Also distribute and notify a NULL clock when it was selected. * tools/gst-launch.c: (event_loop): Don't crash when a NULL clock was selected in the pipeline.
2007-02-21tools/gst-launch.c: Make sure that we actually show the important message ↵Thomas Vander Stichele1-7/+6
part of a warning message. Original commit message from CVS: * tools/gst-launch.c: (event_loop): Make sure that we actually show the important message part of a warning message. No need to check if the gerror is not NULL to free; first of all g_free accepts NULL; and second the default error handler would segfault if gerror was NULL.
2007-02-02tools/gst-launch.1.in: Give example for network streaming (#351998)Stefan Kost1-3/+3
Original commit message from CVS: * tools/gst-launch.1.in: Give example for network streaming (#351998)
2007-01-11tools/gst-inspect.c: Add --print-plugin-auto-install-info option to ↵Tim-Philipp Müller1-4/+148
gst-inspect, so we can introspect plugin files an... Original commit message from CVS: * tools/gst-inspect.c: (print_plugin_automatic_install_info_codecs), (print_plugin_automatic_install_info_protocols), (print_plugin_automatic_install_info), (main): Add --print-plugin-auto-install-info option to gst-inspect, so we can introspect plugin files and get machine-parsable output that corresponds to the last bit of the missing-plugin installer string (small gotcha: doesn't take into account ranks).
2007-01-05tools/: Call g_thread_init() really really early, before any other GLib ↵Tim-Philipp Müller4-0/+12
function (see #342564 and recent discussion o... Original commit message from CVS: * tools/gst-inspect.c: (main): * tools/gst-launch.c: (main): * tools/gst-typefind.c: (main): * tools/gst-xmlinspect.c: (main): Call g_thread_init() really really early, before any other GLib function (see #342564 and recent discussion on gtk-devel-list).
2006-12-07Fix refcounting of gst_plugin_feature_load to match the docs.Jan Schmidt1-0/+1
Original commit message from CVS: * gst/gstelementfactory.c: (gst_element_factory_create): * gst/gstpluginfeature.c: (gst_plugin_feature_load): * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function): * tools/gst-inspect.c: (print_element_info): Fix refcounting of gst_plugin_feature_load to match the docs. Fixes: #380129
2006-11-22docs/pwg/advanced-types.xml: add more missing type detailsStefan Kost1-1/+0
Original commit message from CVS: * docs/pwg/advanced-types.xml: add more missing type details * tools/gst-run.c: (main): remove unused variable
2006-11-08tools/gst-inspect.c: Print a string instead of 'unknown type' for ↵Jan Schmidt1-0/+2
GValueArray properties Original commit message from CVS: * tools/gst-inspect.c: (print_element_properties_info): Print a string instead of 'unknown type' for GValueArray properties
2006-10-16docs/design/part-live-source.txt: describe howto handle latencyStefan Kost1-14/+5
Original commit message from CVS: * docs/design/part-live-source.txt: describe howto handle latency * docs/random/ensonic/profiling.txt: more ideas * tools/gst-plot-timeline.py: fix log parsing for solaris, remove unused function
2006-09-27tests/check/gst/gstcaps.c: Add some tests for gst_caps_intersect().Tim-Philipp Müller1-1/+1
Original commit message from CVS: * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite): Add some tests for gst_caps_intersect(). * tools/gst-launch.c: (event_loop): Print all buffering percentages we get, even the 100% one.
2006-09-26tools/gst-inspect.c: Fix printing of flags to match the look of enums.Wim Taymans1-3/+4
Original commit message from CVS: * tools/gst-inspect.c: (print_element_properties_info), (print_signal_info): Fix printing of flags to match the look of enums.
2006-09-18gst/gstelement.c: Use _DEBUG_OBJECT some more.Wim Taymans1-4/+2
Original commit message from CVS: * gst/gstelement.c: (gst_element_post_message), (gst_element_dispose): Use _DEBUG_OBJECT some more. * libs/gst/base/gstbasesrc.c: (gst_base_src_loop): Avoid typechecks. * tools/gst-launch.c: (main): If the toplevel element is not a GstPipeline, it must be put in a pipeline so that a bus and clock is selected.
2006-09-15tools/gst-launch.c: Added some comments here and there.Wim Taymans1-48/+90
Original commit message from CVS: * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr), (event_loop), (main): Added some comments here and there. Post an application message when an interrupt is caught instead of doing an uncontrolled state change. Clean up the event loop. Handle buffering messages, pause/resume the pipeline. Make shutdown because of an interrupt more reliable.
2006-09-15tools/gst-inspect.c: List flags as hex so it's easier to deal with.Wim Taymans1-1/+1
Original commit message from CVS: * tools/gst-inspect.c: (print_element_properties_info), (print_signal_info): List flags as hex so it's easier to deal with.
2006-08-23tools/: add debug-log plotting developer tool (#340674)Stefan Kost2-1/+252
Original commit message from CVS: * tools/Makefile.am: * tools/gst-plot-timeline.py: add debug-log plotting developer tool (#340674)
2006-08-21gst/gstxml.c: Chain up to parent class in dispose function and also unref ↵Tim-Philipp Müller1-2/+4
the elements in the toplevel_elements GList. Original commit message from CVS: * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file), (gst_xml_parse_memory), (gst_xml_get_element): Chain up to parent class in dispose function and also unref the elements in the toplevel_elements GList. Don't leak XmlDocPtr in _parse_file() and _parse_memory(). Always return a reference in gst_xml_get_element() rather than only sometimes. * tools/gst-launch.c: (xmllaunch_parse_cmdline): Don't leak GstXml object.
2006-08-15tools/gst-launch.c: More space on the left for the tag names, to cater for ↵Tim-Philipp Müller1-2/+2
the 'extended comment' tag (not touching t... Original commit message from CVS: * tools/gst-launch.c: (print_tag): More space on the left for the tag names, to cater for the 'extended comment' tag (not touching the string for the first line since it's translated).