- 06 Mar, 2006 1 commit
-
-
Christophe Fergeau authored
Original commit message from CVS: * gst/gstutils.h: Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE usable in c++ code (#333417; patch by: Christophe Fergeau)
-
- 20 Feb, 2006 1 commit
-
-
Jan Schmidt authored
Original commit message from CVS: * gst/Makefile.am: * gst/gstparse.h: * gst/gstutils.c: * gst/gstutils.h: Make things work with --disable-parse as they do with --disable-load-save - the symbols involved disappear, but the header is still installed and GST_DISABLE_PARSE is included via gstconfig.h
-
- 02 Feb, 2006 1 commit
-
-
Tim-Philipp Müller authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstutils.c: (element_find_unconnected_pad), (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description): * gst/gstutils.h: Add new API: gst_parse_bin_from_description() and gst_bin_find_unconnected_pad() (#329069).
-
- 02 Jan, 2006 1 commit
-
-
Tim-Philipp Müller authored
gst/gstutils.h: Add prototype for _get_type() function to GST_BOILERPLATE_FULL macro, so that gcc doesn't complain if... Original commit message from CVS: Reviewed by: Tim-Philipp Müller <tim at centricular dot net> * gst/gstutils.h: Add prototype for _get_type() function to GST_BOILERPLATE_FULL macro, so that gcc doesn't complain if the -Wmissing-prototypes compiler switch is being used (#325429).
-
- 05 Dec, 2005 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: fix docs
-
- 04 Dec, 2005 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: * gst/gstutils.c: (gst_util_guint64_to_gdouble), (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64): * gst/gstutils.h: * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite): add tests that seem to show that the guint64/gdouble conversions are correct.
-
- 23 Nov, 2005 1 commit
-
-
Jan Schmidt authored
Original commit message from CVS: * gst/gststructure.c: (gst_structure_get_fraction), (gst_structure_parse_value), (gst_structure_fixate_field_nearest_fraction): * gst/gststructure.h: * gst/gstutils.c: (gst_util_uint64_scale_int): * gst/gstutils.h: * scripts/update-funcnames: API Changes. Rename gst_util_clock_time_scale to gst_util_uint64_scale_int Make gst_structure_fixate_field_nearest_fraction take a numerator and denominator argument instead of a GValue add gst_structure_get_fraction helper function.
-
- 22 Nov, 2005 2 commits
-
-
Michael Smith authored
Original commit message from CVS: Add underscores
-
Michael Smith authored
Add util method for scaling a clocktime by a fraction. Useful implementation is left as an exercise for the reader. Original commit message from CVS: * gst/gstutils.c: (gst_util_clocktime_scale): * gst/gstutils.h: * docs/gst/gstreamer-sections.txt: Add util method for scaling a clocktime by a fraction. Useful implementation is left as an exercise for the reader.
-
- 21 Nov, 2005 1 commit
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * gst/gsttagsetter.h: * gst/gsttaglist.h: * gst/gststructure.h: * gst/gstcaps.h: * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste.
-
- 19 Nov, 2005 1 commit
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-11-19 Andy Wingo <wingo@pobox.com> * gst/gstutils.h: * gst/gstutils.c (g_static_rec_cond_wait) (g_static_rec_cond_timed_wait): Removed, no longer needed. * gst/gstbin.c: Remove terrible continue_state prototype. * gst/gstelement.h (gst_element_continue_state): Make public. * gst/gstelement.h: * gst/gstelement.c (gst_element_commit_state): Removed, replaced by continue_state. Fixes #319389.
-
- 04 Nov, 2005 1 commit
-
-
Stefan Kost authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstcaps.h: * gst/gstinfo.c: * gst/gstminiobject.h: * gst/gstobject.h: * gst/gstutils.h: more docs added
-
- 21 Oct, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: * gst/gstelement.h: * gst/gstevent.c: * gst/gstevent.h: * gst/gstmessage.h: * gst/gstpad.h: * gst/gstparse.h: * gst/gsttask.c: (gst_task_finalize), (gst_task_func): * gst/gsttask.h: * gst/gstutils.c: * gst/gstutils.h: And 2% more doc coverage.
-
- 20 Oct, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstpad.h: * gst/gstquery.c: (gst_query_set_position), (gst_query_parse_position), (gst_query_set_duration), (gst_query_parse_duration), (gst_query_new_convert): * gst/gstquery.h: * gst/gstutils.c: (gst_element_query_convert): * gst/gstutils.h: Docs and consistency fixes.
-
- 19 Oct, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/base/gstbasesink.c: (gst_base_sink_commit_state), (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing): * gst/base/gstbasesrc.c: (gst_base_src_query): * gst/elements/gstfilesink.c: (gst_file_sink_query): * gst/elements/gsttypefindelement.c: (gst_type_find_handle_src_query), (find_element_get_length), (gst_type_find_element_activate): API change fix. * gst/gstquery.c: (gst_query_new_position), (gst_query_set_position), (gst_query_parse_position), (gst_query_new_duration), (gst_query_set_duration), (gst_query_parse_duration), (gst_query_set_segment), (gst_query_parse_segment): * gst/gstquery.h: Bundling query position/duration is not a good idea since duration does not change much and we don't want to recalculate it for every position query, so they are separated again.. Base value in segment query is not needed. * gst/gstqueue.c: (gst_queue_handle_src_query): * gst/gstutils.c: (gst_element_query_position), (gst_element_query_duration), (gst_pad_query_position), (gst_pad_query_duration): * gst/gstutils.h: Updates for query API change. Added some docs here and there.
-
- 15 Oct, 2005 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: whitespace fixes
-
- 11 Oct, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-states.txt: Some more docs. * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state), (gst_bin_change_state_func), (bin_bus_handler): Doc updates. Don't distribute the same clock over and over again. * gst/gstclock.c: * gst/gstclock.h: Doc updates. * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark), (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event), (gst_pad_send_event): * gst/gstpad.h: Make probe emission threadsafe again. Register quarks and move _get_name() from utils. Doc updates. * gst/gstpipeline.c: (gst_pipeline_class_init), (gst_pipeline_change_state), (gst_pipeline_provide_clock_func): Only redistribute the clock of it changed. * gst/gstsystemclock.h: Doc updates. * gst/gstutils.c: * gst/gstutils.h: Moved the _flow_get_name() to GstPad.
-
- 10 Oct, 2005 3 commits
-
-
Thomas Vander Stichele authored
Original commit message from CVS: * gst/base/gstbasesrc.c: (gst_base_src_query): use conversions * gst/gstutils.c: (gst_guint64_to_gdouble), (gst_gdouble_to_guint64), (gst_util_uint64_scale): * gst/gstutils.h: externalize, basesrc uses it obviously the implementation needs testing
-
Wim Taymans authored
Original commit message from CVS: * check/Makefile.am: * check/generic/states.c: (GST_START_TEST): * check/gst/gstbin.c: (GST_START_TEST): * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite): * check/states/sinks.c: (GST_START_TEST): * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite), (main): Check fixes, use API as stated in design docs, remove hacks. * gst/base/gstbasesink.c: (gst_base_sink_handle_object), (gst_base_sink_change_state): Catch stopping our task while we're shutting down. * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_get_state_func), (gst_bin_recalc_state), (gst_bin_change_state_func), (bin_bus_handler): * gst/gstbin.h: * gst/gstelement.c: (gst_element_init), (gst_element_get_state_func), (gst_element_abort_state), (gst_element_commit_state), (gst_element_lost_state), (gst_element_set_state), (gst_element_change_state), (gst_element_change_state_func): * gst/gstelement.h: New state change algorithm (see #318116) * gst/gstpipeline.c: (gst_pipeline_class_init), (gst_pipeline_init), (gst_pipeline_set_property), (gst_pipeline_get_property), (do_pipeline_seek), (gst_pipeline_change_state), (gst_pipeline_provide_clock_func): * gst/gstpipeline.h: Remove crude state change hacks. * gst/gstutils.h: Remove crude hacks. * tools/gst-launch.c: (main): Fixes for state change. Needs some more work to fully use the new stuff.
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-10-10 Andy Wingo <wingo@pobox.com> * docs/gst/gstreamer-sections.txt: Doc updates. * gst/gstutils.h: * gst/gstutils.c (g_static_rec_cond_timed_wait) (g_static_rec_cond_wait): Ported from state changes patch, while we wait on bug #317802 to be solved in a well-distributed GLib.
-
- 08 Oct, 2005 1 commit
-
-
Stefan Kost authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstmessage.c: * gst/gstmessage.h: * gst/gstminiobject.c: * gst/gstminiobject.h: * gst/gstobject.h: * gst/gstpad.h: * gst/gstutils.h: lots of new docs and doc fixes
-
- 27 Sep, 2005 1 commit
-
-
Stefan Kost authored
added two new functions to the docs documents all undocumented GstXXXFlags completed some incomplete docs Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/base/gstbasesrc.h: * gst/gstelement.h: * gst/gstevent.h: * gst/gstobject.h: * gst/gstpad.h: * gst/gstpipeline.c: * gst/gstpipeline.h: * gst/gstutils.h: * gst/gstxml.h: added two new functions to the docs documents all undocumented GstXXXFlags completed some incomplete docs
-
- 21 Sep, 2005 1 commit
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-09-21 Andy Wingo <wingo@pobox.com> * check/gst/gstutils.c: New file. (test_buffer_probe_n_times): A simple buffer probe test. More to come, foolios. * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to have-data::buffer, not have-data. (gst_pad_add_event_probe): Likewise for have-data::event. (gst_pad_add_data_probe): More docs. The part about 'resolving the peer' isn't quite right yet though. (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) (gst_pad_remove_data_probe): Change to take the guint handler_id as their arg, not the function+data, which is more glib-like. * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to the signal emission to indicate if the data is a buffer or an event. (gst_pad_get_type): Initialize buffer and event quarks. (gst_pad_class_init): have-data is now a detailed signal, yes it is.
-
- 12 Sep, 2005 1 commit
-
-
Thomas Vander Stichele authored
add a gst_element_set_state_async method that sets the state and starts a thread to make sure the state change comple... Original commit message from CVS: * check/gst/gstpipeline.c: (GST_START_TEST): * docs/gst/gstreamer-sections.txt: * gst/gstutils.c: (set_state_async_thread_func), (gst_element_set_state_async): * gst/gstutils.h: add a gst_element_set_state_async method that sets the state and starts a thread to make sure the state change completes as best as it can
-
- 02 Sep, 2005 1 commit
-
-
Andy Wingo Wingo authored
gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags. (GstStateChangeReturn): Renamed from GstElementStateReturn, names munged to be GST_STATE_CHANGE_*. (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to work with the new state representation. (GstStateChange): New enumeration of possible state transitions. Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR. (GstElementClass::change_state): Pass the GstStateChange along as an argument. Helps language bindings, so they don't have to use tricky lock-needing macros like GST_STATE_CHANGE (). * scripts/update-states (file): New script. Run it on a file to update it for state naming and API changes. Updates files in place. * All files updated for the new API.
-
- 31 Aug, 2005 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: * docs/faq/gst-uninstalled: add -good * gst/gstevent.c: * gst/gstevent.h: remove wrong docs * gst/gstutils.c: (gst_element_link_filtered): * gst/gstutils.h: add gst_element_link_filtered
-
- 29 Aug, 2005 1 commit
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-08-29 Andy Wingo <wingo@pobox.com> * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
-
- 28 Aug, 2005 1 commit
-
-
Andy Wingo Wingo authored
gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init as having two arguments instead of just one. Allows su... Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init as having two arguments instead of just one. Allows superclasses to access information on subclasses -- see the terrible for() loop in gtype.c:g_type_create_instance for the reason why. All callers changed.
-
- 25 Aug, 2005 1 commit
-
-
Stefan Kost authored
Original commit message from CVS: * gst/gstbin.h: removed ';' from the end of macro defs * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: * docs/gst/tmpl/.cvsignore: * gst/gstbus.h: * gst/gstelement.c: (gst_element_class_init), (gst_element_set_state), (activate_pads), (gst_element_save_thyself): * gst/gstevent.c: (gst_event_new_newsegment): * gst/gstevent.h: * gst/gstiterator.c: * gst/gstiterator.h: * gst/gstpad.c: * gst/gstprobe.h: * gst/gstutils.c: (gst_pad_query_convert): * gst/gstutils.h: fixed parameter name mismatches between source, header and docs added some more docs, resolved the last batch of unused elements in docs (now someone needs to doc them)
-
- 24 Aug, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstbuffer.c: (gst_buffer_new_and_alloc): Some debugging. * gst/gstclock.h: Cast to ClockTime before formatting to time. * gst/gstutils.h: Cleanups.
-
- 22 Aug, 2005 1 commit
-
-
Andy Wingo Wingo authored
gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto macro, implements an interface and gstimplementsinterface... Original commit message from CVS: 2005-08-22 Andy Wingo <wingo@pobox.com> * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto macro, implements an interface and gstimplementsinterface for a new type.
-
- 17 Aug, 2005 1 commit
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-08-17 Andy Wingo <wingo@pobox.com> * gst/base/gstbasetransform.c: Debug changes. * gst/gstutils.h: * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to ensure bins post state change messages. A bit of a hack but I can't think of a way to avoid it. * check/gst/gstbin.c (test_watch_for_state_change): Added test.
-
- 16 Aug, 2005 1 commit
-
-
Ronald S. Bultje authored
Original commit message from CVS: * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref), (gst_element_found_tags): * gst/gstutils.h: Add two utility functions for tag handling.
-
- 09 Aug, 2005 1 commit
-
-
Tim-Philipp Müller authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstutils.h: New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
-
- 21 Jul, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-seeking.txt: Some small additions. * gst/base/gstbasesink.c: (gst_base_sink_handle_object), (gst_base_sink_get_times), (gst_base_sink_do_sync), (gst_base_sink_activate_push), (gst_base_sink_activate_pull): * gst/base/gstbasesink.h: discont values are gint64, handle the math correctly. * gst/base/gstbasesrc.c: (gst_base_src_loop): Make the basesrc report error if the source pad is not linked. * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_query), (gst_queue_src_activate_push): Make queue collect data even if the srcpad is not linked. Start pushing out data as soon as it is linked. * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name): * gst/gstutils.h: Added gst_flow_get_name() to ease error reporting.
-
- 18 Jul, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-dynamic.txt: * docs/design/part-events.txt: * docs/design/part-seeking.txt: Some more docs in the works. * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps), (gst_base_transform_getcaps), (gst_base_transform_configure_caps), (gst_base_transform_setcaps), (gst_base_transform_get_size), (gst_base_transform_buffer_alloc), (gst_base_transform_event), (gst_base_transform_handle_buffer), (gst_base_transform_sink_activate_push), (gst_base_transform_src_activate_pull), (gst_base_transform_set_passthrough), (gst_base_transform_is_passthrough): Refcounting fixes. * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll): Cleanups. * gst/gstevent.c: (gst_event_finalize): Set SRC to NULL. * gst/gstutils.c: (gst_element_unlink), (gst_pad_get_parent_element), (gst_pad_proxy_getcaps), (gst_pad_proxy_setcaps): * gst/gstutils.h: Add _get_parent_element() to get a pads parent as an element.
-
- 13 Jul, 2005 1 commit
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-07-13 Andy Wingo <wingo@pobox.com> * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the source couldn't negotiate.
-
- 04 Jul, 2005 1 commit
-
-
Edward Hervey authored
Original commit message from CVS: * gst/gstutils.c: * gst/gstutils.h: (gst_pad_add_*_probe): now returns the signal id for better wrapping in bindings.
-
- 29 Jun, 2005 2 commits
-
-
Ronald S. Bultje authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * docs/gst/tmpl/gstpad.sgml: * docs/gst/tmpl/gstprobe.sgml: * gst/Makefile.am: * gst/gstpad.c: (_gst_do_pass_data_accumulator), (gst_pad_class_init), (gst_pad_init), (gst_pad_chain), (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event): * gst/gstpad.h: * gst/gstutils.c: (gst_pad_add_data_probe), (gst_pad_add_event_probe), (gst_pad_add_buffer_probe), (gst_pad_remove_data_probe), (gst_pad_remove_event_probe), (gst_pad_remove_buffer_probe): * gst/gstutils.h: Remove old probes, add new g-signal-based probes and some utility functions.
-
Edward Hervey authored
gst/: Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added the definition to the header file. Original commit message from CVS: * gst/gstelementfactory.c: * gst/gstutils.h: * gst/gstutils.c: Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added the definition to the header file.
-