- 25 May, 2007 1 commit
-
-
Wim Taymans authored
libs/gst/base/gstcollectpads.c: Use additional refcounting to avoid crashes when dynamically adding and removing pads... Original commit message from CVS: * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize), (unref_data), (gst_collect_pads_remove_pad), (gst_collect_pads_check_pads): Use additional refcounting to avoid crashes when dynamically adding and removing pads. Fixes #420206.
-
- 24 May, 2007 5 commits
-
-
Wim Taymans authored
tools/gst-launch.c: When buffering goes from a two digit to a single digit 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.
-
Tim-Philipp Müller authored
Original commit message from CVS: * libs/gst/base/gstdataqueue.c: Eliminate tabs and trailing comma in enum list; fix some typos.
-
Wim Taymans authored
tests/check/gst/gstbin.c: Allow refcount of 3 and 4 because some state thread might still be busy with it. Original commit message from CVS: * tests/check/gst/gstbin.c: (GST_START_TEST): Allow refcount of 3 and 4 because some state thread might still be busy with it.
-
Tim-Philipp Müller authored
Original commit message from CVS: * plugins/elements/Makefile.am: * plugins/elements/gstmultiqueue.h: * plugins/elements/gstqueue.h: These are not installed headers, no need for padding.
-
Wim Taymans authored
Original commit message from CVS: * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func), (gst_bin_continue_func): Enable latency for next release. Restore STATE_LOCK around recalc_state that was left out during the rewrite and could result in racy behaviour when _get_state and recalc_state are run concurrently. See #440463.
-
- 23 May, 2007 1 commit
-
-
Wim Taymans authored
tests/check/gst/gstsystemclock.c: Improve test_async_order to also work when both timers are already expired when we ... Original commit message from CVS: * tests/check/gst/gstsystemclock.c: (store_callback), (GST_START_TEST): Improve test_async_order to also work when both timers are already expired when we get scheduled to check it.
-
- 22 May, 2007 7 commits
-
-
Tim-Philipp Müller authored
gst/gstbin.*: 'private' is a c++ keyword, let's not use that in header files, otherwise c++ compilers will throw a ta... Original commit message from CVS: * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property), (gst_bin_remove_func), (gst_bin_handle_message_func): * gst/gstbin.h: 'private' is a c++ keyword, let's not use that in header files, otherwise c++ compilers will throw a tantrum.
-
Tim-Philipp Müller authored
Original commit message from CVS: * plugins/elements/gstelements.c: * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek), (gst_file_sink_get_current_offset): * plugins/indexers/gstindexers.c: (plugin_init): Use #ifdef for HAVE_XYZ for consistency. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/filesink.c: (setup_filesink), (cleanup_filesink), (GST_START_TEST), (filesink_suite): Add some unit tests for filesink.
-
plugins/elements/gstfilesink.*: Fix position reporting; rename data_written member to current_pos to reflect its real... Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet be> * plugins/elements/gstfilesink.c: (gst_file_sink_open_file), (gst_file_sink_query), (gst_file_sink_do_seek), (gst_file_sink_get_current_offset), (gst_file_sink_render): * plugins/elements/gstfilesink.h: Fix position reporting; rename data_written member to current_pos to reflect its real meaning (fixes #412648).
-
Edward Hervey authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property), (gst_bin_remove_func), (gst_bin_handle_message_func): * gst/gstbin.h: Add a property for bins that handle the state change of their childs. Fixes #435880
-
Thomas Vander Stichele authored
Original commit message from CVS: add quote
-
Sebastian Dröge authored
libs/gst/controller/gstinterpolation.c: Use an array of the correct type when using _get_value_array with linear inte... Original commit message from CVS: * libs/gst/controller/gstinterpolation.c: Use an array of the correct type when using _get_value_array with linear interpolation.
-
Stefan Kost authored
gst/gstelement.c (gst_element_requires_clock, gst_element_provides_clock, gst_element_request_pad, gst_element_class_... Original commit message from CVS: * gst/gstelement.c (gst_element_requires_clock, gst_element_provides_clock, gst_element_request_pad, gst_element_class_set_details, gst_element_class_set_details_simple, gst_element_default_send_event, gst_element_abort_state, gst_element_continue_state, gst_element_set_state, gst_element_set_state_func, iterator_activate_fold_with_resync): * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function, gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src, gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push, gst_pad_get_range, gst_pad_pull_range): * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS, GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction, GstPadActivateModeFunction, GstPadChainFunction, GstPadGetCapsFunction, GstPadAcceptCapsFunction, GstPadFixateCapsFunction, GstPadTemplate): * gst/gstpipeline.c (gst_pipeline_change_state, gst_pipeline_set_new_stream_time, gst_pipeline_use_clock, gst_pipeline_set_clock, gst_pipeline_auto_clock, gst_pipeline_get_delay): Whitespace and docs fixes.
-
- 21 May, 2007 7 commits
-
-
Sebastian Dröge authored
libs/gst/controller/gstinterpolation.c: Add support for retrieving value arrays when using the trigger interpolation ... Original commit message from CVS: * libs/gst/controller/gstinterpolation.c: (interpolate_trigger_get_enum_value_array), (interpolate_trigger_get_string_value_array): Add support for retrieving value arrays when using the trigger interpolation mode.
-
Sebastian Dröge authored
libs/gst/controller/gstcontroller.*: Clarify the docs of gst_controller_get_value_array(): The array where the values... Original commit message from CVS: * libs/gst/controller/gstcontroller.c: (gst_controller_get_value_array): * libs/gst/controller/gstcontroller.h: Clarify the docs of gst_controller_get_value_array(): The array where the values should be written to must be allocated as there seems to be no way to get the size of a random GType. This doesn't change any behaviour. Also fix some typos all over the place and remove an unused, commented function that is not necessary as g_object_set() could be used instead. * tests/check/libs/controller.c: (GST_START_TEST), (gst_controller_suite): Add unit test for gst_controller_get_value_array().
-
Jan Schmidt authored
tests/check/gst/gstbuffer.c: Disable part of the gst_buffer_try_new_and_alloc test, because it can happily succeed on... Original commit message from CVS: * tests/check/gst/gstbuffer.c: (GST_START_TEST): Disable part of the gst_buffer_try_new_and_alloc test, because it can happily succeed on 64-bit systems where there's more address space available.
-
Sebastian Dröge authored
Original commit message from CVS: * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite): Add unit test for the improved caps checking from bug #421543.
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-synchronisation.txt: Small addition. * gst/gstbin.c: (gst_bin_query): * plugins/elements/gstqueue.c: (apply_segment): Improve debugging. * gst/gstmessage.h: Improve docs.
-
Wim Taymans authored
gst/gstpad.c: Added simple version of improved caps checking. It was previously assumed that a setcaps function would... Original commit message from CVS: * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_acceptcaps_default), (gst_pad_configure_sink), (gst_pad_configure_src): Added simple version of improved caps checking. It was previously assumed that a setcaps function would check the validity of the caps but people prefer us to check caps against the template automatically. Fixes #421543.
-
Wim Taymans authored
Original commit message from CVS: * libs/gst/base/gstbasetransform.h: Fix macro for locking/unlocking the transform lock.
-
- 19 May, 2007 1 commit
-
-
Tim-Philipp Müller authored
Original commit message from CVS: * docs/plugins/tmpl/.cvsignore: Ignore more.
-
- 18 May, 2007 2 commits
-
-
Edward Hervey authored
plugins/elements/gstqueue.c: Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix for the subtle a... Original commit message from CVS: * plugins/elements/gstqueue.c: (gst_queue_loop): Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix for the subtle art of warning a potentially blocking thread that it should check the source pad return value, and relay the information upstream.
-
Edward Hervey authored
Original commit message from CVS: * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event): Release the queue lock !
-
- 17 May, 2007 5 commits
-
-
Sebastian Dröge authored
docs/libs/gstreamer-libs-sections.txt: Add the two new controller functions to the appropiate places. Original commit message from CVS: * docs/libs/gstreamer-libs-sections.txt: Add the two new controller functions to the appropiate places.
-
Sebastian Dröge authored
Original commit message from CVS: reviewed by: Stefan Kost <ensonic@users.sf.net> * libs/gst/controller/gstcontroller.c: (gst_controller_suggest_next_sync), (gst_controller_sync_values), (_gst_controller_get_property), (_gst_controller_set_property), (_gst_controller_init), (_gst_controller_class_init): * libs/gst/controller/gstcontroller.h: * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync), (gst_object_get_control_rate), (gst_object_set_control_rate): API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync() Add API that provides sync suggestion timestamps for elements that call gst_object_sync_values() from which those elements can subdivide their processing loop to get the best results for the controlled properties. For now it just suggests last_sync + control_rate as new timestamp but this will be improved in the future. While doing that change the control-rate property to a GstClockTime from guint and change it's meaning from samples to nanoseconds as the GstController doesn't know anything about sampling rate. Strictly speaking this breaks ABI but as the control-rate property didn't do anything in the past and as such couldn't be used this should be no problem.
-
Sebastian Dröge authored
libs/gst/controller/: Save last synced value from the list to continue searching from there in future syncs. This spe... Original commit message from CVS: reviewed by: Stefan Kost <ensonic@users.sf.net> * libs/gst/controller/gstcontroller.c: (gst_controller_unset), (gst_controller_unset_all): * libs/gst/controller/gstcontrollerprivate.h: * libs/gst/controller/gstinterpolation.c: (gst_controlled_property_find_control_point_node): Save last synced value from the list to continue searching from there in future syncs. This speeds everything up a bit.
-
Sebastian Dröge authored
Original commit message from CVS: reviewed by: Stefan Kost <ensonic@users.sf.net> * libs/gst/controller/gstcontroller.c: (gst_control_point_compare), (gst_control_point_find), (gst_controlled_property_new), (gst_control_point_free), (gst_controlled_property_free), (gst_controller_set), (gst_controller_set_from_list), (gst_controller_unset), (gst_controller_unset_all), (gst_controller_sync_values): * libs/gst/controller/gstcontroller.h: * libs/gst/controller/gstcontrollerprivate.h: * libs/gst/controller/gstinterpolation.c: (gst_controlled_property_find_control_point_node), (interpolate_none_get), (interpolate_trigger_get): Add a new private GstControlPoint struct which "inherits" from GstTimedValue to allow different interpolators to store internal values next to each control point. From the outside everything is still a GstControlPoint so we don't loose binary compatibility. Also fixup all the GValue handling to not leak GValues or list nodes. * tests/check/libs/controller.c: (GST_START_TEST): Free the list nodes and GValues in the controller_misc test.
-
Edward Hervey authored
Original commit message from CVS: * gst/gstsegment.c: Small doc fix.
-
- 16 May, 2007 1 commit
-
-
Tim-Philipp Müller authored
gst/gstplugin.c: If we fail to load a plugin because of unresolved symbols or missing libraries and spew a warning to... Original commit message from CVS: * gst/gstplugin.c: (gst_plugin_load_file): If we fail to load a plugin because of unresolved symbols or missing libraries and spew a warning to stderr, we may just as well mention which plugin it was that failed to load.
-
- 13 May, 2007 4 commits
-
-
David Schleef authored
docs/Makefile.am: the gtk-doc makefile snippet correctly handles the case when ENABLE_GTK_DOC is false, and installs ... Original commit message from CVS: * docs/Makefile.am: the gtk-doc makefile snippet correctly handles the case when ENABLE_GTK_DOC is false, and installs the prebuilt documentation. So gtk-doc subdirs are unconditionally enabled. Fixes: #349099.
-
David Schleef authored
Original commit message from CVS: * gst/gstutils.h: Reword some documentation.
-
David Schleef authored
gst/gstplugin.c: gst_plugin_register_func() doesn't actually do anything with the passed "module" parameter, so remov... Original commit message from CVS: * gst/gstplugin.c: gst_plugin_register_func() doesn't actually do anything with the passed "module" parameter, so remove it. Allows removal of additional vestigal code.
-
David Schleef authored
Original commit message from CVS: * gst/gstplugin.c: Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32. Switch to using g_stat() because it's more portable.
-
- 12 May, 2007 3 commits
-
-
David Schleef authored
Original commit message from CVS: * gst/gst.c: Add GST_DISABLE_OPTION_PARSING, in order to disable option parsing for embedded systems. * gst/gstelementfactory.c: Allow gst_element_register() to be called with plugin==NULL. Did nobody notice that static elements were broken?
-
Wim Taymans authored
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.
-
Wim Taymans authored
Original commit message from CVS: * plugins/elements/gstqueue.c: (gst_queue_init), (gst_queue_finalize), (update_time_level), (apply_segment), (apply_buffer), (gst_queue_locked_flush), (gst_queue_locked_enqueue), (gst_queue_locked_dequeue), (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop): * plugins/elements/gstqueue.h: Refactor an cleanup queue a bit. Do better time level calculations that also work when the srcpad is not yet running. Remove some unneeded debug lines. * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite): Added testcase for time level measurement. Try to make some stuff more racefree.
-
- 11 May, 2007 3 commits
-
-
Tim-Philipp Müller authored
Original commit message from CVS: * gst/gsturi.c: (gst_element_make_from_uri): Don't leak plugin feature. * tests/check/Makefile.am: * tests/check/gst/.cvsignore: * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite): Add brain-dead unit test.
-
Original commit message from CVS: Patch by: Jeroen Wouters <woutersj at gmail com> * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry): Treat protocol strings in a case-insensitive way (#437563).
-
Michael Smith authored
Original commit message from CVS: * gst/gstplugin.c: (gst_plugin_load_file): * gst/gstregistry.c: (gst_registry_scan_path_level): Don't print a g_warning for any failure to load a shared object. Instead, push this down into gstplugin.c, and warn _only_ if we failed to open the module (i.e. failure to link). Avoids warnings on normal, working, non-plugin .so files.
-