mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
9e539e0202
Original commit message from CVS: * gst/gst.c: (init_post): debug the GST_PLUGIN_ env vars
8259 lines
283 KiB
Text
8259 lines
283 KiB
Text
2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gst.c: (init_post):
|
|
debug the GST_PLUGIN_ env vars
|
|
|
|
2005-10-08 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
* check/gst/gstmessage.c: (GST_START_TEST):
|
|
* check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
|
|
* gst/gstelement.c: (gst_element_commit_state),
|
|
(gst_element_lost_state):
|
|
* gst/gstmessage.c: (gst_message_new_state_changed),
|
|
(gst_message_parse_state_changed):
|
|
* gst/gstmessage.h:
|
|
* tools/gst-launch.c: (event_loop):
|
|
Added extra field to STATE_CHANGE message with the pending
|
|
state, which will be different from the new state soon.
|
|
|
|
2005-10-08 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbus.c: (gst_bus_pop):
|
|
* gst/gstclock.c:
|
|
* gst/gstsystemclock.c: (gst_system_clock_async_thread):
|
|
Small cleanups and doc updates.
|
|
|
|
2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gst.c: (init_pre):
|
|
* gst/gstbin.c: (gst_bin_add_func):
|
|
log distributing clocks and base time
|
|
* gst/gstregistry.c: (gst_registry_add_plugin),
|
|
(gst_registry_scan_path_level), (gst_registry_scan_path):
|
|
clean up the debugging output a little
|
|
* gst/gstutils.c: (gst_element_state_get_name):
|
|
warn about a memleak (I've actually seen this be used, though
|
|
it was probably a bug)
|
|
|
|
2005-10-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
|
|
(gst_base_src_init), (gst_base_src_default_newsegment),
|
|
(gst_base_src_newsegment), (gst_base_src_do_seek),
|
|
(gst_base_src_loop), (gst_base_src_start):
|
|
* gst/base/gstbasesrc.h:
|
|
Make the newsegment event customizable by subclasses.
|
|
|
|
2005-10-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstevent.c: (gst_event_new_buffersize),
|
|
(gst_event_parse_buffersize):
|
|
* gst/gstevent.h:
|
|
New event for future idea.
|
|
|
|
2005-10-07 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstelement.c (gst_element_post_message): Doc update.
|
|
|
|
* docs/gst/gstreamer-sections.txt: Update.
|
|
|
|
* gst/gstmessage.c (gst_message_new_application): Made into a
|
|
function like honest API calls.
|
|
(gst_message_new_element): New message type.
|
|
|
|
* gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
|
|
|
|
* check/elements/fakesrc.c (test_no_preroll): New check, checks
|
|
that setting a live fakesrc to PAUSED returns NO_PREROLL both
|
|
times.
|
|
|
|
* gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
|
|
NO_PREROLL from gst_element_change_state to fall through.
|
|
|
|
2005-10-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstghostpad.c: (gst_ghost_pad_get_internal),
|
|
(gst_ghost_pad_do_activate_push):
|
|
Activating a ghostpad with no internal pad in push mode
|
|
is ok.
|
|
|
|
2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstobject.h:
|
|
there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
|
|
Fixes compilation on Windows.
|
|
|
|
2005-10-07 Michael Smith <msmith@fluendo.com>
|
|
|
|
* tools/gst-inspect.c:
|
|
Print out feature and plugin count at the end when printing out
|
|
all features.
|
|
|
|
2005-10-04 Michael Smith <msmith@fluendo.com>
|
|
|
|
* gst/gsterror.c: (_gst_stream_errors_init):
|
|
Add another error string used in a few existing plugins.
|
|
|
|
* gst/gstplugin.c:
|
|
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
|
|
* tools/gst-inspect.c: (print_element_info):
|
|
When a feature disappears from a plugin (and the feature exists in
|
|
the cached registry file), things went horribly wrong. This isn't a
|
|
complete fix, we should actually be removing the 'missing' features
|
|
from the features list when we load the actual plugin. That's not
|
|
yet implemented.
|
|
|
|
2005-10-04 Johan Dahlin <johan@gnome.org>
|
|
|
|
* check/gst/gstiterator.c: (GST_START_TEST):
|
|
* gst/gstbin.c: (gst_bin_iterate_elements),
|
|
(gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
|
|
* gst/gstelement.c: (gst_element_iterate_pads):
|
|
* gst/gstformat.c: (gst_format_iterate_definitions):
|
|
* gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
|
|
(gst_iterator_new_list), (gst_iterator_filter):
|
|
* gst/gstiterator.h:
|
|
* gst/gstquery.c: (gst_query_type_iterate_definitions):
|
|
Add a GType to GstIterator, update callsites and tests.
|
|
|
|
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstpad.c: (gst_pad_event_default_dispatch):
|
|
give events a chance to be handled by event probes when the pad
|
|
is not linked
|
|
|
|
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstevent.c: (gst_event_type_get_name),
|
|
(gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
|
|
* gst/gstevent.h:
|
|
add string representations for event types
|
|
|
|
2005-10-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gstfilesink.c: (gst_file_sink_close_file):
|
|
Don't use NULL pointers.
|
|
|
|
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gst_private.h:
|
|
* gst/gstbus.c:
|
|
* gst/gstelement.c:
|
|
* gst/gstinfo.c:
|
|
* gst/gstpluginfeature.c:
|
|
widen the debug category in output to fit the biggest one we have
|
|
add a bus category and use it
|
|
play with the colors
|
|
fix up some categories
|
|
|
|
2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
|
|
add push activation of sink ghost pads.
|
|
Andye, please verify
|
|
|
|
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstutils.c: (gst_element_link_pads):
|
|
fix a bug in the case where neither element has a pad
|
|
* check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
|
|
add a test for that case
|
|
|
|
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
|
|
emit have-data before checking for peers. This allows
|
|
for probe handlers to connect elements. This helps autopluggers.
|
|
* check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
|
|
(gst_pad_suite):
|
|
add six checks, linked/unlinked with no/true/false probe
|
|
|
|
2005-10-04 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
|
|
(gst_fake_sink_event), (gst_fake_sink_preroll),
|
|
(gst_fake_sink_render), (gst_fake_sink_change_state):
|
|
* gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
|
|
(gst_fake_src_get_property), (gst_fake_src_create),
|
|
(gst_fake_src_stop):
|
|
* gst/elements/gstidentity.c: (gst_identity_stop):
|
|
Protect last_message with lock.
|
|
|
|
2005-10-04 Edward Hervey <edward@fluendo.com>
|
|
|
|
* gst/gstformat.h:
|
|
Added precision in the comments for GST_FORMAT_DEFAULT
|
|
|
|
2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* tools/gst-launch.c: (main):
|
|
Don't try to run erroneous pipelines.
|
|
|
|
2005-10-04 Julien MOUTTE <julien@moutte.net>
|
|
|
|
* gst/gstbus.c: We don't need this header.
|
|
|
|
2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* configure.ac:
|
|
back to development
|
|
|
|
=== release 0.9.3 ===
|
|
|
|
2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* README:
|
|
* configure.ac:
|
|
Releasing 0.9.3, "Unregistered"
|
|
|
|
2005-10-03 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstpad.c (gst_pad_activate_push): There is a race condition
|
|
whereby calling a pad's activatepush() function can start a thread
|
|
that starts to push or pull before the pad gets the FLUSHING flag
|
|
unset. Hack around it by holding the stream lock until the flag is
|
|
set. Need to replace this with a proper solution. Together with
|
|
the ghost pad fixes, this fixes mp3 playing/tagreading.
|
|
|
|
* docs/design/part-gstghostpad.txt: Add a note about activation of
|
|
proxy pads outside of ghost pads.
|
|
|
|
* gst/gstghostpad.c: Implement the ghost pad activation design.
|
|
|
|
2005-10-02 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
|
|
It is volatile, after all.
|
|
|
|
* docs/design/part-gstghostpad.txt: Flesh out activation with
|
|
ghost pads.
|
|
|
|
* gst/base/gstbasesrc.c (gst_base_src_init): Use
|
|
GST_DEBUG_FUNCPTR.
|
|
|
|
2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* configure.ac:
|
|
Fix (unused) AM_CONDITIONAL tests.
|
|
|
|
2005-10-01 Alessandro Decina <alessandro at nnva dot org>
|
|
|
|
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gstutils.c: (gst_pad_query_convert):
|
|
Add assertion that makes sure src_val is >=0, just like
|
|
gst_query_new_convert() has. (#315895)
|
|
|
|
2005-09-30 Edward Hervey <edward@fluendo.com>
|
|
|
|
* gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
|
|
Let's not iterate pads we're not interested in, it avoids getting
|
|
sky-high refcounts on sinkpad.
|
|
|
|
2005-09-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstelement.c: (gst_element_set_state),
|
|
(gst_element_change_state):
|
|
Small tweak, element in ASYNC remains ASYNC.
|
|
|
|
2005-09-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_change_state):
|
|
Only error is an error.
|
|
|
|
* gst/gstbin.c: (gst_bin_change_state):
|
|
Better debugging.
|
|
|
|
* gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
|
|
Also call pad_block in pad alloc.
|
|
|
|
* gst/gstutils.c: (gst_flow_get_name):
|
|
Better debugging.
|
|
|
|
2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
|
|
(gst_base_src_get_range):
|
|
Fix documentation typos. Add some more debug info.
|
|
|
|
2005-09-29 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
|
|
more end-user friendly.
|
|
* tools/gst-inspect.c: (main): Check if command-line argument is
|
|
a file and attempt to load that file as a plugin.
|
|
|
|
2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstbin.c:
|
|
* check/states/sinks.c:
|
|
fix tests for the new warning
|
|
* check/gst/gstpipeline.c:
|
|
add a test for pipeline and bus interaction
|
|
* gst/gstelement.c:
|
|
elements should be NULL if they get disposed; add a warning if not
|
|
|
|
2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstobject.c:
|
|
for 2.6 refcounting, make debug log more correct by printing
|
|
the actual refcounts at the time of swap (Wim)
|
|
|
|
2005-09-29 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstbus.c (gst_bus_remove_signal_watch): New function,
|
|
removes signal watches previously added via
|
|
gst_bus_add_signal_watch.
|
|
(gst_bus_add_signal_watch): Don't return the source id, just store
|
|
it on the bus if there wasn't an id already.
|
|
|
|
* gst/gstbus.h (GstBus): Add a couple new fields. API changes for
|
|
add_signal_watch and remove_signal_watch.
|
|
|
|
2005-09-29 Edward Hervey <edward@fluendo.com>
|
|
|
|
* libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
|
|
Better if we actually iterate the list :)
|
|
|
|
2005-09-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
Change for new bus API.
|
|
|
|
* check/gst/gstbus.c: (message_func_eos), (message_func_app),
|
|
(send_messages), (GST_START_TEST), (gstbus_suite):
|
|
Change for new bus signal API.
|
|
|
|
* gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
|
|
(gst_bus_source_prepare), (gst_bus_source_check),
|
|
(gst_bus_create_watch), (gst_bus_add_watch_full),
|
|
(gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
|
|
(gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
|
|
* gst/gstbus.h:
|
|
Remove support for multiple GSources operating on different
|
|
message types as it is too complex and unneeded when using
|
|
signals.
|
|
Added support for receiving signals from the bus.
|
|
|
|
2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/libs/tmpl/gstdataprotocol.sgml:
|
|
* docs/manual/advanced-dataaccess.xml:
|
|
* gst/elements/gstcapsfilter.c:
|
|
* gst/gstutils.c:
|
|
rename filter-caps to caps property
|
|
|
|
2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gstvalue.c: (gst_value_deserialize_fraction):
|
|
More robust fraction string parsing.
|
|
|
|
* docs/pwg/appendix-porting.xml:
|
|
Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
|
|
|
|
2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gstcaps.c: (gst_caps_do_simplify):
|
|
Thou shalt not free a structure and then continue using it
|
|
in the next loop iteration.
|
|
|
|
* check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
|
|
(gst_caps_suite):
|
|
Add test case for caps simplification.
|
|
|
|
2005-09-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
Oops.
|
|
|
|
2005-09-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
Add bus to bin.
|
|
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
|
|
(add_to_queue), (clear_queue), (reset_degree), (update_degree),
|
|
(find_element), (gst_bin_sort_iterator_next),
|
|
(gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
|
|
(gst_bin_iterate_sorted), (gst_bin_element_set_state),
|
|
(gst_bin_change_state), (gst_bin_dispose):
|
|
A bin does not have a bus, it gets the bus from the parent.
|
|
|
|
* gst/gstelement.c: (gst_element_requires_clock),
|
|
(gst_element_provides_clock), (gst_element_is_indexable),
|
|
(gst_element_is_locked_state), (gst_element_change_state),
|
|
(gst_element_set_bus_func):
|
|
Small cleanups.
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_class_init),
|
|
(gst_pipeline_init), (gst_pipeline_provide_clock_func):
|
|
The pipeline provides a bus.
|
|
|
|
2005-09-28 Johan Dahlin <johan@gnome.org>
|
|
|
|
* gst/gstmessage.c (gst_message_parse_state_changed): Use
|
|
gst_structure_get_enum instead of gst_structure_get_int
|
|
|
|
* gst/gststructure.c (gst_structure_get_enum): Impl.
|
|
|
|
* gst/gststructure.h (gst_structure_get_enum): Add
|
|
|
|
* docs/gst/gstreamer-sections.txt: Ditto
|
|
|
|
* gst/gstmessage.c (gst_message_new_state_changed): Use
|
|
GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
|
|
which does introspection.
|
|
Reviewed by Christian Schaller
|
|
|
|
2005-09-28 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* gst/gstinfo.c: (gst_debug_log_default):
|
|
don't do dummy g_strdup()s
|
|
* libs/gst/controller/gstcontroller.c:
|
|
(on_object_controlled_property_changed),
|
|
(gst_controlled_property_new), (gst_controller_new_valist),
|
|
(gst_controller_new_list),
|
|
(gst_controller_remove_properties_valist), (gst_controller_set),
|
|
(gst_controller_get), (gst_controller_sync_values),
|
|
(gst_controller_get_value_array), (_gst_controller_class_init),
|
|
(gst_controller_get_type):
|
|
* libs/gst/controller/gstcontroller.h:
|
|
* libs/gst/controller/gstinterpolation.c:
|
|
(gst_controlled_property_find_timed_value_node):
|
|
convert // to /**/ comments
|
|
|
|
2005-09-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
|
|
(gst_bus_post), (poll_func), (gst_bus_async_signal_func),
|
|
(gst_bus_sync_signal_handler):
|
|
* gst/gstbus.h:
|
|
Added async-message and sync-message signals to the bus.
|
|
Added helper BusFunc to emit signals for all posted messages.
|
|
|
|
* gst/gstmessage.c: (gst_message_type_get_name),
|
|
(gst_message_type_to_quark), (gst_message_get_type):
|
|
* gst/gstmessage.h:
|
|
Register quarks for message names.
|
|
|
|
2005-09-28 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
|
|
(gst_controller_new_list):
|
|
* libs/gst/controller/gstcontroller.h:
|
|
added another constructor for language bindings
|
|
|
|
2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
|
|
add another check
|
|
* gst/gstbus.c:
|
|
add some doc
|
|
* gst/gstinfo.c: (_gst_debug_init):
|
|
slightly more readable color for refcount debugging
|
|
|
|
2005-09-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
|
|
(add_to_queue), (clear_queue), (reset_degree), (update_degree),
|
|
(find_element), (gst_bin_sort_iterator_next),
|
|
(gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
|
|
(gst_bin_iterate_sorted), (gst_bin_element_set_state),
|
|
(gst_bin_change_state), (gst_bin_dispose):
|
|
Small doc fixes. get_clock -> provide_clock.
|
|
|
|
* gst/gstelement.c: (gst_element_class_init),
|
|
(gst_element_provides_clock), (gst_element_provide_clock),
|
|
(gst_element_get_clock), (gst_element_commit_state),
|
|
(gst_element_lost_state):
|
|
* gst/gstelement.h:
|
|
Make get/set_clock() symetric. Add provide_clock vmethod since
|
|
that is actually what this function does.
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_class_init),
|
|
(gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
|
|
(gst_pipeline_get_clock):
|
|
get_clock -> provide_clock.
|
|
|
|
2005-09-28 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
|
|
lieu of real docs...
|
|
|
|
* gst/elements/gstfdsrc.c: Cleaned up a bit.
|
|
|
|
2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/elements/gstcapsfilter.c:
|
|
* gst/elements/gstfakesink.c:
|
|
* gst/elements/gstfakesrc.c:
|
|
* gst/elements/gstfdsink.c:
|
|
* gst/elements/gstfdsrc.c:
|
|
* gst/elements/gstfilesink.c:
|
|
* gst/elements/gstfilesrc.c:
|
|
* gst/elements/gstidentity.c:
|
|
* gst/elements/gsttee.c:
|
|
* gst/elements/gsttypefindelement.c:
|
|
Make element details static.
|
|
|
|
2005-09-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
|
|
(update_outdegree), (find_element), (gst_bin_sort_iterator_next),
|
|
(gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
|
|
(gst_bin_iterate_sorted), (gst_bin_element_set_state),
|
|
(gst_bin_change_state), (gst_bin_dispose):
|
|
Some documentation updates.
|
|
Clean up dispose handlers.
|
|
|
|
* gst/gstobject.c: (gst_object_ref), (gst_object_unref):
|
|
* gst/gstpad.c: (gst_pad_dispose):
|
|
Clean up dispose handler.
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_change_state):
|
|
Removed spurious UNLOCK.
|
|
|
|
2005-09-27 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* 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
|
|
|
|
2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstbin.c: (gst_bin_dispose):
|
|
* gst/gstelement.c: (gst_element_dispose):
|
|
remove now useless and leaky resurrection code in dispose
|
|
* gst/base/gstbasesrc.c: (gst_base_src_init):
|
|
* gst/gstelementfactory.c: (gst_element_factory_create):
|
|
* gst/gstobject.c: (gst_object_set_parent):
|
|
add some debugging
|
|
|
|
2005-09-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-TODO.txt:
|
|
Update TODO.
|
|
|
|
* gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
|
|
(update_outdegree), (find_element), (gst_bin_sort_iterator_next),
|
|
(gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
|
|
(gst_bin_iterate_sorted), (gst_bin_element_set_state),
|
|
(gst_bin_change_state):
|
|
* gst/gstelement.h:
|
|
Remove element variable, we keep element info in the iterator now.
|
|
|
|
2005-09-27 Andy Wingo <wingo@pobox.com>
|
|
|
|
* libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
|
|
values.
|
|
|
|
2005-09-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
Enable check that works now.
|
|
|
|
* gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
|
|
(update_outdegree), (find_element), (gst_bin_sort_iterator_next),
|
|
(gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
|
|
(gst_bin_iterate_sorted), (gst_bin_element_set_state),
|
|
(gst_bin_change_state):
|
|
* gst/gstbin.h:
|
|
Redid the state change algorithm using a topological sort algo.
|
|
Handles all cases correctly.
|
|
Exposed iterator for state change order.
|
|
|
|
* gst/gstelement.h:
|
|
Temp storage for state changes. Need to get rid of this soon.
|
|
|
|
2005-09-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
|
|
* gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
|
|
(link_fold_func), (gst_pad_proxy_setcaps):
|
|
Leak fixes, the fold functions need to unref the passed object and
|
|
_get_parent_*() returns ref to parent.
|
|
|
|
2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* check/gst/gstbuffer.c: (test_make_writable):
|
|
Plug leak in test case and fix 'make check-valgrind'
|
|
|
|
2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gstbuffer.c: (gst_subbuffer_init):
|
|
Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
|
|
works correctly in all circumstances (we could have just copied
|
|
the parent buffer's readonly flag, but conceptually it seems
|
|
cleaner to mark all subbuffers as read-only). (based on patch
|
|
by Alessandro Decina, #314710).
|
|
|
|
* check/gst/gstbuffer.c: (create_read_only_buffer),
|
|
(test_make_writable), (test_subbuffer_make_writable),
|
|
(gst_test_suite):
|
|
Add some tests for gst_buffer_make_writable().
|
|
|
|
2005-09-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
|
|
use gst_object_has_ancestor().
|
|
|
|
* gst/gstobject.c: (gst_object_has_ancestor):
|
|
* gst/gstobject.h:
|
|
gst_object_has_ancestor() copied from gstbin.c as it is a
|
|
usefull function.
|
|
|
|
* tests/instantiate/create.c: (create_all_elements):
|
|
* tests/lat.c: (handoff_src), (handoff_sink):
|
|
* tests/sched/runxml.c: (main):
|
|
* tests/seeking/seeking1.c: (main):
|
|
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
|
|
(main):
|
|
Fix compilation of some tests.
|
|
|
|
2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gsterror.h:
|
|
Remove comment. GST_TYPE_G_ERROR is here to stay,
|
|
G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
|
|
(#316961, #300610).
|
|
|
|
2005-09-26 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
|
|
Added check that shows error in state change order.
|
|
|
|
2005-09-26 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (gst_bin_change_state):
|
|
Make state change function use 3 queues again, we were
|
|
adding elements in the wrong order.
|
|
|
|
* gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
|
|
Some debug info,
|
|
|
|
* gst/gstpad.c: (gst_pad_dispose):
|
|
Added some debug info first.
|
|
|
|
2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/design/draft-push-pull.txt:
|
|
* docs/design/part-events.txt:
|
|
* docs/design/part-overview.txt:
|
|
* docs/design/part-scheduling.txt:
|
|
Replace all _pull_region() with _pull_range()
|
|
|
|
2005-09-26 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstvalue.c (_gst_value_initialize): Better fakeout.
|
|
|
|
* check/gst-libs/controller.c: Update for controller api change.
|
|
|
|
* configure.ac:
|
|
* tests/Makefile.am:
|
|
* tests/memchunk: Remove memchunk benchmark stuff, this is taken
|
|
over by GLib bug 118439.
|
|
|
|
* gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
|
|
routines to a function.
|
|
|
|
* docs/libs/gstreamer-libs-sections.txt: I am a good person today.
|
|
|
|
* libs/gst/controller/gsthelper.c:
|
|
* libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
|
|
(gst_object_sync_values): Renamed from sink_values. Ugh.
|
|
|
|
* libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
|
|
|
|
* libs/gst/controller/gstcontroller.c (__gst_controller_key):
|
|
Renamed from controller_key, as it is exported.
|
|
|
|
* gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
|
|
|
|
2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/Makefile.am:
|
|
* gst/gst.h:
|
|
* gst/gstpad.h:
|
|
* gst/gstpadtemplate.h:
|
|
* gst/gstquery.c:
|
|
* gst/gstquery.h:
|
|
* gst/gstqueryutils.c:
|
|
* gst/gstqueryutils.h:
|
|
remove queryutils headers after moving the two used functions
|
|
to gstquery. also fixes build problem for gstsiddec
|
|
|
|
2005-09-26 Michael Smith <msmith@fluendo.com>
|
|
|
|
* tools/gst-launch.1.in:
|
|
Correct documentation in manpage of debug syntax
|
|
|
|
2005-09-26 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_get_range),
|
|
(gst_base_src_is_seekable), (gst_base_src_change_state):
|
|
Some more debugging info.
|
|
|
|
2005-09-25 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* gst/base/gstbasetransform.h:
|
|
* gst/gstindex.h:
|
|
added more docs
|
|
|
|
2005-09-25 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/.cvsignore:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstpipeline.sgml:
|
|
* docs/gst/tmpl/gstplugin.sgml:
|
|
* gst/gstpipeline.c:
|
|
* gst/gstplugin.c:
|
|
* gst/gstplugin.h:
|
|
inlined the last two docs files
|
|
removed the tmpl directory from cvs (no more conflicts here!)
|
|
|
|
2005-09-25 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstpad.sgml:
|
|
* docs/gst/tmpl/gstpadtemplate.sgml:
|
|
* gst/Makefile.am:
|
|
* gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
|
|
(gst_pad_finalize), (gst_pad_set_pad_template):
|
|
* gst/gstpad.h:
|
|
* gst/gstpadtemplate.c: (gst_pad_template_get_type),
|
|
(gst_pad_template_class_init), (gst_pad_template_init),
|
|
(gst_pad_template_dispose), (name_is_valid),
|
|
(gst_static_pad_template_get), (gst_pad_template_new),
|
|
(gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
|
|
(gst_pad_template_pad_created):
|
|
* gst/gstpadtemplate.h:
|
|
inlined two more docs
|
|
factored gstpadtemplate out of gstpad
|
|
|
|
2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
|
|
(test_children_state_change_order_semi_sink):
|
|
Fix test case: we can't rely on a fixed state change order when
|
|
going from READY => PAUSED because the sink might commit its
|
|
new state first when the first buffer created by the source
|
|
reaches the sink before the source has finished its change state.
|
|
(Test case still fails at times, see #316856, comment 5 onwards)
|
|
|
|
2005-09-24 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-events.txt:
|
|
* docs/design/part-gstbus.txt:
|
|
* docs/design/part-gstpipeline.txt:
|
|
* docs/design/part-messages.txt:
|
|
* docs/design/part-overview.txt:
|
|
* docs/design/part-segments.txt:
|
|
* gst/gstbin.c:
|
|
* gst/gstbuffer.c:
|
|
* gst/gstclock.c:
|
|
* gst/gstelement.c:
|
|
* gst/gstevent.c:
|
|
* gst/gstfilter.c:
|
|
* gst/gstiterator.c:
|
|
Various documentation updates.
|
|
|
|
2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstclock.h:
|
|
Well, that's embarassing. Luckily we weren't using
|
|
GST_CLOCK_DIFF anywhere.
|
|
|
|
2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* common/gtk-doc.mak:
|
|
don't fail on building XML, FC4 slave shows a bunch of doc
|
|
missing bits that I don't get
|
|
* gst/gstpad.c:
|
|
* gst/gstpipeline.c:
|
|
* gst/gststructure.c:
|
|
some doc updates
|
|
|
|
2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/design/part-gstbin.txt:
|
|
* docs/design/part-gstbus.txt:
|
|
* gst/gstbus.c:
|
|
Add blurb about how the bus goes into flushing mode and
|
|
drops all messages when its bin goes from READY into NULL
|
|
state.
|
|
|
|
2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* gst/gststructure.c: (gst_structure_get_clock_time):
|
|
* gst/gststructure.h:
|
|
add a method to get a GstClockTime out of a structure
|
|
|
|
2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
|
|
(test_children_state_change_order_semi_sink), (gst_bin_suite):
|
|
Added test to check state change order in bins (can still be made
|
|
to fail here under heavy disk load; bails out with 'Push on pad
|
|
fakesink:sink0, but it was not activated in push mode').
|
|
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
|
|
Fix state change order when there is only a semi sink (#316856)
|
|
|
|
* gst/gstbus.c: (gst_bus_class_init):
|
|
Use _class_peek_parent(), not _class_ref(); fix docs to say
|
|
'default main context' instead of 'mainloop' where that is
|
|
what's meant.
|
|
|
|
* gst/gstelement.c: (gst_element_commit_state),
|
|
(gst_element_set_state):
|
|
Fix typos in debug messages
|
|
|
|
2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/README:
|
|
* gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
|
|
* gst/gstpluginfeature.c:
|
|
* gst/gstutils.c:
|
|
various doc updates
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
|
|
change an assert into an error until it gets fixed properly
|
|
|
|
2005-09-23 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/gst/tmpl/gstinfo.sgml:
|
|
* docs/gst/tmpl/gstobject.sgml:
|
|
* gst/gstelement.c:
|
|
* gst/gstelement.h:
|
|
* gst/gstinfo.c:
|
|
* gst/gstinfo.h:
|
|
* gst/gstobject.c: (gst_object_class_init):
|
|
* gst/gstobject.h:
|
|
inlined 3 more biiiig doc files and added some missing docs on the fly
|
|
|
|
2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/.cvsignore:
|
|
* check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
|
|
* gst/gstregistryxml.c: (load_plugin),
|
|
(gst_registry_xml_save_plugin):
|
|
put back source in registry. add checks for find_plugin.
|
|
* testsuite/states/bin.c: (assert_state), (empty_bin),
|
|
(test_adding_one_element), (main):
|
|
* testsuite/states/locked.c: (main):
|
|
some compile/run fixes
|
|
|
|
2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstvalue.c: (GST_START_TEST):
|
|
fix leaks in the test itself
|
|
|
|
2005-09-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
|
|
(gst_base_sink_send_event), (gst_base_sink_peer_query),
|
|
(gst_base_sink_query):
|
|
Prepare for more accurate position reporting and query
|
|
handling.
|
|
|
|
* gst/gstelement.c: (gst_element_send_event),
|
|
(gst_element_set_state):
|
|
Add some comment.
|
|
|
|
2005-09-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
|
|
(gst_query_parse_segment):
|
|
* gst/gstquery.h:
|
|
More documentation.
|
|
Add segment query for future use.
|
|
|
|
2005-09-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (gst_bin_add_func):
|
|
Some more debug info.
|
|
|
|
* gst/gstelement.c: (gst_element_send_event):
|
|
Simplify send_event
|
|
|
|
* gst/gstelement.h:
|
|
Don't know how flags got broken.
|
|
|
|
* gst/gstquery.h:
|
|
Added new query.
|
|
|
|
2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* check/gst/gstvalue.c: (test_date), (gst_value_suite):
|
|
Add simplistic test suite for GST_TYPE_DATE serialisation and
|
|
deserialisation.
|
|
|
|
2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* gst/gststructure.c: (gst_structure_set_valist),
|
|
(gst_structure_get_date):
|
|
* gst/gststructure.h:
|
|
* gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
|
|
(gst_date_copy), (gst_value_compare_date),
|
|
(gst_value_serialize_date), (gst_value_deserialize_date),
|
|
(gst_value_transform_date_string),
|
|
(gst_value_transform_string_date), (_gst_value_initialize):
|
|
* gst/gstvalue.h:
|
|
Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
|
|
bunch of utility functions along with a hack that checks that
|
|
developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
|
|
is required. Part of the grand scheme in #170777.
|
|
|
|
2005-09-22 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstconfig.h.in: Psych out gtk-doc.
|
|
|
|
* docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
|
|
|
|
* check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
|
|
|
|
* tools/gst-inspect.c (print_element_list): Plug some
|
|
inconsequential leaks.
|
|
|
|
* gst/gstregistry.c (gst_registry_get_default): Doc.
|
|
|
|
* check/gst/gstplugin.c:
|
|
* gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
|
|
* gst/gstelementfactory.c (gst_element_factory_create):
|
|
* gst/gstindexfactory.c (gst_index_factory_create): Update for
|
|
refcount changes.
|
|
|
|
* gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
|
|
(gst_plugin_feature_load): Doc, don't eat refs.
|
|
|
|
* gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
|
|
(gst_plugin_list_free): Doc.
|
|
(gst_plugin_load_file): Doc updates.
|
|
|
|
* gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
|
|
accessors returning refcounted objects, return a ref.
|
|
|
|
* check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
|
|
accessor for caps. IDEMPOTENCE. Oh yes.
|
|
|
|
2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
|
|
|
|
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gstinfo.c: (_gst_debug_nameof_funcptr),
|
|
(_gst_debug_register_funcptr):
|
|
Add mutex to serialise access to the hash table with
|
|
the function pointer => function name string mapping;
|
|
make that hash table static scope (#316809).
|
|
|
|
* gst/registries/.cvsignore:
|
|
Remove left-over file.
|
|
|
|
2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/pwg/appendix-porting.xml:
|
|
And something about newsegment events and caps-on-buffers to
|
|
the porting guide (feel free to improve).
|
|
|
|
2005-09-21 Andy Wingo <wingo@pobox.com>
|
|
|
|
* check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
|
|
data and event probes on the same pad.
|
|
(test_buffer_probe_once): Test that removing probes from within
|
|
the probe functions works.
|
|
|
|
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.
|
|
|
|
2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
|
|
* gst/gstutils.c: (gst_util_set_value_from_string),
|
|
(gst_util_set_object_arg):
|
|
Don't put functional code in g_return_if_fail() or
|
|
g_return_val_if_fail() statements, otherwise things will
|
|
break when G_DISABLE_CHECKS is defined during compilation.
|
|
|
|
2005-09-21 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstvalue.sgml:
|
|
* gst/gstvalue.c:
|
|
* gst/gstvalue.h:
|
|
inlied another one and added some obvious docs
|
|
|
|
2005-09-21 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
|
|
(gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
|
|
(gst_fdsrc_unlock), (gst_fdsrc_set_property),
|
|
(gst_fdsrc_get_property), (gst_fdsrc_create):
|
|
* gst/elements/gstfdsrc.h:
|
|
Properly implement fdsrc. Removed signal and timeout,
|
|
better implemented somewhere else.
|
|
|
|
2005-09-21 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstimplementsinterface.sgml:
|
|
* gst/gstinterface.c:
|
|
inlined more docs
|
|
|
|
2005-09-21 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstenumtypes.sgml:
|
|
remove obsolete doc file
|
|
|
|
2005-09-21 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstelementfactory.c: (gst_element_factory_make): Drink a
|
|
little beer, fix a little leak.
|
|
|
|
2005-09-21 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* gst/Makefile.am:
|
|
* gst/gst.h:
|
|
* gst/gstbin.c:
|
|
* gst/gstelement.h:
|
|
* gst/gstindex.c: (gst_index_class_init):
|
|
* gst/gstindex.h:
|
|
* gst/gstindexfactory.c: (gst_index_factory_get_type),
|
|
(gst_index_factory_class_init), (gst_index_factory_init),
|
|
(gst_index_factory_finalize), (gst_index_factory_new),
|
|
(gst_index_factory_destroy), (gst_index_factory_find),
|
|
(gst_index_factory_create), (gst_index_factory_make):
|
|
* gst/gstindexfactory.h:
|
|
* gst/gstpluginfeature.c:
|
|
* gst/gstpluginfeature.h:
|
|
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
|
|
more docs inlined, splitted gstindex.{c,h}
|
|
|
|
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
|
|
fix a leak
|
|
|
|
2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/elements/gstfilesink.c: (gst_file_sink_init):
|
|
Set sync to FALSE by default.
|
|
|
|
2005-09-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
|
|
(gst_base_sink_init):
|
|
Make sync property settable from subclass.
|
|
|
|
* gst/elements/gstfakesink.c: (gst_fake_sink_init),
|
|
(gst_fake_sink_change_state):
|
|
Set sync to FALSE by default.
|
|
|
|
2005-09-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
|
|
* tools/gst-launch.c: (main):
|
|
The timeout handler should have lower priority than the source
|
|
so we don't timeout before popping a message with 0 timeout.
|
|
Dump error messages after failed state change.
|
|
|
|
2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* tools/gst-inspect.c: (print_element_properties_info):
|
|
Fix two typos.
|
|
|
|
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstevent.c:
|
|
* gst/elements/gstfakesink.c:
|
|
* gst/elements/gstfakesink.h:
|
|
remove the sync property from fakesink.
|
|
has the side effect of setting sync TRUE
|
|
for fakesink, which is a change. Anyone who knows how
|
|
to fix this nicely in a GObject-y way, feel free.
|
|
|
|
2005-09-20 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
remove probe refsection
|
|
|
|
2005-09-20 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/Makefile.am:
|
|
disable valgrinding the controller test again
|
|
* docs/gst/gstreamer-sections.txt:
|
|
update for api-changes
|
|
|
|
2005-09-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
|
|
(gst_base_sink_set_property), (gst_base_sink_get_property),
|
|
(gst_base_sink_do_sync):
|
|
* gst/base/gstbasesink.h:
|
|
Added sync property to basesink to disable clock sync.
|
|
|
|
2005-09-20 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstelementfactory.c (gst_element_factory_create): Avoid
|
|
eating the caller's refcount.
|
|
|
|
* gst/gstobject.h (GST_OBJECT_REFCOUNT)
|
|
(GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
|
|
refcount.
|
|
|
|
* gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
|
|
* configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
|
|
of GLib 2.8 public, so we can know which refcount to check in
|
|
tests.
|
|
|
|
* gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
|
|
(gst_object_init): Only set the gst refcount if we're going ahead
|
|
with the refcount hack.
|
|
|
|
2005-09-20 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
|
|
* libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
|
|
more leaks plumbed, added more debug-logging
|
|
* gst/gstmacros.h:
|
|
whitespace fix
|
|
|
|
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstmessage.c:
|
|
remove include of gstmemchunk.h
|
|
|
|
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstclock.c: (_gst_clock_id_free):
|
|
Commit from the Political Party For More Atomic CVS Commits,
|
|
so that people don't waste too much of their day fishing
|
|
out obvious leaks out of massive commits.
|
|
Oh, and fix a pretty damn obvious leak in the memchunk
|
|
removal code.
|
|
|
|
2005-09-20 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
|
|
plug mem-leak, re-add to valgrindable tests
|
|
|
|
2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstplugin.h:
|
|
unbreak the build for those who have chronic arthritis
|
|
and typing "make check" is just too taxing on the hands
|
|
|
|
2005-09-20 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gst.h: Re-add marshal to gst.h's include list -- if we
|
|
really want it out, you should fix plugins at the same time.
|
|
|
|
2005-09-19 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* configure.ac:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* gst/gstobject.c:
|
|
added missing symbols to api docs
|
|
disable ref-count hack if we have glib >= 2.8
|
|
|
|
2005-09-19 David Schleef <ds@schleef.org>
|
|
|
|
* docs/gst/Makefile.am: Ignore a few more internal headers
|
|
* docs/gst/gstreamer-docs.sgml: Remove old sections
|
|
* docs/gst/gstreamer-sections.txt: Remove old sections
|
|
* docs/gst/tmpl/gstobject.sgml: update
|
|
* docs/gst/tmpl/gstplugin.sgml: update
|
|
* docs/gst/tmpl/gstpluginfeature.sgml: update
|
|
* docs/random/ds/0.9-suggested-changes: update.
|
|
* gst/Makefile.am: remove memchunk and trashstack, since they're
|
|
not used.
|
|
* gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
|
|
* gst/gst.h: don't include some headers
|
|
* gst/gstchildproxy.c: add gstmarshal.h
|
|
* gst/gstclock.c: Don't use memchunks
|
|
* gst/gstminiobject.c: Add some docs
|
|
* gst/gstobject.c: remove DESTROYED flag, since it's redundant
|
|
* gst/gstobject.h: same
|
|
* gst/gstplugin.c: include gstmacros.h
|
|
* gst/gstplugin.h: don't include gstmacros.h, since it's private
|
|
* gst/gstquery.c: don't use memchunks
|
|
* gst/gstregistry.c: rename gst_registry_deinit()
|
|
* gst/gstregistry.h: same
|
|
|
|
2005-09-19 David Schleef <ds@schleef.org>
|
|
|
|
* docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
* docs/libs/tmpl/gstgetbits.sgml:
|
|
* docs/libs/tmpl/gstputbits.sgml:
|
|
|
|
2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* win32/gstenumtypes.c:
|
|
* win32/gstenumtypes.h:
|
|
Update.
|
|
|
|
2005-09-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
|
|
Automatically PAUSE and RESUME a pipeline when a flushing seek
|
|
is performed.
|
|
|
|
2005-09-19 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstregistry.h: Spacing fixen.
|
|
|
|
2005-09-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_change_state):
|
|
Handle state change failure more correctly.
|
|
|
|
2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/pipelines/cleanup.c: (run_pipeline):
|
|
* check/pipelines/simple_launch_lines.c: (run_pipeline),
|
|
(GST_START_TEST):
|
|
enable cleanup again after fixing the leak
|
|
* docs/README:
|
|
some more info on docs
|
|
|
|
2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
re-enable tests now that leaks are plugged
|
|
* check/gst/gst.c:
|
|
* check/gst/gstbin.c:
|
|
* check/gst/gstpipeline.c:
|
|
add some more tests while fixing leaks
|
|
* common/check.mak:
|
|
make sure binaries are uptodate when valgrinding/gdbing
|
|
* gst/gst.c:
|
|
* gst/gstelementfactory.c:
|
|
remove a ref too many, and add a FIXME for when we get
|
|
round to disposing of classes
|
|
* gst/gstplugin.c:
|
|
fix the refcounting when loading a plugin from a file and
|
|
the code pretends that the pointer is the same even though
|
|
of course it can change
|
|
* gst/gstpluginfeature.c:
|
|
unref plugins marked cached (a bit confusing as a name)
|
|
as the docs state should be done
|
|
various doc additions to explain refcounting
|
|
* gst/gstregistry.c:
|
|
* gst/gstregistryxml.c:
|
|
debugging
|
|
|
|
2005-09-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
|
|
* check/gst/gstbus.c: (message_func_eos), (message_func_app),
|
|
(send_messages), (GST_START_TEST), (gstbus_suite):
|
|
* check/gst/gstpipeline.c: (GST_START_TEST):
|
|
* check/pipelines/cleanup.c: (run_pipeline):
|
|
* check/pipelines/simple_launch_lines.c: (run_pipeline),
|
|
(GST_START_TEST):
|
|
* gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
|
|
(gst_bus_source_check), (gst_bus_source_dispatch),
|
|
(gst_bus_create_watch), (gst_bus_add_watch_full),
|
|
(gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
|
|
* gst/gstbus.h:
|
|
* tools/gst-launch.c: (event_loop):
|
|
* tools/gst-md5sum.c: (event_loop):
|
|
GstBusHandler -> GstBusFunc, return value has the same meaning as
|
|
any other GSource (FALSE == remove source).
|
|
_add_watch() and _add_watch_full() now take a MessageType mask to
|
|
only handle specific types of messages.
|
|
_poll() returns the GstMessage instead of the message type to avoid
|
|
race conditions.
|
|
_have_pending() takes a MessageType mask now too.
|
|
Added testsuite for multiple bus watches.
|
|
Fix testsuites and applications for new bus API.
|
|
|
|
2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
mark a bunch of the tests as to fix until we fix them
|
|
|
|
2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* common/check.mak:
|
|
use GST_PLUGIN settings for valgrind tests as well, so we're
|
|
valgrinding the correct thing
|
|
* gst/gst.c: (init_post):
|
|
plug another leak
|
|
|
|
2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gst.c: (init_post), (gst_deinit):
|
|
* gst/gstelementfactory.c: (gst_element_factory_class_init),
|
|
(gst_element_factory_finalize), (gst_element_factory_cleanup):
|
|
* gst/gstindex.c: (gst_index_factory_class_init),
|
|
(gst_index_factory_finalize):
|
|
* gst/gstobject.c: (gst_object_dispose):
|
|
* gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
|
|
(gst_plugin_load_file), (gst_plugin_desc_free):
|
|
* gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
|
|
(gst_plugin_feature_finalize):
|
|
* gst/gstregistry.c: (gst_registry_class_init),
|
|
(gst_registry_init), (gst_registry_finalize),
|
|
(gst_registry_get_default), (gst_registry_deinit):
|
|
* gst/gstregistry.h:
|
|
* gst/gstregistryxml.c: (load_feature), (load_plugin):
|
|
various cleanups and memleak plugging. make valgrind is happy now.
|
|
|
|
2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* common/check.mak:
|
|
add a check-valgrind target
|
|
|
|
2005-09-18 David Schleef <ds@schleef.org>
|
|
|
|
* tools/gst-inspect.c: Revert the GOption code.
|
|
|
|
2005-09-17 David Schleef <ds@schleef.org>
|
|
|
|
* check/Makefile.am: Fix environment variables.
|
|
* check/gst/gstplugin.c: Fix for API changes.
|
|
* tools/gst-inspect.c: Fix for API changes.
|
|
* tools/gst-xmlinspect.c: Fix for API changes.
|
|
* gst/gstelementfactory.c:
|
|
* gst/gstplugin.c:
|
|
* gst/gstplugin.h:
|
|
* gst/gstpluginfeature.c:
|
|
* gst/gstpluginfeature.h:
|
|
* gst/gstregistry.c:
|
|
* gst/gstregistry.h:
|
|
* gst/gstregistryxml.c:
|
|
* gst/gsttypefind.c:
|
|
* gst/gsttypefindfactory.c:
|
|
* gst/indexers/gstfileindex.c:
|
|
* gst/indexers/gstmemindex.c:
|
|
* gst/schedulers/Makefile.am:
|
|
Change registry to keep track of both plugins and features,
|
|
removing the feature tracking from plugins themselves.
|
|
|
|
2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* tools/gst-register.1.in:
|
|
remove gst-register
|
|
|
|
2005-09-15 David Schleef <ds@schleef.org>
|
|
|
|
* check/gst/gstplugin.c:
|
|
* gst/gstelementfactory.c:
|
|
* gst/gstplugin.c:
|
|
* gst/gstpluginfeature.c:
|
|
* gst/gstregistry.c:
|
|
Getting tired of debugging. Disabled all the unreffing of
|
|
plugins and features, which fixes the segfaults, but of
|
|
course leaks like crazy. At least playbin works.
|
|
|
|
2005-09-15 David Schleef <ds@schleef.org>
|
|
|
|
* check/gst/gstplugin.c: (register_check_elements),
|
|
(GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
|
|
More testing
|
|
* gst/elements/gsttypefindelement.c: Fix refcounting.
|
|
* gst/gsttypefind.c:
|
|
* gst/gsttypefindfactory.c:
|
|
* gst/gsttypefindfactory.h:
|
|
|
|
2005-09-15 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstindex.c: get refcounting correct.
|
|
* gst/gstregistry.c: Handle the case where a feature/plugin is
|
|
not found.
|
|
|
|
2005-09-15 David Schleef <ds@schleef.org>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstplugin.c: Add test
|
|
* gst/gstplugin.c: Fix problems noticed by testsuite
|
|
* gst/gstplugin.h:
|
|
* gst/gstregistry.c:
|
|
* gst/gstregistry.h:
|
|
|
|
2005-09-15 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstplugin.c: Implement semi-decent recounting and locking
|
|
in plugins and plugin features.
|
|
* gst/gstplugin.h:
|
|
* gst/gstpluginfeature.c:
|
|
* gst/gstpluginfeature.h:
|
|
* gst/gstregistry.c:
|
|
|
|
2005-09-15 Michael Smith <msmith@fluendo.com>
|
|
|
|
* gst/gstregistry.c: (gst_registry_get_feature_list):
|
|
Implement this. Makes oggdemux work; decodebin still broken.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
|
|
#316076)
|
|
* gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
|
|
* gst/check/Makefile.am:
|
|
* libs/gst/controller/Makefile.am:
|
|
* libs/gst/dataprotocol/Makefile.am:
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* configure.ac: Remove getbits library. Nothing uses it, and
|
|
it should be in something like liboil if someone did want
|
|
to use it.
|
|
* libs/gst/Makefile.am:
|
|
* libs/gst/getbits/Makefile.am:
|
|
* libs/gst/getbits/gbtest.c:
|
|
* libs/gst/getbits/getbits.c:
|
|
* libs/gst/getbits/getbits.h:
|
|
* libs/gst/getbits/gstgetbits_generic.c:
|
|
* libs/gst/getbits/gstgetbits_i386.s:
|
|
* libs/gst/getbits/gstgetbits_inl.h:
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/Makefile.am: Dist glib-compat.h
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* configure.ac: Remove gst/registries, since it's no longer used.
|
|
* gst/registries/Makefile.am:
|
|
* gst/registries/gstlibxmlregistry.c:
|
|
* gst/registries/gstlibxmlregistry.h:
|
|
* gst/registries/gstxmlregistry.c:
|
|
* gst/registries/gstxmlregistry.h:
|
|
* gst/registries/registrytest.c:
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/glib-compat.h:
|
|
* gst/gstregistryxml.c:
|
|
Convergence is near. Seriously.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
|
|
* gst/glib-compat.h:
|
|
Attempt #4 to appease the buildbots.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
|
|
Attempt #3.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
|
|
Attempt #2.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
|
|
the new functions.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
|
|
* gst/glib-compat.h: Add some functions that are in newer versions
|
|
of glib than we care to require.
|
|
* gst/gstregistryxml.c: Use them.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* po/POTFILES.in: remove gst-register.c
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/gst/tmpl/gstplugin.sgml:
|
|
* docs/gst/tmpl/gstpluginfeature.sgml:
|
|
Documentation updates for registry changes.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
|
|
because we don't require glib-2.8.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstregistryxml.c: Added. Essentially moved out of the
|
|
registries directory.
|
|
|
|
2005-09-14 David Schleef <ds@schleef.org>
|
|
|
|
* check/Makefile.am:
|
|
* check/generic/states.c:
|
|
* gst/Makefile.am:
|
|
* gst/gst.c:
|
|
* gst/gst.h:
|
|
* gst/gst_private.h:
|
|
* gst/gstelementfactory.c:
|
|
* gst/gstindex.c:
|
|
* gst/gstinfo.c:
|
|
* gst/gstplugin.c:
|
|
* gst/gstplugin.h:
|
|
* gst/gstpluginfeature.c:
|
|
* gst/gstpluginfeature.h:
|
|
* gst/gstregistry.c:
|
|
* gst/gstregistry.h:
|
|
* gst/gstregistrypool.c: remove
|
|
* gst/gstregistrypool.h: remove
|
|
* gst/gsttypefind.c:
|
|
* gst/gsttypefindfactory.c:
|
|
* gst/gsturi.c:
|
|
* tools/Makefile.am:
|
|
* tools/gst-compprep.c:
|
|
* tools/gst-inspect.c:
|
|
* tools/gst-register.c: remove
|
|
* tools/gst-xmlinspect.c:
|
|
Registry rewrite. Changes registry from being a file created
|
|
by a tool into a simple cache file created automatically by
|
|
libgstreamer. Removed gst-register (because it's no longer
|
|
needed). Remove registry pools, because we only have one
|
|
registry implementation (XML). Fix up other subsystems as
|
|
necessary.
|
|
|
|
2005-09-13 Michael Smith <msmith@fluendo.com>
|
|
|
|
* gst/gstconfig.h.in:
|
|
Don't Use windows linking attributes for MinGW. Fixes #316157
|
|
|
|
2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstutils.c: (set_state_async_thread_func),
|
|
(gst_element_set_state_async):
|
|
Apparently people think it's better if this function doesn't
|
|
try to set the state to whatever state was asked for on the first
|
|
call to this function for any object. Seriously.
|
|
|
|
2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* 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
|
|
|
|
2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
|
|
codify design+behaviour in testsuite after discussion
|
|
|
|
2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/manual/appendix-quotes.xml:
|
|
add a quote
|
|
* gst/gstelement.c: (gst_element_set_state):
|
|
add some debug
|
|
|
|
2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
|
|
(gst_base_transform_prepare_output_buf),
|
|
(gst_base_transform_handle_buffer):
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
|
|
(gst_capsfilter_prepare_buf):
|
|
Remove the requirement for sub-classes to call the parent
|
|
implementation of prepare_output_buffer with a wrapper function.
|
|
|
|
* gst/gsttaglist.h:
|
|
* gst/gsttagsetter.h:
|
|
Fix #define wrapper
|
|
|
|
2005-09-11 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
more doc cleanups
|
|
|
|
2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/gst/tmpl/gstplugin.sgml:
|
|
* gst/gstminiobject.c:
|
|
* gst/gstvalue.h:
|
|
docs now stop throwing warnings
|
|
|
|
2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstpad.sgml:
|
|
* docs/gst/tmpl/gsttypes.sgml:
|
|
* gst/base/gstadapter.h:
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/gstbin.h:
|
|
* gst/gstbuffer.h:
|
|
* gst/gstbus.h:
|
|
* gst/gstcaps.h:
|
|
* gst/gstclock.h:
|
|
* gst/gstelement.h:
|
|
* gst/gstevent.h:
|
|
* gst/gstmessage.h:
|
|
* gst/gstpad.h:
|
|
* gst/gststructure.c:
|
|
* gst/registries/gstlibxmlregistry.h:
|
|
various documentation fixes
|
|
|
|
2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstvalue.sgml:
|
|
rearrange gstvalue section
|
|
* gst/gstutils.c: (gst_element_state_get_name):
|
|
NONE -> VOID
|
|
* gst/gstvalue.c: (_gst_value_initialize):
|
|
* gst/gstvalue.h:
|
|
doc updates
|
|
|
|
2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/gst-libs/controller.c:
|
|
Header include fix.
|
|
* gst/base/gstbasetransform.c:
|
|
(gst_base_transform_default_prepare_buf),
|
|
(gst_base_transform_handle_buffer):
|
|
* gst/base/gstbasetransform.h:
|
|
Some more basetransform changes and fixes to enable sub-classes
|
|
that modify buffer metadata only.
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
|
|
(gst_capsfilter_init), (gst_capsfilter_transform_ip),
|
|
(gst_capsfilter_prepare_buf):
|
|
If the output pad has fixed allowed caps and input buffers
|
|
don't have any, set the fixed caps on outgoing buffers.
|
|
|
|
2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
|
|
* check/elements/identity.c: (GST_START_TEST):
|
|
Make the error a little clearer when the test fails because
|
|
identity made a copy of the buffer.
|
|
* docs/gst/gstreamer-sections.txt:
|
|
New symbols in gstbasetransform.h
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_class_init),
|
|
(gst_base_transform_init), (gst_base_transform_transform_size),
|
|
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
|
|
(gst_base_transform_default_prepare_buf),
|
|
(gst_base_transform_get_unit_size),
|
|
(gst_base_transform_buffer_alloc),
|
|
(gst_base_transform_handle_buffer), (gst_base_transform_chain),
|
|
(gst_base_transform_change_state),
|
|
(gst_base_transform_set_passthrough),
|
|
(gst_base_transform_set_in_place),
|
|
(gst_base_transform_is_in_place):
|
|
* gst/base/gstbasetransform.h:
|
|
Change BaseTransform to separate in_place operate from same_caps
|
|
output. in_place implies that the element can perform the transform
|
|
on incoming buffers in-place, even if the caps on the output are
|
|
different.
|
|
Sub-class elements can now implement special buffer allocation
|
|
methods for outgoing buffers if they wish to.
|
|
Big documentation addition.
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
|
|
* gst/elements/gstelements.c:
|
|
Changes for basetransform modifications.
|
|
* gst/elements/Makefile.am:
|
|
* gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
|
|
Compile fix. Extra debug output.
|
|
|
|
2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
|
|
(gst_pad_suite):
|
|
add tests for valid pad naming
|
|
* gst/check/gstcheck.c: (gst_check_log_message_func),
|
|
(gst_check_log_critical_func):
|
|
add ASSERT_WARNING
|
|
remove printing of code, it is fragile when the code contains
|
|
% and the line number is enough info
|
|
* gst/check/gstcheck.h:
|
|
* gst/gstpad.c: (gst_pad_template_new):
|
|
fix memleaks
|
|
|
|
2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* configure.ac:
|
|
say what CHECK flags we use
|
|
* docs/libs/gstreamer-libs.types:
|
|
* libs/gst/controller/Makefile.am:
|
|
* libs/gst/controller/gst-controller.c:
|
|
* libs/gst/controller/gst-controller.h:
|
|
* libs/gst/controller/gst-helper.c:
|
|
* libs/gst/controller/gst-interpolation.c:
|
|
* libs/gst/controller/gstcontroller.c:
|
|
* libs/gst/controller/gsthelper.c:
|
|
* libs/gst/controller/gstinterpolation.c:
|
|
* tools/gst-inspect.c: (print_plugin_info):
|
|
we don't use dashes in header names
|
|
|
|
2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/.cvsignore:
|
|
* check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
|
|
(gst_pipeline_suite), (main):
|
|
adding a test for pipelines and state changes
|
|
* gst/gstutils.c: (get_state_func):
|
|
add some debugging
|
|
* gstreamer.spec.in:
|
|
fix up spec file
|
|
|
|
2005-09-08 Michael Smith <msmith@fluendo.com>
|
|
|
|
* gst/elements/gstfilesrc.c: (gst_file_src_map_region),
|
|
(gst_file_src_map_small_region), (gst_file_src_create_mmap),
|
|
(gst_file_src_is_seekable), (gst_file_src_get_size),
|
|
(gst_file_src_start):
|
|
* gst/elements/gstfilesrc.h:
|
|
Various fixes for unseekable, unmmapable, and non-normal files, so
|
|
that fallback to read() rather than mmap() works.
|
|
* gst/gstevent.c: (gst_event_new_newsegment):
|
|
Allow newsegment events with segment_start == segment_end, as will
|
|
correctly happen if you use filesrc on a zero-size file, for
|
|
example.
|
|
|
|
2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/gstplugin.c: (gst_plugin_load_file):
|
|
Call g_module_close when we don't load the module
|
|
|
|
* gst/registries/gstlibxmlregistry.c:
|
|
(gst_xml_registry_get_property):
|
|
Port leak fix from 0.8
|
|
|
|
2005-09-07 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gsttrace.sgml:
|
|
* docs/gst/tmpl/gsttrashstack.sgml:
|
|
* gst/Makefile.am:
|
|
* gst/gst.h:
|
|
* gst/gstelement.h:
|
|
* gst/gstevent.h:
|
|
* gst/gstmessage.c:
|
|
* gst/gstmessage.h:
|
|
* gst/gsttag.c:
|
|
* gst/gsttag.h:
|
|
* gst/gsttaginterface.c:
|
|
* gst/gsttaginterface.h:
|
|
* gst/gsttaglist.c:
|
|
* gst/gsttaglist.h:
|
|
* gst/gsttagsetter.c:
|
|
* gst/gsttagsetter.h:
|
|
* gst/gsttrace.c:
|
|
* gst/gsttrace.h:
|
|
* gst/gsttrashstack.c:
|
|
renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
|
|
inlined docs for gsttrace, gsttrashstack
|
|
|
|
2005-09-07 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* gst/Makefile.am:
|
|
* gst/elements/gstbufferstore.h:
|
|
* gst/elements/gsttypefindelement.c:
|
|
* gst/elements/gsttypefindelement.h:
|
|
* gst/gst.h:
|
|
* gst/gsttypefind.c:
|
|
* gst/gsttypefind.h:
|
|
* gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
|
|
(gst_type_find_factory_class_init), (gst_type_find_factory_init),
|
|
(gst_type_find_factory_dispose),
|
|
(gst_type_find_factory_unload_thyself),
|
|
(gst_type_find_load_plugin), (gst_type_find_factory_get_list),
|
|
(gst_type_find_factory_get_caps),
|
|
(gst_type_find_factory_get_extensions),
|
|
(gst_type_find_factory_call_function):
|
|
* gst/gsttypefindfactory.h:
|
|
* gst/registries/gstlibxmlregistry.c:
|
|
* gst/registries/gstxmlregistry.c:
|
|
splitted gsttypefind into gsttypefind, gsttypefindfactory
|
|
|
|
2005-09-07 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
|
|
condition whereby the pad's task function is entered before the
|
|
pad_mode variable was set.
|
|
|
|
2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_alloc_buffer):
|
|
Catch misbehaving pad_alloc functions that don't
|
|
set up caps and do it for them.
|
|
|
|
2005-09-07 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/pipelines/simple_launch_lines.c: (run_pipeline):
|
|
test for pipe!=NULL
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstmemchunk.sgml:
|
|
* docs/gst/tmpl/gstparse.sgml:
|
|
* docs/gst/tmpl/gsttaglist.sgml:
|
|
* docs/gst/tmpl/gsttagsetter.sgml:
|
|
* docs/gst/tmpl/gsttypefind.sgml:
|
|
* docs/gst/tmpl/gsttypefindfactory.sgml:
|
|
* gst/gstmemchunk.c:
|
|
* gst/gstparse.c:
|
|
* gst/gsttag.c:
|
|
* gst/gsttaginterface.c:
|
|
* gst/gsttypefind.c:
|
|
* gst/gsttypefind.h:
|
|
inlined more docs
|
|
|
|
=== release 0.9.2 ===
|
|
|
|
2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* NEWS:
|
|
* RELEASE:
|
|
* configure.ac:
|
|
releasing 0.9.2, "South"
|
|
|
|
2005-09-05 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/registries/gstxmlregistry.h:
|
|
* gst/registries/gstxmlregistry.c: Um... resurrect...
|
|
|
|
* gst/registries/gstxmlregistry.h:
|
|
* gst/registries/gstxmlregistry.c: and update to newer API.
|
|
Incidentally they should be a bit faster now that they don't have
|
|
to parse the caps.
|
|
|
|
2005-09-05 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/registries/gstxmlregistry.h:
|
|
* gst/registries/gstxmlregistry.c: Remove from CVS, they were
|
|
replaced by the libxml registry a while back
|
|
|
|
2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/tmpl/gstplugin.sgml:
|
|
* gst/elements/gstelements.c:
|
|
* gst/gst.c:
|
|
* gst/gstplugin.c: (gst_plugin_register_func),
|
|
(gst_plugin_desc_copy), (gst_plugin_desc_free),
|
|
(gst_plugin_get_source):
|
|
* gst/gstplugin.h:
|
|
* gst/registries/gstlibxmlregistry.c: (load_plugin),
|
|
(gst_xml_registry_save_plugin):
|
|
* gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
|
|
(gst_xml_registry_save_plugin):
|
|
* tools/gst-inspect.c: (print_plugin_info):
|
|
add a "source" plugin description field, to represent the source
|
|
module this plugin is a part of. By default GST_PLUGIN_DEFINE
|
|
will set it to PACKAGE, which is automake's idea of the name of
|
|
the source project.
|
|
|
|
2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* Makefile.am:
|
|
* autogen.sh:
|
|
* configure.ac:
|
|
* docs/Makefile.am:
|
|
* docs/faq/Makefile.am:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/gst/tmpl/gsttypes.sgml:
|
|
* docs/htmlinstall.mak:
|
|
* docs/manual/Makefile.am:
|
|
* docs/pwg/Makefile.am:
|
|
reorganize doc build a little
|
|
split out docbook and gtk-doc stuff
|
|
have two separate --enable's and enable them through autogen
|
|
but disable by default in configure (to be similar to other
|
|
projects)
|
|
* gstreamer.spec.in:
|
|
clean up docs install
|
|
* po/af.po:
|
|
* po/az.po:
|
|
* po/ca.po:
|
|
* po/cs.po:
|
|
* po/de.po:
|
|
* po/en_GB.po:
|
|
* po/fr.po:
|
|
* po/it.po:
|
|
* po/nb.po:
|
|
* po/nl.po:
|
|
* po/ru.po:
|
|
* po/sq.po:
|
|
* po/sr.po:
|
|
* po/sv.po:
|
|
* po/tr.po:
|
|
* po/uk.po:
|
|
* po/vi.po:
|
|
translation updates
|
|
|
|
2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
|
|
Add comment.
|
|
|
|
* gst/elements/gstfakesink.c: (gst_fake_sink_init),
|
|
(gst_fake_sink_change_state):
|
|
Make state change function thread-safe.
|
|
|
|
* gst/gstpad.c: (gst_pad_alloc_buffer):
|
|
Set offset on generic buffer allocated by fallback.
|
|
|
|
2005-09-03 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* gst/gstpad.c:
|
|
* libs/gst/controller/gst-controller.c:
|
|
(gst_controlled_property_set_interpolation_mode),
|
|
(gst_controlled_property_new),
|
|
(gst_controller_find_controlled_property):
|
|
run the wingo-magic script against the docs
|
|
|
|
2005-09-02 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstelementdetails.sgml:
|
|
* docs/gst/tmpl/gstelementfactory.sgml:
|
|
* gst/gst.c:
|
|
* gst/gstbus.c:
|
|
* gst/gstelementfactory.c:
|
|
* gst/gstelementfactory.h:
|
|
merged elementdetails docs into elementfactory docs
|
|
inlined both
|
|
|
|
2005-09-02 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstelement.h: Add magical pixie dust to make glib-mkenums
|
|
consider this enum an enum and not a flags.
|
|
|
|
2005-09-02 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstghostpad.sgml:
|
|
* docs/gst/tmpl/gstiterator.sgml:
|
|
* docs/gst/tmpl/gstmacros.sgml:
|
|
* docs/gst/tmpl/gstrealpad.sgml:
|
|
* docs/gst/tmpl/gstregistry.sgml:
|
|
* docs/gst/tmpl/gstregistrypool.sgml:
|
|
* docs/gst/tmpl/gststructure.sgml:
|
|
* docs/gst/tmpl/gstsystemclock.sgml:
|
|
* docs/gst/tmpl/gsttrace.sgml:
|
|
* gst/gstghostpad.c:
|
|
* gst/gstmacros.h:
|
|
* gst/gstmemchunk.c:
|
|
* gst/gstmemchunk.h:
|
|
* gst/gstqueue.c:
|
|
* gst/gstregistry.c:
|
|
* gst/gstregistrypool.c:
|
|
* gst/gststructure.c:
|
|
* gst/gstsystemclock.c:
|
|
more docs inlined
|
|
|
|
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.
|
|
|
|
2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
|
|
* gst/gstutils.c: (gst_util_set_value_from_string),
|
|
(gst_util_set_object_arg):
|
|
fix a bunch of unchecked return values
|
|
* tools/gst-complete.c: (main):
|
|
* gstreamer.spec.in:
|
|
clean up a little
|
|
|
|
2005-09-01 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
|
(gst_base_sink_event), (gst_base_sink_do_sync),
|
|
(gst_base_sink_handle_event):
|
|
* gst/base/gstbasesink.h:
|
|
Handle newsegments more correctly.
|
|
|
|
* gst/gstbus.c:
|
|
Fix docs.
|
|
|
|
* gst/gstevent.c: (gst_event_new_newsegment):
|
|
A newsegment cannot have a start_time of -1
|
|
|
|
2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* win32/gstenumtypes.c:
|
|
* win32/gstenumtypes.h:
|
|
Update
|
|
|
|
2005-08-31 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* libs/gst/controller/gst-controller.c:
|
|
(gst_controlled_property_set_interpolation_mode),
|
|
(gst_controlled_property_new):
|
|
fixed boolean again
|
|
|
|
2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* 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
|
|
|
|
2005-08-31 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gsterror.sgml:
|
|
* docs/gst/tmpl/gstfilter.sgml:
|
|
* docs/gst/tmpl/gsturihandler.sgml:
|
|
* docs/gst/tmpl/gsturitype.sgml:
|
|
* docs/gst/tmpl/gstutils.sgml:
|
|
* docs/gst/tmpl/gstxml.sgml:
|
|
* gst/gsterror.c:
|
|
* gst/gsterror.h:
|
|
* gst/gstfilter.c:
|
|
* gst/gsturi.c:
|
|
* gst/gsturitype.c:
|
|
* gst/gstutils.c:
|
|
* gst/gstxml.c:
|
|
inlined more docs, fixed double id-ref
|
|
|
|
2005-08-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
|
|
(gst_base_transform_handle_buffer):
|
|
Passthrough elements don't need the caps as they don't care.
|
|
|
|
2005-08-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
|
|
(gst_base_transform_handle_buffer), (gst_base_transform_chain):
|
|
Don't leak refcounts on buffers.
|
|
|
|
2005-08-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
|
|
(gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
|
|
(gst_base_transform_chain), (gst_base_transform_change_state):
|
|
* gst/base/gstbasetransform.h:
|
|
Handle the case where we are not negotiated more gracefully.
|
|
|
|
2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
|
|
(gst_file_src_map_region):
|
|
Set READONLY flag on mmap'ed buffers, otherwise
|
|
gst_buffer_make_writable() won't work properly (#314708).
|
|
|
|
2005-08-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
|
|
passthrough elements can even do inplace on non writable
|
|
buffers (as they don't touch them).
|
|
|
|
2005-08-31 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/gst-libs/controller.c: (gst_test_mono_source_get_property),
|
|
(gst_test_mono_source_set_property),
|
|
(gst_test_mono_source_class_init), (GST_START_TEST),
|
|
(gst_controller_suite):
|
|
more tests (hehe I have the most)
|
|
* gst/gstbus.c:
|
|
describe popping messages whenusing mulltiple sources
|
|
* libs/gst/controller/gst-controller.c:
|
|
(gst_controlled_property_set_interpolation_mode),
|
|
(gst_controlled_property_new):
|
|
* libs/gst/controller/gst-controller.h:
|
|
* libs/gst/controller/gst-interpolation.c:
|
|
implement boolean properties
|
|
|
|
2005-08-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstminiobject.c: (gst_mini_object_ref):
|
|
Cannot assert that the refcount has to be positive
|
|
since a disposed object can be resurrected.
|
|
|
|
2005-08-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_init):
|
|
Revert change, need to first fix badly behaving
|
|
apps.
|
|
|
|
2005-08-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/elements/fakesrc.c: (setup_fakesrc):
|
|
* check/elements/identity.c: (setup_identity):
|
|
Activate pads before using them.
|
|
|
|
2005-08-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstadapter.c: (gst_adapter_flush):
|
|
Flushing out 0 bytes is ok for this function.
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
|
|
no newsegment gives a warning and sets the start/stop to
|
|
invalid.
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_change_state),
|
|
(gst_base_transform_set_passthrough):
|
|
Some debug info.
|
|
|
|
* gst/gstminiobject.c: (gst_mini_object_ref):
|
|
Check refcount here too.
|
|
|
|
* gst/gstpad.c: (gst_pad_init):
|
|
Pads are initially flushing and refusing data.
|
|
|
|
* gst/gstutils.c: (gst_element_link_pads_filtered):
|
|
When adding a capsfilter element make sure it has the
|
|
same state as the parent bin.
|
|
|
|
2005-08-30 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstformat.sgml:
|
|
* docs/gst/tmpl/gstversion.sgml:
|
|
* gst/gstbus.h:
|
|
* gst/gstformat.c:
|
|
* gst/gstformat.h:
|
|
* gst/gstversion.h.in:
|
|
more docs and two more inlined
|
|
|
|
2005-08-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gstfilesink.c: (gst_file_sink_class_init):
|
|
Don't sync to clock.
|
|
|
|
2005-08-30 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
ultral33t func10ns deserve to appear in the docs actually
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstcompat.sgml:
|
|
* docs/gst/tmpl/gstconfig.sgml:
|
|
* gst/check/gstcheck.c:
|
|
* gst/gstcompat.h:
|
|
* gst/gstconfig.h.in:
|
|
inlined more docs
|
|
|
|
2005-08-30 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstquery.sgml:
|
|
* docs/gst/tmpl/gstutils.sgml:
|
|
* gst/gstquery.c:
|
|
* gst/gstquery.h:
|
|
inlined and extended docs
|
|
|
|
2005-08-30 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/gst-libs/controller.c: (GST_START_TEST),
|
|
(gst_controller_suite):
|
|
more tests
|
|
* docs/gst/tmpl/gstutils.sgml:
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
* docs/libs/tmpl/gstdataprotocol.sgml:
|
|
include path fixes
|
|
* examples/controller/audio-example.c: (main):
|
|
controller example works now
|
|
* gst/gstclock.h:
|
|
doc fixes
|
|
* tools/gst-inspect.c: (print_element_properties_info):
|
|
show param spec flags
|
|
|
|
2005-08-29 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
|
|
|
|
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.
|
|
|
|
2005-08-27 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/design/part-messages.txt:
|
|
update info
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstcaps.sgml:
|
|
* docs/gst/tmpl/gstclock.sgml:
|
|
* gst/gstbus.c:
|
|
* gst/gstcaps.c:
|
|
* gst/gstcaps.h:
|
|
* gst/gstclock.c:
|
|
* gst/gstclock.h:
|
|
* gst/gstmessage.c:
|
|
added descriptions for bus and message
|
|
inline caps and clock docs
|
|
|
|
2005-08-27 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* gst/gstmessage.c:
|
|
* gst/gstmessage.h:
|
|
doc fixes
|
|
|
|
2005-08-27 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
|
|
fix div-by-zero
|
|
|
|
2005-08-26 Andy Wingo <wingo@pobox.com>
|
|
|
|
* check/pipelines/simple_launch_lines.c (run_pipeline): Check
|
|
element_set_state's return val.
|
|
(test_2_elements): Add test that's been disabled for months.
|
|
|
|
* gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
|
|
can-activate-pull properties.
|
|
|
|
* gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
|
|
can-activate-pull properties. Implement is_seekable so fakesrc can
|
|
operate in pull mode.
|
|
|
|
* gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
|
|
properties.
|
|
(gst_base_sink_activate, gst_base_sink_activate_pull)
|
|
(gst_base_sink_activate_push): Make activation mode choosing work.
|
|
Cleanups.
|
|
(gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
|
|
is right. Make pull mode work. Post an eos before pausing in pull
|
|
mode.
|
|
(gst_base_sink_change_state): Pay attention to the core's
|
|
change_state() return val.
|
|
|
|
* gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
|
|
has-getrange properties. Cleanups.
|
|
|
|
* gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
|
|
has_getrange and replace with can_activate_pull and
|
|
can_activate_push.
|
|
|
|
* gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
|
|
locking comments. Remove has_loop, has_chain and replace with
|
|
can_activate_pull and can_activate_push.
|
|
|
|
2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* configure.ac:
|
|
* examples/Makefile.am:
|
|
* examples/metadata/Makefile.am:
|
|
* examples/metadata/read-metadata.c: (message_loop),
|
|
(have_pad_handler), (make_pipeline), (print_tag), (main):
|
|
Add metadata reading example that loops over a list of filenames,
|
|
dumping any tags found.
|
|
|
|
* gst/gstbus.c: (gst_bus_dispose):
|
|
* gst/gstelement.c: (gst_element_dispose):
|
|
Release a few potentially-held references in dispose.
|
|
|
|
2005-08-26 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/tmpl/gstminiobject.sgml:
|
|
do *not* add tmpl/*.sgml files to CVS!
|
|
|
|
2005-08-26 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* libs/gst/bytestream/.cvsignore:
|
|
* libs/gst/bytestream/Makefile.am:
|
|
* libs/gst/bytestream/adapter.c:
|
|
* libs/gst/bytestream/adapter.h:
|
|
* libs/gst/bytestream/bytestream.c:
|
|
* libs/gst/bytestream/bytestream.h:
|
|
* libs/gst/bytestream/filepad.c:
|
|
* libs/gst/bytestream/filepad.h:
|
|
removing obsolete files
|
|
|
|
2005-08-26 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/libs/gstreamer-libs-docs.sgml:
|
|
disabed additional index entries again, as this makes docs-gen just
|
|
slow and they aren't useful yet
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
little -section.txt cleanup for libs
|
|
|
|
2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
|
|
fix up some debugging
|
|
(gst_base_transform_get_unit_size),
|
|
(gst_base_transform_buffer_alloc), (gst_base_transform_event),
|
|
(gst_base_transform_handle_buffer):
|
|
* gst/base/gstbasetransform.h:
|
|
handle and store timed NEWSEGMENT events so that subclasses that
|
|
calculate time by counting samples have a segment_start time they
|
|
need to add to their timestamps - see audioresample
|
|
|
|
2005-08-26 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* 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)
|
|
|
|
2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
|
|
* gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
|
|
don't walk through the plugins backwards. Where is all this
|
|
reversed logic coming from ?
|
|
|
|
2005-08-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_init),
|
|
(gst_base_transform_transform_size),
|
|
(gst_base_transform_configure_caps),
|
|
(gst_base_transform_get_unit_size),
|
|
(gst_base_transform_buffer_alloc),
|
|
(gst_base_transform_change_state):
|
|
* gst/base/gstbasetransform.h:
|
|
Cache caps unit_size.
|
|
Make sure we cannot negotiate up and downstream at the
|
|
same time.
|
|
|
|
2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gst.c: (init_pre), (init_post):
|
|
register the installed plugin path after the env var
|
|
* gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
|
|
* gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
|
|
don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
|
|
directories, so the tests can prefer uninstalled over installed
|
|
|
|
2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/base/gstbasetransform.h:
|
|
comment
|
|
* gst/gstpad.c:
|
|
add to docs
|
|
|
|
2005-08-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (bin_bus_handler):
|
|
Be a bit more conservative about the posted message.
|
|
|
|
* gst/gstbus.c: (gst_bus_post):
|
|
Some cleanups, warn wrong return values.
|
|
|
|
2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
* gst/gstbin.c: (bin_bus_handler):
|
|
* gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
|
|
(gst_message_new), (gst_message_new_eos), (gst_message_new_error),
|
|
(gst_message_new_warning), (gst_message_new_tag),
|
|
(gst_message_new_state_changed), (gst_message_new_segment_start),
|
|
(gst_message_new_segment_done), (gst_message_new_custom):
|
|
* gst/gstmessage.h:
|
|
* tools/gst-launch.c: (event_loop):
|
|
* tools/gst-md5sum.c: (event_loop):
|
|
Revert unpopular change for GST_MESSAGE_SRC to GObject.
|
|
|
|
2005-08-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/generic/states.c: (GST_START_TEST):
|
|
Cleanup can be done at the end.
|
|
|
|
* gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
|
|
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
|
|
(gst_task_get_state), (gst_task_start), (gst_task_pause):
|
|
Oh boy.. Thanks for finding this, Thomas.
|
|
|
|
2005-08-25 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer.types:
|
|
added missing types
|
|
|
|
2005-08-25 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* gst/gstbin.c:
|
|
* gst/gstiterator.c:
|
|
* gst/gstutils.c:
|
|
* gst/registries/gstxmlregistry.h:
|
|
added missing classes and symbols (123 more to go)
|
|
removed removed symbols from section file
|
|
fixed many doc-comments
|
|
|
|
2005-08-24 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/generic/states.c: (GST_START_TEST):
|
|
Make sure all tasks are stopped.
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
Unref after usage for proper valgrinding.
|
|
|
|
* gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
|
|
Really wait for the task to stop before destroying the
|
|
mutex.
|
|
|
|
* gst/gstqueue.c: (gst_queue_sink_activate_push),
|
|
(gst_queue_src_activate_push):
|
|
Small cleanups. Don't stop the task when we did not start
|
|
it.
|
|
|
|
* gst/gsttask.c: (gst_task_get_type), (gst_task_init),
|
|
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
|
|
(gst_task_get_state), (gst_task_start), (gst_task_pause),
|
|
(gst_task_join):
|
|
* gst/gsttask.h:
|
|
Protect the stream lock with the object lock.
|
|
Disallow setting the stream lock when running.
|
|
Add cleanup_all to wait for the threadpool to finish.
|
|
Remove code to autoallocate a mutex if none was provided.
|
|
Add _join() to wait for a task to stop.
|
|
Protect the thread pool with a global lock.
|
|
|
|
2005-08-24 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
|
(gst_base_sink_get_times), (gst_base_sink_do_sync),
|
|
(gst_base_sink_handle_buffer), (gst_base_sink_change_state):
|
|
* gst/base/gstbasesink.h:
|
|
Handle newsegment events correctly.
|
|
Drop buffers out of the segment range.
|
|
|
|
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.
|
|
|
|
2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/generic/states.c: (GST_START_TEST), (states_suite), (main):
|
|
add a test that does a bunch of state changes on elements
|
|
needs some fixing for valgrind
|
|
* check/states/sinks.c: (gst_object_suite):
|
|
whitespace
|
|
* gst/gstcaps.h:
|
|
add prototype for gst_caps_is_equal_fixed
|
|
* gst/gstplugin.c:
|
|
* gst/gstregistrypool.c:
|
|
doc fixes
|
|
|
|
2005-08-24 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstquery.c (gst_query_new_convert): Spew if we try to
|
|
convert a negative value. Doesn't make much sense. Mostly this is
|
|
here to force callers to ensure -1 maps to -1.
|
|
|
|
2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* docs/pwg/advanced-types.xml:
|
|
Well done to Michael for catching my deliberate introduction
|
|
of this spelling mistake.
|
|
* gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
|
|
* gst/gstelement.h:
|
|
Add GST_ELEMENT_UNPARENTING to prevent races so that we can
|
|
unlink pads before removing the element from the bin.
|
|
|
|
2005-08-24 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
|
|
the same thing as GST_DEBUG=*:4.
|
|
(parse_debug_level, parse_debug_category): New helper parsers.
|
|
|
|
2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
|
|
(gst_base_transform_transform_size), (gst_base_transform_getcaps),
|
|
(gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
|
|
(gst_base_transform_buffer_alloc),
|
|
(gst_base_transform_handle_buffer):
|
|
use gboolean return values and pointers to size so we can use the
|
|
full GST_BUFFER_SIZE range (guint) for buffer sizes
|
|
use GstPadDirection for transform_caps
|
|
* gst/base/gstbasetransform.h:
|
|
rename get_size to get_unit_size since that's what it is
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
|
|
use GstPadDirection for transform_caps
|
|
* gst/gstbuffer.c: (gst_buffer_new_and_alloc):
|
|
* gst/gstutils.h:
|
|
cleanup and debugging
|
|
|
|
2005-08-24 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* gst/gstelement.c: (gst_element_class_init),
|
|
(gst_element_set_state), (activate_pads),
|
|
(gst_element_save_thyself):
|
|
* tools/gst-compprep.c: (main):
|
|
* tools/gst-inspect.c: (print_element_properties_info):
|
|
* tools/gst-xmlinspect.c: (print_element_properties):
|
|
Fixed long standing mem-leak
|
|
|
|
2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
* gst/gstbin.c: (bin_bus_handler):
|
|
* gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
|
|
(gst_message_new), (gst_message_new_eos), (gst_message_new_error),
|
|
(gst_message_new_warning), (gst_message_new_tag),
|
|
(gst_message_new_state_changed), (gst_message_new_segment_start),
|
|
(gst_message_new_segment_done), (gst_message_new_custom):
|
|
* gst/gstmessage.h:
|
|
* tools/gst-launch.c: (event_loop):
|
|
* tools/gst-md5sum.c: (event_loop):
|
|
Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
|
|
that applications can sensibly post custom messages with references
|
|
to their own objects.
|
|
|
|
2005-08-24 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
|
|
already.
|
|
|
|
2005-08-24 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_init),
|
|
(gst_base_transform_transform_caps),
|
|
(gst_base_transform_transform_size),
|
|
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
|
|
(gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
|
|
(gst_base_transform_handle_buffer):
|
|
* gst/base/gstbasetransform.h:
|
|
Many fixes and new features added by Thomas. Can now also do
|
|
transforms with variable sizes and a custom fixate_caps function.
|
|
|
|
2005-08-24 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbuffer.c: (gst_buffer_new_and_alloc):
|
|
Some debugging.
|
|
|
|
* gst/gstclock.h:
|
|
Cast to ClockTime before formatting to time.
|
|
|
|
* gst/gstutils.h:
|
|
Cleanups.
|
|
|
|
2005-08-24 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/gst-libs/controller.c: (GST_START_TEST),
|
|
(gst_controller_suite):
|
|
* docs/gst/tmpl/gstcaps.sgml:
|
|
* docs/gst/tmpl/gstghostpad.sgml:
|
|
* docs/gst/tmpl/gstquery.sgml:
|
|
* docs/gst/tmpl/gstutils.sgml:
|
|
* libs/gst/controller/gst-helper.c: (gst_object_set_controller),
|
|
(gst_object_sink_values), (gst_object_get_value_arrays),
|
|
(gst_object_get_value_array):
|
|
gracefully handle helper method calls to objects that are not beeing
|
|
controlled, added test case for that
|
|
|
|
2005-08-23 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
|
|
(gst_event_new_newsegment), (gst_event_parse_newsegment),
|
|
(gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
|
|
(gst_event_parse_qos), (gst_event_new_seek),
|
|
(gst_event_parse_seek):
|
|
* gst/gstevent.h:
|
|
Some more debugging output and doc cleanups.
|
|
|
|
* gst/gstqueue.c: (gst_queue_handle_sink_event):
|
|
Fix possible deadlock.
|
|
|
|
2005-08-23 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* gst/gstbin.h:
|
|
* gst/gstbus.c:
|
|
* gst/gstelement.c:
|
|
* gst/gstevent.h:
|
|
added 100 symbols from gstreamer-unused.txt to the right sections
|
|
fixed more broken comments
|
|
added GstBus to docs
|
|
|
|
2005-08-23 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/.cvsignore:
|
|
* docs/gst/tmpl/gstbin.sgml:
|
|
* docs/gst/tmpl/gstbuffer.sgml:
|
|
* gst/base/gstbasesrc.c:
|
|
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
|
|
* gst/gstbuffer.c:
|
|
* gst/gstbuffer.h:
|
|
* tools/gst-launch.1.in:
|
|
inlined more doc comments, added missing comments and fixed comments
|
|
fixed typos
|
|
|
|
2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstbuffer.c: (gst_buffer_new_and_alloc):
|
|
some debugging
|
|
* gst/gstcaps.h:
|
|
whitespace fixes
|
|
* gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
|
|
more debugging
|
|
* gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
|
|
* gst/gststructure.h:
|
|
add a fixate function for booleans; add a FIXME that these func
|
|
names should probably be gst_structure_fixate_*
|
|
|
|
2005-08-23 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* gst/Makefile.am:
|
|
* gst/gstbin.c: (gst_bin_get_type),
|
|
(gst_bin_child_proxy_get_child_by_index),
|
|
(gst_bin_child_proxy_get_children_count),
|
|
(gst_bin_child_proxy_init):
|
|
* gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
|
|
(gst_child_proxy_get_child_by_index),
|
|
(gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
|
|
(gst_child_proxy_get_property), (gst_child_proxy_get_valist),
|
|
(gst_child_proxy_get), (gst_child_proxy_set_property),
|
|
(gst_child_proxy_set_valist), (gst_child_proxy_set),
|
|
(gst_child_proxy_child_added), (gst_child_proxy_child_removed),
|
|
(gst_child_proxy_base_init), (gst_child_proxy_get_type):
|
|
* gst/gstchildproxy.h:
|
|
* gst/parse/grammar.y:
|
|
* tools/gst-inspect.c: (print_interfaces),
|
|
(print_element_properties_info), (print_element_info):
|
|
ported gstchildproxy over from 0.8
|
|
ported gst-inspect fixes and enhancements over from 0.8
|
|
|
|
2005-08-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
|
|
(gst_base_transform_handle_buffer):
|
|
Also call the transform function if we have ANY caps.
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
|
|
Fix debug info.
|
|
|
|
2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_event_handler)
|
|
Don't pretend to handle seek events if the source is not seekable
|
|
|
|
2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
|
|
Remove extra parameter to debug output
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
|
|
(gst_base_src_do_seek), (gst_base_src_activate_push):
|
|
Fix seek event handling.
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_change_state):
|
|
* gst/gstqueue.c: (gst_queue_handle_sink_event),
|
|
(gst_queue_src_activate_push):
|
|
Don't start the src pad task on FLUSH_STOP if the pad
|
|
isn't linked.
|
|
Debug changes.
|
|
|
|
2005-08-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
|
|
Added check for gst_static_caps_get() refcounting.
|
|
|
|
2005-08-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
|
|
Make _static_caps_get() refcounting sane.
|
|
|
|
* gst/gstelement.c: (gst_element_set_state):
|
|
Add g_return_val_if_fail() to protect against segfaults.
|
|
|
|
2005-08-22 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/tmpl/gstevent.sgml:
|
|
* gst/gstevent.c:
|
|
* gst/gstevent.h:
|
|
inlined remaining docs, added missing doc comments
|
|
|
|
2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
since we don't know when preroll is done, use refcount range
|
|
check for the sink
|
|
* gst/check/gstcheck.h:
|
|
add macro for checking refcount range
|
|
|
|
2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
clean up environment for when registry gets built versus
|
|
when actual tests are run; valgrind seems to not report
|
|
leaks if GST_PLUGIN_PATH is set to some specific values
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
add more refcounting checks; maybe this exposes a
|
|
preroll lock bug ?
|
|
* common/check.mak:
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
|
|
* gst/check/gstcheck.h:
|
|
* gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
|
|
(gst_bin_change_state):
|
|
* gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
|
|
add/fix debugging/whitespace
|
|
|
|
2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/gst/gstevent.c: (event_probe), (test_event),
|
|
(GST_START_TEST):
|
|
Er, don't call gst_bin_watch_for_state_change you idiot.
|
|
|
|
2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/Makefile.am:
|
|
Use CHECK_CFLAGS and CHECK_LIBS
|
|
* check/gst/gstevent.c: (event_probe), (test_event),
|
|
(GST_START_TEST):
|
|
Don't leak events.
|
|
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
|
|
(gst_base_src_start), (gst_base_src_stop),
|
|
(gst_base_src_activate_push), (gst_base_src_activate_pull),
|
|
(gst_base_src_change_state):
|
|
Sprinkle gst_base_src_stop liberally around error paths to fix
|
|
problems reusing a source after failed state changes.
|
|
* gst/base/gsttypefindhelper.c: (helper_find_peek),
|
|
(helper_find_suggest), (gst_type_find_helper):
|
|
Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
|
|
* gst/gstevent.h:
|
|
* docs/gst/tmpl/gstevent.sgml:
|
|
Migrate part of the docs from the SGML file. Wait for ensonic to
|
|
tell me how I did it wrong ;)
|
|
* tools/gst-typefind.c: (main):
|
|
Extra robustness to state changes between files.
|
|
|
|
2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
don't valgrind the controller test - it's leaking - Stefan, HELP
|
|
* gst/check/gstcheck.c: (gst_check_message_error),
|
|
(gst_check_chain_func), (gst_check_setup_element),
|
|
(gst_check_teardown_element), (gst_check_setup_src_pad),
|
|
(gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
|
|
(gst_check_teardown_sink_pad):
|
|
* gst/check/gstcheck.h:
|
|
add a bunch of methods to set up elements, and src and sink pads
|
|
* check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
|
|
* check/elements/identity.c: (setup_identity), (cleanup_identity),
|
|
(GST_START_TEST):
|
|
use them
|
|
* gst/gstmessage.c:
|
|
* gst/gsttag.h:
|
|
whitespace/doc fixes
|
|
|
|
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstelement.h:
|
|
make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
|
|
be handled by the application and not always printed as well
|
|
|
|
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
set GST_TOOLS_DIR
|
|
* gst/check/gstcheck.c: (gst_check_message_error):
|
|
* gst/check/gstcheck.h:
|
|
add a fail_unless_equals_int
|
|
add fail_unless for error messages
|
|
|
|
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst.supp:
|
|
* common/Makefile.am:
|
|
* common/check.mak:
|
|
* common/gst.supp:
|
|
factor out some of the common stuff so we can use it
|
|
|
|
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstiterator.c: (GST_START_TEST):
|
|
* check/gst/gstsystemclock.c: (GST_START_TEST),
|
|
(gst_systemclock_suite):
|
|
* check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
|
|
* gst/gstclock.c:
|
|
valgrind more tests
|
|
|
|
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/elements/.cvsignore:
|
|
* check/elements/gstfakesrc.c:
|
|
rename to name of element
|
|
* check/elements/identity.c: (chain_func), (event_func),
|
|
(setup_identity), (cleanup_identity), (GST_START_TEST),
|
|
(identity_suite), (main):
|
|
add a test for identity
|
|
* check/Makefile.am:
|
|
* pkgconfig/Makefile.am:
|
|
* pkgconfig/gstreamer-check.pc.in:
|
|
* pkgconfig/gstreamer-check-uninstalled.pc.in:
|
|
* gst/check:
|
|
* gst/Makefile.am:
|
|
* configure.ac:
|
|
move the check stuff to a library that gets installed
|
|
* check/gst-libs/controller.c: (GST_START_TEST):
|
|
* check/gst-libs/gdp.c:
|
|
* check/gst/gst.c: (GST_START_TEST):
|
|
* check/gst/gstbin.c:
|
|
* check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
|
|
* check/gst/gstbus.c:
|
|
* check/gst/gstcaps.c: (GST_START_TEST):
|
|
* check/gst/gstelement.c:
|
|
* check/gst/gstghostpad.c:
|
|
* check/gst/gstiterator.c:
|
|
* check/gst/gstmessage.c:
|
|
* check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
|
|
* check/gst/gstobject.c:
|
|
* check/gst/gstpad.c: (GST_START_TEST):
|
|
* check/gst/gststructure.c: (GST_START_TEST):
|
|
* check/gst/gstsystemclock.c: (GST_START_TEST),
|
|
(gst_systemclock_suite):
|
|
* check/gst/gsttag.c: (gst_tag_suite):
|
|
* check/gst/gstvalue.c:
|
|
* check/pipelines/cleanup.c:
|
|
* check/pipelines/simple_launch_lines.c:
|
|
* check/states/sinks.c:
|
|
change include statement
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstpad.sgml:
|
|
document more pad stuff
|
|
* gst/gstminiobject.c: (gst_mini_object_ref),
|
|
(gst_mini_object_unref):
|
|
debug refcounting
|
|
|
|
2005-08-19 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/tmpl/gst.sgml:
|
|
* gst/gst.c:
|
|
eliminate another tmpl file, fix spelling in the long-description
|
|
|
|
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
|
|
(test_event), (timediff), (gstevents_suite):
|
|
Should fix build on 64-bit arch's
|
|
|
|
2005-08-18 Andy Wingo <wingo@pobox.com>
|
|
|
|
Make sure that when a pipeline goes to PLAYING, that data has
|
|
actually hit the sink.
|
|
|
|
* check/states/sinks.c (test_sink): A sink that doesn't get any
|
|
data shouldn't return SUCCESS for going to either PLAYING or
|
|
PAUSED. Test also the return values on the way back down.
|
|
|
|
* gst/gstelement.c (gst_element_set_state): When changing the
|
|
state of an element currently changing state asynchronously, go to
|
|
lost-state after commiting the pending state. Makes future calls
|
|
to get_state continue to return ASYNC.
|
|
|
|
* gst/base/gstbasesink.c (gst_base_sink_change_state): Return
|
|
ASYNC when going to PLAYING if we still don't have preroll, as can
|
|
happen with live sources.
|
|
|
|
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* docs/pwg/advanced-types.xml:
|
|
Hack long paragraph into 2 chunks as a workaround for buggy
|
|
jadetex version in sid and breezy that loops infinitely and
|
|
eats all RAM.
|
|
|
|
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
|
|
(test_event), (timediff), (gstevents_suite):
|
|
Provide more error margin in clock measurements to allow for
|
|
g_get_current_time inaccuracies.
|
|
|
|
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
|
|
(test_event), (timediff), (gstevents_suite):
|
|
Fix error message output so I might be able to tell why the
|
|
test works here but fails on the build farm.
|
|
|
|
2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstevents.c: (GST_START_TEST), (event_probe),
|
|
(test_event), (timediff), (gstevents_suite), (main):
|
|
I wrote a test!
|
|
|
|
* docs/design/part-seeking.txt:
|
|
Spelling correction
|
|
|
|
* docs/gst/tmpl/gstevent.sgml:
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
Docs updates.
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
|
|
Treat a buffer-without-newsegment the same as a receiving
|
|
a newsegment not in time format, and disable syncing to the clock
|
|
with a warning.
|
|
|
|
* gst/gstbus.c: (gst_bus_set_sync_handler):
|
|
Assert if anyone tries to replace the existing sync_handler for bus,
|
|
as only the owner should be setting it.
|
|
|
|
* gst/gstevent.h:
|
|
Have a fixed set of custom event enums with events identified by
|
|
their structure name (as in 0.8), rather than a free-for-all
|
|
allowing collisions between enum values from different plugins.
|
|
|
|
* gst/gstpad.c: (gst_pad_class_init):
|
|
Docs change.
|
|
|
|
* gst/gstqueue.c: (gst_queue_handle_sink_event):
|
|
Handle out-of-band downstream events from the sending thread.
|
|
|
|
2005-08-17 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstpipeline.c (gst_pipeline_change_state): Interpret
|
|
play-timeout==0 to mean no timeout at all. In that case, don't
|
|
bother with a get_state or a warning, just return directly, even
|
|
if it's ASYNC.
|
|
|
|
* 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.
|
|
|
|
2005-08-16 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstadapter.h:
|
|
* gst/base/gstadapter.c (gst_adapter_take): New function, like
|
|
peek() but you own the data. Not terribly efficient atm.
|
|
|
|
2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* 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.
|
|
|
|
2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-dataaccess.xml:
|
|
* docs/manual/basics-helloworld.xml:
|
|
Fix docs to use _bin_add() before _link(), which fixes the examples
|
|
with recent core versions (reported by Madhan Raj M
|
|
<raj_madan@rediffmail.com>, #313199).
|
|
|
|
2005-08-16 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
|
|
Added subtract checks.
|
|
|
|
* docs/design/part-events.txt:
|
|
Some more docs about newsegment
|
|
|
|
* gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
|
|
Fix FIXME
|
|
|
|
* gst/gstcaps.c: (gst_caps_to_string):
|
|
Add comments, cleanups.
|
|
|
|
* gst/gstelement.c: (gst_element_save_thyself):
|
|
cleanups
|
|
|
|
* gst/gstvalue.c: (gst_value_collect_int_range),
|
|
(gst_string_unwrap), (gst_value_union_int_int_range),
|
|
(gst_value_union_int_range_int_range),
|
|
(gst_value_intersect_int_int_range),
|
|
(gst_value_intersect_int_range_int_range),
|
|
(gst_value_intersect_double_double_range),
|
|
(gst_value_intersect_double_range_double_range),
|
|
(gst_value_intersect_list), (gst_value_subtract_int_int_range),
|
|
(gst_value_subtract_int_range_int),
|
|
(gst_value_subtract_double_range_double),
|
|
(gst_value_subtract_double_range_double_range),
|
|
(gst_value_subtract_from_list), (gst_value_subtract_list),
|
|
(gst_value_can_compare), (gst_value_compare_fraction):
|
|
Cleanups, add comments, remove unneeded asserts.
|
|
|
|
2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* tools/gst-launch.c: (event_loop):
|
|
don't convert NULL structures to strings
|
|
|
|
2005-08-15 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
made some defines private
|
|
* docs/gst/tmpl/gstconfig.sgml:
|
|
* docs/gst/tmpl/gstqueue.sgml:
|
|
* docs/gst/tmpl/gsttaglist.sgml:
|
|
* docs/gst/tmpl/gsttypes.sgml:
|
|
* docs/gst/tmpl/gstutils.sgml:
|
|
* docs/pwg/appendix-porting.xml:
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.c:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
|
|
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
|
|
* gst/gstelement.c: (gst_element_class_init):
|
|
* gst/gstpad.c: (gst_pad_class_init):
|
|
* gst/gstqueue.c: (gst_queue_class_init):
|
|
* gst/gstxml.c: (gst_xml_class_init):
|
|
documented all undocumented signal inline
|
|
* libs/gst/controller/gst-controller.h:
|
|
added padding
|
|
|
|
2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/pwg/appendix-porting.xml:
|
|
Document _set_link_function -> _set_setcaps_function.
|
|
|
|
2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
add a .check target for running the check
|
|
* check/gst-libs/controller.c: (GST_START_TEST):
|
|
cosmetic fixups
|
|
* check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
|
|
complete checks for gstbuffer; would be nice if I could get the
|
|
gcov stuff to work so I can see if I actually completed gstbuffer.c
|
|
* check/gstcheck.h:
|
|
add ASSERT_BUFFER_REFCOUNT
|
|
|
|
2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
|
|
* gst/gsttag.h:
|
|
Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
|
|
spew out a warning if a tag that is already registered
|
|
is re-registered, unless it is re-registered with a
|
|
different type (#308438).
|
|
|
|
2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/pwg/appendix-porting.xml:
|
|
* docs/pwg/building-state.xml:
|
|
Add some paragraphs about state changes in 0.9 to the PWG
|
|
and the porting guide, in particular about the new meaning
|
|
of GST_STATE_PAUSED and how to write state change functions
|
|
with concurrent access by multiple threads in mind.
|
|
|
|
2005-08-11 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/libs/gstreamer-libs-docs.sgml:
|
|
added deprecation and since indexes
|
|
* libs/gst/controller/gst-controller.c:
|
|
* libs/gst/controller/gst-helper.c:
|
|
added since tags
|
|
|
|
|
|
2005-08-11 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
|
|
(gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
|
|
(gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
|
|
(gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
|
|
(gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
|
|
(gst_ghost_pad_set_target):
|
|
Actually implement (re)setting the target on a ghostpad
|
|
as described in the docs.
|
|
|
|
2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
|
|
Check whether GST_DEBUG_NO_COLOR environment variable is
|
|
set and disable coloured debug output if that is the case.
|
|
|
|
2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gsttypefindhelper.c: (helper_find_peek),
|
|
(gst_type_find_helper):
|
|
The memory returned by gst_type_find_peek() needs to
|
|
stay valid until the end of a typefind function, and
|
|
typefind functions may keep results from different
|
|
offsets around, so we can't just unref the buffer from
|
|
the previous _peek(), but have to save all buffers
|
|
returned by _peek() until typefinding is done and only
|
|
free them then.
|
|
|
|
2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* gst/gstutils.h:
|
|
New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
|
|
|
|
2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
|
|
Fix a pretty good memleak.
|
|
|
|
2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gstiterator.h:
|
|
Fix wrong include and 'make distcheck'.
|
|
|
|
2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstbin.c: (bin_bus_handler):
|
|
Use gst_element_post_message() instead.
|
|
|
|
2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gstadapter.h:
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/base/gstbasetransform.h:
|
|
* gst/base/gstcollectpads.h:
|
|
* gst/base/gstpushsrc.h:
|
|
* gst/gstiterator.h:
|
|
Add padding to our base elements' class and instance structs and
|
|
to GstIterator (you will need to rebuild all plugins and apps!)
|
|
|
|
2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstbin.c: (bin_bus_handler):
|
|
Make default message forwarding from child->bus to bin->bus
|
|
threadsafe and make it not emit warnings if the parent has no bus.
|
|
|
|
2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstelement.c: (activate_pads):
|
|
On paused->ready, set pad->caps to NULL, as is the documented
|
|
behaviour in this state change. Fixes playback of series of
|
|
media files when visualization is enabled in Totem.
|
|
|
|
2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
|
|
Allow NULL as filter-caps (which means "any").
|
|
|
|
2005-08-05 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
* libs/gst/controller/gst-controller.c:
|
|
* libs/gst/controller/gst-controller.h:
|
|
* libs/gst/controller/gst-helper.c:
|
|
adding more entries to the docs and fix small doc-bugs
|
|
|
|
2005-08-05 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstbasesink.sgml:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* docs/gst/tmpl/gstbasetransform.sgml:
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
* gst/base/gstcollectpads.c:
|
|
* gst/base/gstcollectpads.h:
|
|
* libs/gst/controller/gst-controller.c:
|
|
* libs/gst/controller/gst-controller.h:
|
|
* libs/gst/controller/gst-helper.c:
|
|
* libs/gst/controller/gst-interpolation.c:
|
|
* libs/gst/controller/lib.c:
|
|
added long/short desc for controller docs
|
|
added collectpads base class docs
|
|
added correct includes to base-class docs
|
|
|
|
2005-08-05 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/gst-libs/controller.c: (gst_test_mono_source_get_property),
|
|
(gst_test_mono_source_set_property),
|
|
(gst_test_mono_source_class_init), (GST_START_TEST),
|
|
(gst_controller_suite):
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/libs/gstreamer-libs-docs.sgml:
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
* gst/base/gstadapter.c:
|
|
* libs/gst/controller/gst-controller.c:
|
|
(gst_controlled_property_new), (gst_controlled_property_free),
|
|
(gst_controller_new_valist),
|
|
(gst_controller_remove_properties_valist),
|
|
(gst_controller_sink_values), (_gst_controller_finalize):
|
|
* libs/gst/controller/gst-controller.h:
|
|
* libs/gst/controller/gst-helper.c:
|
|
(gst_object_control_properties), (gst_object_uncontrol_properties),
|
|
(gst_object_get_controller), (gst_object_set_controller),
|
|
(gst_object_sink_values), (gst_object_get_value_arrays),
|
|
(gst_object_get_value_array):
|
|
more tests (and fixes) for the controller
|
|
more docs for the controller
|
|
integrated companies docs for the adapter
|
|
|
|
2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
|
|
(GST_START_TEST), (fakesrc_suite):
|
|
add tests for sizetype
|
|
|
|
2005-08-04 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/elements/gstcapsfilter.c: Reimplement using basetransform,
|
|
fixes buffer_alloc proxying among other things.
|
|
|
|
* gst/base/gstbasetransform.c:
|
|
* gst/base/gstbasetransform.h:
|
|
Revert patch to gstbasetransform from 7-28 removing
|
|
delay_configure.
|
|
|
|
* gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
|
|
* gst/base/gstbasetransform.c (gst_base_transform_get_size):
|
|
Semantics changed, should return not the size of the output buffer
|
|
but the byte size of a buffer with a given caps.
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
|
|
debug object.
|
|
(gst_base_transform_configure_caps): Don't set out_size here: (in,
|
|
out) are not the pad caps until setcaps finishes.
|
|
(gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
|
|
not-in-place case as well. Deal with changing from in-place to
|
|
not-in-place within calling pad_alloc_buffer. Still a bit
|
|
concerned about the overhead here...
|
|
|
|
2005-08-03 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
|
|
fixating is an error.
|
|
|
|
2005-08-04 Edward Hervey <edward@fluendo.com>
|
|
|
|
* gst/base/gstadapter.h:
|
|
Added gst_adapter_get_type() to the header
|
|
|
|
2005-08-03 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst-libs/controller.c:
|
|
* libs/gst/controller/gst-controller.c:
|
|
(gst_controller_new_valist):
|
|
added check test suite for the controller
|
|
* gst/base/gstpushsrc.c:
|
|
fixed a doc typo
|
|
|
|
2005-08-03 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/Makefile.am:
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
* gst/base/README:
|
|
* gst/base/gstbasesink.c:
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.c:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/base/gstbasetransform.c:
|
|
* gst/base/gstpushsrc.c:
|
|
* gst/base/gstpushsrc.h:
|
|
add short/long description docs to base classes
|
|
add pushsrc to the docs
|
|
remove consolidated doc fragments
|
|
|
|
2005-08-03 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* configure.ac:
|
|
* docs/libs/Makefile.am:
|
|
* docs/libs/gstreamer-libs-docs.sgml:
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
* docs/libs/gstreamer-libs.types:
|
|
* examples/Makefile.am:
|
|
* examples/controller/.cvsignore:
|
|
* examples/controller/Makefile.am:
|
|
* examples/controller/audio-example.c: (main):
|
|
* libs/gst/Makefile.am:
|
|
* libs/gst/controller/.cvsignore:
|
|
* libs/gst/controller/Makefile.am:
|
|
* libs/gst/controller/gst-controller.c:
|
|
(on_object_controlled_property_changed), (gst_timed_value_compare),
|
|
(gst_timed_value_find),
|
|
(gst_controlled_property_set_interpolation_mode),
|
|
(gst_controlled_property_new), (gst_controlled_property_free),
|
|
(gst_controller_find_controlled_property),
|
|
(gst_controller_new_valist), (gst_controller_new),
|
|
(gst_controller_remove_properties_valist),
|
|
(gst_controller_remove_properties), (gst_controller_set),
|
|
(gst_controller_set_from_list), (gst_controller_unset),
|
|
(gst_controller_get), (gst_controller_get_all),
|
|
(gst_controller_sink_values), (gst_controller_get_value_arrays),
|
|
(gst_controller_get_value_array),
|
|
(gst_controller_set_interpolation_mode),
|
|
(_gst_controller_finalize), (_gst_controller_init),
|
|
(_gst_controller_class_init), (gst_controller_get_type):
|
|
* libs/gst/controller/gst-controller.h:
|
|
* libs/gst/controller/gst-helper.c: (g_object_control_properties),
|
|
(g_object_uncontrol_properties), (g_object_get_controller),
|
|
(g_object_set_controller), (g_object_sink_values),
|
|
(g_object_get_value_arrays), (g_object_get_value_array):
|
|
* libs/gst/controller/gst-interpolation.c:
|
|
(gst_controlled_property_find_timed_value_node),
|
|
(interpolate_none_get), (interpolate_trigger_get),
|
|
(interpolate_trigger_get_value_array):
|
|
* libs/gst/controller/lib.c: (gst_controller_init):
|
|
* pkgconfig/Makefile.am:
|
|
* pkgconfig/gstreamer-control-uninstalled.pc.in:
|
|
* pkgconfig/gstreamer-control.pc.in:
|
|
* testsuite/Makefile.am:
|
|
* testsuite/controller/.cvsignore:
|
|
* testsuite/controller/Makefile.am:
|
|
* testsuite/controller/interpolator.c: (main):
|
|
added controller code
|
|
removed dparam pc files
|
|
|
|
2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
|
|
* gst/base/gstcollectpads.c: (gst_collectpads_finalize),
|
|
(gst_collectpads_stop):
|
|
Broadcast the condition when shutting down, to make sure we wake all
|
|
threads up. Shut down pads on finalize, for safety.
|
|
|
|
2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_init),
|
|
(gst_base_transform_handle_buffer),
|
|
(gst_base_transform_change_state):
|
|
Handle PAUSED->READY->PAUSED transition after negotiation
|
|
occurred already.
|
|
* gst/gstmessage.c: (gst_message_init):
|
|
Extra piece of debug for new messages.
|
|
|
|
2005-08-01 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* configure.ac:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/gst/tmpl/gstevent.sgml:
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
* docs/gst/tmpl/gstformat.sgml:
|
|
* docs/gst/tmpl/gstghostpad.sgml:
|
|
* docs/gst/tmpl/gstpad.sgml:
|
|
* docs/gst/tmpl/gstquery.sgml:
|
|
* docs/gst/tmpl/gststructure.sgml:
|
|
* docs/gst/tmpl/gsttaglist.sgml:
|
|
* docs/gst/tmpl/gstvalue.sgml:
|
|
* docs/libs/gstreamer-libs-docs.sgml:
|
|
* docs/libs/gstreamer-libs-sections.txt:
|
|
* docs/libs/gstreamer-libs.types:
|
|
* libs/gst/Makefile.am:
|
|
* libs/gst/control/.cvsignore:
|
|
* libs/gst/control/Makefile.am:
|
|
* libs/gst/control/control.c:
|
|
* libs/gst/control/control.h:
|
|
* libs/gst/control/dparam.c:
|
|
* libs/gst/control/dparam.h:
|
|
* libs/gst/control/dparam_smooth.c:
|
|
* libs/gst/control/dparam_smooth.h:
|
|
* libs/gst/control/dparamcommon.h:
|
|
* libs/gst/control/dparammanager.c:
|
|
* libs/gst/control/dparammanager.h:
|
|
* libs/gst/control/dplinearinterp.c:
|
|
* libs/gst/control/dplinearinterp.h:
|
|
* libs/gst/control/unitconvert.c:
|
|
* libs/gst/control/unitconvert.h:
|
|
* testsuite/Makefile.am:
|
|
* testsuite/dynparams/.cvsignore:
|
|
* testsuite/dynparams/Makefile.am:
|
|
* testsuite/dynparams/dparamstest.c:
|
|
* tools/Makefile.am:
|
|
* tools/gst-inspect.c: (print_element_info), (main):
|
|
* tools/gst-xmlinspect.c: (print_element_info), (main):
|
|
deactivate and remove dparams (libgstcontrol)
|
|
|
|
2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/elements/gsttypefindelement.c:
|
|
(gst_type_find_element_have_type), (gst_type_find_element_init),
|
|
(stop_typefinding), (gst_type_find_element_handle_event),
|
|
(gst_type_find_element_chain), (gst_type_find_element_getrange):
|
|
* gst/elements/gsttypefindelement.h:
|
|
Set caps on all outgoing buffers, not just the first one.
|
|
|
|
2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/elements/gsttypefindelement.c:
|
|
(gst_type_find_element_have_type),
|
|
(gst_type_find_element_check_set_buffer_caps),
|
|
(gst_type_find_element_init), (stop_typefinding),
|
|
(gst_type_find_element_handle_event),
|
|
(gst_type_find_element_chain), (gst_type_find_element_getrange):
|
|
* gst/elements/gsttypefindelement.h:
|
|
Set caps on first outgoing buffer when we've found the type.
|
|
|
|
2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstscheduler.sgml:
|
|
* docs/gst/tmpl/gstschedulerfactory.sgml:
|
|
Remove some old cruft from docs.
|
|
|
|
2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gstpad.h:
|
|
Fix inline docs for GstPadLinkReturn.
|
|
|
|
* gst/gststructure.c: (gst_structure_has_name):
|
|
* gst/gststructure.h:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
New API: gst_structure_has_name().
|
|
|
|
2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* configure.ac:
|
|
Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
|
|
and _LARGEFILE_SOURCE in config.h as required. Do not
|
|
export those flags in our .pc files any longer (#142209).
|
|
|
|
Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
|
|
|
|
* gst/elements/gstfilesink.c: (gst_file_sink_class_init),
|
|
(gst_file_sink_do_seek), (gst_file_sink_event),
|
|
(gst_file_sink_get_current_offset), (gst_file_sink_render):
|
|
Redo seek/tell calls with large file support in mind; add some
|
|
debugging messages; add log message that tells us when large
|
|
file support is unavailable or not enabled for some reason.
|
|
|
|
* gst/elements/gstfilesrc.c: (gst_file_src_class_init):
|
|
Add log message that tells us when large file support
|
|
is unavailable or not enabled for some reason.
|
|
|
|
2005-07-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
|
|
Added test for removing an element with ghostpad from a bin.
|
|
Fixed test as current implementation does the right thing.
|
|
|
|
* gst/gstghostpad.c: (gst_proxy_pad_class_init),
|
|
(gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
|
|
(gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
|
|
(gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
|
|
(gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
|
|
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
|
|
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
|
|
(gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
|
|
(gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
|
|
(gst_proxy_pad_get_target), (gst_proxy_pad_init),
|
|
(gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
|
|
(gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
|
|
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
|
|
(gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
|
|
(gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
|
|
(gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
|
|
* gst/gstghostpad.h:
|
|
Clean up ghostpads, remove properties for internal stuff.
|
|
Make threadsafe.
|
|
Fix refcounting.
|
|
Prepare for switching targets, not all use cases work yet.
|
|
|
|
2005-07-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-gstghostpad.txt:
|
|
Small update.
|
|
|
|
* gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
|
|
(gst_bin_remove_func):
|
|
Unlinking pads while holding the bin LOCK is not a good
|
|
idea.
|
|
|
|
* gst/gstpad.c: (gst_pad_class_init),
|
|
(gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
|
|
(gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
|
|
No prob setting template after creating the pad.
|
|
|
|
2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
|
|
(gst_bus_peek), (gst_bus_source_dispatch),
|
|
(gst_bus_add_watch_full), (poll_handler), (poll_timeout),
|
|
(poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
|
|
gst_bus_poll may be called from other threads. Handle
|
|
this nicely by not making poll_data disappear off the
|
|
stack once gst_bus_poll returns.
|
|
gst_bus_peek now increments the refcount on the returned
|
|
message.
|
|
|
|
2005-07-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-gstghostpad.txt:
|
|
Overview of current GhostPad datastructures and use
|
|
cases for changing the target.
|
|
|
|
2005-07-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
|
|
Added checks for hierarchy consistency whan adding linked
|
|
elements to bins.
|
|
|
|
* check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
|
|
Added check to test element scheduling without bin/pipeline.
|
|
|
|
* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
|
|
First add elements to bin, then link.
|
|
|
|
* gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
|
|
(gst_bin_remove_func):
|
|
Unlink pads from elements added/removed from bin to maintain
|
|
hierarchy consistency.
|
|
|
|
2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
|
|
(gst_base_transform_handle_buffer):
|
|
* gst/base/gstbasetransform.h:
|
|
Remove broken delay_configure (fixes renegotiation of software
|
|
scaling pipelines); remove some leftover printf()s.
|
|
|
|
2005-07-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
|
|
Added some more tests for wrong hierarchy
|
|
|
|
* docs/design/part-overview.txt:
|
|
Some updates.
|
|
|
|
* gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
|
|
Cleanups.
|
|
|
|
* gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
|
|
(gst_element_dispose):
|
|
Some more cleanups.
|
|
|
|
* gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
|
|
(gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
|
|
(gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
|
|
(gst_pad_set_caps), (gst_pad_send_event):
|
|
Check for correct hierarchy when linking pads. Moving to
|
|
strict requirement for ghostpads when linking elements in
|
|
different bins.
|
|
|
|
* gst/gstpad.h:
|
|
Clean ups. Added WRONG_HIERARCHY return value.
|
|
|
|
2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
|
|
Better debug if no transform is possible.
|
|
|
|
2005-07-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/random/wtay/network-transp:
|
|
Some old doc I had.
|
|
|
|
2005-07-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
|
|
(gst_dp_event_from_packet):
|
|
Fix serialization of seek events.
|
|
|
|
2005-07-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst-libs/gdp.c: (GST_START_TEST):
|
|
* gst/elements/gstfakesink.c: (gst_fake_sink_event):
|
|
Fix compilation and fix event serialization.
|
|
|
|
2005-07-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* CHANGES-0.9:
|
|
* docs/design/part-TODO.txt:
|
|
* docs/design/part-events.txt:
|
|
Some docs updates
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
|
(gst_base_sink_event), (gst_base_sink_do_sync),
|
|
(gst_base_sink_activate_push), (gst_base_sink_activate_pull):
|
|
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
|
|
(gst_base_src_do_seek), (gst_base_src_event_handler),
|
|
(gst_base_src_loop):
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
|
|
(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_set_passthrough),
|
|
(gst_base_transform_is_passthrough):
|
|
* gst/elements/gstfakesink.c: (gst_fake_sink_event):
|
|
* gst/elements/gstfilesink.c: (gst_file_sink_event):
|
|
Event updates.
|
|
|
|
* gst/gstbuffer.h:
|
|
Use faster casts.
|
|
|
|
* gst/gstelement.c: (gst_element_seek):
|
|
* gst/gstelement.h:
|
|
Update gst_element_seek.
|
|
|
|
* gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
|
|
(gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
|
|
(gst_event_new_flush_start), (gst_event_new_flush_stop),
|
|
(gst_event_new_eos), (gst_event_new_newsegment),
|
|
(gst_event_parse_newsegment), (gst_event_new_tag),
|
|
(gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
|
|
(gst_event_parse_qos), (gst_event_new_seek),
|
|
(gst_event_parse_seek), (gst_event_new_navigation):
|
|
* gst/gstevent.h:
|
|
Make GstEvent use GstStructure. Add parsing code, make sure the
|
|
API is sufficiently generic.
|
|
Mark possible directions of events and serialization.
|
|
|
|
* gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
|
|
(_gst_message_copy), (gst_message_new_segment_start),
|
|
(gst_message_new_segment_done), (gst_message_new_custom),
|
|
(gst_message_parse_segment_start),
|
|
(gst_message_parse_segment_done):
|
|
Small cleanups.
|
|
|
|
* gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
|
|
(gst_pad_set_caps), (gst_pad_send_event):
|
|
Update for new events.
|
|
Catch events sent in wrong directions.
|
|
|
|
* gst/gstqueue.c: (gst_queue_link_src),
|
|
(gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
|
|
(gst_queue_handle_src_query):
|
|
Event updates.
|
|
|
|
* gst/gsttag.c:
|
|
* gst/gsttag.h:
|
|
Remove event code from this file.
|
|
|
|
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
|
|
(gst_dp_event_from_packet):
|
|
Event updates.
|
|
|
|
2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
|
|
(gst_base_transform_configure_caps), (gst_base_transform_setcaps),
|
|
(gst_base_transform_get_size), (gst_base_transform_handle_buffer):
|
|
Make debugging actually useful.
|
|
|
|
2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
|
|
(gst_pad_fixate_caps):
|
|
Implement default fixation once again, so that gst_pad_fixate()
|
|
actually does anything at all. This probably needs to be some
|
|
sort of a last resort, and use profile-based fixation first, but
|
|
since that doesn't exist yet, this is the best we have. Fixes
|
|
visualization in Totem.
|
|
|
|
2005-07-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-events.txt:
|
|
Small update.
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
|
(gst_base_sink_do_sync), (gst_base_sink_activate_push),
|
|
(gst_base_sink_activate_pull):
|
|
Some more comments.
|
|
|
|
* gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
|
|
(gst_fake_src_create):
|
|
Fix handoff marshall.
|
|
|
|
* gst/elements/gstidentity.c: (gst_identity_class_init),
|
|
(gst_identity_transform_ip):
|
|
We're a real inplace element.
|
|
|
|
* gst/gstbus.c: (gst_bus_post):
|
|
Added some comments.
|
|
|
|
* tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
|
|
* tests/muxing/case1.c: (main):
|
|
* tests/sched/dynamic-pipeline.c: (main):
|
|
* tests/sched/interrupt1.c: (main):
|
|
* tests/sched/interrupt2.c: (main):
|
|
* tests/sched/interrupt3.c: (main):
|
|
* tests/sched/runxml.c: (main):
|
|
* tests/sched/sched-stress.c: (main):
|
|
* tests/seeking/seeking1.c: (event_received), (main):
|
|
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
|
|
(main):
|
|
* tests/threadstate/threadstate3.c: (main):
|
|
* tests/threadstate/threadstate4.c: (main):
|
|
* tests/threadstate/threadstate5.c: (main):
|
|
Fix the tests.
|
|
|
|
2005-07-21 Wim Taymans <wim@fluendo.com>
|
|
|
|
* 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.
|
|
|
|
2005-07-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstmessage.c: (gst_message_new_segment_start),
|
|
(gst_message_new_segment_done), (gst_message_parse_segment_start),
|
|
(gst_message_parse_segment_done):
|
|
* gst/gstmessage.h:
|
|
Added a bunch of messages for advanced seeking.
|
|
|
|
* gst/parse/grammar.y:
|
|
* libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
|
|
(gst_dpman_state_changed):
|
|
Fix some new-pad -> pad-added signals
|
|
|
|
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/appendix-porting.xml:
|
|
* docs/pwg/appendix-porting.xml:
|
|
Document new-pad/state-change signal renames and the FixedList
|
|
type rename.
|
|
|
|
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-autoplugging.xml:
|
|
* docs/manual/basics-helloworld.xml:
|
|
* docs/manual/basics-pads.xml:
|
|
* docs/random/ds/0.9-suggested-changes:
|
|
* gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
|
|
* gst/gstelement.h:
|
|
* gst/gstevent.h:
|
|
* gst/gstformat.h:
|
|
* gst/gstquery.h:
|
|
* gst/gststructure.c: (gst_structure_value_get_generic_type),
|
|
(gst_structure_parse_array), (gst_structure_parse_value):
|
|
* gst/gstvalue.c: (gst_type_is_fixed),
|
|
(gst_value_list_prepend_value), (gst_value_list_append_value),
|
|
(gst_value_list_get_size), (gst_value_list_get_value),
|
|
(gst_value_transform_array_string), (gst_value_serialize_array),
|
|
(gst_value_deserialize_array), (gst_value_intersect_array),
|
|
(gst_value_is_fixed), (_gst_value_initialize):
|
|
* gst/gstvalue.h:
|
|
GstElement::new-pad -> pad-added, GstElement::state-change ->
|
|
state-changed, GstValueFixedList -> GstValueArray, add format and
|
|
flags as their own arguments in gst_element_seek() (should improve
|
|
"bindeability"), remove function generators since they don't work
|
|
under a whole bunch of compilers (they were deprecated already
|
|
anyway).
|
|
|
|
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstinfo.c: (_gst_debug_nameof_funcptr),
|
|
(_gst_debug_register_funcptr):
|
|
* gst/gstinfo.h:
|
|
Fix illegal cast on some platforms (#309253).
|
|
|
|
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstmessage.c: (gst_message_new_custom):
|
|
* gst/gstmessage.h:
|
|
Add _new_custom, make _new_application a macro to _new_custom.
|
|
|
|
2005-07-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_init),
|
|
(gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
|
|
* gst/base/gstbasesrc.h:
|
|
Add a gboolean to decide when to push out a discont.
|
|
|
|
* gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
|
|
(gst_queue_loop), (gst_queue_handle_src_query),
|
|
(gst_queue_sink_activate_push), (gst_queue_src_activate_push),
|
|
(gst_queue_set_property), (gst_queue_get_property):
|
|
Some cleanups.
|
|
|
|
* tests/threadstate/threadstate1.c: (main):
|
|
Make a thread test compile and run... very silly..
|
|
|
|
|
|
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/appendix-porting.xml:
|
|
Mention removal of libgstgconf-0.9.la and existence of gconf
|
|
elements.
|
|
|
|
2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/pwg/advanced-clock.xml:
|
|
* docs/pwg/appendix-porting.xml:
|
|
* docs/pwg/intro-preface.xml:
|
|
* docs/pwg/other-base.xml:
|
|
* docs/pwg/other-manager.xml:
|
|
* docs/pwg/other-nton.xml:
|
|
* docs/pwg/other-ntoone.xml:
|
|
* docs/pwg/other-oneton.xml:
|
|
* docs/pwg/pwg.xml:
|
|
Document base classes, update sections of n-to-1 and 1-to-n (muxer,
|
|
demuxer), remove n-to-n (was never written), fix some code examples
|
|
and links and update the porting section to include all this.
|
|
|
|
2005-07-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
|
|
(gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
|
|
(gst_queue_handle_src_query), (gst_queue_sink_activate_push),
|
|
(gst_queue_src_activate_push), (gst_queue_change_state),
|
|
(gst_queue_get_property):
|
|
* gst/gstqueue.h:
|
|
Propagate GstFlowReturn more intelligently upstream and output
|
|
an ERROR/EOS when streaming stopped due to fatal error.
|
|
|
|
2005-07-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* tools/gst-launch.c: (check_intr), (event_loop), (main):
|
|
Don't block forever for the state change to complete, the
|
|
pipeline already did with a sensible timeout.
|
|
|
|
2005-07-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
|
|
Make sure we never call the create function is we
|
|
got deactivated.
|
|
|
|
2005-07-19 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/parse/parse.l: Attempt to solve bug #172815.
|
|
|
|
2005-07-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-clocks.txt:
|
|
* docs/design/part-events.txt:
|
|
* gst/base/gstbasesrc.c: (gst_base_src_do_seek):
|
|
Small docs updates.
|
|
Only update the seeking values when we are not
|
|
busy streaming.
|
|
|
|
2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_loop):
|
|
Oops, ignore the result of gst_pad_push_event here.
|
|
|
|
2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_loop),
|
|
(gst_base_src_activate_push):
|
|
Send discont event from the loop function, as pads
|
|
aren't activated yet in the activate_push handler.
|
|
|
|
* gst/gstbin.c: (bin_bus_handler):
|
|
Don't leak element name.
|
|
|
|
2005-07-18 Andy Wingo <wingo@pobox.com>
|
|
|
|
* configure.ac: Use AS_LIBTOOL_TAGS.
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/gst/gstreamer.types:
|
|
Remove deleted types.
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/elements/gstfakesrc.c: (GST_START_TEST):
|
|
* configure.ac:
|
|
* gst/Makefile.am:
|
|
* gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
|
|
(init_popt_callback):
|
|
* gst/gst.h:
|
|
* gst/gst_private.h:
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
|
|
(gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
|
|
* gst/gstbin.h:
|
|
* gst/gstbus.h:
|
|
* gst/gstconfig.h.in:
|
|
* gst/gstelement.c: (gst_element_class_init),
|
|
(gst_element_set_base_time), (gst_element_get_base_time),
|
|
(iterator_fold_with_resync), (gst_element_change_state),
|
|
(gst_element_dispose), (gst_element_get_bus):
|
|
* gst/gstelement.h:
|
|
* gst/gstelementfactory.h:
|
|
* gst/gsterror.c: (_gst_core_errors_init):
|
|
* gst/gsterror.h:
|
|
* gst/gstevent.h:
|
|
* gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
|
|
* gst/gstindex.c:
|
|
* gst/gstinfo.c: (_gst_debug_init):
|
|
* gst/gstmessage.c: (_gst_message_copy):
|
|
* gst/gstmessage.h:
|
|
* gst/gstminiobject.h:
|
|
* gst/gstobject.c:
|
|
* gst/gstobject.h:
|
|
* gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
|
|
(gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
|
|
* gst/gstpad.h:
|
|
* gst/gstparse.h:
|
|
* gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
|
|
(gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
|
|
(gst_pipeline_get_last_stream_time):
|
|
* gst/gstpipeline.h:
|
|
* gst/gstpluginfeature.h:
|
|
* gst/gstquery.h:
|
|
* gst/gstscheduler.c:
|
|
* gst/gstscheduler.h:
|
|
* gst/gststructure.h:
|
|
* gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
|
|
(gst_task_finalize), (gst_task_func), (gst_task_create),
|
|
(gst_task_set_lock), (gst_task_get_state), (gst_task_start),
|
|
(gst_task_stop), (gst_task_pause):
|
|
* gst/gsttask.h:
|
|
* gst/gsttypefind.h:
|
|
* gst/gsttypes.h:
|
|
* gst/registries/gstlibxmlregistry.c: (load_feature),
|
|
(gst_xml_registry_load), (gst_xml_registry_save_feature):
|
|
* gst/registries/gstxmlregistry.c:
|
|
(gst_xml_registry_start_element), (gst_xml_registry_save_feature):
|
|
* gst/schedulers/threadscheduler.c:
|
|
* libs/gst/control/dparammanager.h:
|
|
* tools/gst-inspect.c: (print_element_list),
|
|
(print_plugin_features), (print_element_features):
|
|
* tools/gst-xmlinspect.c: (print_element_list),
|
|
(print_plugin_info), (main):
|
|
Removed plugable schedulers.
|
|
Removed Scheduler/Manager from elements.
|
|
Removed gsttypes.h, rearranged includes.
|
|
Removed dependency pad<->element, element<>pipeline, and
|
|
various others, fix includes.
|
|
implement gst_pad_get_parent() with gst_object_get_parent()
|
|
Make GstTask sefcontained.
|
|
Fix _get_state() on GstBin, it did not return ASYNC with a 0
|
|
timeout.
|
|
Fix endless loop in iterator_fold_with_resync.
|
|
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/Makefile.am:
|
|
* gst/gstarch.h:
|
|
Remove old file.
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/Makefile.am:
|
|
No more cothreads.h
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/cothreads.c:
|
|
* gst/cothreads.h:
|
|
Let's remove these.
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* 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.
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
Remove bogus test.
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
|
|
(gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
|
|
(gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
|
|
(gst_base_sink_event), (gst_base_sink_do_sync),
|
|
(gst_base_sink_chain), (gst_base_sink_loop),
|
|
(gst_base_sink_deactivate), (gst_base_sink_activate_push),
|
|
(gst_base_sink_activate_pull), (gst_base_sink_change_state):
|
|
Refcounting fixes.
|
|
Fix logic for returning ASYNC when not prerolled.
|
|
|
|
2005-07-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstqueue.c: (gst_queue_handle_sink_event):
|
|
Fix nasty refcount bug.
|
|
|
|
2005-07-16 Philippe Khalaf <burger@speedy.org>
|
|
|
|
* gst/elements/gstfdsrc.c:
|
|
* gst/elements/gstfdsrc.h:
|
|
* gst/elements/gstelements.c:
|
|
* gst/elements/Makefile.am:
|
|
Ported fdsrc to 0.9.
|
|
|
|
2005-07-16 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
|
(gst_base_sink_do_sync):
|
|
Fix compile error.
|
|
|
|
2005-07-16 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
|
(gst_base_sink_event), (gst_base_sink_get_times),
|
|
(gst_base_sink_do_sync), (gst_base_sink_change_state):
|
|
* gst/base/gstbasesink.h:
|
|
Store and use discont values when syncing buffers as described
|
|
in design docs.
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_send_discont),
|
|
(gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
|
|
(gst_base_src_activate_push):
|
|
Push discont event when starting.
|
|
|
|
* gst/elements/gstidentity.c: (gst_identity_transform):
|
|
Small cleanups.
|
|
|
|
* gst/gstbin.c: (gst_bin_change_state):
|
|
Small cleanups in base_time distribution.
|
|
|
|
* gst/gstelement.c: (gst_element_set_base_time),
|
|
(gst_element_get_base_time), (gst_element_change_state):
|
|
* gst/gstelement.h:
|
|
Added methods for the base_time of the element.
|
|
Some MT fixes.
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_send_event),
|
|
(gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
|
|
(gst_pipeline_get_last_stream_time):
|
|
* gst/gstpipeline.h:
|
|
MT fixes.
|
|
Handle seeking as described in design doc, remove stream_time
|
|
hack.
|
|
Cleanups clock and stream_time selection code. Added accessors
|
|
for the stream_time.
|
|
|
|
|
|
2005-07-16 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gsterror.c (_gst_core_errors_init): Use the magic word
|
|
(#305291).
|
|
|
|
2005-07-16 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbin.c: (GST_START_TEST):
|
|
Make elements silent as the deep_notify refs the
|
|
parent, which might make the test fail.
|
|
|
|
* gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
|
|
Don't hold the lock for too long.
|
|
|
|
2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
|
|
Don't unref the caps we passed to gst_caps_make_writable() after
|
|
passing them. gst_caps_make_writable() will do that for us.
|
|
|
|
2005-07-15 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
|
|
(#157311).
|
|
|
|
* gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
|
|
own marshalling function for the handoff signal. Properly type the
|
|
buffer as a buffer. Fixes some warnings. Should do a more general
|
|
solution.
|
|
(gst_identity_class_init): Plug into the right marshaller.
|
|
|
|
2005-07-15 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-TODO.txt:
|
|
* docs/design/part-clocks.txt:
|
|
* docs/design/part-element-sink.txt:
|
|
* docs/design/part-events.txt:
|
|
* docs/design/part-gstpipeline.txt:
|
|
Updated docs, mostly DISCONT related.
|
|
|
|
2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/pwg/building-pads.xml:
|
|
s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
|
|
|
|
2005-07-15 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tools/gst-typefind.c: Update, add copyright block.
|
|
|
|
* gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
|
|
Normalize and truncate caps before fixation.
|
|
|
|
* gst/gstcaps.h:
|
|
* gst/gstcaps.c (gst_caps_truncate): New function, destructively
|
|
discards all but the first structure from its argument.
|
|
|
|
2005-07-15 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_init),
|
|
(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_handle_buffer), (gst_base_transform_getrange),
|
|
(gst_base_transform_chain), (gst_base_transform_change_state),
|
|
(gst_base_transform_set_passthrough),
|
|
(gst_base_transform_is_passthrough):
|
|
* gst/base/gstbasetransform.h:
|
|
Make passthrough work using the bufferpools.
|
|
Changed API a bit, subclasses have to write into a buffer
|
|
provided by the base class.
|
|
More debug info in nego functions.
|
|
|
|
* gst/elements/gstidentity.c: (gst_identity_init),
|
|
(gst_identity_transform):
|
|
Port to new base class.
|
|
|
|
2005-07-15 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstmessage.c: (gst_message_new_state_changed):
|
|
* tools/gst-launch.c: (event_loop), (main):
|
|
Totally dump messages in -launch with the -m option.
|
|
Fix message name for State messages,
|
|
|
|
2005-07-14 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_loop):
|
|
Post error messages on errors.
|
|
|
|
2005-07-14 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstcaps.c: (gst_caps_do_simplify):
|
|
Remove debug info.
|
|
|
|
* gst/gsterror.h:
|
|
Define error for stream stopped.
|
|
|
|
* gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
|
|
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
|
|
Do proper return values.
|
|
|
|
* gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
|
|
(gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
|
|
(gst_pad_get_range):
|
|
Better return values.
|
|
|
|
* gst/gstpad.h:
|
|
Reorganise return values, add macro to check for fatal errors.
|
|
|
|
* gst/gstqueue.c: (gst_queue_chain):
|
|
Return proper GstFlowReturn values,
|
|
|
|
2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gst.sgml:
|
|
* docs/gst/tmpl/gstbasesink.sgml:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* docs/gst/tmpl/gstbasetransform.sgml:
|
|
* docs/gst/tmpl/gstbin.sgml:
|
|
* docs/gst/tmpl/gstbuffer.sgml:
|
|
* docs/gst/tmpl/gstcaps.sgml:
|
|
* docs/gst/tmpl/gstclock.sgml:
|
|
* docs/gst/tmpl/gstcompat.sgml:
|
|
* docs/gst/tmpl/gstconfig.sgml:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/gst/tmpl/gstelementdetails.sgml:
|
|
* docs/gst/tmpl/gstelementfactory.sgml:
|
|
* docs/gst/tmpl/gstenumtypes.sgml:
|
|
* docs/gst/tmpl/gsterror.sgml:
|
|
* docs/gst/tmpl/gstevent.sgml:
|
|
* docs/gst/tmpl/gstfakesink.sgml:
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
* docs/gst/tmpl/gstfilesink.sgml:
|
|
* docs/gst/tmpl/gstfilesrc.sgml:
|
|
* docs/gst/tmpl/gstfilter.sgml:
|
|
* docs/gst/tmpl/gstformat.sgml:
|
|
* docs/gst/tmpl/gstghostpad.sgml:
|
|
* docs/gst/tmpl/gstimplementsinterface.sgml:
|
|
* docs/gst/tmpl/gstindex.sgml:
|
|
* docs/gst/tmpl/gstindexfactory.sgml:
|
|
* docs/gst/tmpl/gstinfo.sgml:
|
|
* docs/gst/tmpl/gstiterator.sgml:
|
|
* docs/gst/tmpl/gstmacros.sgml:
|
|
* docs/gst/tmpl/gstmemchunk.sgml:
|
|
* docs/gst/tmpl/gstminiobject.sgml:
|
|
* docs/gst/tmpl/gstobject.sgml:
|
|
* docs/gst/tmpl/gstpad.sgml:
|
|
* docs/gst/tmpl/gstpadtemplate.sgml:
|
|
* docs/gst/tmpl/gstparse.sgml:
|
|
* docs/gst/tmpl/gstpipeline.sgml:
|
|
* docs/gst/tmpl/gstplugin.sgml:
|
|
* docs/gst/tmpl/gstpluginfeature.sgml:
|
|
* docs/gst/tmpl/gstquery.sgml:
|
|
* docs/gst/tmpl/gstqueue.sgml:
|
|
* docs/gst/tmpl/gstregistry.sgml:
|
|
* docs/gst/tmpl/gstregistrypool.sgml:
|
|
* docs/gst/tmpl/gstscheduler.sgml:
|
|
* docs/gst/tmpl/gstschedulerfactory.sgml:
|
|
* docs/gst/tmpl/gststructure.sgml:
|
|
* docs/gst/tmpl/gstsystemclock.sgml:
|
|
* docs/gst/tmpl/gsttaglist.sgml:
|
|
* docs/gst/tmpl/gsttagsetter.sgml:
|
|
* docs/gst/tmpl/gsttrace.sgml:
|
|
* docs/gst/tmpl/gsttrashstack.sgml:
|
|
* docs/gst/tmpl/gsttypefind.sgml:
|
|
* docs/gst/tmpl/gsttypefindfactory.sgml:
|
|
* docs/gst/tmpl/gsttypes.sgml:
|
|
* docs/gst/tmpl/gsturihandler.sgml:
|
|
* docs/gst/tmpl/gsturitype.sgml:
|
|
* docs/gst/tmpl/gstutils.sgml:
|
|
* docs/gst/tmpl/gstvalue.sgml:
|
|
* docs/gst/tmpl/gstversion.sgml:
|
|
* docs/gst/tmpl/gstxml.sgml:
|
|
* docs/libs/tmpl/gstcontrol.sgml:
|
|
* docs/libs/tmpl/gstdataprotocol.sgml:
|
|
* docs/libs/tmpl/gstdparam.sgml:
|
|
* docs/libs/tmpl/gstdplinint.sgml:
|
|
* docs/libs/tmpl/gstdpman.sgml:
|
|
* docs/libs/tmpl/gstdpsmooth.sgml:
|
|
* docs/libs/tmpl/gstgetbits.sgml:
|
|
* docs/libs/tmpl/gstunitconvert.sgml:
|
|
* gst/base/gstpushsrc.c: (gst_push_src_get_type),
|
|
(gst_push_src_base_init), (gst_push_src_class_init),
|
|
(gst_push_src_init), (gst_push_src_create):
|
|
* gst/base/gstpushsrc.h:
|
|
* gst/elements/gstelements.c:
|
|
* gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
|
|
(gst_fake_sink_base_init), (gst_fake_sink_class_init),
|
|
(gst_fake_sink_init), (gst_fake_sink_set_property),
|
|
(gst_fake_sink_get_property), (gst_fake_sink_get_times),
|
|
(gst_fake_sink_event), (gst_fake_sink_preroll),
|
|
(gst_fake_sink_render), (gst_fake_sink_change_state):
|
|
* gst/elements/gstfakesink.h:
|
|
* gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
|
|
(gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
|
|
(gst_fake_src_base_init), (gst_fake_src_class_init),
|
|
(gst_fake_src_init), (gst_fake_src_event_handler),
|
|
(gst_fake_src_alloc_parent), (gst_fake_src_set_property),
|
|
(gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
|
|
(gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
|
|
(gst_fake_src_create_buffer), (gst_fake_src_create),
|
|
(gst_fake_src_start), (gst_fake_src_stop):
|
|
* gst/elements/gstfakesrc.h:
|
|
* gst/elements/gstfilesink.c: (_do_init),
|
|
(gst_file_sink_base_init), (gst_file_sink_class_init),
|
|
(gst_file_sink_init), (gst_file_sink_dispose),
|
|
(gst_file_sink_set_location), (gst_file_sink_set_property),
|
|
(gst_file_sink_get_property), (gst_file_sink_open_file),
|
|
(gst_file_sink_close_file), (gst_file_sink_query),
|
|
(gst_file_sink_event), (gst_file_sink_render),
|
|
(gst_file_sink_change_state), (gst_file_sink_uri_get_type),
|
|
(gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
|
|
(gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
|
|
* gst/elements/gstfilesink.h:
|
|
* gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
|
|
(gst_file_src_class_init), (gst_file_src_init),
|
|
(gst_file_src_finalize), (gst_file_src_set_location),
|
|
(gst_file_src_set_property), (gst_file_src_get_property),
|
|
(gst_file_src_map_region), (gst_file_src_map_small_region),
|
|
(gst_file_src_create_mmap), (gst_file_src_create_read),
|
|
(gst_file_src_create), (gst_file_src_is_seekable),
|
|
(gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
|
|
(gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
|
|
(gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
|
|
(gst_file_src_uri_handler_init):
|
|
* gst/elements/gstfilesrc.h:
|
|
more autistic cleanliness in functions/names/defines
|
|
|
|
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.
|
|
|
|
* gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
|
|
connections again.
|
|
|
|
* gst/gstutils.h:
|
|
* gst/gstutils.c (gst_element_link_pads_filtered): New old
|
|
function. I am channeling Hades. Put your boots on suckers!!!
|
|
|
|
2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* testsuite/caps/Makefile.am:
|
|
* testsuite/caps/value_compare.c:
|
|
* testsuite/caps/value_intersect.c:
|
|
* check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
|
|
move two testsuite apps over to the check dir
|
|
|
|
2005-07-12 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
|
|
Added more debug info in the negotiate process.
|
|
|
|
* gst/gstmessage.h:
|
|
Prepare for segment playback.
|
|
|
|
* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
|
|
Better debugging.
|
|
|
|
* gst/gstutils.c:
|
|
Some more docs.
|
|
|
|
* tools/gst-launch.c: (main):
|
|
NULL pipeline on errors.
|
|
|
|
2005-07-12 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
|
|
not it comes from a malloc region. Make sure our copy gets freed.
|
|
|
|
2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
|
|
* check/gst/gstmessage.c: (GST_START_TEST):
|
|
* check/gst/gststructure.c: (GST_START_TEST),
|
|
(gst_structure_suite), (main):
|
|
more testing
|
|
* gst/gstelement.c: (gst_element_message_full):
|
|
clean up GError and debug string now that they get copied
|
|
* gst/gstmessage.c: (gst_message_new_error),
|
|
(gst_message_new_warning), (gst_message_parse_error),
|
|
(gst_message_parse_warning):
|
|
use GST_TYPE_G_ERROR for structure_new, and take copies of
|
|
arguments, so that we don't mess up refcounting
|
|
|
|
2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
add per-test valgrind targets
|
|
* check/gst-libs/gdp.c: (GST_START_TEST),
|
|
(gst_data_protocol_suite), (main):
|
|
clean up
|
|
|
|
2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
instate more valgrindable tests
|
|
* check/elements/gstfakesrc.c: (chain_func), (event_func),
|
|
(GST_START_TEST), (fakesrc_suite):
|
|
* check/gst/gstpad.c: (GST_START_TEST):
|
|
* check/gst/gststructure.c: (GST_START_TEST):
|
|
fix test leaks
|
|
* docs/gst/tmpl/gstminiobject.sgml:
|
|
* gst/gstpad.c: (gst_pad_finalize):
|
|
fix the static mutex leak
|
|
|
|
2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
add two more tests for valgrinding
|
|
* check/gst/gstvalue.c: (GST_START_TEST):
|
|
test refcount of deserialized buffer, found a leak
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstminiobject.sgml:
|
|
add miniobject to docs
|
|
* gst/gstminiobject.c:
|
|
add some docs
|
|
* gst/gstvalue.c: (gst_value_deserialize_buffer),
|
|
(gst_string_unwrap):
|
|
fix a hard-to-find invalid write for one of the tests
|
|
fix a leak for deserialized buffers
|
|
|
|
2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/pwg/advanced-events.xml:
|
|
* docs/pwg/advanced-request.xml:
|
|
* docs/pwg/advanced-scheduling.xml:
|
|
* docs/pwg/appendix-porting.xml:
|
|
* docs/pwg/building-boiler.xml:
|
|
* docs/pwg/intro-preface.xml:
|
|
* docs/pwg/other-ntoone.xml:
|
|
Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
|
|
of example code and explanation for pad activation, loop() and
|
|
getrange() functions and a bit more. Remove old comments pointing
|
|
to loop-functions.
|
|
* examples/pwg/Makefile.am:
|
|
Add loop/getrange examples.
|
|
|
|
2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* configure.ac:
|
|
check for valgrind binary + some fixes
|
|
* check/gst.supp:
|
|
valgrind suppressions for the tests
|
|
* check/Makefile.am:
|
|
add a valgrind: target that valgrinds the unit tests
|
|
* check/gst/gst.c: (GST_START_TEST), (gst_suite):
|
|
* check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
|
|
* check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
|
|
* check/gst/gstghostpad.c:
|
|
added some cleanup
|
|
* check/gst/gstdata.c:
|
|
removed
|
|
* check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
|
|
(thread_unref), (gst_mini_object_suite), (main):
|
|
added
|
|
* gst/gst.c: (gst_deinit):
|
|
* gst/gst.h:
|
|
add a method to clean up.
|
|
* gst/gstsystemclock.c: (gst_system_clock_dispose),
|
|
(gst_system_clock_obtain):
|
|
allow for disposing the system clock.
|
|
* tools/gst-launch.c: (main):
|
|
deinit
|
|
|
|
2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
|
|
(gst_base_src_init), (gst_base_src_set_property),
|
|
(gst_base_src_get_property), (gst_base_src_get_range),
|
|
(gst_base_src_start):
|
|
* gst/base/gstbasesrc.h:
|
|
add num-buffers property
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
|
|
(gst_fakesrc_init), (gst_fakesrc_set_property),
|
|
(gst_fakesrc_get_property), (gst_fakesrc_create),
|
|
(gst_fakesrc_start):
|
|
remove num-buffers property
|
|
|
|
2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstbasesink.sgml:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
|
|
(gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
|
|
(gst_base_sink_finalize), (gst_base_sink_set_clock),
|
|
(gst_base_sink_set_property), (gst_base_sink_get_property),
|
|
(gst_base_sink_handle_object), (gst_base_sink_event),
|
|
(gst_base_sink_do_sync), (gst_base_sink_handle_event),
|
|
(gst_base_sink_handle_buffer), (gst_base_sink_chain),
|
|
(gst_base_sink_loop), (gst_base_sink_deactivate),
|
|
(gst_base_sink_activate_push), (gst_base_sink_activate_pull),
|
|
(gst_base_sink_change_state):
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/elements/gstfakesink.c: (gst_fakesink_get_times):
|
|
* gst/elements/gstfilesink.c: (gst_filesink_class_init),
|
|
(gst_filesink_init):
|
|
more macro splitting
|
|
|
|
2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstelement.c: (gst_element_get_bus):
|
|
add debug
|
|
* tools/gst-launch.c: (check_intr), (event_loop):
|
|
fix bus leaks
|
|
|
|
2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
|
|
fix a caps leak
|
|
|
|
2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
|
|
(gst_base_src_finalize):
|
|
add finalize method and clean up properly
|
|
* gst/gstpipeline.c: (gst_pipeline_dispose):
|
|
add debug
|
|
|
|
2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
|
|
(gst_bin_suite):
|
|
add more things to check
|
|
* gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
|
|
* gst/gstelement.c:
|
|
more debug
|
|
|
|
2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/elements/gstfakesrc.c: (chain_func), (event_func),
|
|
(GST_START_TEST), (fakesrc_suite):
|
|
* check/gst-libs/gdp.c: (GST_START_TEST):
|
|
* check/gst/gst.c: (GST_START_TEST):
|
|
* check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
|
|
* check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
|
|
* check/gst/gstbus.c: (GST_START_TEST):
|
|
* check/gst/gstcaps.c: (GST_START_TEST):
|
|
* check/gst/gstdata.c: (GST_START_TEST):
|
|
* check/gst/gstelement.c: (GST_START_TEST):
|
|
* check/gst/gstghostpad.c: (GST_START_TEST):
|
|
* check/gst/gstiterator.c: (GST_START_TEST):
|
|
* check/gst/gstmessage.c: (GST_START_TEST):
|
|
* check/gst/gstobject.c: (GST_START_TEST):
|
|
* check/gst/gstpad.c: (GST_START_TEST):
|
|
* check/gst/gststructure.c: (GST_START_TEST):
|
|
* check/gst/gstsystemclock.c: (GST_START_TEST),
|
|
(gst_systemclock_suite):
|
|
* check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
|
|
* check/gst/gstvalue.c: (GST_START_TEST):
|
|
* check/pipelines/cleanup.c: (GST_START_TEST):
|
|
* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
|
|
* check/states/sinks.c: (GST_START_TEST):
|
|
* check/gstcheck.c: (gst_check_init):
|
|
* check/gstcheck.h:
|
|
add debugging category
|
|
use GST_START_TEST now, so we add a debug line
|
|
|
|
2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
|
|
add test for state change message on a bin
|
|
* check/gst/gstelement.c: (START_TEST), (gst_element_suite):
|
|
add another test
|
|
* gst/gstbin.c: (gst_bin_init):
|
|
* gst/gstbus.c: (gst_bus_init), (gst_bus_post):
|
|
* gst/gstelement.c: (gst_element_post_message),
|
|
(gst_element_set_state):
|
|
* gst/gstelementfactory.c: (gst_element_factory_create):
|
|
* gst/gstmessage.c: (gst_message_new):
|
|
* gst/gstscheduler.c:
|
|
various debugging additions and cleanups
|
|
|
|
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstelement.c: (START_TEST), (gst_element_suite),
|
|
(main):
|
|
adding tests for elements
|
|
* gst/gstelement.c: (gst_element_dispose):
|
|
|
|
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/registries/gstlibxmlregistry.c: (load_feature):
|
|
plug more leaks. A simple gst_init() now is leakfree, yay.
|
|
|
|
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
|
|
(gst_xml_registry_load):
|
|
plug another memleak
|
|
|
|
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* configure.ac:
|
|
use GST_SET_ERROR_CFLAGS
|
|
* docs/faq/cvs.xml:
|
|
change to ERROR_CFLAGS
|
|
|
|
2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* configure.ac:
|
|
make GST_ERROR_CFLAGS overridable and re-enable Werror
|
|
* docs/faq/cvs.xml:
|
|
add a note about error CFLAGS
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
* gst/elements/gstfakesrc.c:
|
|
comment out some unused code
|
|
* gst/gst.c: (split_and_iterate):
|
|
* gst/registries/gstlibxmlregistry.c: (load_pad_template),
|
|
(load_feature):
|
|
plug some memleaks
|
|
|
|
2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* common/Makefile.am:
|
|
* common/gtk-doc.mak:
|
|
* docs/gst/Makefile.am:
|
|
factor out gtk-doc.mak
|
|
|
|
2005-07-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
|
|
(gst_thread_scheduler_dispose):
|
|
Unlock the STREAM_LOCK completely.
|
|
|
|
2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/elements/.cvsignore:
|
|
* check/elements/gstfakesrc.c: (chain_func), (event_func),
|
|
(START_TEST), (fakesrc_suite), (main):
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
|
|
(gst_fakesrc_set_property), (gst_fakesrc_get_property),
|
|
(gst_fakesrc_create), (gst_fakesrc_start):
|
|
* gst/elements/gstfakesrc.h:
|
|
adding a first element test
|
|
|
|
2005-07-07 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
|
|
debug message.
|
|
|
|
2005-07-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstquery.c:
|
|
* gst/gstquery.h:
|
|
Remove old types
|
|
|
|
2005-07-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_base_src_get_range),
|
|
(gst_base_src_default_negotiate), (gst_base_src_negotiate):
|
|
Allow subclasses to implement their own negotiation.
|
|
|
|
2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* docs/design/part-gstbin.txt:
|
|
* docs/design/part-gstpipeline.txt:
|
|
Update design notes to reflect the movement of
|
|
responsibility for bus handling from GstPipeline to
|
|
GstBin
|
|
|
|
2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* configure.ac:
|
|
Remove unnecessary queue2/3/4 examples.
|
|
|
|
2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* examples/Makefile.am:
|
|
* examples/helloworld/helloworld.c: (event_loop), (main):
|
|
* examples/queue/queue.c: (event_loop), (main):
|
|
* examples/queue2/queue2.c: (main):
|
|
Update a couple of the examples to work again.
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
|
|
(gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
|
|
Spelling corrections and extra debug.
|
|
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
|
|
(gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
|
|
(gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
|
|
* gst/gstbin.h:
|
|
* gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
|
|
(gst_pipeline_change_state):
|
|
* gst/gstpipeline.h:
|
|
Move the bus handler for children to the GstBin, and create a
|
|
separate bus for receiving messages from children to the one the
|
|
bus sends 'upwards' on.
|
|
|
|
2005-07-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/README:
|
|
* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
|
|
(gst_base_sink_handle_object), (gst_base_sink_loop),
|
|
(gst_base_sink_change_state):
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.c: (gst_base_src_class_init),
|
|
(gst_base_src_init), (gst_base_src_setcaps),
|
|
(gst_base_src_getcaps), (gst_base_src_loop),
|
|
(gst_base_src_default_negotiate), (gst_base_src_negotiate),
|
|
(gst_base_src_start), (gst_base_src_change_state):
|
|
* gst/base/gstbasesrc.h:
|
|
Make basesrc negotiate.
|
|
Handle the case where preroll fails in basesink.
|
|
Update README.
|
|
|
|
2005-07-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
|
|
Implement the fixate function.
|
|
Clean up acceptcaps.
|
|
|
|
2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/pwg/building-filterfactory.xml:
|
|
* docs/pwg/pwg.xml:
|
|
Remove never-written filter-factory chapter; I'll add the various
|
|
base classes to part 4 ("other element types") later on.
|
|
|
|
2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/pwg/advanced-negotiation.xml:
|
|
* docs/pwg/building-boiler.xml:
|
|
* docs/pwg/building-pads.xml:
|
|
* docs/pwg/pwg.xml:
|
|
* examples/pwg/Makefile.am:
|
|
Add a chapter on caps negotiation, simplify the original code
|
|
samples a bit w.r.t. caps negotiation, add link to the advanced
|
|
section. Add a bunch of examples showing different use cases of
|
|
different types of caps negotiation. Upstream renegotiation isn't
|
|
fully documented yet since nobody knows how that works.
|
|
|
|
2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstpad.c:
|
|
* check/gstcheck.c:
|
|
* gst/gstpad.c: (gst_pad_get_internal_links_default):
|
|
if pad has no parent, return NULL as list of internal links
|
|
|
|
2005-07-05 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/elements/gstfilesrc.c:
|
|
* gst/elements/gstfakesrc.c:
|
|
* gst/base/gstpushsrc.c:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
|
|
|
|
2005-07-05 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* Makefile.am:
|
|
better report generation target (lcov needs a patch)
|
|
|
|
2005-07-05 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/elements, testsuite: Null if we got it...
|
|
|
|
2005-07-05 Wim Taymans <wim@fluendo.com>
|
|
|
|
* configure.ac:
|
|
* libs/gst/dataprotocol/Makefile.am:
|
|
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
|
|
* libs/gst/dataprotocol/dataprotocol.h:
|
|
* pkgconfig/Makefile.am:
|
|
* pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
|
|
* pkgconfig/gstreamer-dataprotocol.pc.in:
|
|
Ported dataprotol to 0.9.
|
|
Added pkgconfig files.
|
|
|
|
2005-07-05 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_setcaps):
|
|
Default to returning TRUE for the case when tranform_caps returns
|
|
a fixed caps, like for identity or volume.
|
|
|
|
* check/gst/gstbus.c (pound_bus_with_messages):
|
|
* check/gst/gstmessage.c (START_TEST):
|
|
* check/pipelines/simple_launch_lines.c (got_handoff): Application
|
|
message API change.
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
|
|
logic weaks here: always run transform_caps, trying passthrough
|
|
operation only if the original caps intersects with the transform.
|
|
|
|
* gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
|
|
source and sink caps.
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_getcaps):
|
|
Intersect the peer caps with the pad template before going into
|
|
transform_caps.
|
|
(gst_base_transform_transform_caps): More debugging.
|
|
|
|
* gst/gstmessage.h (gst_message_new_application): Take a GstObject
|
|
src argument.
|
|
|
|
2005-07-04 Edward Hervey <edward@fluendo.com>
|
|
|
|
* gst/gstutils.c:
|
|
* gst/gstutils.h:
|
|
(gst_pad_add_*_probe): now returns the signal id for better wrapping
|
|
in bindings.
|
|
|
|
2005-07-04 Andy Wingo <wingo@pobox.com>
|
|
|
|
* check/gst/gstpad.c: Only set explicit caps on pads.
|
|
|
|
2005-07-01 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tests/network-clock.scm: Commentary update.
|
|
|
|
* gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
|
|
Didn't really make sense, not implementable with basetransform,
|
|
etc.
|
|
(gst_identity_transform): Unref inbuf via make_writable. Feeble
|
|
attempt at implementing the sync property, needs an unlock method.
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
|
|
New func, by default returns the same caps (the identity
|
|
transformation).
|
|
(gst_base_transform_getcaps): Uses transform_caps to return
|
|
something sensible.
|
|
(gst_base_transform_setcaps): Complicated logic to get caps on
|
|
both pads, even if they are different, and to call set_caps once
|
|
for every time both pads get their caps set.
|
|
(gst_base_transform_handle_buffer): Give the ref to the transform
|
|
function. Allows in-place modification of the buffer.
|
|
|
|
* gst/base/gstbasetransform.h (transform_caps): New class method.
|
|
Given caps on one side, what can I do on the other.
|
|
(set_caps): Take two caps, one for each side of the element.
|
|
|
|
* gst/gstpad.h:
|
|
* gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
|
|
caps in place. This is safe because we can check the mutability of
|
|
the caps, and a good idea because fixate functions are just called
|
|
as a matter of last resort. (Not actually implemented.)
|
|
(gst_pad_set_caps): If the caps we're setting is actually the same
|
|
as the existing pad caps, just update the pointer without calling
|
|
setcaps. Assert that caps is either NULL or fixed, as per the
|
|
docs.
|
|
|
|
* gst/gstghostpad.c: Update for fixate changes.
|
|
|
|
2005-07-02 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstcaps.c:
|
|
* gst/gstcaps.h (gst_static_caps_get): Not const return, having
|
|
two refcounts makes it immutable, which is enough. Doc more.
|
|
|
|
2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_emit_have_data_signal):
|
|
Put the mini_object into GValue as a mini_object,
|
|
not a gpointer, since that's how we declared
|
|
the signal.
|
|
|
|
2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* examples/pwg/Makefile.am:
|
|
Fix buildbot again.
|
|
|
|
2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/pwg/building-testapp.xml:
|
|
Add extra check.
|
|
* examples/pwg/Makefile.am:
|
|
Fix buildbot.
|
|
|
|
2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* configure.ac:
|
|
* examples/Makefile.am:
|
|
* examples/pwg/Makefile.am:
|
|
* examples/pwg/extract.pl:
|
|
Enable building the PWG examples.
|
|
* docs/pwg/advanced-interfaces.xml:
|
|
Add URI interface stub.
|
|
* docs/pwg/advanced-types.xml:
|
|
* docs/pwg/other-autoplugger.xml:
|
|
* docs/pwg/appendix-porting.xml:
|
|
* docs/pwg/pwg.xml:
|
|
Add porting guide (mostly stubs), remove autoplugging (see ADM).
|
|
* docs/pwg/building-boiler.xml:
|
|
* docs/pwg/building-chainfn.xml:
|
|
* docs/pwg/building-pads.xml:
|
|
* docs/pwg/building-props.xml:
|
|
* docs/pwg/building-state.xml:
|
|
* docs/pwg/building-testapp.xml:
|
|
Update the building-*.xml parts for 0.9 changes. All examples
|
|
code blocks compile in examples/pwg/*.
|
|
|
|
2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-autoplugging.xml:
|
|
* docs/manual/appendix-checklist.xml:
|
|
* docs/manual/appendix-integration.xml:
|
|
* docs/manual/highlevel-components.xml:
|
|
Fix playbin/decodebin examples, update docs a bit, mention bus
|
|
instead of signals in various places, mention kmplayer and
|
|
kaffeine since they have a working GStreamer backend in the KDE
|
|
section.
|
|
|
|
2005-06-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* CHANGES-0.9:
|
|
* docs/design/draft-ghostpads.txt:
|
|
* docs/design/draft-push-pull.txt:
|
|
* docs/design/draft-query.txt:
|
|
* docs/design/part-TODO.txt:
|
|
* docs/design/part-query.txt:
|
|
Added CHANGES-0.9 doc, updated status of other docs.
|
|
|
|
* gst/gstquery.h:
|
|
Remove "hmm" macro
|
|
|
|
2005-06-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
|
|
(gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
|
|
(gst_base_sink_change_state):
|
|
* gst/base/gstbasesink.h:
|
|
Some tweaks, only EOS and a buffer complete a preroll.
|
|
|
|
2005-06-30 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
|
|
activate_push down to the internal pad as well.
|
|
|
|
2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
|
|
|
|
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gsttaginterface.c:
|
|
Some documentation fixes (#307394 and #307397).
|
|
|
|
2005-06-30 Antoine Tremblay <hexa00@gmail.com>
|
|
|
|
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstvalue.c: (gst_value_intersect_list):
|
|
Fix memleak (#309125).
|
|
|
|
2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-dataaccess.xml:
|
|
Fix fakesrc example to compile; doesn't work, bug somewhere...?
|
|
* docs/manual/basics-pads.xml:
|
|
Add reference for filtered caps to above chapter.
|
|
|
|
2005-06-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (clear_queue), (remove_all_from_queue),
|
|
(gst_bin_change_state):
|
|
Probes are gone.
|
|
Lame attempt at making the state change function a bit
|
|
more readable.
|
|
|
|
2005-06-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-clocks.txt:
|
|
* docs/design/part-element-sink.txt:
|
|
* docs/design/part-events.txt:
|
|
* docs/design/part-preroll.txt:
|
|
* docs/design/part-states.txt:
|
|
Some more tweeks and additions to the docs.
|
|
|
|
2005-06-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (_gst_do_pass_data_accumulator),
|
|
(default_have_data), (gst_pad_class_init), (gst_pad_init),
|
|
(gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
|
|
(gst_pad_check_pull_range), (gst_pad_get_range),
|
|
(gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
|
|
* gst/gstpad.h:
|
|
* gst/gstutils.c: (gst_atomic_int_set), (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):
|
|
Removed atomic operations, use existing LOCK.
|
|
Move exception handling out of main code path.
|
|
|
|
2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstpad.c: (_gst_do_pass_data_accumulator),
|
|
(silly_return_true_function), (gst_pad_class_init),
|
|
(gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
|
|
(gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
|
|
(gst_pad_send_event):
|
|
Fix accumulator, add default value by using _emitv() instead
|
|
of _emit() for signal emission.
|
|
|
|
2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-dataaccess.xml:
|
|
* examples/manual/Makefile.am:
|
|
Add probe example.
|
|
* gst/gstpad.c: (_gst_do_pass_data_accumulator):
|
|
Make work (??).
|
|
|
|
2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/elements/gstfilesink.c: (gst_filesink_render):
|
|
Simplify code so that we don't have to handle short
|
|
writes and return GST_FLOW_ERROR if an error occured.
|
|
|
|
2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
Remove probes more.
|
|
|
|
2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* 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.
|
|
|
|
2005-06-29 Edward Hervey <edward@fluendo.com>
|
|
|
|
* 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.
|
|
|
|
2005-06-29 Andy Wingo <wingo@pobox.com>
|
|
|
|
* docs/gst/Makefile.am (scan-build.stamp): Totally only check
|
|
plugins from the source directory.
|
|
|
|
2005-06-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/gst/tmpl/gstbuffer.sgml:
|
|
* docs/gst/tmpl/gstclock.sgml:
|
|
Some fixings for blantently wrong text.
|
|
|
|
2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* gst/gst.c: (add_path_func), (init_pre):
|
|
* gst/gstregistry.c: (gst_registry_add_path):
|
|
add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
|
|
only scan the GST_PLUGIN_PATH locations, and not add
|
|
system locations
|
|
|
|
2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* gst/gstelement.c:
|
|
* gst/gstelement.h:
|
|
* gst/gstevent.c:
|
|
* gst/gstutils.c:
|
|
doc fixes
|
|
|
|
2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-autoplugging.xml:
|
|
Fix autoplugging example.
|
|
|
|
2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-autoplugging.xml:
|
|
* docs/manual/mime-world.fig:
|
|
Try to get autoplugging working, fix type detection. Fix text
|
|
in hello-world image.
|
|
|
|
2005-06-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object),
|
|
(gst_base_sink_change_state):
|
|
Small debug line.
|
|
|
|
* gst/gstclock.h:
|
|
map SIGNAL and BROADCAST to the right function.
|
|
|
|
* gst/gstobject.h:
|
|
Remove redundant braces.
|
|
|
|
* gst/gstpad.c: (gst_pad_set_caps):
|
|
Don't call setcaps function when reseting caps to NULL.
|
|
|
|
* gst/gstsystemclock.c: (gst_system_clock_dispose),
|
|
(gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
|
|
(gst_system_clock_id_unschedule):
|
|
Use BROADCAST as this is what we do.
|
|
|
|
2005-06-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_base_sink_handle_object):
|
|
We are actually prerolling before commiting the state
|
|
change.
|
|
|
|
2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/manual/advanced-clocks.xml:
|
|
* docs/manual/advanced-interfaces.xml:
|
|
* docs/manual/advanced-metadata.xml:
|
|
* docs/manual/advanced-position.xml:
|
|
* docs/manual/advanced-schedulers.xml:
|
|
* docs/manual/advanced-threads.xml:
|
|
* docs/manual/appendix-porting.xml:
|
|
* docs/manual/basics-bins.xml:
|
|
* docs/manual/basics-bus.xml:
|
|
* docs/manual/basics-elements.xml:
|
|
* docs/manual/basics-helloworld.xml:
|
|
* docs/manual/basics-pads.xml:
|
|
* docs/manual/highlevel-components.xml:
|
|
* docs/manual/manual.xml:
|
|
* docs/manual/thread.fig:
|
|
Update (until threads/scheduling) Application Development Manual;
|
|
remove GstThread, add GstBus, add simple porting checklist, add
|
|
documentation for tag writing, clocks, make all examples until this
|
|
part compile and run.
|
|
* examples/manual/Makefile.am:
|
|
Update from changes to Application Development Manual; add bus
|
|
example, remove thread example.
|
|
|
|
2005-06-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
|
|
(gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
|
|
(gst_bus_source_dispatch):
|
|
Add debugging messages.
|
|
Make internal methods static.
|
|
Handle the case where the bus is flushed in the handler.
|
|
|
|
* gst/gstelement.c: (gst_element_get_bus):
|
|
Fix refcount in _get_bus();
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_change_state),
|
|
(gst_pipeline_get_clock_func):
|
|
Clock refcounting fixes.
|
|
Handle the case where preroll timed out more gracefully.
|
|
|
|
* gst/gstsystemclock.c: (gst_system_clock_dispose):
|
|
Clean up the internal thread in dispose. This is needed
|
|
for subclasses that actually get disposed.
|
|
|
|
* gst/schedulers/threadscheduler.c:
|
|
(gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
|
|
(gst_thread_scheduler_dispose):
|
|
Free thread pool in dispose.
|
|
|
|
2005-06-28 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tests/network-clock-utils.scm (debug, print-event): New utils.
|
|
|
|
* tests/network-clock.scm (*debug*, *with-graph*): New parameters.
|
|
(*packet-loss*): Unified loss probability.
|
|
(network-time): Report out-of-band events.
|
|
|
|
* tests/plot-data: Add support for out-of-band events. Hack it
|
|
into this script instead of passing it down the pipe; should fix
|
|
this later.
|
|
|
|
2005-06-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* docs/gst/tmpl/gstpad.sgml:
|
|
Docs fixes.
|
|
|
|
2005-06-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
|
|
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
|
|
(gst_proxy_pad_do_fixatecaps):
|
|
Correctly proxy the check_pull_range function.
|
|
|
|
2005-06-28 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tests/network-clock.scm: Removed need for slib.
|
|
|
|
2005-06-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
|
|
(gst_basesink_preroll_queue_flush):
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
|
|
* gst/elements/gsttee.c: (gst_tee_update_pad_functions):
|
|
* gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
|
|
(gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
|
|
(gst_proxy_pad_set_property):
|
|
* gst/gstpad.c:
|
|
* gst/gstpad.h:
|
|
* gst/gstqueue.c: (gst_queue_init):
|
|
The deprecated pad loop function is removed now.
|
|
|
|
2005-06-28 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
|
|
New parameters, simulate network packet loss.
|
|
|
|
* tests/network-clock-utils.scm: Initialize the RNG.
|
|
|
|
2005-06-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
|
|
(gst_basesink_event), (gst_basesink_deactivate):
|
|
Flushing the preroll queue always needs to unlock the waiters.
|
|
|
|
2005-06-28 Edward Hervey <edward@fluendo.com>
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_send_event):
|
|
Wheen a seek was successful on a pipeline, set the stream_time to the
|
|
seek offset in order to have a synchronized stream_time.
|
|
|
|
2005-06-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
|
|
(gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
|
|
(gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
|
|
(gst_proxy_pad_do_fixatecaps):
|
|
Call wrapper function instead of just calling the function
|
|
pointers. This takes care of any locking and whatmore.
|
|
|
|
2005-06-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
|
|
(gst_pad_pull_range):
|
|
* gst/gstpad.h:
|
|
CONNECTED -> LINKED.
|
|
|
|
2005-06-28 Andy Wingo <wingo@pobox.com>
|
|
|
|
* *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
|
|
source-munging commit!!!
|
|
|
|
* gst/gstobject.c (gst_object_unref, gst_object_ref)
|
|
(gst_object_sink): Take gpointer arguments, not GstObject --
|
|
avoids casts. Like GLib.
|
|
|
|
* gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
|
|
activate.
|
|
|
|
2005-06-27 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
|
|
remaining buffer.
|
|
|
|
* gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
|
|
returns a sorted copy of the trace list.
|
|
(gst_alloc_trace_print_live): New API, only prints traces with
|
|
live objects. Sort the list.
|
|
(gst_alloc_trace_print_all): Sort the list.
|
|
(gst_alloc_trace_print): Align columns.
|
|
|
|
* gst/elements/gstttypefindelement.c:
|
|
* gst/elements/gsttee.c:
|
|
* gst/base/gstbasesrc.c:
|
|
* gst/base/gstbasesink.c:
|
|
* gst/base/gstbasetransform.c:
|
|
* gst/gstqueue.c: Adapt for pad activation changes.
|
|
|
|
* gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
|
|
sched.
|
|
(gst_pipeline_dispose): Drop ref on sched.
|
|
|
|
* gst/gstpad.c (gst_pad_init): Set the default activate func.
|
|
(gst_pad_activate_default): Push mode by default.
|
|
(pre_activate_switch, post_activate_switch): New stubs, things to
|
|
do before and after switching activation modes on pads.
|
|
(gst_pad_set_active): Take a boolean and not a mode, dispatch to
|
|
the pad's activate function to choose which mode to activate.
|
|
Shortcut on deactivation and call the right function directly.
|
|
(gst_pad_activate_pull): New API, (de)activates a pad in pull
|
|
mode.
|
|
(gst_pad_activate_push): New API, same for push mode.
|
|
(gst_pad_set_activate_function)
|
|
(gst_pad_set_activatepull_function)
|
|
(gst_pad_set_activatepush_function): Setters for new API.
|
|
|
|
* gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
|
|
Trace all miniobjects.
|
|
(gst_mini_object_make_writable): Unref the arg if we copy, like
|
|
gst_caps_make_writable.
|
|
|
|
* gst/gstmessage.c (_gst_message_initialize): No trace init.
|
|
|
|
* gst/gstghostpad.c (gst_proxy_pad_do_activate)
|
|
(gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
|
|
Adapt for new pad API.
|
|
|
|
* gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
|
|
|
|
* gst/gstelement.h:
|
|
* gst/gstelement.c (gst_element_iterate_src_pads)
|
|
(gst_element_iterate_sink_pads): New API functions.
|
|
|
|
* gst/gstelement.c (iterator_fold_with_resync): New utility,
|
|
should fold into gstiterator.c in some form.
|
|
(gst_element_pads_activate): Simplified via use of fold and
|
|
delegation of decisions to gstpad->activate.
|
|
|
|
* gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
|
|
help in debugging.
|
|
|
|
* gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
|
|
class once in init, like gstmessage. Didn't run into this issue
|
|
but it seems correct. Don't initialize a trace, gstminiobject does
|
|
that.
|
|
|
|
* check/pipelines/simple_launch_lines.c (test_stop_from_app): New
|
|
test, runs fakesrc ! fakesink, stopping on ::handoff via a message
|
|
to the bus.
|
|
(assert_live_count): New util function, uses alloc traces to check
|
|
cleanup.
|
|
|
|
* check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
|
|
To be modified when unlink drops the internal pad.
|
|
|
|
2005-06-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
|
|
(gst_bin_change_state):
|
|
Cleanup the get_state() function a little, make sure it
|
|
iterates the same set of elements.
|
|
Added stub iterate_state_order().
|
|
|
|
2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstbasesink.sgml:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* docs/gst/tmpl/gstbasetransform.sgml:
|
|
* docs/gst/tmpl/gstelement.sgml:
|
|
* docs/gst/tmpl/gstiterator.sgml:
|
|
* gst/base/gstbasesrc.c:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/base/gstbasetransform.h:
|
|
* gst/gstelement.c:
|
|
* gst/gstiterator.h:
|
|
adding basetransform and iterator docs
|
|
|
|
2005-06-27 Andy Wingo <wingo@pobox.com>
|
|
|
|
* docs/design/part-activation.txt: Notes on how activation should
|
|
work -- not quite implemented yet.
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstghostpad.c: (gst_proxy_pad_do_chain):
|
|
At least get the chain function correct, needs more
|
|
fixing.
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
|
|
(gst_basesink_handle_object), (gst_basesink_event),
|
|
(gst_basesink_do_sync), (gst_basesink_handle_event),
|
|
(gst_basesink_change_state):
|
|
* gst/gsttask.h:
|
|
Right, two problems here: ghostpads don't take locks and
|
|
glib _rec_mutex_lock_full() with depth==0 still locks.
|
|
Catch illegal locking and g_warn them.
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/states/sinks.c: (START_TEST), (gst_object_suite):
|
|
Have to check for completion now...
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
|
|
(gst_basesink_handle_object), (gst_basesink_event),
|
|
(gst_basesink_do_sync), (gst_basesink_handle_event),
|
|
(gst_basesink_change_state):
|
|
* gst/gstpad.h:
|
|
Unlock STREAM_LOCK whatever the recursion was.
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_set_property),
|
|
(gst_basesink_preroll_queue_empty),
|
|
(gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
|
|
(gst_basesink_event), (gst_basesink_do_sync),
|
|
(gst_basesink_handle_event), (gst_basesink_handle_buffer),
|
|
(gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
|
|
(gst_basesink_change_state):
|
|
Reworked the base sink, handle event and buffer serialisation
|
|
correctly and removed possible deadlock.
|
|
Handle EOS correctly.
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
|
|
(gst_pipeline_change_state):
|
|
* tools/gst-launch.c: (check_intr), (event_loop), (main):
|
|
Allow elements to post EOS in the state change function.
|
|
Fix up -launch, make it exit the poll loop when the
|
|
pipeline actually changed state.
|
|
Fix up warning parsing in -launch.
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
|
|
(gst_tee_sink_activate):
|
|
Core takes STREAM_LOCK for us now.
|
|
|
|
2005-06-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstelement.c: (gst_element_get_state_func),
|
|
(gst_element_set_state):
|
|
* gst/gstelement.h:
|
|
* gst/gstmessage.c: (gst_message_parse_error),
|
|
(gst_message_parse_warning):
|
|
Keep track of current target state while performing a state
|
|
change so that subclasses can do something interesting.
|
|
Fix parsing of warning/error messages when GError is NULL.
|
|
|
|
2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/Makefile.am:
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/gstreamer.types:
|
|
* docs/gst/tmpl/gstbasesink.sgml:
|
|
* docs/gst/tmpl/gstbasesrc.sgml:
|
|
* docs/gst/tmpl/gstbin.sgml:
|
|
* docs/gst/tmpl/gstcompat.sgml:
|
|
* docs/gst/tmpl/gstfakesink.sgml:
|
|
* docs/gst/tmpl/gstfakesrc.sgml:
|
|
* docs/gst/tmpl/gstfilesink.sgml:
|
|
* docs/gst/tmpl/gstfilesrc.sgml:
|
|
* docs/gst/tmpl/gstindex.sgml:
|
|
* docs/manual/appendix-quotes.xml:
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/elements/gstfakesrc.h:
|
|
* gst/gstmessage.h:
|
|
start pulling in base classes and elements in our docs
|
|
|
|
2005-06-24 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* docs/gst/Makefile.am:
|
|
* docs/libs/Makefile.am:
|
|
fixed make distcheck with gtk-doc 1.3
|
|
|
|
2005-06-23 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstelement.c: (gst_element_get_state_func),
|
|
(gst_element_set_state), (gst_element_change_state):
|
|
When the state did not change, also report NO_PREROLL
|
|
when it matters.
|
|
|
|
2005-06-23 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_event_default):
|
|
* gst/gstqueue.c: (gst_queue_loop):
|
|
No unsafe task pausing please.
|
|
|
|
2005-06-23 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/schedulers/threadscheduler.c:
|
|
(gst_thread_scheduler_task_start),
|
|
(gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
|
|
Ref the task before pushing it on the threadpool. This
|
|
makes sure that we have a ref when the threadfunction is
|
|
actually called.
|
|
|
|
2005-06-23 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
|
|
offset is greater than the file's size.
|
|
|
|
* gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
|
|
(GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
|
|
* gst/gstobject.c (gst_object_class_init): Make the class lock
|
|
recursive. Wim won't let me drop deep_notify. Decodebin works
|
|
again, whoopdy doo.
|
|
|
|
* gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
|
|
internal pad, and hacks accordingly. Doesn't do it on the target
|
|
pad because we change its caps. Probably catches all cases of
|
|
interest tho.
|
|
(gst_ghost_pad_set_property): Connect to notify::caps as
|
|
appropritate.
|
|
|
|
* tests/network-clock.scm (plot-simulation): Pipe data to the
|
|
elite python skript.
|
|
|
|
* tests/network-clock-utils.scm (define-parameter): New macro,
|
|
defines a parameter that can be set via the command line.
|
|
(set-parameter!, parse-parameter-arguments): Command line args
|
|
parser.
|
|
|
|
* tests/plot-data: Simple matplotlib-based plotter, takes input on
|
|
stdin.
|
|
|
|
2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/elements/gsttypefindelement.c:
|
|
(gst_type_find_element_handle_event):
|
|
Don't restart typefinding on a discont.
|
|
* gst/gstelement.c: (gst_element_set_state):
|
|
Debug spelling fix.
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
|
|
Allow changing mode of an active pad.
|
|
Debug output fixes.
|
|
* gst/registries/gstlibxmlregistry.c: (load_feature):
|
|
Don't cast a static pad template to a normal pad template.
|
|
|
|
2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
|
|
* gst/gstvalue.c: (gst_value_deserialize_int_helper):
|
|
remove gst_strtoll completely, since it didn't actually do
|
|
anything more than what g_ascii_strtoull already does.
|
|
check for range errors when deserializing
|
|
do a cast for the unsigned cases; but further fixing needs
|
|
a decision on what the interpretation of "(int)" and
|
|
deserialization should be for values that fall outside the
|
|
type's boundaries (ie, refuse, or interpret as casting)
|
|
|
|
2005-06-23 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/Makefile.am:
|
|
* check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
|
|
* docs/design/part-live-source.txt:
|
|
* docs/design/part-states.txt:
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_init),
|
|
(gst_basesrc_set_live), (gst_basesrc_is_live),
|
|
(gst_basesrc_get_range), (gst_basesrc_activate),
|
|
(gst_basesrc_change_state):
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
|
|
(gst_fakesrc_set_property), (gst_fakesrc_get_property):
|
|
* gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
|
|
* gst/gstelement.c: (gst_element_get_state_func),
|
|
(gst_element_set_state):
|
|
* gst/gstelement.h:
|
|
* gst/gsttypes.h:
|
|
* tools/gst-launch.c: (event_loop), (main):
|
|
Added support for live sources and other elements that
|
|
cannot do preroll.
|
|
Updated design docs, added live-source design doc.
|
|
Implemented live source functionality in basesrc
|
|
Fix error condition in _bin_get_state()
|
|
Implement live source handling in -launch.
|
|
Added check for live sources.
|
|
Fixed case in GstBin where elements were changed state
|
|
multiple times.
|
|
|
|
|
|
2005-06-23 Andy Wingo <wingo@pobox.com>
|
|
|
|
* check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
|
|
borken refcounting.
|
|
|
|
* gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
|
|
gst_caps_replace takes care of this for us.
|
|
|
|
* gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
|
|
gst_pad_set_caps on the target, not just its setcaps() function.
|
|
|
|
* tests/network-clock.scm:
|
|
* tests/network-clock-utils.scm: A network clock simulator.
|
|
Something of an algorithmic testbed before doing something in C.
|
|
|
|
2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/capslist.h:
|
|
copy over from 0.8, and add two with bitmasks specified with
|
|
(int) 0xFF...
|
|
* check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
|
|
add test to parse everything from capslist.h
|
|
* check/gst/gststructure.c: (START_TEST), (gst_value_suite),
|
|
(main):
|
|
add test for structure deserialization
|
|
* check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
|
|
add tests for deserialization of strings to int types
|
|
* gst/gststructure.c: (gst_structure_nth_field_name):
|
|
* gst/gststructure.h:
|
|
add a way to get the name of a field referenced by index
|
|
* gst/gstvalue.c: (gst_value_deserialize_int_helper):
|
|
instead of checking if the resulting long long lies between
|
|
min and max, we check if the long long would fit into
|
|
a number of bytes for the final type.
|
|
This fixes cases where a string represents 2^32 - 1, which
|
|
when cast to int would be the (valid) -1, but is bigger than
|
|
G_MAXINT
|
|
|
|
2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/parse/grammar.y:
|
|
add a log line for type deserialization
|
|
|
|
2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstvalue.c: (START_TEST):
|
|
* gst/gstvalue.c: (gst_value_deserialize):
|
|
return long long, not int, so gint64 deserialization actually
|
|
works. Is there any flag that makes the compiler check this ?
|
|
Fixes #308559
|
|
|
|
2005-06-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbuffer.h:
|
|
Added convenience macros for setting buffers in GValue.
|
|
|
|
2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/.cvsignore:
|
|
* check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
|
|
add a test deserializing int64, and comment part out because
|
|
it fails, yay !
|
|
|
|
2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
|
|
* testsuite/Makefile.am:
|
|
* testsuite/caps/Makefile.am:
|
|
* testsuite/caps/value_serialize.c:
|
|
* testsuite/test_gst_init.c:
|
|
move a value_serialize test over
|
|
|
|
2005-06-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c:
|
|
Small doc updates.
|
|
|
|
* gst/gstvalue.c: (gst_value_compare_buffer),
|
|
(gst_value_serialize_buffer), (gst_value_deserialize_buffer),
|
|
(gst_value_compare_flags), (gst_value_serialize_flags),
|
|
(gst_value_deserialize_flags), (_gst_value_initialize):
|
|
Fix serialisation of buffers, they are not boxed types anymore
|
|
|
|
2005-06-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
|
|
Testcase to show error in buffer-on-caps serialisation.
|
|
|
|
2005-06-20 Andy Wingo <wingo@pobox.com>
|
|
|
|
* docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
|
|
will be adding to later.
|
|
|
|
* gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
|
|
if its socks fill with rocks.
|
|
(gst_system_clock_obtain): Set the name on object construction.
|
|
Avoid double-checked locking.
|
|
|
|
2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/gsturi.c: (gst_element_make_from_uri):
|
|
Fix potential endless loop.
|
|
|
|
2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/Makefile.am:
|
|
add gsttag
|
|
* check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
|
|
(main):
|
|
move over from testsuite dir and clean up
|
|
* configure.ac:
|
|
* gst/gsttag.c:
|
|
* testsuite/Makefile.am:
|
|
* testsuite/tags/.cvsignore:
|
|
* testsuite/tags/Makefile.am:
|
|
* testsuite/tags/merge.c:
|
|
remove testsuite/tags
|
|
|
|
2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstenumtypes.sgml:
|
|
* win32/gstenumtypes.c:
|
|
clean up documentation build a little
|
|
|
|
2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gstcheck.h:
|
|
add macros for checking refcounts on objects and caps
|
|
* check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
|
|
add some more unit tests
|
|
* gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
|
|
(gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
|
|
fix leaked refcounts (I hope :)) so unittest works
|
|
* gst/gstpad.h:
|
|
whitespace removal
|
|
|
|
2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* configure.ac: back to HEAD
|
|
|
|
=== release 0.9.1 ===
|
|
|
|
2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* NEWS:
|
|
* RELEASE:
|
|
updated
|
|
|
|
2005-06-17 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
|
|
assert; it's always possible that the pad gets deactivated in
|
|
between the checks in gstpad.c and the implementation. Rely on
|
|
finish_preroll() to return a FLUSHING or similar instead of on the
|
|
assert.
|
|
|
|
* gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
|
|
clock and post an EOS message if we come out of finish_preroll in
|
|
the playing state.
|
|
|
|
2005-06-16 David Schleef <ds@schleef.org>
|
|
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
|
|
(gst_capsfilter_set_property): Allow NULL as possible value
|
|
for filter_caps property, indicating GST_CAPS_ANY.
|
|
|
|
2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_create):
|
|
fix debug output
|
|
* gst/schedulers/Makefile.am:
|
|
use libgst prefix
|
|
* gstreamer.spec.in:
|
|
fix spec for it
|
|
|
|
2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gstreamer.spec.in:
|
|
clean up
|
|
|
|
2005-06-08 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstutils.c: RPAD fixes all around.
|
|
(gst_element_link_pads): Refcounting fixes.
|
|
|
|
* tools/gst-inspect.c:
|
|
* tools/gst-xmlinspect.c:
|
|
* parse/grammar.y:
|
|
* gst/base/gsttypefindhelper.c:
|
|
* gst/base/gstbasesink.c:
|
|
* gst/gstqueue.c: RPAD fixes.
|
|
|
|
* gst/gstghostpad.h:
|
|
* gst/gstghostpad.c: New ghost pad implementation as full proxy
|
|
pads. The tricky thing is they provide both source and sink
|
|
interfaces, since they proxy the internal pad for the external
|
|
pad, and vice versa. Implement with lower-level ProxyPad objects,
|
|
with the interior proxy pad as a child of the exterior ghost pad.
|
|
Should write a doc on this.
|
|
|
|
* gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
|
|
(gst_pad_set_name, gst_pad_set_parent): Macros removed, use
|
|
gst_object API.
|
|
|
|
* gst/gstpad.c: Big changes. No more stub base GstPad, now all
|
|
pads are real pads. No ghost pads in this file. Not documenting
|
|
the myriad s/RPAD/PAD/ and REALIZE fixes.
|
|
(gst_pad_class_init): Add properties for "direction" and
|
|
"template". Both are construct-only, so they can't change during
|
|
the life of the pad. Fixes properly deriving from GstPad.
|
|
(gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
|
|
derived objects, just set properties when creating the objects via
|
|
g_object_new.
|
|
(gst_pad_get_parent): Implement as a function, return NULL if the
|
|
parent is not an element.
|
|
(gst_pad_get_real_parent, gst_pad_add_ghost_pad)
|
|
(gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
|
|
|
|
* gst/gstobject.c (gst_object_class_init): Make name a construct
|
|
property. Don't set it in the object init.
|
|
|
|
* gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
|
|
with UNKNOWN direction.
|
|
(gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
|
|
with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
|
|
(gst_element_remove_pad): Remove ghost-pad special cases.
|
|
(gst_element_pads_activate): Remove rpad cruft.
|
|
|
|
* gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
|
|
catch the pad's-parent-not-an-element case.
|
|
|
|
* gst/gst.h: Include gstghostpad.h.
|
|
|
|
* gst/gst.c (init_post): No more real, ghost pads.
|
|
|
|
* gst/Makefile.am: Add gstghostpad.[ch].
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstbin.c:
|
|
* check/gst/gstghostpad.c (test_ghost_pads): Check that linking
|
|
into a bin creates ghost pads, and that the refcounts are right.
|
|
Partly moved from gstbin.c.
|
|
|
|
2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst-libs/.cvsignore:
|
|
* check/gst/.cvsignore:
|
|
* check/pipelines/.cvsignore:
|
|
ignore more
|
|
* check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
|
|
(START_TEST), (cleanup_suite), (main):
|
|
add some tests related to cleanup after running pipelines
|
|
|
|
2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
|
|
add a testsuite for GstBuffer
|
|
|
|
2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstminiobject.h:
|
|
add defines for accessing the refcount
|
|
|
|
2005-06-03 Stefan Kost <ensonic@users.sf.net>
|
|
|
|
* Makefile.am: added support for html unit test coverage reports
|
|
|
|
2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
|
|
Free existing caps if the capsfilter changes. Add a FIXME about
|
|
setting those caps on the pads.
|
|
|
|
* gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
|
|
Before adding a ghost pad to a parent bin, check that there isn't
|
|
already one for the element on the bin. Prevents infinite recursion
|
|
when using decodebin in parse pipelines. Andy says he'll rewrite the
|
|
way this works anyway, so ignore the hack.
|
|
|
|
2005-06-02 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
|
|
file size, pass it on to the type find helper.
|
|
|
|
* gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
|
|
segment_start and segment_end properly according to the seek
|
|
method. Segment_end is still a bit flaky because offset can be
|
|
negative for CUR and END cases, but it takes -1 as an "unset"
|
|
value.
|
|
|
|
2005-06-02 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
|
|
(gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
|
|
(gst_basesink_activate):
|
|
* gst/base/gstbasesink.h:
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
|
|
(gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
|
|
(gst_pad_query), (gst_pad_start_task):
|
|
* gst/gstpad.h:
|
|
* gst/gstqueue.c: (gst_queue_bufferalloc),
|
|
(gst_queue_handle_sink_event), (gst_queue_chain):
|
|
Bufferalloc: return GstFlowReturn to more accuratly report
|
|
why allocation failed.
|
|
|
|
2005-06-02 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_send_event):
|
|
Take snapshot of state without blocking.
|
|
|
|
2005-06-02 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-TODO.txt:
|
|
* docs/design/part-caps.txt:
|
|
* docs/design/part-clocks.txt:
|
|
* docs/design/part-negotiation.txt:
|
|
* docs/design/part-preroll.txt:
|
|
Small doc updates
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gstidentity.c: (gst_identity_event),
|
|
(gst_identity_transform), (gst_identity_get_property):
|
|
Protect last_message property as it is accessed from
|
|
multiple threads.
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstelement.c: (gst_element_init),
|
|
(gst_element_pads_activate), (gst_element_change_state):
|
|
Slicker pad activation code.
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/Makefile.am:
|
|
* gst/gstelement.h:
|
|
* gst/gstelementfactory.h:
|
|
* gst/gsttypes.h:
|
|
Move elementfactory methods to separate .h file.
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-overview.txt:
|
|
* gst/gstsystemclock.h:
|
|
Small typo fixes, doc updates.
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gst.c: (gst_init_get_popt_table), (init_post),
|
|
(init_popt_callback):
|
|
Remove cpu-opt flag.
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbuffer.c: (gst_subbuffer_finalize),
|
|
(gst_buffer_create_sub), (gst_buffer_is_span_fast):
|
|
* gst/gstbuffer.h:
|
|
Avoid typechecking in places where not needed.
|
|
Added accessor for malloc_data.
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
|
|
(gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
|
|
(gst_pad_configure_sink), (gst_pad_configure_src),
|
|
(gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
|
|
(gst_pad_start_task):
|
|
Propagate errors from _set_caps() in configure_src/sink
|
|
functions instead of returning TRUE.
|
|
FLUSH events can travel up and downstream
|
|
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
|
|
(gst_basesink_activate):
|
|
Handle EOS in preroll.
|
|
|
|
2005-05-30 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
|
|
(gst_queue_loop), (gst_queue_handle_src_event):
|
|
Remove old pieces of code
|
|
Flushing the queue in an upstream event is a very bad idea.
|
|
|
|
2005-05-26 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstminiobject.c (gst_value_mini_object_collect): Use
|
|
gst_value_set_mini_object so as to add a ref on the object (which
|
|
will be removed when the value is unset).
|
|
|
|
* gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
|
|
arg type in ::handoff.
|
|
|
|
* gst/gstelement.c (gst_element_change_state): Also deactivate
|
|
pads in READY->NULL, just in case the element didn't make it to
|
|
PAUSED. Wingo tested, Wim approved.
|
|
|
|
2005-05-26 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
|
|
(gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
|
|
(gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
|
|
A flushing pad cannot be used to alloc_buffer from.
|
|
|
|
2005-05-26 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
|
|
(gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
|
|
(gst_bus_source_dispatch), (gst_bus_source_finalize),
|
|
(gst_bus_create_watch), (gst_bus_add_watch_full):
|
|
* gst/gstbus.h:
|
|
Implement a real GSource and use g_main_context_wakeup() to
|
|
signal new messages instead of the socketpair.
|
|
|
|
2005-05-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
|
|
(bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
|
|
(gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
|
|
(gst_pad_send_event), (gst_pad_start_task):
|
|
* gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
|
|
(gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
|
|
(gst_queue_sink_activate), (gst_queue_src_activate),
|
|
(gst_queue_change_state):
|
|
* gst/gstqueue.h:
|
|
Fix state changes for non sinks. We now change sinks, then elements
|
|
with unconnected srcpads, then the rest.
|
|
More efficient queue unlocking in flush and state changes.
|
|
Set the pad activate mode even if it does not have an activate
|
|
function.
|
|
|
|
2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_activate):
|
|
Don't go in pull mode for non-seekable sources.
|
|
* gst/elements/gsttypefindelement.h:
|
|
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
|
|
(gst_type_find_element_dispose), (gst_type_find_handle_src_query),
|
|
(free_entry), (stop_typefinding),
|
|
(gst_type_find_element_handle_event), (find_peek),
|
|
(gst_type_find_element_chain), (do_pull_typefind),
|
|
(gst_type_find_element_change_state):
|
|
Allow typefinding (w/o seeking) in push-mode, simplified version
|
|
of what was in 0.8.
|
|
* gst/gstutils.c: (gst_buffer_join):
|
|
* gst/gstutils.h:
|
|
gst_buffer_join() from 0.8.
|
|
|
|
2005-05-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
|
|
(gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
|
|
(gst_pad_send_event), (gst_pad_start_task):
|
|
Disable attempt at mode switching until it is figured out.
|
|
|
|
2005-05-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
|
|
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
|
|
(gst_basesink_finish_preroll), (gst_basesink_chain),
|
|
(gst_basesink_loop), (gst_basesink_activate),
|
|
(gst_basesink_change_state):
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
|
|
(gst_basesrc_get_range), (gst_basesrc_loop),
|
|
(gst_basesrc_activate):
|
|
* gst/elements/gsttee.c: (gst_tee_sink_activate):
|
|
* gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
|
|
(gst_real_pad_init), (gst_real_pad_set_property),
|
|
(gst_real_pad_get_property), (gst_pad_set_active),
|
|
(gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
|
|
(gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
|
|
(gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
|
|
(gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
|
|
(gst_pad_event_default_dispatch), (gst_pad_event_default),
|
|
(gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
|
|
(gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
|
|
(gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
|
|
(gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
|
|
(gst_pad_stop_task):
|
|
* gst/gstpad.h:
|
|
* gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
|
|
(gst_queue_loop), (gst_queue_src_activate):
|
|
* gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
|
|
(gst_task_get_state):
|
|
* gst/gsttask.h:
|
|
* gst/schedulers/threadscheduler.c:
|
|
(gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
|
|
Implement gst_pad_pause/start/stop_task(), take STREAM lock
|
|
in task function.
|
|
Remove ACTIVE pad flag, use FLUSHING everywhere
|
|
Added _pad_chain(), _pad_get_range() to call chain/getrange
|
|
functions.
|
|
Add locks around IS_FLUSHING when reading.
|
|
Take STREAM lock in chain(), get_range() functions so plugins
|
|
don't need to take it anymore.
|
|
|
|
|
|
|
|
2005-05-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* tools/gst-launch.c: (event_loop):
|
|
Unref message after using its contents instead of
|
|
before.
|
|
|
|
2005-05-24 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/draft-ghostpads.txt:
|
|
* docs/design/draft-push-pull.txt:
|
|
* docs/design/draft-query.txt:
|
|
* docs/design/part-overview.txt:
|
|
Docs updates, added general overview doc.
|
|
|
|
2005-05-21 David Schleef <ds@schleef.org>
|
|
|
|
* docs/gst/tmpl/old/GstBin.sgml:
|
|
* docs/gst/tmpl/old/GstBuffer.sgml:
|
|
* docs/gst/tmpl/old/GstCaps.sgml:
|
|
* docs/gst/tmpl/old/GstClock.sgml:
|
|
* docs/gst/tmpl/old/GstCompat.sgml:
|
|
* docs/gst/tmpl/old/GstData.sgml:
|
|
* docs/gst/tmpl/old/GstElement.sgml:
|
|
* docs/gst/tmpl/old/GstEvent.sgml:
|
|
* docs/gst/tmpl/old/GstIndex.sgml:
|
|
* docs/gst/tmpl/old/GstStructure.sgml:
|
|
* docs/gst/tmpl/old/GstTag.sgml:
|
|
* docs/gst/tmpl/old/cothreads.sgml:
|
|
* docs/gst/tmpl/old/cothreads_compat.sgml:
|
|
* docs/gst/tmpl/old/gettext.sgml:
|
|
* docs/gst/tmpl/old/gobject2gtk.sgml:
|
|
* docs/gst/tmpl/old/grammar.tab.sgml:
|
|
* docs/gst/tmpl/old/gst-i18n-app.sgml:
|
|
* docs/gst/tmpl/old/gst-i18n-lib.sgml:
|
|
* docs/gst/tmpl/old/gst_private.sgml:
|
|
* docs/gst/tmpl/old/gstaggregator.sgml:
|
|
* docs/gst/tmpl/old/gstarch.sgml:
|
|
* docs/gst/tmpl/old/gstatomic_impl.sgml:
|
|
* docs/gst/tmpl/old/gstbufferstore.sgml:
|
|
* docs/gst/tmpl/old/gstdata_private.sgml:
|
|
* docs/gst/tmpl/old/gstdisksink.sgml:
|
|
* docs/gst/tmpl/old/gstdisksrc.sgml:
|
|
* docs/gst/tmpl/old/gstelementfactory.sgml:
|
|
* docs/gst/tmpl/old/gstextratypes.sgml:
|
|
* docs/gst/tmpl/old/gstfakesink.sgml:
|
|
* docs/gst/tmpl/old/gstfakesrc.sgml:
|
|
* docs/gst/tmpl/old/gstfdsink.sgml:
|
|
* docs/gst/tmpl/old/gstfdsrc.sgml:
|
|
* docs/gst/tmpl/old/gstfilesink.sgml:
|
|
* docs/gst/tmpl/old/gstfilesrc.sgml:
|
|
* docs/gst/tmpl/old/gsthttpsrc.sgml:
|
|
* docs/gst/tmpl/old/gstidentity.sgml:
|
|
* docs/gst/tmpl/old/gstindexfactory.sgml:
|
|
* docs/gst/tmpl/old/gstmarshal.sgml:
|
|
* docs/gst/tmpl/old/gstmd5sink.sgml:
|
|
* docs/gst/tmpl/old/gstmultidisksrc.sgml:
|
|
* docs/gst/tmpl/old/gstmultifilesrc.sgml:
|
|
* docs/gst/tmpl/old/gstpadtemplate.sgml:
|
|
* docs/gst/tmpl/old/gstpipefilter.sgml:
|
|
* docs/gst/tmpl/old/gstschedulerfactory.sgml:
|
|
* docs/gst/tmpl/old/gstsearchfuncs.sgml:
|
|
* docs/gst/tmpl/old/gstshaper.sgml:
|
|
* docs/gst/tmpl/old/gstspider.sgml:
|
|
* docs/gst/tmpl/old/gstspideridentity.sgml:
|
|
* docs/gst/tmpl/old/gststatistics.sgml:
|
|
* docs/gst/tmpl/old/gsttee.sgml:
|
|
* docs/gst/tmpl/old/gsttimecache.sgml:
|
|
* docs/gst/tmpl/old/gsttypefindfactory.sgml:
|
|
* docs/gst/tmpl/old/gstxmlregistry.sgml:
|
|
* docs/gst/tmpl/old/gthread-cothreads.sgml:
|
|
* docs/gst/tmpl/old/types.sgml:
|
|
I didn't intend to add these or check them in.
|
|
|
|
2005-05-19 David Schleef <ds@schleef.org>
|
|
|
|
* configure.ac: Use -no-common everywhere. In a sane world, it
|
|
would be the default in libtool, because without it, you can't
|
|
build DLLs on Windows.
|
|
* docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstcpu.sgml:
|
|
* docs/gst/tmpl/gstdata.sgml:
|
|
* docs/gst/tmpl/gstthread.sgml:
|
|
|
|
2005-05-19 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstminiobject.c: (gst_value_set_mini_object),
|
|
(gst_value_take_mini_object), (gst_value_get_mini_object):
|
|
* gst/gstminiobject.h: Add GValue set/get functions.
|
|
|
|
2005-05-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
|
|
(gst_subbuffer_class_init), (gst_subbuffer_finalize),
|
|
(gst_subbuffer_init), (gst_buffer_is_span_fast):
|
|
* gst/gstbuffer.h:
|
|
* gst/gstbus.c: (gst_bus_post):
|
|
* gst/gstelement.c: (gst_element_get_random_pad):
|
|
* gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
|
|
Make subbufer unref the parent in finalize.
|
|
some more debugging info.
|
|
|
|
|
|
2005-05-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_class_init),
|
|
(gst_basesink_init), (gst_basesink_finalize),
|
|
(gst_basesink_activate), (gst_basesink_change_state):
|
|
Don't free preroll queue too early.
|
|
|
|
2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/Makefile.am:
|
|
* gst/ROADMAP:
|
|
Hi, I'm outdated. Please shoot me.
|
|
|
|
2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_send_event):
|
|
Do not access variables after they have been deleted.
|
|
|
|
2005-05-19 Wim Taymans <wim@fluendo.com>
|
|
|
|
* tools/gst-inspect.c: (print_plugin_features):
|
|
A plugin feature does unfortunatly not use the
|
|
object name yet...
|
|
|
|
2005-05-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
|
|
Port _span() functions to new subbuffers.
|
|
|
|
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstbin.c: (gst_bin_add_func):
|
|
Fix clock settery in bins when adding kids after the clock has
|
|
been selected.
|
|
|
|
2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/elements/gstidentity.c: (gst_identity_class_init):
|
|
Workaround until signals support GstMiniObject.
|
|
|
|
2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
|
|
|
|
* gst/gstbuffer.c:
|
|
Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
|
|
|
|
2005-05-18 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/Makefile.am:
|
|
* gst/base/gstadapter.c: (gst_adapter_base_init),
|
|
(gst_adapter_class_init), (gst_adapter_init),
|
|
(gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
|
|
(gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
|
|
(gst_adapter_flush), (gst_adapter_available),
|
|
(gst_adapter_available_fast):
|
|
* gst/base/gstadapter.h:
|
|
Ported and added adapter to the base classes.
|
|
|
|
2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
|
|
|
|
* gst/gst.c:
|
|
* gst/gstmessage.c:
|
|
Make sure the class is reffed/unreffed once before threads can be
|
|
used. Fixes #304551.
|
|
|
|
2005-05-17 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
|
|
(gst_basesink_chain_unlocked), (gst_basesink_activate):
|
|
* gst/gstminiobject.c: (gst_mini_object_get_type),
|
|
(gst_mini_object_free):
|
|
* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
|
|
(gst_pad_push), (gst_pad_push_event):
|
|
* gst/gstqueue.c: (gst_queue_change_state):
|
|
Don't queue buffers in basesink when we are flushing.
|
|
Unref buffer when flushing in basesink.
|
|
Flush queue when going to READY
|
|
Unref buffer when _push() returns an error.
|
|
Don't free MiniObject instance when refcount is incremented
|
|
in _finalize() so that we can recover objects.
|
|
|
|
2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/manual/advanced-schedulers.xml:
|
|
* docs/manual/appendix-checklist.xml:
|
|
* docs/pwg/advanced-clock.xml:
|
|
* docs/pwg/advanced-interfaces.xml:
|
|
* docs/pwg/advanced-request.xml:
|
|
* docs/pwg/advanced-types.xml:
|
|
* docs/pwg/intro-preface.xml:
|
|
* examples/plugins/example.c: (gst_example_get_type),
|
|
(gst_example_class_init), (gst_example_chain),
|
|
(gst_example_set_property), (gst_example_get_property),
|
|
(gst_example_change_state), (plugin_init):
|
|
* examples/plugins/example.h:
|
|
small doc fixes
|
|
|
|
2005-05-17 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
|
|
(gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
|
|
* gst/gstqueue.c: (gst_queue_change_state):
|
|
Clear queue when going to READY.
|
|
Remove IN_SETCAPS flag too.
|
|
|
|
2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_change_state):
|
|
Remove implicit cast from gboolean to GstElementStateReturn;
|
|
make sure we still return failure in paused => ready case if
|
|
the parent class fails to change state and our own stop
|
|
vfunc succeeds.
|
|
|
|
2005-05-17 Wim Taymans <wim@fluendo.com>
|
|
|
|
* tools/gst-launch.c: (event_loop):
|
|
Message was unreffed too soon.
|
|
|
|
2005-05-16 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstbin.c (sink_iterator_filter): Err... um...
|
|
|
|
* check/gst/gstbin.c (test_ghost_pads): New test for the
|
|
ghosting-if-elements-not-in-same-bin behavior.
|
|
|
|
2005-05-16 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstminiobject.c: Use g_atomic_int_get() instead of
|
|
accessing refcount directly.
|
|
|
|
2005-05-15 David Schleef <ds@schleef.org>
|
|
|
|
* check/Makefile.am: remove GstData checks
|
|
* check/gst-libs/gdp.c: (START_TEST): fix for API changes
|
|
* gst/Makefile.am: add miniobject, remove data
|
|
* gst/gst.h: add miniobject, remove data
|
|
* gst/gstdata.c: remove
|
|
* gst/gstdata.h: remove
|
|
* gst/gstdata_private.h: remove
|
|
* gst/gsttypes.h: remove GstEvent and GstMessage
|
|
* gst/gstelement.c: (gst_element_post_message): fix for API changes
|
|
* gst/gstmarshal.list: change BOXED -> OBJECT
|
|
|
|
Implement GstMiniObject.
|
|
* gst/gstminiobject.c:
|
|
* gst/gstminiobject.h:
|
|
|
|
Modify to be subclasses of GstMiniObject.
|
|
* gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
|
|
(gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
|
|
(gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
|
|
(gst_subbuffer_get_type), (gst_subbuffer_init),
|
|
(gst_buffer_create_sub), (gst_buffer_is_span_fast),
|
|
(gst_buffer_span):
|
|
* gst/gstbuffer.h:
|
|
* gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
|
|
(gst_event_class_init), (gst_event_init), (gst_event_finalize),
|
|
(_gst_event_copy), (gst_event_new):
|
|
* gst/gstevent.h:
|
|
* gst/gstmessage.c: (_gst_message_initialize),
|
|
(gst_message_get_type), (gst_message_class_init),
|
|
(gst_message_init), (gst_message_finalize), (_gst_message_copy),
|
|
(gst_message_new), (gst_message_new_error),
|
|
(gst_message_new_warning), (gst_message_new_tag),
|
|
(gst_message_new_state_changed), (gst_message_new_application):
|
|
* gst/gstmessage.h:
|
|
* gst/gstprobe.c: (gst_probe_perform),
|
|
(gst_probe_dispatcher_dispatch):
|
|
* gst/gstprobe.h:
|
|
* gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
|
|
(gst_query_class_init), (gst_query_finalize), (gst_query_init),
|
|
(_gst_query_copy), (gst_query_new):
|
|
|
|
Update elements for GstData -> GstMiniObject changes
|
|
* gst/gstquery.h:
|
|
* gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
|
|
(gst_queue_chain), (gst_queue_loop):
|
|
* gst/elements/gstbufferstore.c:
|
|
(gst_buffer_store_add_buffer_func),
|
|
(gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
|
|
* gst/elements/gstfakesink.c: (gst_fakesink_class_init),
|
|
(gst_fakesink_render):
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
|
|
* gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
|
|
(gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
|
|
(gst_mmap_buffer_finalize), (gst_filesrc_map_region),
|
|
(gst_filesrc_create_read):
|
|
* gst/elements/gstidentity.c: (gst_identity_class_init):
|
|
* gst/elements/gsttypefindelement.c:
|
|
(gst_type_find_element_src_event), (free_entry_buffers),
|
|
(gst_type_find_element_handle_event):
|
|
* libs/gst/dataprotocol/dataprotocol.c:
|
|
(gst_dp_header_from_buffer):
|
|
* libs/gst/dataprotocol/dataprotocol.h:
|
|
* libs/gst/dataprotocol/dp-private.h:
|
|
|
|
2005-05-15 David Schleef <ds@schleef.org>
|
|
|
|
* gst/elements/gstelements.c: Don't include headers that were
|
|
just removed.
|
|
|
|
2005-05-15 David Schleef <ds@schleef.org>
|
|
|
|
* gst/elements/Makefile.am: Remove some elements that don't
|
|
need to be in the core (or even exist at all).
|
|
* gst/elements/gstaggregator.c:
|
|
* gst/elements/gstaggregator.h:
|
|
* gst/elements/gstmd5sink.c:
|
|
* gst/elements/gstmd5sink.h:
|
|
* gst/elements/gstmultifilesrc.c:
|
|
* gst/elements/gstmultifilesrc.h:
|
|
* gst/elements/gstpipefilter.c:
|
|
* gst/elements/gstpipefilter.h:
|
|
* gst/elements/gstshaper.c:
|
|
* gst/elements/gstshaper.h:
|
|
* gst/elements/gststatistics.c:
|
|
* gst/elements/gststatistics.h:
|
|
* po/POTFILES.in: Remove above files.
|
|
|
|
2005-05-14 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
|
|
so as to get the refs right.
|
|
(sink_iterator_filter): New function, wraps bin_element_is_sink,
|
|
unreffing objects that don't pass the filter.
|
|
|
|
* gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
|
|
gst_element_set_bus.
|
|
(gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
|
|
normal cases, this will destroy the bus.
|
|
|
|
* gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
|
|
object.
|
|
|
|
* gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
|
|
has no sinks.
|
|
|
|
2005-05-13 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstutils.c (gst_element_link_pads): Instead of calling
|
|
gst_pad_link, call pad_link_maybe_ghosting,
|
|
(pad_link_maybe_ghosting): Links pads, making sure that the
|
|
elements being linked are in the same bin.
|
|
(find_common_root, object_has_ancestor, ghost_up, remove_pad):
|
|
Helpers for pad_link_maybe_ghosting.
|
|
|
|
2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* configure.ac:
|
|
Require GLib >= 2.4.0 (for the g_atomic_* funcs)
|
|
|
|
2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/design/part-element-source.txt:
|
|
Mention GstPushSrc
|
|
|
|
2005-05-12 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_init),
|
|
(gst_basesink_activate):
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_unlock),
|
|
(gst_basesrc_is_seekable):
|
|
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
|
|
(bin_element_is_sink), (gst_bin_change_state):
|
|
* gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
|
|
* gst/gstelement.h:
|
|
Identify sinks by their flag to avoid overly complicated
|
|
checks (fow now).
|
|
Do state changes even for elements not reachable from the
|
|
sinks.
|
|
BaseSink is a sink now :)
|
|
Some more debugging info in the basesrc.
|
|
|
|
|
|
2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
|
|
Implement _query on a bin, similar to _send_event.
|
|
|
|
2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
|
|
Discont event offset format should be GST_FORMAT_BYTES,
|
|
not GST_FORMAT_TIME.
|
|
|
|
2005-05-12 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
|
|
Same fix as Ronald's but without the signal.
|
|
|
|
2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstutils.c: (gst_element_query_position):
|
|
No, an element is not a pad.
|
|
|
|
2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
|
|
(gst_bin_get_state):
|
|
If a child is removed from a bin while we remove the child from
|
|
the bin and while we're retrieving its state, signal this to the
|
|
get_state function so we abort the wait (instead of waiting for
|
|
a timeout) and can immediately re-iterate over all other elements.
|
|
|
|
2005-05-12 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/Makefile.am:
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
|
|
(gst_basesrc_start):
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
|
|
(gst_pushsrc_base_init), (gst_pushsrc_class_init),
|
|
(gst_pushsrc_init), (gst_pushsrc_create):
|
|
* gst/base/gstpushsrc.h:
|
|
Added is_seekable to BaseSrc
|
|
Added simple PushSrc.
|
|
|
|
2005-05-11 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
|
|
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
|
|
(gst_element_link_pads), (gst_element_query_position),
|
|
(gst_element_query_convert), (intersect_caps_func),
|
|
(gst_pad_query_position), (gst_pad_query_convert):
|
|
Fix refcounting in utils function.
|
|
No point in trying to activate a pad when it's added, it could
|
|
be added from the state change function and then we deadlock, the
|
|
element has to decide what to do.
|
|
|
|
2005-05-10 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
|
|
*all* the arguments.
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
|
|
stream lock if it's a FLUSH_DONE; normal flushes don't get the
|
|
lock (according to the docs -- if this is wrong change the docs).
|
|
|
|
* gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
|
|
flush messages in the NULL state.
|
|
|
|
* gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
|
|
message immediately and return.
|
|
(gst_bus_set_flushing): New function. If a bus is flushing, it
|
|
flushes out any queued messages and immediately unrefs new
|
|
messages. This is so when an element goes to NULL, all of the
|
|
unhandled messages coming from it can be freed, and their
|
|
references to the element dropped. In other words: message source
|
|
ref considered harmful :P
|
|
|
|
* gst/gstbin.c (gst_bin_change_state): Unref peer element when
|
|
we're finished with it.
|
|
|
|
* gst/gstmessage.c (gst_message_new_state_changed):
|
|
|
|
2005-05-10 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstvalue.c: (gst_value_compare_flags),
|
|
(gst_value_serialize_flags), (gst_value_deserialize_flags),
|
|
(_gst_value_initialize):
|
|
Added flags serialize/deserialize/compare code.
|
|
|
|
2005-05-09 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
|
|
Intersect the peer's caps with our caps.
|
|
|
|
2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/base/gsttypefindhelper.c: (helper_find_peek):
|
|
* gst/elements/gsttypefindelement.c: (find_peek):
|
|
Handle negative offsets better. Fixes decodebin.
|
|
|
|
2005-05-09 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
|
|
(gst_base_transform_event):
|
|
* gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
|
|
Implement accept_caps.
|
|
Fix silly lock/unlock mismatch in base class.
|
|
|
|
2005-05-09 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/draft-push-pull.txt:
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
|
|
* gst/elements/gstfilesink.c: (gst_filesink_init),
|
|
(gst_filesink_query):
|
|
* gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
|
|
(gst_type_find_handle_src_query), (find_element_get_length):
|
|
* gst/gstelement.c: (gst_element_seek), (gst_element_query):
|
|
* gst/gstelement.h:
|
|
* gst/gstmessage.c:
|
|
* gst/gstmessage.h:
|
|
* gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
|
|
(gst_real_pad_get_caps_unlocked),
|
|
(gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
|
|
(gst_pad_event_default_dispatch), (gst_pad_event_default),
|
|
(gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
|
|
(gst_real_pad_dispose), (gst_real_pad_finalize),
|
|
(gst_pad_load_and_link), (gst_pad_save_thyself),
|
|
(gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
|
|
(gst_pad_check_pull_range), (gst_pad_pull_range),
|
|
(gst_pad_template_get_type), (gst_pad_template_class_init),
|
|
(gst_pad_template_init), (gst_pad_template_dispose),
|
|
(name_is_valid), (gst_static_pad_template_get),
|
|
(gst_pad_template_new), (gst_static_pad_template_get_caps),
|
|
(gst_pad_template_get_caps), (gst_pad_set_element_private),
|
|
(gst_pad_get_element_private), (gst_pad_start_task),
|
|
(gst_pad_pause_task), (gst_pad_stop_task),
|
|
(gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
|
|
(gst_ghost_pad_init), (gst_ghost_pad_dispose),
|
|
(gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
|
|
(gst_ghost_pad_new):
|
|
* gst/gstpad.h:
|
|
* gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
|
|
(gst_query_new_position), (gst_query_set_position),
|
|
(gst_query_parse_position), (gst_query_new_convert),
|
|
(gst_query_set_convert), (gst_query_parse_convert):
|
|
* gst/gstquery.h:
|
|
* gst/gstqueryutils.c:
|
|
* gst/gstqueryutils.h:
|
|
* gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
|
|
(gst_queue_bufferalloc), (gst_queue_handle_sink_event),
|
|
(gst_queue_handle_src_query):
|
|
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
|
|
(gst_element_query_position), (gst_element_query_convert),
|
|
(intersect_caps_func), (gst_pad_query_position),
|
|
(gst_pad_query_convert):
|
|
* gst/gstutils.h:
|
|
* tools/gst-inspect.c: (print_pad_info):
|
|
* tools/gst-xmlinspect.c: (print_element_info):
|
|
Remove old query functions. Ported old code.
|
|
Added position/convert helper functions to gstutils.
|
|
Reordered gstpad.c code, grouping relevant things.
|
|
Remove gst_message_new(), always need to speficy a specific
|
|
message.
|
|
|
|
|
|
2005-05-09 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstiterator.h: Add some includes.
|
|
|
|
* gst/gstqueryutils.h: Include more headers.
|
|
|
|
* gst/gstpad.h:
|
|
* gst/gstpad.c (gst_pad_query_position): New routine, replaces
|
|
some uses of gst_pad_query.
|
|
|
|
* gst/gstqueryutils.c: Build fixes. Make parse functions ignore
|
|
NULL out parameters.
|
|
(gst_query_new_position): New proc, allocates a new position
|
|
query.
|
|
|
|
* gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
|
|
gstqueryutils.c to the build.
|
|
|
|
* gst/gststructure.c (gst_structure_set_valist): Implement with
|
|
the generic G_VALUE_COLLECT.
|
|
|
|
2005-05-08 Edward Hervey <bilboed@bilboed.com>
|
|
|
|
* gst/Makefile.am: (gst_headers):
|
|
Added gstqueryutils.h to the list of headers to install, that was
|
|
a 'nachty' move wingo :)
|
|
|
|
2005-05-06 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstquery.h
|
|
* gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
|
|
GstData, init a memchunk.
|
|
(standard_definitions): Add a few query types, deprecate a few.
|
|
(gst_query_get_type): New proc.
|
|
(_gst_query_copy, _gst_query_free, gst_query_new): GstData
|
|
implementation.
|
|
(gst_query_new_application, gst_query_get_structure): New public
|
|
procs.
|
|
|
|
* docs/design/draft-query.txt: Removed LINKS from the query types,
|
|
because all the rest can be dispatched to other pads -- seemed
|
|
ugly to have a query that couldn't be dispatched. internal_links
|
|
is fine as a pad method.
|
|
|
|
* gst/gstpad.h: Add query2 as a pad method, add the new functions
|
|
in gstpad.c, but maintain binary compatibility for the moment.
|
|
Will fix before 0.9 is out.
|
|
|
|
* gst/gstqueryutils.c:
|
|
* gst/gstqueryutils.h: New files, implement 3 methods for each
|
|
query type: parse_query, parse_response, and set. Probably need an
|
|
allocator as well.
|
|
|
|
* gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
|
|
|
|
* gst/elements/gstfilesink.c (gst_filesink_query2):
|
|
* gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
|
|
query_types, and formats methods.
|
|
|
|
* gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
|
|
(gst_pad_set_query2_function): New functions.
|
|
(gst_real_pad_init): Set query2_default as the default query2
|
|
function. Basically just dispatches to internally linked pads.
|
|
|
|
Needs review!
|
|
|
|
* gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
|
|
without using the atomic operations. Only one thread can possibly
|
|
be accessing the data at this point. Changed so as to avoid
|
|
gst_atomic operations.
|
|
|
|
2005-05-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
|
|
Also set caps if we use the fallback buffer alloc.
|
|
|
|
2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
|
|
|
|
* docs/gst/Makefile.am:
|
|
* docs/gst/gstreamer-docs.sgml:
|
|
* docs/gst/gstreamer-sections.txt:
|
|
* docs/gst/tmpl/gstatomic.sgml:
|
|
* docs/gst/tmpl/gstmemchunk.sgml:
|
|
* testsuite/elements/struct_i386.h:
|
|
* win32/GStreamer.vcproj:
|
|
* win32/Makefile:
|
|
Purge GstAtomic stuff from docs and win32 makefiles as well
|
|
|
|
2005-05-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
|
|
* gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
|
|
* gst/gstpad.c: (gst_pad_peer_get_caps):
|
|
* gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
|
|
(gst_queue_bufferalloc), (gst_queue_handle_sink_event),
|
|
(gst_queue_src_activate), (gst_queue_change_state):
|
|
* gst/gstqueue.h:
|
|
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
|
|
(intersect_caps_func):
|
|
Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
|
|
Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
|
|
Some fixes for the peer_get_caps() change.
|
|
|
|
2005-05-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
|
|
(gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
|
|
(gst_basesink_activate):
|
|
Actually do something with error codes returned from the push
|
|
functions.
|
|
|
|
2005-05-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-element-sink.txt:
|
|
* docs/design/part-element-source.txt:
|
|
* gst/base/gstbasesink.c: (gst_basesink_class_init),
|
|
(gst_basesink_event), (gst_basesink_activate):
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
|
|
(gst_basesrc_activate):
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/gstelement.c: (gst_element_pads_activate):
|
|
Some more documentation.
|
|
Fixed scheduling decision in _pads_activate().
|
|
|
|
2005-05-05 Andy Wingo <wingo@pobox.com>
|
|
|
|
* check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
|
|
the test suite.
|
|
|
|
2005-05-05 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/Makefile.am:
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_init),
|
|
(gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
|
|
* gst/base/gstcollectpads.c: (gst_collectpads_get_type),
|
|
(gst_collectpads_class_init), (gst_collectpads_init),
|
|
(gst_collectpads_finalize), (gst_collectpads_new),
|
|
(gst_collectpads_set_function), (gst_collectpads_add_pad),
|
|
(find_pad), (gst_collectpads_remove_pad),
|
|
(gst_collectpads_is_active), (gst_collectpads_collect),
|
|
(gst_collectpads_collect_range), (gst_collectpads_start),
|
|
(gst_collectpads_stop), (gst_collectpads_peek),
|
|
(gst_collectpads_pop), (gst_collectpads_available),
|
|
(gst_collectpads_read), (gst_collectpads_flush),
|
|
(gst_collectpads_chain):
|
|
* gst/base/gstcollectpads.h:
|
|
* gst/elements/Makefile.am:
|
|
* gst/elements/gstelements.c:
|
|
* gst/elements/gstfakesink.c: (gst_fakesink_class_init),
|
|
(gst_fakesink_get_times), (gst_fakesink_event),
|
|
(gst_fakesink_preroll), (gst_fakesink_render):
|
|
* gst/elements/gstfilesink.c: (gst_filesink_class_init),
|
|
(gst_filesink_init), (gst_filesink_set_location),
|
|
(gst_filesink_open_file), (gst_filesink_close_file),
|
|
(gst_filesink_pad_query), (gst_filesink_event),
|
|
(gst_filesink_render), (gst_filesink_change_state):
|
|
* gst/elements/gstfilesink.h:
|
|
Added object to help in making collect pad based elements.
|
|
Ported filesink.
|
|
Make event function in sink baseclass return gboolean.
|
|
|
|
2005-05-05 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbin.c: (gst_bin_send_event), (compare_name),
|
|
(gst_bin_get_by_name):
|
|
* gst/gstbuffer.h:
|
|
* gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
|
|
(gst_clock_finalize):
|
|
* gst/gstdata.c: (gst_data_replace):
|
|
* gst/gstdata.h:
|
|
* gst/gstelement.c: (gst_element_request_pad),
|
|
(gst_element_pads_activate):
|
|
* gst/gstobject.c: (gst_object_init), (gst_object_ref),
|
|
(gst_object_unref):
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
|
|
(gst_pad_set_checkgetrange_function),
|
|
(gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
|
|
(gst_pad_check_pull_range), (gst_pad_pull_range),
|
|
(gst_static_pad_template_get_caps), (gst_pad_start_task),
|
|
(gst_pad_pause_task), (gst_pad_stop_task):
|
|
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
|
|
(gst_element_request_pad), (gst_pad_proxy_getcaps):
|
|
Fix name lookup in GstBin.
|
|
Added _data_replace() function and _buffer_replace()
|
|
Use finalize method to clean up clock.
|
|
Fix refcounting on request pads.
|
|
Fix pad schedule mode error.
|
|
Some more object refcounting debug info,
|
|
|
|
|
|
2005-05-04 Andy Wingo <wingo@pobox.com>
|
|
|
|
* check/Makefile.am:
|
|
* docs/gst/tmpl/gstatomic.sgml:
|
|
* docs/gst/tmpl/gstplugin.sgml:
|
|
* gst/base/gstbasesink.c: (gst_basesink_activate):
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_class_init),
|
|
(gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
|
|
(gst_basesrc_query), (gst_basesrc_set_property),
|
|
(gst_basesrc_get_property), (gst_basesrc_check_get_range),
|
|
(gst_basesrc_activate):
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
|
|
(gst_base_transform_src_activate):
|
|
* gst/elements/gstelements.c:
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
|
|
(gst_fakesrc_set_property), (gst_fakesrc_get_property):
|
|
* gst/elements/gsttee.c: (gst_tee_sink_activate):
|
|
* gst/elements/gsttypefindelement.c: (find_element_get_length),
|
|
(gst_type_find_element_checkgetrange),
|
|
(gst_type_find_element_activate):
|
|
* gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
|
|
* gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
|
|
(gst_caps_load_thyself):
|
|
* gst/gstelement.c: (gst_element_pads_activate),
|
|
(gst_element_save_thyself), (gst_element_restore_thyself):
|
|
* gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
|
|
(gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
|
|
* gst/gstpad.h:
|
|
* gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
|
|
(gst_xml_parse_file), (gst_xml_parse_memory),
|
|
(gst_xml_get_element), (gst_xml_make_element):
|
|
* gst/indexers/gstfileindex.c: (gst_file_index_load),
|
|
(_file_index_id_save_xml), (gst_file_index_commit):
|
|
* gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
|
|
(read_enum), (load_pad_template), (load_feature), (load_plugin),
|
|
(load_paths):
|
|
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
|
|
(gst_dp_packet_from_event), (gst_dp_caps_from_packet):
|
|
* tools/gst-complete.c: (main):
|
|
* tools/gst-compprep.c: (main):
|
|
* tools/gst-inspect.c: (print_element_properties_info):
|
|
* tools/gst-launch.c: (xmllaunch_parse_cmdline):
|
|
* tools/gst-xmlinspect.c: (print_element_properties):
|
|
GCC 4 fixen.
|
|
|
|
2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/gstplugin.c: (gst_plugin_check_module),
|
|
(gst_plugin_check_file), (gst_plugin_load_file):
|
|
apply patch from #172526 to make register work on MacOSX
|
|
|
|
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/gst/tmpl/gstconfig.sgml:
|
|
* gst/gstconfig.h.in:
|
|
move documentation for some symbols. Add doc for GST_PTR_FORMAT
|
|
* testsuite/debug/printf_extension.c: (main):
|
|
Do not use GST_PTR_FORMAT on pointers to types with
|
|
sizeof < sizeof(gpointer). Fixes test on 64-bit
|
|
* testsuite/elements/property.h:
|
|
use correct printf format
|
|
|
|
2005-05-02 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/draft-push-pull.txt:
|
|
* docs/design/draft-query.txt:
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
|
|
(gst_basesrc_start):
|
|
Added draft for new query API.
|
|
Added draft for better selecting scheduling methods.
|
|
Make basesrc ignore length if the subclass does not support
|
|
it.
|
|
|
|
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/Makefile.am:
|
|
possible fixes for automake-1.5 - _LIBADD is reserved
|
|
|
|
2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/faq/Makefile.am:
|
|
* docs/manual/Makefile.am:
|
|
* docs/manuals.mak:
|
|
* docs/pwg/Makefile.am:
|
|
* gst/Makefile.am:
|
|
possible fixes for automake-1.5
|
|
|
|
2005-04-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_base_init),
|
|
(gst_basesink_pad_getcaps), (gst_basesink_init),
|
|
(gst_basesink_do_sync):
|
|
* gst/gstclock.c: (gst_clock_entry_new):
|
|
* gst/gstevent.c: (gst_event_discont_get_value):
|
|
* gst/gstpipeline.c: (pipeline_bus_handler),
|
|
(gst_pipeline_change_state):
|
|
* gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
|
|
Better debugging of clocking info.
|
|
Allow NULL values when getting discont values.
|
|
|
|
2005-04-27 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstobject.c: (START_TEST), (gst_object_suite):
|
|
* check/gst/gstpad.c: (gst_pad_suite):
|
|
Increase timeout for checks.
|
|
|
|
2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
|
|
|
|
* check/Makefile.am:
|
|
fix the broken rule for cleanup. Apparently this rule is
|
|
only needed on FC2, so maybe this warrants further autotool
|
|
inspection.
|
|
|
|
2005-04-26 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gsttrashstack.h:
|
|
Ooohh. a nasty one! After having a failed pop() from the stack,
|
|
it's possible that the stack is empty. In that case, don't
|
|
follow the NULL pointer.
|
|
|
|
2005-04-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
|
|
(gst_pad_set_checkgetrange_function),
|
|
(gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
|
|
(gst_pad_check_pull_range), (gst_pad_pull_range),
|
|
(gst_static_pad_template_get_caps), (gst_pad_start_task),
|
|
(gst_pad_pause_task), (gst_pad_stop_task):
|
|
* gst/gstplugin.c: (gst_plugin_load):
|
|
* gst/gstplugin.h:
|
|
Remove gst_library_load as it does more harm than good with
|
|
the new g_module flags.
|
|
Revert bogus caps template check in pad linking, pad caps
|
|
are important when linking not the template, which is more
|
|
general than the current caps.
|
|
|
|
2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/autoplug/.cvsignore:
|
|
* gst/autoplug/Makefile.am:
|
|
* gst/autoplug/gstsearchfuncs.c:
|
|
* gst/autoplug/gstsearchfuncs.h:
|
|
* gst/autoplug/gstspider.c:
|
|
* gst/autoplug/gstspider.h:
|
|
* gst/autoplug/gstspideridentity.c:
|
|
* gst/autoplug/gstspideridentity.h:
|
|
* gst/autoplug/spidertest.c:
|
|
Die, spider, die.
|
|
|
|
2005-04-25 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
|
|
(gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
|
|
(gst_pad_pull_range), (gst_static_pad_template_get_caps),
|
|
(gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
|
|
* gst/gstpad.h:
|
|
Added stubs for unimplemented functions.
|
|
|
|
2005-04-24 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstpad.h: Disable some unimplemented functions. Wim,
|
|
please fix.
|
|
|
|
2005-04-24 David Schleef <ds@schleef.org>
|
|
|
|
Convert everything from GstAtomicInt to g_atomic_int_*, and
|
|
remove gstatomic.
|
|
* gst/Makefile.am:
|
|
* gst/gstatomic.c:
|
|
* gst/gstatomic.h:
|
|
* gst/gstatomic_impl.h:
|
|
* gst/gstbuffer.c:
|
|
* gst/gstcaps.c:
|
|
* gst/gstcaps.h:
|
|
* gst/gstclock.c:
|
|
* gst/gstclock.h:
|
|
* gst/gstdata.c:
|
|
* gst/gstdata.h:
|
|
* gst/gstdata_private.h:
|
|
* gst/gstevent.c:
|
|
* gst/gstinfo.c:
|
|
* gst/gstinfo.h:
|
|
* gst/gstmessage.c:
|
|
* gst/gstobject.c:
|
|
* gst/gstobject.h:
|
|
* gst/gststructure.c:
|
|
* gst/gststructure.h:
|
|
* gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
|
|
* gst/gstutils.h:
|
|
|
|
2005-04-24 David Schleef <ds@schleef.org>
|
|
|
|
* check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
|
|
make the regressions tests work. Remove some code that is no
|
|
longer true.
|
|
* gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
|
|
Disable warning for pads without templates.
|
|
|
|
2005-04-24 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstpad.c: Remove handling of filtered caps. Fix/merge
|
|
functions that handle filtered links.
|
|
* gst/gstpad.h: Remove 'appfilter' field and prototypes of
|
|
removed functions.
|
|
* gst/gstutils.c: Fix/remove utility functions that handle
|
|
filtered caps.
|
|
* gst/gstutils.h:
|
|
* gst/gstvalue.c: Add serialization/deserialization of caps
|
|
* gst/parse/grammar.y: Ignore filtered caps when linking. This
|
|
requires fixing so that the filter caps notation creates
|
|
a capsfilter element and sets the filter_caps property. I
|
|
think everyone probably wants to keep the shorthand notation.
|
|
* docs/gst/tmpl/gstelement.sgml: updates for API changes.
|
|
* docs/gst/tmpl/gstpad.sgml:
|
|
|
|
* gst/elements/gstelements.c: Register capsfilter element.
|
|
* gst/Makefile.am: fix spacing
|
|
* docs/random/ds/0.9-suggested-changes: random
|
|
|
|
2005-04-23 David Schleef <ds@schleef.org>
|
|
|
|
* gst/elements/Makefile.am:
|
|
* gst/elements/gstcapsfilter.c: New element that acts like an
|
|
identity, but filters caps. Will eventually replace filtered
|
|
caps in pad linking.
|
|
* gst/gstutils.c: (gst_element_create_all_pads): New function
|
|
to create all the ALWAYS pads that are registered with an
|
|
element class. This functionality should eventually be
|
|
merged in with GstElement initialization.
|
|
* gst/gstutils.h:
|
|
* testsuite/trigger/README: part of trigger test code that should
|
|
have been checked in a long time ago.
|
|
|
|
2005-04-23 David Schleef <ds@schleef.org>
|
|
|
|
* gst/Makefile.am: Remove as-libtool stuff. It's likely not
|
|
needed with new versions of libtool (nobody will confirm this),
|
|
and hard to carry around.
|
|
* gst/autoplug/Makefile.am:
|
|
* gst/base/Makefile.am:
|
|
* gst/elements/Makefile.am:
|
|
* gst/indexers/Makefile.am:
|
|
* gst/schedulers/Makefile.am:
|
|
* libs/gst/bytestream/Makefile.am:
|
|
* libs/gst/control/Makefile.am:
|
|
* libs/gst/dataprotocol/Makefile.am:
|
|
* libs/gst/getbits/Makefile.am:
|
|
|
|
2005-04-21 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/draft-push-pull.txt:
|
|
* docs/design/part-MT-refcounting.txt:
|
|
* docs/design/part-TODO.txt:
|
|
* docs/design/part-caps.txt:
|
|
* docs/design/part-events.txt:
|
|
* docs/design/part-gstbus.txt:
|
|
* docs/design/part-gstpipeline.txt:
|
|
* docs/design/part-messages.txt:
|
|
* docs/design/part-push-pull.txt:
|
|
* docs/design/part-query.txt:
|
|
Some more docs.
|
|
|
|
2005-04-21 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
|
|
(gst_message_new), (gst_message_new_error),
|
|
(gst_message_new_warning), (gst_message_new_tag),
|
|
(gst_message_new_state_changed), (gst_message_new_application),
|
|
(gst_message_get_structure):
|
|
* gst/gstmessage.h:
|
|
* gst/gststructure.c: (gst_structure_set_parent_refcount),
|
|
(gst_structure_copy_conditional):
|
|
Use parent refcount in GstMessage to ensure GstStructure
|
|
consistency.
|
|
Cleaned up headers a bit.
|
|
|
|
|
|
2005-04-20 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasesink.c: (gst_basesink_base_init),
|
|
(gst_basesink_pad_getcaps), (gst_basesink_init),
|
|
(gst_basesink_chain_unlocked):
|
|
* gst/base/gsttypefindhelper.c: (helper_find_suggest),
|
|
(gst_type_find_helper):
|
|
* gst/elements/gsttypefindelement.c:
|
|
(gst_type_find_element_have_type), (gst_type_find_element_init),
|
|
(stop_typefinding), (gst_type_find_element_handle_event),
|
|
(find_suggest), (gst_type_find_element_chain),
|
|
(gst_type_find_element_checkgetrange),
|
|
(gst_type_find_element_getrange), (do_typefind),
|
|
(gst_type_find_element_activate):
|
|
* gst/gstbuffer.c: (_gst_buffer_sub_free),
|
|
(gst_buffer_default_free), (gst_buffer_default_copy),
|
|
(gst_buffer_set_caps):
|
|
* gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
|
|
(gst_caps_replace):
|
|
* gst/gstmessage.c: (gst_message_new),
|
|
(gst_message_new_state_changed):
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
|
|
(gst_pad_set_checkgetrange_function),
|
|
(gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
|
|
(gst_pad_set_caps), (gst_pad_check_pull_range),
|
|
(gst_pad_pull_range), (gst_static_pad_template_get_caps):
|
|
* gst/gstpad.h:
|
|
* gst/gsttypefind.c: (gst_type_find_register):
|
|
Make gst_caps_replace() work like other _replace() functions.
|
|
Use _caps_replace() where possible.
|
|
Make sure _message_new() initialises its field.
|
|
Add gst_static_pad_template_get_caps()
|
|
|
|
|
|
2005-04-18 Andy Wingo <wingo@pobox.com>
|
|
|
|
* gst/gstelement.c (gst_element_pads_activate): Check pull_range
|
|
on the peer, not the pad. I think that was a typo. Pass an extra
|
|
arg to see if random access is possible. Activate the pads as
|
|
PULL_RANGE if possible.
|
|
|
|
* gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
|
|
|
|
* gst/base/gstbasesrc.c (gst_basesrc_set_property)
|
|
(gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
|
|
to PROP_....
|
|
|
|
2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/faq/using.xml:
|
|
Add note on gstreamer-properties (#154996).
|
|
|
|
2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/random/bbb/optional-properties:
|
|
Some analysis on optional properties.
|
|
|
|
2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* docs/gst/tmpl/gstelementfactory.sgml:
|
|
* gst/gstelement.h:
|
|
* gst/gstelementfactory.c: (gst_element_factory_init),
|
|
(gst_element_factory_cleanup), (gst_element_register),
|
|
(__gst_element_factory_add_static_pad_template),
|
|
(gst_element_factory_get_static_pad_templates),
|
|
(gst_element_factory_can_src_caps),
|
|
(gst_element_factory_can_sink_caps):
|
|
* gst/registries/Makefile.am:
|
|
* gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
|
|
(gst_xml_registry_class_init), (gst_xml_registry_init),
|
|
(gst_xml_registry_new), (gst_xml_registry_set_property),
|
|
(gst_xml_registry_get_property), (get_time), (make_dir),
|
|
(gst_xml_registry_get_perms_func),
|
|
(plugin_times_older_than_recurse), (plugin_times_older_than),
|
|
(gst_xml_registry_open_func), (gst_xml_registry_load_func),
|
|
(gst_xml_registry_save_func), (gst_xml_registry_close_func),
|
|
(add_to_char_array), (read_string), (read_uint), (read_enum),
|
|
(load_pad_template), (load_feature), (load_plugin), (load_paths),
|
|
(gst_xml_registry_load), (gst_xml_registry_load_plugin),
|
|
(gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
|
|
(gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
|
|
(gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
|
|
(gst_xml_registry_rebuild):
|
|
* gst/registries/gstlibxmlregistry.h:
|
|
* tools/gst-compprep.c: (main):
|
|
* tools/gst-inspect.c: (print_pad_templates_info):
|
|
* tools/gst-xmlinspect.c: (print_element_info):
|
|
Use libxml2 for registry parsing, use staticpadtemplates in
|
|
elementfactories. Makes gst_init() +/- 10x faster.
|
|
|
|
2005-04-12 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/Makefile.am:
|
|
* gst/base/gstbasesink.c: (gst_basesink_base_init),
|
|
(gst_basesink_pad_getcaps), (gst_basesink_init),
|
|
(gst_basesink_event), (gst_basesink_change_state):
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_get_type),
|
|
(gst_basesrc_init), (gst_basesrc_query),
|
|
(gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
|
|
(gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
|
|
(gst_basesrc_check_get_range), (gst_basesrc_loop),
|
|
(gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
|
|
(gst_basesrc_stop), (gst_basesrc_activate),
|
|
(gst_basesrc_change_state):
|
|
* gst/base/gsttypefindhelper.c: (helper_find_peek),
|
|
(helper_find_suggest), (gst_type_find_helper):
|
|
* gst/base/gsttypefindhelper.h:
|
|
* gst/elements/Makefile.am:
|
|
* gst/elements/gstelements.c:
|
|
* gst/elements/gstfakesink.c: (gst_fakesink_class_init),
|
|
(gst_fakesink_get_times), (gst_fakesink_event),
|
|
(gst_fakesink_preroll), (gst_fakesink_render):
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
|
|
(gst_fakesrc_init), (gst_fakesrc_event_handler),
|
|
(gst_fakesrc_get_property), (gst_fakesrc_create),
|
|
(gst_fakesrc_start), (gst_fakesrc_stop):
|
|
* gst/elements/gstfakesrc.h:
|
|
* gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
|
|
(gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
|
|
(gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
|
|
(gst_filesrc_create_read), (gst_filesrc_create),
|
|
(gst_filesrc_is_seekable), (gst_filesrc_get_size),
|
|
(gst_filesrc_start):
|
|
* gst/elements/gsttypefindelement.c:
|
|
(gst_type_find_element_have_type), (gst_type_find_element_init),
|
|
(start_typefinding), (stop_typefinding), (push_buffer_store),
|
|
(gst_type_find_element_handle_event),
|
|
(gst_type_find_element_chain),
|
|
(gst_type_find_element_checkgetrange),
|
|
(gst_type_find_element_getrange), (do_typefind),
|
|
(gst_type_find_element_activate),
|
|
(gst_type_find_element_change_state):
|
|
* gst/elements/gsttypefindelement.h:
|
|
* gst/gstpipeline.c: (pipeline_bus_handler):
|
|
Added typefind helper.
|
|
Small preroll fix in the base sink.
|
|
Disable typefind code in basesrc.
|
|
Crude port of typefindelement.
|
|
Fakesrc cleanups.
|
|
|
|
|
|
2005-04-11 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstbus.c: (gstbus_suite):
|
|
* check/gst/gstdata.c: (thread_ref), (gst_data_suite):
|
|
* check/gstcheck.h:
|
|
Fix up the timeout so that the test does not fail.
|
|
|
|
2005-04-06 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/README:
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_get_type),
|
|
(gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
|
|
(gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
|
|
(gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
|
|
(gst_basesrc_check_get_range), (gst_basesrc_loop),
|
|
(gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
|
|
(gst_basesrc_stop), (gst_basesrc_activate),
|
|
(gst_basesrc_change_state), (basesrc_find_peek),
|
|
(basesrc_find_suggest), (gst_basesrc_type_find):
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
|
|
(gst_filesrc_class_init), (gst_filesrc_init),
|
|
(gst_filesrc_finalize), (gst_filesrc_set_location),
|
|
(gst_filesrc_set_property), (gst_filesrc_get_property),
|
|
(gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
|
|
(gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
|
|
(gst_filesrc_create_read), (gst_filesrc_create),
|
|
(gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
|
|
* gst/elements/gstfilesrc.h:
|
|
* gst/gstelement.c: (gst_element_get_state_func),
|
|
(gst_element_lost_state), (gst_element_pads_activate):
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
|
|
(gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
|
|
(gst_pad_pull_range):
|
|
* gst/gstpad.h:
|
|
More work on the generic source base class, implement seeking,
|
|
query.
|
|
Make filesrc extend the base source class.
|
|
Added gst_pad_set_checkgetrange_function to GstPad.
|
|
|
|
2005-04-06 Andy Wingo <wingo@pobox.com>
|
|
|
|
* pkgconfig/gstreamer-base.pc.in:
|
|
* pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
|
|
|
|
* pkgconfig/Makefile.am:
|
|
* configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
|
|
|
|
2005-04-04 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/Makefile.am:
|
|
* gst/base/README:
|
|
* gst/base/gstbasesink.c: (gst_basesink_base_init),
|
|
(gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
|
|
(gst_basesink_pad_buffer_alloc), (gst_basesink_init),
|
|
(gst_basesink_do_sync), (gst_basesink_chain_unlocked):
|
|
* gst/base/gstbasesrc.c: (gst_basesrc_get_type),
|
|
(gst_basesrc_base_init), (gst_basesrc_class_init),
|
|
(gst_basesrc_init), (gst_basesrc_get_formats),
|
|
(gst_basesrc_get_query_types), (gst_basesrc_query),
|
|
(gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
|
|
(gst_basesrc_set_property), (gst_basesrc_get_property),
|
|
(gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
|
|
(gst_basesrc_loop), (gst_basesrc_activate),
|
|
(gst_basesrc_change_state):
|
|
* gst/base/gstbasesrc.h:
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
|
|
(gst_fakesrc_class_init), (gst_fakesrc_init),
|
|
(gst_fakesrc_event_handler), (gst_fakesrc_set_property),
|
|
(gst_fakesrc_get_property), (gst_fakesrc_create):
|
|
* gst/elements/gstfakesrc.h:
|
|
* gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
|
|
(gst_filesrc_open_file), (gst_filesrc_loop),
|
|
(gst_filesrc_activate), (filesrc_find_peek),
|
|
(gst_filesrc_type_find):
|
|
Made base source class, make fakesrc extend it.
|
|
Add comments to basesink class.
|
|
Some filesrc cleanup.
|
|
|
|
2005-03-31 David Schleef <ds@schleef.org>
|
|
|
|
* gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
|
|
Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
|
|
expected to link against libgstreamer.
|
|
* gst/base/Makefile.am: link against libgstreamer
|
|
* gst/elements/Makefile.am: same
|
|
|
|
2005-03-31 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tests/instantiate/Makefile.am:
|
|
* tests/instantiate/caps.c: Add test to test speed of caps copy
|
|
and free.
|
|
|
|
* tests/memchunk/gmemchunktest.c (main): Use alloc only on the
|
|
GMemChunk to be fair.
|
|
|
|
* gst/gsttrashstack.h: Remove warning about using the fallback
|
|
trash stack implementation, it's still faster than malloc.
|
|
|
|
2005-03-30 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tests/complexity.c: Add a copyright.
|
|
|
|
2005-03-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_base_init),
|
|
(gst_base_transform_class_init), (gst_base_transform_init),
|
|
(gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
|
|
(gst_base_transform_get_property),
|
|
(gst_base_transform_sink_activate),
|
|
(gst_base_transform_src_activate),
|
|
(gst_base_transform_change_state):
|
|
* gst/base/gstbasetransform.h:
|
|
* gst/elements/gstidentity.c: (gst_identity_class_init),
|
|
(gst_identity_event), (gst_identity_check_perfect),
|
|
(gst_identity_transform), (gst_identity_start),
|
|
(gst_identity_stop):
|
|
Added start/stop methods to transform base class so subclasses
|
|
don't need to deal with state changes even.
|
|
|
|
2005-03-31 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstevent.c: (gst_event_new_discontinuous_valist),
|
|
(gst_event_new_discontinuous), (gst_event_discont_get_value):
|
|
* gst/gstevent.h:
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
|
|
(gst_pad_pull_range):
|
|
Added rate to the discont event to prepare for variable speed
|
|
and reverse playback.
|
|
|
|
2005-03-29 David Schleef <ds@schleef.org>
|
|
|
|
* configure.ac:
|
|
* testsuite/trigger/Makefile.am:
|
|
* testsuite/trigger/trigger.c: A little example program to show
|
|
how trigger-based elements can work.
|
|
|
|
2005-03-29 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/base/Makefile.am:
|
|
* gst/base/README:
|
|
* gst/base/gstbasesink.c: (gst_basesink_get_type),
|
|
(gst_basesink_base_init), (gst_basesink_class_init),
|
|
(gst_basesink_pad_getcaps), (gst_basesink_init),
|
|
(gst_basesink_activate), (gst_basesink_change_state):
|
|
* gst/base/gstbasesink.h:
|
|
* gst/base/gstbasetransform.c: (gst_base_transform_get_type),
|
|
(gst_base_transform_base_init), (gst_base_transform_finalize),
|
|
(gst_base_transform_class_init), (gst_base_transform_init),
|
|
(gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
|
|
(gst_base_transform_event), (gst_base_transform_getrange),
|
|
(gst_base_transform_chain), (gst_base_transform_handle_buffer),
|
|
(gst_base_transform_set_property),
|
|
(gst_base_transform_get_property),
|
|
(gst_base_transform_sink_activate),
|
|
(gst_base_transform_src_activate),
|
|
(gst_base_transform_change_state):
|
|
* gst/base/gstbasetransform.h:
|
|
* gst/elements/gstidentity.c: (gst_identity_finalize),
|
|
(gst_identity_class_init), (gst_identity_init),
|
|
(gst_identity_event), (gst_identity_check_perfect),
|
|
(gst_identity_transform), (gst_identity_set_property),
|
|
(gst_identity_get_property), (gst_identity_change_state):
|
|
* gst/elements/gstidentity.h:
|
|
* gst/gstelement.c: (gst_element_get_state_func),
|
|
(gst_element_lost_state), (gst_element_pads_activate):
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
|
|
(gst_pad_check_pull_range), (gst_pad_pull_range):
|
|
* gst/gstpad.h:
|
|
Simplify pad activation.
|
|
Added function to check if pull_range can be performed.
|
|
Error out when pulling inactive or flushing pads.
|
|
Removed const from refcounted types as it does not make sense.
|
|
Simplify pad templates in basesink
|
|
Added base class for simple 1-to-1 transforms.
|
|
Make identity subclass the base transform.
|
|
|
|
2005-03-29 Andy Wingo <wingo@pobox.com>
|
|
|
|
* docs/libs/gstreamer-libs-overrides.txt:
|
|
* docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
|
|
really don't understand what's going on, but like whatever. I want
|
|
green buildbot!
|
|
|
|
* docs/gst/Makefile.am:
|
|
* docs/libs/Makefile.am: Dist the overrides files.
|
|
|
|
* check/Makefile.am (clean-local): Remove .libs directories.
|
|
|
|
* gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
|
|
elements to EXTRA_DIST, so po/ files are happy.
|
|
|
|
* po/POTFILES.in: Er, remove it here.
|
|
|
|
* po/POTFILES: Remove gstspider.c.
|
|
|
|
* configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
|
|
|
|
* docs/libs/gstreamer-libs-docs.sgml:
|
|
* docs/libs/gstreamer-libs-sections.txt: Remove the section on
|
|
bytestream.
|
|
|
|
* tests/complexity.c (main): Set the length of the preroll queue
|
|
on the sinks to prevent a lockup.
|
|
|
|
* libs/gst/dataprotocol/Makefile.am:
|
|
* libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
|
|
the same as the one in check/gst-libs/gdp.c.
|
|
|
|
* po/, docs/gst/: Commit automatic changes to docs and po files.
|
|
|
|
* gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
|
|
the versioned libgstbase.
|
|
|
|
* check/Makefile.am: Depend on an unversioned gst-register, seems
|
|
to make autoconf happier.
|
|
|
|
* gst/base/Makefile.am: Make libgstbase a versioned lib.
|
|
|
|
2005-03-28 Wim Taymans <wim@fluendo.com>
|
|
|
|
* configure.ac:
|
|
* docs/design/part-gstelement.txt:
|
|
* docs/design/part-negotiation.txt:
|
|
* docs/design/part-preroll.txt:
|
|
* docs/design/part-scheduling.txt:
|
|
* docs/design/part-states.txt:
|
|
* gst/Makefile.am:
|
|
* gst/base/Makefile.am:
|
|
* gst/base/README:
|
|
* gst/base/gstbasesink.c: (gst_basesink_get_template),
|
|
(gst_basesink_base_init), (gst_basesink_class_init),
|
|
(gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
|
|
(gst_basesink_pad_buffer_alloc), (gst_basesink_init),
|
|
(gst_basesink_set_pad_functions),
|
|
(gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
|
|
(gst_basesink_set_property), (gst_basesink_get_property),
|
|
(gst_base_sink_get_template), (gst_base_sink_get_caps),
|
|
(gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
|
|
(gst_basesink_preroll_queue_push),
|
|
(gst_basesink_preroll_queue_empty),
|
|
(gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
|
|
(gst_basesink_event), (gst_basesink_get_times),
|
|
(gst_basesink_do_sync), (gst_basesink_handle_buffer),
|
|
(gst_basesink_chain_unlocked), (gst_basesink_chain),
|
|
(gst_basesink_loop), (gst_basesink_activate),
|
|
(gst_basesink_change_state):
|
|
* gst/base/gstbasesink.h:
|
|
* gst/elements/Makefile.am:
|
|
* gst/elements/gstfakesink.c: (gst_fakesink_base_init),
|
|
(gst_fakesink_class_init), (gst_fakesink_init),
|
|
(gst_fakesink_set_property), (gst_fakesink_get_property),
|
|
(gst_fakesink_get_times), (gst_fakesink_event),
|
|
(gst_fakesink_preroll), (gst_fakesink_render),
|
|
(gst_fakesink_change_state):
|
|
* gst/elements/gstfakesink.h:
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
|
|
(gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
|
|
* gst/gstelement.c: (gst_element_add_pad),
|
|
(gst_element_get_state_func), (gst_element_abort_state),
|
|
(gst_element_commit_state), (gst_element_lost_state),
|
|
(gst_element_set_state), (gst_element_pads_activate):
|
|
* gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
|
|
* gst/gstpipeline.c: (gst_pipeline_send_event),
|
|
(gst_pipeline_change_state):
|
|
Added state change code.
|
|
Added/updated docs.
|
|
Added sink base class, make fakesink extend the base class.
|
|
Small cleanups in GstPipeline.
|
|
|
|
2005-03-26 David Schleef <ds@schleef.org>
|
|
|
|
* gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
|
|
is broken and should be implemented in a different library.
|
|
* gst/gst.c: (init_post): don't call _gst_cpu_initialize()
|
|
* gst/gst.h: remove gstcpu.h
|
|
* gst/gstcpu.c: remove
|
|
* gst/gstcpu.h: remove
|
|
* gst/Makefile.am.future: Remove this file. It's ancient.
|
|
|
|
2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
|
|
(gst_bin_send_event):
|
|
Add default event/set_manager handlers. The set_manager handler
|
|
takes care that the manager is distributed over kids that were
|
|
already in the bin before the manager was set. The event handler
|
|
is a utility virtual function that sends the event over all sinks,
|
|
so that gst_element_send_event (bin, event); has the expected
|
|
behaviour.
|
|
* gst/gstpad.c: (gst_pad_event_default):
|
|
Re-install default event handling for discontinuities, so that
|
|
seeking works without requiring hacks in applications or extra
|
|
code in sinks.
|
|
* gst/gstpipeline.c: (gst_pipeline_class_init),
|
|
(gst_pipeline_send_event):
|
|
Half hack, half utility: set a pipeline to PAUSED for seek events,
|
|
since that is the only way we can guarantee a/v sync. Means that
|
|
you can do gst_element_seek (pipeline, method, pos); on a pipeline
|
|
and it "just works".
|
|
|
|
2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
|
|
|
* gst/gstpipeline.c: (gst_pipeline_use_clock):
|
|
Lock/unlock mismatch.
|
|
|
|
2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* docs/faq/gst-uninstalled:
|
|
add gst-plugins-base
|
|
* docs/gst/Makefile.am:
|
|
don't error out until docs are fixed
|
|
* docs/gst/gstreamer.types:
|
|
remove thread
|
|
|
|
2005-03-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
|
|
* gst/gststructure.c: (gst_structure_set_valist),
|
|
(gst_structure_copy_conditional):
|
|
Activated more tests.
|
|
Added message test.
|
|
Added G_TYPE_POINTER to GstStructure.
|
|
|
|
|
|
2005-03-22 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-TODO.txt:
|
|
* docs/design/part-events.txt:
|
|
* docs/design/part-gstbin.txt:
|
|
* docs/design/part-gstbus.txt:
|
|
* docs/design/part-gstpipeline.txt:
|
|
* docs/design/part-messages.txt:
|
|
* gst/gstbus.c:
|
|
* gst/gstmessage.c:
|
|
Docs updates
|
|
|
|
2005-03-21 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstbus.c: (gst_bus_post):
|
|
Fix copy-and-paste error.
|
|
|
|
2005-03-21 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/Makefile.am:
|
|
* gst/Makefile.am:
|
|
* gst/elements/Makefile.am:
|
|
* gst/elements/gstelements.c:
|
|
* gst/elements/gstfakesink.c: (gst_fakesink_init),
|
|
(gst_fakesink_event), (gst_fakesink_chain):
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
|
|
(gst_fakesrc_init), (gst_fakesrc_get_event_mask),
|
|
(gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
|
|
(gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
|
|
(gst_fakesrc_set_property), (gst_fakesrc_get_property),
|
|
(gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
|
|
(gst_fakesrc_loop), (gst_fakesrc_activate),
|
|
(gst_fakesrc_change_state):
|
|
* gst/elements/gstfakesrc.h:
|
|
* gst/elements/gstfilesrc.c: (gst_filesrc_init),
|
|
(gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
|
|
(gst_filesrc_open_file), (gst_filesrc_loop),
|
|
(gst_filesrc_activate), (gst_filesrc_change_state),
|
|
(filesrc_find_peek), (filesrc_find_suggest),
|
|
(gst_filesrc_type_find):
|
|
* gst/elements/gstidentity.c: (gst_identity_finalize),
|
|
(gst_identity_class_init), (gst_identity_init),
|
|
(gst_identity_proxy_getcaps), (identity_queue_push),
|
|
(identity_queue_pop), (identity_queue_flush), (gst_identity_event),
|
|
(gst_identity_getrange), (gst_identity_chain),
|
|
(gst_identity_sink_loop), (gst_identity_src_loop),
|
|
(gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
|
|
(gst_identity_set_property), (gst_identity_get_property),
|
|
(gst_identity_change_state):
|
|
* gst/elements/gstidentity.h:
|
|
* gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
|
|
(gst_tee_update_pad_functions), (gst_tee_request_new_pad),
|
|
(gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
|
|
(gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
|
|
(gst_tee_sink_activate):
|
|
* gst/elements/gsttee.h:
|
|
* gst/gst.c: (gst_register_core_elements), (init_post):
|
|
* gst/gst.h:
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
|
|
(gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
|
|
(gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
|
|
(gst_bin_change_state):
|
|
* gst/gstbin.h:
|
|
* gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
|
|
(gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
|
|
(gst_bus_get_property), (gst_bus_new), (gst_bus_post),
|
|
(gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
|
|
(gst_bus_set_sync_handler), (gst_bus_create_watch),
|
|
(bus_watch_callback), (bus_watch_destroy),
|
|
(gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
|
|
(poll_timeout), (gst_bus_poll):
|
|
* gst/gstbus.h:
|
|
* gst/gstcaps.h:
|
|
* gst/gstdata.h:
|
|
* gst/gstelement.c: (gst_element_class_init), (gst_element_init),
|
|
(gst_element_post_message), (gst_element_message_full),
|
|
(gst_element_get_state_func), (gst_element_get_state),
|
|
(gst_element_abort_state), (gst_element_commit_state),
|
|
(gst_element_lost_state), (gst_element_set_state),
|
|
(gst_element_pads_activate), (gst_element_change_state),
|
|
(gst_element_dispose), (gst_element_set_manager_func),
|
|
(gst_element_set_bus_func), (gst_element_set_scheduler_func),
|
|
(gst_element_set_manager), (gst_element_get_manager),
|
|
(gst_element_set_bus), (gst_element_get_bus),
|
|
(gst_element_set_scheduler), (gst_element_get_scheduler):
|
|
* gst/gstelement.h:
|
|
* gst/gstevent.c: (gst_event_new_segment_seek),
|
|
(gst_event_new_flush):
|
|
* gst/gstevent.h:
|
|
* gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
|
|
(_gst_message_free), (gst_message_get_type), (gst_message_new),
|
|
(gst_message_new_eos), (gst_message_new_error),
|
|
(gst_message_new_warning), (gst_message_new_tag),
|
|
(gst_message_new_state_changed), (gst_message_new_application),
|
|
(gst_message_get_structure), (gst_message_parse_tag),
|
|
(gst_message_parse_state_changed), (gst_message_parse_error),
|
|
(gst_message_parse_warning):
|
|
* gst/gstmessage.h:
|
|
* gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
|
|
(gst_real_pad_set_property), (gst_pad_set_active),
|
|
(gst_pad_is_active), (gst_pad_set_blocked_async),
|
|
(gst_pad_set_blocked), (gst_pad_is_blocked),
|
|
(gst_pad_set_activate_function), (gst_pad_set_loop_function),
|
|
(gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
|
|
(gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
|
|
(gst_pad_unlink), (gst_pad_link_prepare_filtered),
|
|
(gst_pad_link_filtered), (gst_pad_relink_filtered),
|
|
(gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
|
|
(gst_pad_peer_get_caps), (gst_pad_fixate_caps),
|
|
(gst_pad_accept_caps), (gst_pad_peer_accept_caps),
|
|
(gst_pad_set_caps), (gst_pad_configure_sink),
|
|
(gst_pad_configure_src), (gst_pad_get_negotiated_caps),
|
|
(gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
|
|
(gst_real_pad_dispose), (gst_real_pad_finalize),
|
|
(handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
|
|
(gst_pad_event_default_dispatch), (gst_pad_event_default),
|
|
(gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
|
|
* gst/gstpad.h:
|
|
* gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
|
|
(pipeline_bus_handler), (gst_pipeline_change_state),
|
|
(gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
|
|
* gst/gstpipeline.h:
|
|
* gst/gstprobe.h:
|
|
* gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
|
|
(gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
|
|
(gst_queue_link_src), (gst_queue_bufferalloc),
|
|
(gst_queue_locked_flush), (gst_queue_handle_sink_event),
|
|
(gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
|
|
(gst_queue_loop), (gst_queue_handle_src_event),
|
|
(gst_queue_handle_src_query), (gst_queue_src_activate),
|
|
(gst_queue_change_state):
|
|
* gst/gstqueue.h:
|
|
* gst/gstscheduler.c: (gst_scheduler_init),
|
|
(gst_scheduler_dispose), (gst_scheduler_create_task),
|
|
(gst_scheduler_factory_create):
|
|
* gst/gstscheduler.h:
|
|
* gst/gststructure.c: (gst_structure_get_type),
|
|
(gst_structure_copy_conditional):
|
|
* gst/gststructure.h:
|
|
* gst/gsttaginterface.h:
|
|
* gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
|
|
(gst_task_init), (gst_task_dispose), (gst_task_create),
|
|
(gst_task_get_state), (gst_task_start), (gst_task_stop),
|
|
(gst_task_pause):
|
|
* gst/gsttask.h:
|
|
* gst/gstthread.c:
|
|
* gst/gstthread.h:
|
|
* gst/gsttypes.h:
|
|
* gst/schedulers/Makefile.am:
|
|
* gst/schedulers/cothreads_compat.h:
|
|
* gst/schedulers/entryscheduler.c:
|
|
* gst/schedulers/faircothreads.c:
|
|
* gst/schedulers/faircothreads.h:
|
|
* gst/schedulers/fairscheduler.c:
|
|
* gst/schedulers/gstbasicscheduler.c:
|
|
* gst/schedulers/gstoptimalscheduler.c:
|
|
* gst/schedulers/gthread-cothreads.h:
|
|
* gst/schedulers/threadscheduler.c:
|
|
(gst_thread_scheduler_task_get_type),
|
|
(gst_thread_scheduler_task_class_init),
|
|
(gst_thread_scheduler_task_init),
|
|
(gst_thread_scheduler_task_start),
|
|
(gst_thread_scheduler_task_stop),
|
|
(gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
|
|
(gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
|
|
(gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
|
|
(gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
|
|
(plugin_init):
|
|
* libs/gst/Makefile.am:
|
|
* libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
|
|
* libs/gst/bytestream/filepad.c: (gst_file_pad_init),
|
|
(gst_file_pad_parent_set):
|
|
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
|
|
(gst_dp_event_from_packet):
|
|
* tests/complexity.c: (main):
|
|
* tests/mass_elements.c: (main):
|
|
* testsuite/states/locked.c: (message_received), (main):
|
|
* testsuite/states/parent.c: (main):
|
|
* tools/gst-inspect.c: (print_element_flag_info),
|
|
(print_implementation_info), (print_pad_info):
|
|
* tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
|
|
(main):
|
|
* tools/gst-md5sum.c: (event_loop), (main):
|
|
* tools/gst-typefind.c: (main):
|
|
* tools/gst-xmlinspect.c: (print_element_info):
|
|
Next big merge.
|
|
Added GstBus for mainloop integration.
|
|
Added GstMessage for sending notifications on the bus.
|
|
Added GstTask as an abstraction for pipeline entry points.
|
|
Removed GstThread.
|
|
Removed Schedulers.
|
|
Simplified GstQueue for multithreaded core.
|
|
Made _link threadsafe, removed old capsnego.
|
|
Added STREAM_LOCK and PREROLL_LOCK in GstPad.
|
|
Added pad blocking functions.
|
|
Reworked scheduling functions in GstPad to prepare for
|
|
scheduling updates soon.
|
|
Moved events out of data stream.
|
|
Simplified GstEvent types.
|
|
Added return values to push/pull.
|
|
Removed clocking from GstElement.
|
|
Added prototypes for state change function for next merge.
|
|
Removed iterate from bins and state change management.
|
|
Fixed some elements, disabled others for now.
|
|
Fixed -inspect and -launch.
|
|
Added check for GstBus.
|
|
|
|
2005-03-10 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-MT-refcounting.txt:
|
|
* docs/design/part-clocks.txt:
|
|
* docs/design/part-gstelement.txt:
|
|
* docs/design/part-gstobject.txt:
|
|
* docs/design/part-standards.txt:
|
|
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
|
|
(gst_bin_remove_func), (gst_bin_remove):
|
|
* gst/gstbin.h:
|
|
* gst/gstbuffer.c:
|
|
* gst/gstcaps.h:
|
|
* testsuite/clock/clock1.c: (main):
|
|
* testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
|
|
(main):
|
|
* testsuite/dlopen/loadgst.c: (do_test):
|
|
* testsuite/refcounting/bin.c: (add_remove_test1),
|
|
(add_remove_test2), (main):
|
|
* testsuite/refcounting/element.c: (main):
|
|
* testsuite/refcounting/element_pad.c: (main):
|
|
* testsuite/refcounting/pad.c: (main):
|
|
* tools/gst-launch.c: (sigint_handler_sighandler):
|
|
* tools/gst-typefind.c: (main):
|
|
Doc updates.
|
|
Added doc about clock.
|
|
removed gst_bin_iterate_recurse_up(), marked methods
|
|
for removal.
|
|
Fix more testsuites.
|
|
|
|
2005-03-09 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstpad.c: (gst_pad_get_direction),
|
|
(_gst_pad_default_fixate_foreach), (gst_pad_collectv),
|
|
(gst_pad_collect_valist):
|
|
* testsuite/bins/interface.c: (main):
|
|
* testsuite/caps/audioscale.c: (test_caps):
|
|
* testsuite/caps/caps.c: (test1), (test2), (test3):
|
|
* testsuite/caps/deserialize.c: (main):
|
|
* testsuite/caps/enumcaps.c: (main):
|
|
* testsuite/caps/filtercaps.c: (main):
|
|
* testsuite/caps/intersect2.c: (main):
|
|
* testsuite/caps/random.c: (main):
|
|
* testsuite/caps/renegotiate.c: (my_fixate), (main):
|
|
* testsuite/caps/sets.c: (check_caps):
|
|
* testsuite/caps/simplify.c: (check_caps), (main):
|
|
* testsuite/caps/subtract.c: (check_caps):
|
|
Fix _pad_get_direction wrt ghostpads.
|
|
Fix caps testsuite.
|
|
|
|
2005-03-09 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/Makefile.am:
|
|
* check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
|
|
* check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
|
|
(ok_callback), (error_callback), (gst_systemclock_suite), (main):
|
|
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
|
|
(gst_bin_set_clock_func), (gst_bin_get_clock_func),
|
|
(gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
|
|
(gst_bin_remove), (gst_bin_iterate_recurse_up),
|
|
(bin_element_is_sink), (gst_bin_iterate_sinks),
|
|
(gst_bin_iterate_all_by_interface):
|
|
* gst/gstbin.h:
|
|
* gst/gstelement.c: (gst_element_init), (gst_element_error_full),
|
|
(gst_element_change_state), (gst_element_dispose),
|
|
(gst_element_finalize), (gst_element_set_loop_function):
|
|
* gst/gstelement.h:
|
|
* gst/gstiterator.c: (find_custom_fold_func):
|
|
* gst/gstpad.c: (_gst_pad_default_fixate_foreach),
|
|
(gst_pad_collectv), (gst_pad_collect_valist),
|
|
(gst_pad_template_new):
|
|
* gst/gstpipeline.c: (gst_pipeline_class_init),
|
|
(gst_pipeline_dispose), (gst_pipeline_set_property),
|
|
(gst_pipeline_get_property), (gst_pipeline_get_clock_func),
|
|
(gst_pipeline_get_clock), (gst_pipeline_use_clock),
|
|
(gst_pipeline_set_clock), (gst_pipeline_auto_clock):
|
|
* gst/gstutils.h:
|
|
* gst/schedulers/entryscheduler.c:
|
|
* gst/schedulers/gstbasicscheduler.c:
|
|
(gst_basic_scheduler_cothreaded_chain),
|
|
(gst_basic_scheduler_chain_add_element):
|
|
* testsuite/bins/interface.c: (main):
|
|
Added GstBin test.
|
|
Added GstSystemClock test.
|
|
Implemented clock distribution code in GstBin.
|
|
Implemented iterate sinks method for future use.
|
|
Rearranged gstelement.h
|
|
Fix GstIterator comparison bug.
|
|
Moved some code to GstPipeline, mostly clocking related.
|
|
|
|
2005-03-09 Wim Taymans <wim@fluendo.com>
|
|
|
|
* configure.ac:
|
|
* gst/gst_private.h:
|
|
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
|
|
(gst_bin_remove_func), (gst_bin_remove),
|
|
(gst_bin_get_by_name_recurse_up):
|
|
* gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
|
|
(gst_clock_id_compare_func), (gst_clock_id_wait),
|
|
(gst_clock_id_wait_async), (gst_clock_init),
|
|
(gst_clock_adjust_unlocked), (gst_clock_get_time):
|
|
* gst/gstelement.h:
|
|
* gst/gstinfo.c: (_gst_debug_init):
|
|
* gst/gstobject.h:
|
|
* gst/gstpad.c: (_gst_pad_default_fixate_foreach),
|
|
(gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
|
|
* gst/gstpad.h:
|
|
Bump version number, we're now 0.9.0
|
|
Add future debugging category.
|
|
Fix NULL _unref() in _get_by_name_recurse_up
|
|
Rearrange gstpad.h.
|
|
Update some docs.
|
|
|
|
2005-03-08 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/elements/gstaggregator.c: (gst_aggregator_class_init):
|
|
* gst/elements/gstfakesink.c: (gst_fakesink_class_init):
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
|
|
* gst/elements/gstfdsink.c: (gst_fdsink_class_init):
|
|
* gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
|
|
* gst/elements/gstfilesink.c: (gst_filesink_class_init):
|
|
* gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
|
|
* gst/elements/gstidentity.c: (gst_identity_class_init):
|
|
* gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
|
|
* gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
|
|
* gst/elements/gstshaper.c: (gst_shaper_class_init):
|
|
* gst/elements/gststatistics.c: (gst_statistics_class_init):
|
|
* gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
|
|
(gst_tee_link):
|
|
* gst/gstelement.c: (gst_element_class_init),
|
|
(gst_element_base_class_init), (gst_element_init),
|
|
(gst_element_get_random_pad), (gst_element_wait_state_change),
|
|
(gst_element_change_state), (gst_element_dispose),
|
|
(gst_element_finalize), (gst_element_set_loop_function):
|
|
* gst/gstelement.h:
|
|
* gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
|
|
* gst/gstthread.c: (gst_thread_class_init),
|
|
(gst_thread_release_children_locks), (gst_thread_change_state):
|
|
* gst/schedulers/gstbasicscheduler.c:
|
|
(gst_basic_scheduler_loopfunc_wrapper),
|
|
(gst_basic_scheduler_chain_wrapper),
|
|
(gst_basic_scheduler_src_wrapper),
|
|
(gst_basic_scheduler_remove_element):
|
|
* gst/schedulers/gstoptimalscheduler.c: (schedule_group):
|
|
Remove threadsafe properties. Fix elements because GObject
|
|
complains when installing a property before declaring a
|
|
set/get_property handler.
|
|
Rearrange gstelement.h file, use STATE macros for state locks.
|
|
Free mutexes in the finalize method instead of dispose.
|
|
|
|
2005-03-08 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/gst/gstobject.c: (START_TEST), (gst_object_suite):
|
|
* gst/gstthread.c: (gst_thread_release_children_locks):
|
|
Added parentage check.
|
|
Fix build og GstThread again.
|
|
|
|
2005-03-08 Wim Taymans <wim@fluendo.com>
|
|
|
|
* docs/design/part-MT-refcounting.txt:
|
|
* docs/design/part-conventions.txt:
|
|
* docs/design/part-gstobject.txt:
|
|
* docs/design/part-relations.txt:
|
|
* docs/design/part-standards.txt:
|
|
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
|
|
(gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
|
|
(gst_bin_get_by_name), (gst_bin_get_by_interface),
|
|
(gst_bin_iterate_all_by_interface):
|
|
* gst/gstbuffer.h:
|
|
* gst/gstclock.h:
|
|
* gst/gstelement.c: (gst_element_class_init),
|
|
(gst_element_change_state), (gst_element_set_loop_function):
|
|
* gst/gstelement.h:
|
|
* gst/gstiterator.c:
|
|
* gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
|
|
(gst_object_unref), (gst_object_sink), (gst_object_dispose),
|
|
(gst_object_dispatch_properties_changed), (gst_object_set_name),
|
|
(gst_object_set_parent), (gst_object_unparent),
|
|
(gst_object_check_uniqueness):
|
|
* gst/gstobject.h:
|
|
Docs updates, clean up some headers.
|
|
|
|
2005-03-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* check/.cvsignore:
|
|
* check/Makefile.am:
|
|
* check/gst-libs/.cvsignore:
|
|
* check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
|
|
* check/gst/.cvsignore:
|
|
* check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
|
|
(START_TEST), (gstbus_suite), (main):
|
|
* check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
|
|
* check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
|
|
(gst_data_suite), (main):
|
|
* check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
|
|
(add_fold_func), (gstiterator_suite), (main):
|
|
* check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
|
|
(thread_name_object), (thread_name_object_default),
|
|
(gst_object_name_compare), (gst_object_suite), (main):
|
|
* check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
|
|
(gst_pad_suite), (main):
|
|
* check/gstcheck.c: (gst_check_log_message_func),
|
|
(gst_check_log_critical_func), (gst_check_init):
|
|
* check/gstcheck.h:
|
|
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
|
|
(run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
|
|
Added checks.
|
|
|
|
2005-03-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
|
|
(gst_list_iterator_next), (gst_list_iterator_resync),
|
|
(gst_list_iterator_free), (gst_iterator_new_list),
|
|
(gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
|
|
(gst_iterator_free), (gst_iterator_push), (filter_next),
|
|
(filter_resync), (filter_uninit), (filter_free),
|
|
(gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
|
|
(gst_iterator_foreach), (find_custom_fold_func),
|
|
(gst_iterator_find_custom):
|
|
* gst/gstiterator.h:
|
|
Added missing files.
|
|
|
|
2005-03-07 Wim Taymans <wim@fluendo.com>
|
|
|
|
* Makefile.am:
|
|
* configure.ac:
|
|
* docs/design/part-MT-refcounting.txt:
|
|
* docs/design/part-conventions.txt:
|
|
* docs/design/part-gstobject.txt:
|
|
* docs/design/part-relations.txt:
|
|
* examples/mixer/mixer.c: (main):
|
|
* examples/thread/thread.c: (eos), (main):
|
|
* gst/Makefile.am:
|
|
* gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
|
|
* gst/autoplug/gstspider.c: (gst_spider_identity_plug),
|
|
(gst_spider_plug_from_srcpad):
|
|
* gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
|
|
(gst_spider_identity_change_state),
|
|
(gst_spider_identity_sink_loop_type_finding):
|
|
* gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
|
|
* gst/elements/gstidentity.c: (gst_identity_init):
|
|
* gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
|
|
(gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
|
|
* gst/elements/gsttypefindelement.c: (free_entry):
|
|
* gst/gst.c:
|
|
* gst/gst.h:
|
|
* gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
|
|
(gst_bin_set_clock_func), (gst_bin_auto_clock),
|
|
(gst_bin_set_index), (gst_bin_set_element_sched),
|
|
(gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
|
|
(gst_bin_remove_func), (gst_bin_remove), (iterate_child),
|
|
(gst_bin_iterate_elements), (iterate_child_recurse),
|
|
(gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
|
|
(gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
|
|
(compare_interface), (gst_bin_get_by_interface),
|
|
(gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
|
|
* gst/gstbin.h:
|
|
* gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
|
|
(gst_buffer_default_free), (gst_buffer_default_copy),
|
|
(gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
|
|
(gst_buffer_create_sub):
|
|
* gst/gstbuffer.h:
|
|
* gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
|
|
(_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
|
|
(gst_caps_unref), (gst_static_caps_get),
|
|
(gst_caps_remove_and_get_structure), (gst_caps_append),
|
|
(gst_caps_append_structure), (gst_caps_remove_structure),
|
|
(gst_caps_copy_nth), (gst_caps_set_simple),
|
|
(gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
|
|
(gst_structure_is_equal_foreach), (gst_caps_is_subset),
|
|
(gst_caps_structure_intersect_field), (gst_caps_intersect),
|
|
(gst_caps_structure_subtract_field), (gst_caps_subtract),
|
|
(gst_caps_normalize_foreach), (gst_caps_compare_structures),
|
|
(gst_caps_structure_figure_out_union),
|
|
(gst_caps_switch_structures), (gst_caps_do_simplify),
|
|
(gst_caps_replace), (gst_caps_from_string),
|
|
(gst_caps_copy_conditional):
|
|
* gst/gstcaps.h:
|
|
* gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
|
|
(_gst_clock_id_free), (gst_clock_id_unref),
|
|
(gst_clock_id_compare_func), (gst_clock_id_wait),
|
|
(gst_clock_id_wait_async), (gst_clock_class_init),
|
|
(gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
|
|
(gst_clock_get_time), (gst_clock_set_time_adjust),
|
|
(gst_clock_set_property), (gst_clock_get_property):
|
|
* gst/gstclock.h:
|
|
* gst/gstcompat.h:
|
|
* gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
|
|
* gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
|
|
* gst/gstdata.h:
|
|
* gst/gstelement.c: (gst_element_class_init), (gst_element_init),
|
|
(gst_element_requires_clock), (gst_element_provides_clock),
|
|
(gst_element_set_clock), (gst_element_clock_wait),
|
|
(gst_element_wait), (gst_element_set_time_delay),
|
|
(gst_element_is_indexable), (gst_element_add_pad),
|
|
(gst_element_add_ghost_pad), (gst_element_remove_pad),
|
|
(pad_compare_name), (gst_element_get_static_pad),
|
|
(gst_element_request_pad), (gst_element_get_request_pad),
|
|
(gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
|
|
(gst_element_class_get_pad_template_list),
|
|
(gst_element_class_get_pad_template), (gst_element_error_func),
|
|
(gst_element_get_random_pad), (gst_element_get_event_masks),
|
|
(gst_element_send_event), (gst_element_seek),
|
|
(gst_element_get_query_types), (gst_element_query),
|
|
(gst_element_get_formats), (gst_element_convert),
|
|
(gst_element_is_locked_state), (gst_element_set_locked_state),
|
|
(gst_element_sync_state_with_parent), (gst_element_change_state),
|
|
(gst_element_finalize), (gst_element_yield),
|
|
(gst_element_interrupt), (gst_element_set_scheduler),
|
|
(gst_element_get_scheduler), (gst_element_set_loop_function):
|
|
* gst/gstelement.h:
|
|
* gst/gstevent.h:
|
|
* gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
|
|
(gst_format_get_by_nick), (gst_format_get_details),
|
|
(gst_format_iterate_definitions):
|
|
* gst/gstformat.h:
|
|
* gst/gstindex.c: (gst_index_gtype_resolver):
|
|
* gst/gstinfo.c:
|
|
* gst/gstinfo.h:
|
|
* gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
|
|
(gst_mem_chunk_free):
|
|
* gst/gstobject.c: (gst_object_class_init), (gst_object_init),
|
|
(gst_object_ref), (gst_object_unref), (gst_object_sink),
|
|
(gst_object_replace), (gst_object_dispose), (gst_object_finalize),
|
|
(gst_object_dispatch_properties_changed),
|
|
(gst_object_set_name_default), (gst_object_set_name),
|
|
(gst_object_get_name), (gst_object_set_name_prefix),
|
|
(gst_object_get_name_prefix), (gst_object_set_parent),
|
|
(gst_object_get_parent), (gst_object_unparent),
|
|
(gst_object_check_uniqueness), (gst_object_save_thyself),
|
|
(gst_object_restore_thyself), (gst_object_real_restore_thyself),
|
|
(gst_object_set_property), (gst_object_get_property),
|
|
(gst_object_get_path_string):
|
|
* gst/gstobject.h:
|
|
* gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
|
|
(gst_real_pad_init), (gst_real_pad_get_property),
|
|
(gst_pad_custom_new), (gst_pad_get_direction),
|
|
(gst_pad_set_active), (gst_pad_is_active),
|
|
(gst_pad_set_event_function), (gst_pad_is_linked),
|
|
(gst_pad_link_free), (gst_pad_link_intersect),
|
|
(gst_pad_link_fixate), (gst_pad_set_caps),
|
|
(gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
|
|
(gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
|
|
(gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
|
|
(gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
|
|
(gst_pad_get_caps), (gst_pad_peer_get_caps),
|
|
(gst_pad_get_pad_template_caps), (gst_pad_get_peer),
|
|
(gst_pad_realize), (gst_pad_get_allowed_caps),
|
|
(gst_real_pad_dispose), (gst_real_pad_finalize),
|
|
(gst_pad_collectv), (gst_pad_collect_valist),
|
|
(gst_pad_template_dispose), (gst_pad_template_new),
|
|
(gst_pad_get_internal_links):
|
|
* gst/gstpad.h:
|
|
* gst/gstpipeline.c: (gst_pipeline_dispose),
|
|
(gst_pipeline_change_state):
|
|
* gst/gstpipeline.h:
|
|
* gst/gstplugin.c:
|
|
* gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
|
|
(gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
|
|
* gst/gstpluginfeature.h:
|
|
* gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
|
|
* gst/gstquery.c: (_gst_query_type_initialize),
|
|
(gst_query_type_register), (gst_query_type_get_by_nick),
|
|
(gst_query_type_get_details), (gst_query_type_iterate_definitions):
|
|
* gst/gstquery.h:
|
|
* gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
|
|
* gst/gstscheduler.c: (gst_scheduler_add_element),
|
|
(gst_scheduler_factory_create):
|
|
* gst/gststructure.c: (gst_structure_set_parent_refcount),
|
|
(gst_structure_free), (gst_structure_set_name),
|
|
(gst_structure_id_set_value), (gst_structure_set_value),
|
|
(gst_structure_set_valist), (gst_structure_remove_field),
|
|
(gst_structure_remove_fields),
|
|
(gst_structure_remove_fields_valist),
|
|
(gst_structure_remove_all_fields), (gst_structure_foreach),
|
|
(gst_structure_map_in_place),
|
|
(gst_caps_structure_fixate_field_nearest_int),
|
|
(gst_caps_structure_fixate_field_nearest_double):
|
|
* gst/gststructure.h:
|
|
* gst/gstsystemclock.c: (gst_system_clock_class_init),
|
|
(gst_system_clock_init), (gst_system_clock_dispose),
|
|
(gst_system_clock_async_thread),
|
|
(gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
|
|
(gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
|
|
* gst/gstsystemclock.h:
|
|
* gst/gsttag.c: (gst_tag_list_add_value_internal),
|
|
(gst_tag_list_copy_foreach), (structure_foreach_wrapper):
|
|
* gst/gsttaginterface.c:
|
|
* gst/gstthread.c: (gst_thread_dispose),
|
|
(gst_thread_release_children_locks), (gst_thread_change_state),
|
|
(gst_thread_main_loop):
|
|
* gst/gsttrashstack.h:
|
|
* gst/gsttypefind.c: (gst_type_find_factory_dispose):
|
|
* gst/gsttypes.h:
|
|
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
|
|
(gst_element_request_pad), (gst_element_get_pad_from_template),
|
|
(gst_element_request_compatible_pad),
|
|
(gst_element_get_compatible_pad_filtered),
|
|
(gst_element_get_compatible_pad), (gst_element_state_get_name),
|
|
(gst_element_link_pads_filtered), (gst_element_link_filtered),
|
|
(gst_element_link_many), (gst_element_link),
|
|
(gst_element_link_pads), (gst_element_unlink_pads),
|
|
(gst_element_unlink_many), (gst_element_unlink),
|
|
(gst_pad_can_link_filtered), (gst_pad_can_link),
|
|
(gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
|
|
(gst_object_default_error), (gst_bin_add_many),
|
|
(gst_bin_remove_many), (gst_element_populate_std_props),
|
|
(gst_element_class_install_std_props), (gst_buffer_merge),
|
|
(gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
|
|
(link_fold_func), (gst_pad_proxy_setcaps):
|
|
* gst/gstutils.h:
|
|
* gst/gstvalue.c: (gst_value_deserialize_string):
|
|
* gst/parse/grammar.y:
|
|
* gst/schedulers/gstbasicscheduler.c:
|
|
(gst_basic_scheduler_cothreaded_chain),
|
|
(gst_basic_scheduler_chain_recursive_add),
|
|
(gst_basic_scheduler_pad_link):
|
|
* gst/schedulers/gstoptimalscheduler.c:
|
|
(get_group_schedule_function),
|
|
(gst_opt_scheduler_state_transition),
|
|
(gst_opt_scheduler_add_element), (element_get_reachables_func):
|
|
* libs/gst/bytestream/bytestream.c:
|
|
* libs/gst/dataprotocol/dataprotocol.c:
|
|
(gst_dp_header_from_buffer):
|
|
* po/nb.po:
|
|
* po/ru.po:
|
|
* tests/threadstate/threadstate2.c: (eos):
|
|
* tools/gst-compprep.c: (main):
|
|
* tools/gst-inspect.c: (print_field), (print_element_flag_info),
|
|
(print_pad_info), (print_children_info):
|
|
* tools/gst-launch.c: (idle_func), (main):
|
|
* tools/gst-md5sum.c: (idle_func), (main):
|
|
* tools/gst-xmlinspect.c: (print_element_info):
|
|
First THREADED backport attempt, focusing on adding locks and
|
|
making sure the API is threadsafe. Needs more work. More docs
|
|
follow this week.
|
|
|
|
2005-02-24 Andy Wingo <wingo@pobox.com>
|
|
|
|
* tests/bench-complexity.scm:
|
|
* tests/complexity.gnuplot: New files, good for running complexity
|
|
benchmarks.
|
|
|
|
* tests/Makefile.am:
|
|
* tests/complexity.c: New test, sets up N elements, at each level
|
|
teeing into M streams per element. Eeeenteresting.
|
|
|
|
* tests/mass_elements.gnuplot: gnuplot file for the mass_elements
|
|
benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
|
|
running bench-mass_elements.scm.
|
|
|
|
* tests/bench-mass_elements.scm: New script, runs mass_elements
|
|
for various numbers of identities, outputting the results to a
|
|
file. Requires guile 1.6. Just for testing.
|
|
|
|
2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* gst/schedulers/fairscheduler.c:
|
|
compile with debug disabled
|
|
|
|
2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
|
|
|
* configure.ac:
|
|
hunting season on 0.9 is now OPEN
|