1 2005-10-08 Wim Taymans <wim@fluendo.com>
3 * gst/gstmessage.c: (gst_message_new_error),
4 (gst_message_new_warning), (gst_message_new_tag),
5 (gst_message_new_state_changed), (gst_message_new_clock_provide),
6 (gst_message_new_clock_lost), (gst_message_new_new_clock),
7 (gst_message_new_segment_start), (gst_message_new_segment_done),
8 (gst_message_parse_state_changed),
9 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
10 (gst_message_parse_new_clock):
12 Also carry the clock in question.
14 2005-10-08 Wim Taymans <wim@fluendo.com>
16 * gst/gstmessage.c: (gst_message_new_custom),
17 (gst_message_new_eos), (gst_message_new_error),
18 (gst_message_new_warning), (gst_message_new_tag),
19 (gst_message_new_state_changed), (gst_message_new_clock_provide),
20 (gst_message_new_new_clock), (gst_message_new_segment_start),
21 (gst_message_new_segment_done), (gst_message_parse_state_changed),
22 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
25 Added clock related messages.
27 * gst/gstpipeline.c: (gst_pipeline_change_state):
28 Post message when the clock changed.
30 * tools/gst-launch.c: (event_loop):
33 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
35 * tools/gst-inspect.c: (print_element_properties_info):
36 Can't pass NULL strings to g_print() on windows.
38 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
41 * docs/gst/Makefile.am:
42 * docs/gst/gstreamer-docs.sgml:
43 * docs/gst/running.xml:
44 * docs/version.entities.in:
45 add a chapter on running GStreamer.
46 document GST_DEBUG and GST_PLUGIN* env vars
48 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
53 remove PLUGINS_BUILDDIR stuff
54 * gst/gst.c: (init_post):
55 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
57 remove, it was condescending and not needed
59 2005-10-08 Wim Taymans <wim@fluendo.com>
61 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
62 (gst_base_sink_handle_object), (gst_base_sink_event),
63 (gst_base_sink_wait), (gst_base_sink_handle_event),
64 (gst_base_sink_change_state):
65 * gst/base/gstbasesink.h:
66 Repost EOS message while going to PLAYING if still EOS.
67 Make sure that when receiving a FLUSH_START we don't attempt
68 to sync on the clock anymore.
70 2005-10-08 Wim Taymans <wim@fluendo.com>
72 * tools/gst-launch.c: (event_loop):
73 Better message printout.
75 2005-10-08 Wim Taymans <wim@fluendo.com>
77 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
78 (gst_bin_child_proxy_get_children_count):
79 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
80 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
81 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
82 (gst_child_proxy_set_valist):
83 * gst/parse/grammar.y:
84 Make ChildProxy threadsafe and fix mem leaks.
86 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
88 * gst/gst.c: (init_post):
89 debug the GST_PLUGIN_ env vars
91 2005-10-08 Wim Taymans <wim@fluendo.com>
93 * check/gst/gstbin.c: (GST_START_TEST):
94 * check/gst/gstmessage.c: (GST_START_TEST):
95 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
96 * gst/gstelement.c: (gst_element_commit_state),
97 (gst_element_lost_state):
98 * gst/gstmessage.c: (gst_message_new_state_changed),
99 (gst_message_parse_state_changed):
101 * tools/gst-launch.c: (event_loop):
102 Added extra field to STATE_CHANGE message with the pending
103 state, which will be different from the new state soon.
105 2005-10-08 Wim Taymans <wim@fluendo.com>
107 * gst/gstbus.c: (gst_bus_pop):
109 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
110 Small cleanups and doc updates.
112 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
114 * gst/gst.c: (init_pre):
115 * gst/gstbin.c: (gst_bin_add_func):
116 log distributing clocks and base time
117 * gst/gstregistry.c: (gst_registry_add_plugin),
118 (gst_registry_scan_path_level), (gst_registry_scan_path):
119 clean up the debugging output a little
120 * gst/gstutils.c: (gst_element_state_get_name):
121 warn about a memleak (I've actually seen this be used, though
122 it was probably a bug)
124 2005-10-07 Wim Taymans <wim@fluendo.com>
126 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
127 (gst_base_src_init), (gst_base_src_default_newsegment),
128 (gst_base_src_newsegment), (gst_base_src_do_seek),
129 (gst_base_src_loop), (gst_base_src_start):
130 * gst/base/gstbasesrc.h:
131 Make the newsegment event customizable by subclasses.
133 2005-10-07 Wim Taymans <wim@fluendo.com>
135 * gst/gstevent.c: (gst_event_new_buffersize),
136 (gst_event_parse_buffersize):
138 New event for future idea.
140 2005-10-07 Andy Wingo <wingo@pobox.com>
142 * gst/gstelement.c (gst_element_post_message): Doc update.
144 * docs/gst/gstreamer-sections.txt: Update.
146 * gst/gstmessage.c (gst_message_new_application): Made into a
147 function like honest API calls.
148 (gst_message_new_element): New message type.
150 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
152 * check/elements/fakesrc.c (test_no_preroll): New check, checks
153 that setting a live fakesrc to PAUSED returns NO_PREROLL both
156 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
157 NO_PREROLL from gst_element_change_state to fall through.
159 2005-10-07 Wim Taymans <wim@fluendo.com>
161 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
162 (gst_ghost_pad_do_activate_push):
163 Activating a ghostpad with no internal pad in push mode
166 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
169 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
170 Fixes compilation on Windows.
172 2005-10-07 Michael Smith <msmith@fluendo.com>
174 * tools/gst-inspect.c:
175 Print out feature and plugin count at the end when printing out
178 2005-10-04 Michael Smith <msmith@fluendo.com>
180 * gst/gsterror.c: (_gst_stream_errors_init):
181 Add another error string used in a few existing plugins.
184 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
185 * tools/gst-inspect.c: (print_element_info):
186 When a feature disappears from a plugin (and the feature exists in
187 the cached registry file), things went horribly wrong. This isn't a
188 complete fix, we should actually be removing the 'missing' features
189 from the features list when we load the actual plugin. That's not
192 2005-10-04 Johan Dahlin <johan@gnome.org>
194 * check/gst/gstiterator.c: (GST_START_TEST):
195 * gst/gstbin.c: (gst_bin_iterate_elements),
196 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
197 * gst/gstelement.c: (gst_element_iterate_pads):
198 * gst/gstformat.c: (gst_format_iterate_definitions):
199 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
200 (gst_iterator_new_list), (gst_iterator_filter):
202 * gst/gstquery.c: (gst_query_type_iterate_definitions):
203 Add a GType to GstIterator, update callsites and tests.
205 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
207 * gst/gstpad.c: (gst_pad_event_default_dispatch):
208 give events a chance to be handled by event probes when the pad
211 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
213 * gst/gstevent.c: (gst_event_type_get_name),
214 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
216 add string representations for event types
218 2005-10-06 Wim Taymans <wim@fluendo.com>
220 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
221 Don't use NULL pointers.
223 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
229 * gst/gstpluginfeature.c:
230 widen the debug category in output to fit the biggest one we have
231 add a bus category and use it
233 fix up some categories
235 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
237 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
238 add push activation of sink ghost pads.
241 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
243 * gst/gstutils.c: (gst_element_link_pads):
244 fix a bug in the case where neither element has a pad
245 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
246 add a test for that case
248 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
250 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
251 emit have-data before checking for peers. This allows
252 for probe handlers to connect elements. This helps autopluggers.
253 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
255 add six checks, linked/unlinked with no/true/false probe
257 2005-10-04 Wim Taymans <wim@fluendo.com>
259 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
260 (gst_fake_sink_event), (gst_fake_sink_preroll),
261 (gst_fake_sink_render), (gst_fake_sink_change_state):
262 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
263 (gst_fake_src_get_property), (gst_fake_src_create),
265 * gst/elements/gstidentity.c: (gst_identity_stop):
266 Protect last_message with lock.
268 2005-10-04 Edward Hervey <edward@fluendo.com>
271 Added precision in the comments for GST_FORMAT_DEFAULT
273 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
275 * tools/gst-launch.c: (main):
276 Don't try to run erroneous pipelines.
278 2005-10-04 Julien MOUTTE <julien@moutte.net>
280 * gst/gstbus.c: We don't need this header.
282 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
287 === release 0.9.3 ===
289 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
293 Releasing 0.9.3, "Unregistered"
295 2005-10-03 Andy Wingo <wingo@pobox.com>
297 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
298 whereby calling a pad's activatepush() function can start a thread
299 that starts to push or pull before the pad gets the FLUSHING flag
300 unset. Hack around it by holding the stream lock until the flag is
301 set. Need to replace this with a proper solution. Together with
302 the ghost pad fixes, this fixes mp3 playing/tagreading.
304 * docs/design/part-gstghostpad.txt: Add a note about activation of
305 proxy pads outside of ghost pads.
307 * gst/gstghostpad.c: Implement the ghost pad activation design.
309 2005-10-02 Andy Wingo <wingo@pobox.com>
311 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
312 It is volatile, after all.
314 * docs/design/part-gstghostpad.txt: Flesh out activation with
317 * gst/base/gstbasesrc.c (gst_base_src_init): Use
320 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
323 Fix (unused) AM_CONDITIONAL tests.
325 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
327 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
329 * gst/gstutils.c: (gst_pad_query_convert):
330 Add assertion that makes sure src_val is >=0, just like
331 gst_query_new_convert() has. (#315895)
333 2005-09-30 Edward Hervey <edward@fluendo.com>
335 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
336 Let's not iterate pads we're not interested in, it avoids getting
337 sky-high refcounts on sinkpad.
339 2005-09-30 Wim Taymans <wim@fluendo.com>
341 * gst/gstelement.c: (gst_element_set_state),
342 (gst_element_change_state):
343 Small tweak, element in ASYNC remains ASYNC.
345 2005-09-30 Wim Taymans <wim@fluendo.com>
347 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
348 Only error is an error.
350 * gst/gstbin.c: (gst_bin_change_state):
353 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
354 Also call pad_block in pad alloc.
356 * gst/gstutils.c: (gst_flow_get_name):
359 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
361 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
362 (gst_base_src_get_range):
363 Fix documentation typos. Add some more debug info.
365 2005-09-29 David Schleef <ds@schleef.org>
367 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
368 more end-user friendly.
369 * tools/gst-inspect.c: (main): Check if command-line argument is
370 a file and attempt to load that file as a plugin.
372 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
374 * check/gst/gstbin.c:
375 * check/states/sinks.c:
376 fix tests for the new warning
377 * check/gst/gstpipeline.c:
378 add a test for pipeline and bus interaction
380 elements should be NULL if they get disposed; add a warning if not
382 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
385 for 2.6 refcounting, make debug log more correct by printing
386 the actual refcounts at the time of swap (Wim)
388 2005-09-29 Andy Wingo <wingo@pobox.com>
390 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
391 removes signal watches previously added via
392 gst_bus_add_signal_watch.
393 (gst_bus_add_signal_watch): Don't return the source id, just store
394 it on the bus if there wasn't an id already.
396 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
397 add_signal_watch and remove_signal_watch.
399 2005-09-29 Edward Hervey <edward@fluendo.com>
401 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
402 Better if we actually iterate the list :)
404 2005-09-29 Wim Taymans <wim@fluendo.com>
406 * check/gst/gstbin.c: (GST_START_TEST):
407 Change for new bus API.
409 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
410 (send_messages), (GST_START_TEST), (gstbus_suite):
411 Change for new bus signal API.
413 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
414 (gst_bus_source_prepare), (gst_bus_source_check),
415 (gst_bus_create_watch), (gst_bus_add_watch_full),
416 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
417 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
419 Remove support for multiple GSources operating on different
420 message types as it is too complex and unneeded when using
422 Added support for receiving signals from the bus.
424 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
426 * docs/libs/tmpl/gstdataprotocol.sgml:
427 * docs/manual/advanced-dataaccess.xml:
428 * gst/elements/gstcapsfilter.c:
430 rename filter-caps to caps property
432 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
434 * gst/gstvalue.c: (gst_value_deserialize_fraction):
435 More robust fraction string parsing.
437 * docs/pwg/appendix-porting.xml:
438 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
440 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
442 * gst/gstcaps.c: (gst_caps_do_simplify):
443 Thou shalt not free a structure and then continue using it
444 in the next loop iteration.
446 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
448 Add test case for caps simplification.
450 2005-09-29 Wim Taymans <wim@fluendo.com>
452 * check/gst/gstbin.c: (GST_START_TEST):
455 2005-09-29 Wim Taymans <wim@fluendo.com>
457 * check/gst/gstbin.c: (GST_START_TEST):
460 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
461 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
462 (find_element), (gst_bin_sort_iterator_next),
463 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
464 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
465 (gst_bin_change_state), (gst_bin_dispose):
466 A bin does not have a bus, it gets the bus from the parent.
468 * gst/gstelement.c: (gst_element_requires_clock),
469 (gst_element_provides_clock), (gst_element_is_indexable),
470 (gst_element_is_locked_state), (gst_element_change_state),
471 (gst_element_set_bus_func):
474 * gst/gstpipeline.c: (gst_pipeline_class_init),
475 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
476 The pipeline provides a bus.
478 2005-09-28 Johan Dahlin <johan@gnome.org>
480 * gst/gstmessage.c (gst_message_parse_state_changed): Use
481 gst_structure_get_enum instead of gst_structure_get_int
483 * gst/gststructure.c (gst_structure_get_enum): Impl.
485 * gst/gststructure.h (gst_structure_get_enum): Add
487 * docs/gst/gstreamer-sections.txt: Ditto
489 * gst/gstmessage.c (gst_message_new_state_changed): Use
490 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
491 which does introspection.
492 Reviewed by Christian Schaller
494 2005-09-28 Stefan Kost <ensonic@users.sf.net>
496 * gst/gstinfo.c: (gst_debug_log_default):
497 don't do dummy g_strdup()s
498 * libs/gst/controller/gstcontroller.c:
499 (on_object_controlled_property_changed),
500 (gst_controlled_property_new), (gst_controller_new_valist),
501 (gst_controller_new_list),
502 (gst_controller_remove_properties_valist), (gst_controller_set),
503 (gst_controller_get), (gst_controller_sync_values),
504 (gst_controller_get_value_array), (_gst_controller_class_init),
505 (gst_controller_get_type):
506 * libs/gst/controller/gstcontroller.h:
507 * libs/gst/controller/gstinterpolation.c:
508 (gst_controlled_property_find_timed_value_node):
509 convert // to /**/ comments
511 2005-09-28 Wim Taymans <wim@fluendo.com>
513 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
514 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
515 (gst_bus_sync_signal_handler):
517 Added async-message and sync-message signals to the bus.
518 Added helper BusFunc to emit signals for all posted messages.
520 * gst/gstmessage.c: (gst_message_type_get_name),
521 (gst_message_type_to_quark), (gst_message_get_type):
523 Register quarks for message names.
525 2005-09-28 Stefan Kost <ensonic@users.sf.net>
527 * docs/libs/gstreamer-libs-sections.txt:
528 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
529 (gst_controller_new_list):
530 * libs/gst/controller/gstcontroller.h:
531 added another constructor for language bindings
533 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
535 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
539 * gst/gstinfo.c: (_gst_debug_init):
540 slightly more readable color for refcount debugging
542 2005-09-28 Wim Taymans <wim@fluendo.com>
544 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
545 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
546 (find_element), (gst_bin_sort_iterator_next),
547 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
548 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
549 (gst_bin_change_state), (gst_bin_dispose):
550 Small doc fixes. get_clock -> provide_clock.
552 * gst/gstelement.c: (gst_element_class_init),
553 (gst_element_provides_clock), (gst_element_provide_clock),
554 (gst_element_get_clock), (gst_element_commit_state),
555 (gst_element_lost_state):
557 Make get/set_clock() symetric. Add provide_clock vmethod since
558 that is actually what this function does.
560 * gst/gstpipeline.c: (gst_pipeline_class_init),
561 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
562 (gst_pipeline_get_clock):
563 get_clock -> provide_clock.
565 2005-09-28 Andy Wingo <wingo@pobox.com>
567 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
570 * gst/elements/gstfdsrc.c: Cleaned up a bit.
572 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
574 * gst/elements/gstcapsfilter.c:
575 * gst/elements/gstfakesink.c:
576 * gst/elements/gstfakesrc.c:
577 * gst/elements/gstfdsink.c:
578 * gst/elements/gstfdsrc.c:
579 * gst/elements/gstfilesink.c:
580 * gst/elements/gstfilesrc.c:
581 * gst/elements/gstidentity.c:
582 * gst/elements/gsttee.c:
583 * gst/elements/gsttypefindelement.c:
584 Make element details static.
586 2005-09-28 Wim Taymans <wim@fluendo.com>
588 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
589 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
590 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
591 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
592 (gst_bin_change_state), (gst_bin_dispose):
593 Some documentation updates.
594 Clean up dispose handlers.
596 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
597 * gst/gstpad.c: (gst_pad_dispose):
598 Clean up dispose handler.
600 * gst/gstpipeline.c: (gst_pipeline_change_state):
601 Removed spurious UNLOCK.
603 2005-09-27 Stefan Kost <ensonic@users.sf.net>
605 * docs/gst/gstreamer-sections.txt:
606 * gst/base/gstbasesrc.h:
615 added two new functions to the docs
616 documents all undocumented GstXXXFlags
617 completed some incomplete docs
619 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
621 * gst/gstbin.c: (gst_bin_dispose):
622 * gst/gstelement.c: (gst_element_dispose):
623 remove now useless and leaky resurrection code in dispose
624 * gst/base/gstbasesrc.c: (gst_base_src_init):
625 * gst/gstelementfactory.c: (gst_element_factory_create):
626 * gst/gstobject.c: (gst_object_set_parent):
629 2005-09-27 Wim Taymans <wim@fluendo.com>
631 * docs/design/part-TODO.txt:
634 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
635 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
636 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
637 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
638 (gst_bin_change_state):
640 Remove element variable, we keep element info in the iterator now.
642 2005-09-27 Andy Wingo <wingo@pobox.com>
644 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
647 2005-09-27 Wim Taymans <wim@fluendo.com>
649 * check/gst/gstbin.c: (GST_START_TEST):
650 Enable check that works now.
652 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
653 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
654 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
655 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
656 (gst_bin_change_state):
658 Redid the state change algorithm using a topological sort algo.
659 Handles all cases correctly.
660 Exposed iterator for state change order.
663 Temp storage for state changes. Need to get rid of this soon.
665 2005-09-27 Wim Taymans <wim@fluendo.com>
667 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
668 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
669 (link_fold_func), (gst_pad_proxy_setcaps):
670 Leak fixes, the fold functions need to unref the passed object and
671 _get_parent_*() returns ref to parent.
673 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
675 * check/gst/gstbuffer.c: (test_make_writable):
676 Plug leak in test case and fix 'make check-valgrind'
678 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
680 * gst/gstbuffer.c: (gst_subbuffer_init):
681 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
682 works correctly in all circumstances (we could have just copied
683 the parent buffer's readonly flag, but conceptually it seems
684 cleaner to mark all subbuffers as read-only). (based on patch
685 by Alessandro Decina, #314710).
687 * check/gst/gstbuffer.c: (create_read_only_buffer),
688 (test_make_writable), (test_subbuffer_make_writable),
690 Add some tests for gst_buffer_make_writable().
692 2005-09-27 Wim Taymans <wim@fluendo.com>
694 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
695 use gst_object_has_ancestor().
697 * gst/gstobject.c: (gst_object_has_ancestor):
699 gst_object_has_ancestor() copied from gstbin.c as it is a
702 * tests/instantiate/create.c: (create_all_elements):
703 * tests/lat.c: (handoff_src), (handoff_sink):
704 * tests/sched/runxml.c: (main):
705 * tests/seeking/seeking1.c: (main):
706 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
708 Fix compilation of some tests.
710 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
713 Remove comment. GST_TYPE_G_ERROR is here to stay,
714 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
717 2005-09-26 Wim Taymans <wim@fluendo.com>
719 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
720 Added check that shows error in state change order.
722 2005-09-26 Wim Taymans <wim@fluendo.com>
724 * gst/gstbin.c: (gst_bin_change_state):
725 Make state change function use 3 queues again, we were
726 adding elements in the wrong order.
728 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
731 * gst/gstpad.c: (gst_pad_dispose):
732 Added some debug info first.
734 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
736 * docs/design/draft-push-pull.txt:
737 * docs/design/part-events.txt:
738 * docs/design/part-overview.txt:
739 * docs/design/part-scheduling.txt:
740 Replace all _pull_region() with _pull_range()
742 2005-09-26 Andy Wingo <wingo@pobox.com>
744 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
746 * check/gst-libs/controller.c: Update for controller api change.
750 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
751 over by GLib bug 118439.
753 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
754 routines to a function.
756 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
758 * libs/gst/controller/gsthelper.c:
759 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
760 (gst_object_sync_values): Renamed from sink_values. Ugh.
762 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
764 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
765 Renamed from controller_key, as it is exported.
767 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
769 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
774 * gst/gstpadtemplate.h:
777 * gst/gstqueryutils.c:
778 * gst/gstqueryutils.h:
779 remove queryutils headers after moving the two used functions
780 to gstquery. also fixes build problem for gstsiddec
782 2005-09-26 Michael Smith <msmith@fluendo.com>
784 * tools/gst-launch.1.in:
785 Correct documentation in manpage of debug syntax
787 2005-09-26 Wim Taymans <wim@fluendo.com>
789 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
790 (gst_base_src_is_seekable), (gst_base_src_change_state):
791 Some more debugging info.
793 2005-09-25 Stefan Kost <ensonic@users.sf.net>
795 * docs/gst/gstreamer-sections.txt:
796 * gst/base/gstbasetransform.h:
800 2005-09-25 Stefan Kost <ensonic@users.sf.net>
802 * docs/gst/.cvsignore:
803 * docs/gst/tmpl/.cvsignore:
804 * docs/gst/tmpl/gstpipeline.sgml:
805 * docs/gst/tmpl/gstplugin.sgml:
809 inlined the last two docs files
810 removed the tmpl directory from cvs (no more conflicts here!)
812 2005-09-25 Stefan Kost <ensonic@users.sf.net>
814 * docs/gst/gstreamer-sections.txt:
815 * docs/gst/tmpl/.cvsignore:
816 * docs/gst/tmpl/gstpad.sgml:
817 * docs/gst/tmpl/gstpadtemplate.sgml:
819 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
820 (gst_pad_finalize), (gst_pad_set_pad_template):
822 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
823 (gst_pad_template_class_init), (gst_pad_template_init),
824 (gst_pad_template_dispose), (name_is_valid),
825 (gst_static_pad_template_get), (gst_pad_template_new),
826 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
827 (gst_pad_template_pad_created):
828 * gst/gstpadtemplate.h:
829 inlined two more docs
830 factored gstpadtemplate out of gstpad
832 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
834 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
835 (test_children_state_change_order_semi_sink):
836 Fix test case: we can't rely on a fixed state change order when
837 going from READY => PAUSED because the sink might commit its
838 new state first when the first buffer created by the source
839 reaches the sink before the source has finished its change state.
840 (Test case still fails at times, see #316856, comment 5 onwards)
842 2005-09-24 Wim Taymans <wim@fluendo.com>
844 * docs/design/part-events.txt:
845 * docs/design/part-gstbus.txt:
846 * docs/design/part-gstpipeline.txt:
847 * docs/design/part-messages.txt:
848 * docs/design/part-overview.txt:
849 * docs/design/part-segments.txt:
857 Various documentation updates.
859 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
862 Well, that's embarassing. Luckily we weren't using
863 GST_CLOCK_DIFF anywhere.
865 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
867 * common/gtk-doc.mak:
868 don't fail on building XML, FC4 slave shows a bunch of doc
869 missing bits that I don't get
872 * gst/gststructure.c:
875 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
877 * docs/design/part-gstbin.txt:
878 * docs/design/part-gstbus.txt:
880 Add blurb about how the bus goes into flushing mode and
881 drops all messages when its bin goes from READY into NULL
884 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
886 * docs/gst/gstreamer-sections.txt:
887 * gst/gststructure.c: (gst_structure_get_clock_time):
888 * gst/gststructure.h:
889 add a method to get a GstClockTime out of a structure
891 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
893 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
894 (test_children_state_change_order_semi_sink), (gst_bin_suite):
895 Added test to check state change order in bins (can still be made
896 to fail here under heavy disk load; bails out with 'Push on pad
897 fakesink:sink0, but it was not activated in push mode').
899 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
900 Fix state change order when there is only a semi sink (#316856)
902 * gst/gstbus.c: (gst_bus_class_init):
903 Use _class_peek_parent(), not _class_ref(); fix docs to say
904 'default main context' instead of 'mainloop' where that is
907 * gst/gstelement.c: (gst_element_commit_state),
908 (gst_element_set_state):
909 Fix typos in debug messages
911 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
914 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
915 * gst/gstpluginfeature.c:
918 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
919 change an assert into an error until it gets fixed properly
921 2005-09-23 Stefan Kost <ensonic@users.sf.net>
923 * docs/gst/gstreamer-sections.txt:
924 * docs/gst/tmpl/.cvsignore:
925 * docs/gst/tmpl/gstelement.sgml:
926 * docs/gst/tmpl/gstinfo.sgml:
927 * docs/gst/tmpl/gstobject.sgml:
932 * gst/gstobject.c: (gst_object_class_init):
934 inlined 3 more biiiig doc files and added some missing docs on the fly
936 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
938 * check/gst/.cvsignore:
939 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
940 * gst/gstregistryxml.c: (load_plugin),
941 (gst_registry_xml_save_plugin):
942 put back source in registry. add checks for find_plugin.
943 * testsuite/states/bin.c: (assert_state), (empty_bin),
944 (test_adding_one_element), (main):
945 * testsuite/states/locked.c: (main):
946 some compile/run fixes
948 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
950 * check/gst/gstvalue.c: (GST_START_TEST):
951 fix leaks in the test itself
953 2005-09-22 Wim Taymans <wim@fluendo.com>
955 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
956 (gst_base_sink_send_event), (gst_base_sink_peer_query),
957 (gst_base_sink_query):
958 Prepare for more accurate position reporting and query
961 * gst/gstelement.c: (gst_element_send_event),
962 (gst_element_set_state):
965 2005-09-22 Wim Taymans <wim@fluendo.com>
967 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
968 (gst_query_parse_segment):
971 Add segment query for future use.
973 2005-09-22 Wim Taymans <wim@fluendo.com>
975 * gst/gstbin.c: (gst_bin_add_func):
976 Some more debug info.
978 * gst/gstelement.c: (gst_element_send_event):
982 Don't know how flags got broken.
987 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
989 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
990 Add simplistic test suite for GST_TYPE_DATE serialisation and
993 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
995 * docs/gst/gstreamer-sections.txt:
996 * gst/gststructure.c: (gst_structure_set_valist),
997 (gst_structure_get_date):
998 * gst/gststructure.h:
999 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1000 (gst_date_copy), (gst_value_compare_date),
1001 (gst_value_serialize_date), (gst_value_deserialize_date),
1002 (gst_value_transform_date_string),
1003 (gst_value_transform_string_date), (_gst_value_initialize):
1005 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1006 bunch of utility functions along with a hack that checks that
1007 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1008 is required. Part of the grand scheme in #170777.
1010 2005-09-22 Andy Wingo <wingo@pobox.com>
1012 * gst/gstconfig.h.in: Psych out gtk-doc.
1014 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1016 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1018 * tools/gst-inspect.c (print_element_list): Plug some
1019 inconsequential leaks.
1021 * gst/gstregistry.c (gst_registry_get_default): Doc.
1023 * check/gst/gstplugin.c:
1024 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1025 * gst/gstelementfactory.c (gst_element_factory_create):
1026 * gst/gstindexfactory.c (gst_index_factory_create): Update for
1029 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1030 (gst_plugin_feature_load): Doc, don't eat refs.
1032 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1033 (gst_plugin_list_free): Doc.
1034 (gst_plugin_load_file): Doc updates.
1036 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1037 accessors returning refcounted objects, return a ref.
1039 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1040 accessor for caps. IDEMPOTENCE. Oh yes.
1042 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
1044 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1046 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1047 (_gst_debug_register_funcptr):
1048 Add mutex to serialise access to the hash table with
1049 the function pointer => function name string mapping;
1050 make that hash table static scope (#316809).
1052 * gst/registries/.cvsignore:
1053 Remove left-over file.
1055 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1057 * docs/pwg/appendix-porting.xml:
1058 And something about newsegment events and caps-on-buffers to
1059 the porting guide (feel free to improve).
1061 2005-09-21 Andy Wingo <wingo@pobox.com>
1063 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1064 data and event probes on the same pad.
1065 (test_buffer_probe_once): Test that removing probes from within
1066 the probe functions works.
1068 2005-09-21 Andy Wingo <wingo@pobox.com>
1070 * check/gst/gstutils.c: New file.
1071 (test_buffer_probe_n_times): A simple buffer probe test. More to
1074 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1075 have-data::buffer, not have-data.
1076 (gst_pad_add_event_probe): Likewise for have-data::event.
1077 (gst_pad_add_data_probe): More docs. The part about 'resolving the
1078 peer' isn't quite right yet though.
1079 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
1080 (gst_pad_remove_data_probe): Change to take the guint handler_id
1081 as their arg, not the function+data, which is more glib-like.
1083 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1084 the signal emission to indicate if the data is a buffer or an
1086 (gst_pad_get_type): Initialize buffer and event quarks.
1087 (gst_pad_class_init): have-data is now a detailed signal, yes it
1090 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1092 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1093 * gst/gstutils.c: (gst_util_set_value_from_string),
1094 (gst_util_set_object_arg):
1095 Don't put functional code in g_return_if_fail() or
1096 g_return_val_if_fail() statements, otherwise things will
1097 break when G_DISABLE_CHECKS is defined during compilation.
1099 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1101 * docs/gst/tmpl/.cvsignore:
1102 * docs/gst/tmpl/gstvalue.sgml:
1105 inlied another one and added some obvious docs
1107 2005-09-21 Wim Taymans <wim@fluendo.com>
1109 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1110 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1111 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1112 (gst_fdsrc_get_property), (gst_fdsrc_create):
1113 * gst/elements/gstfdsrc.h:
1114 Properly implement fdsrc. Removed signal and timeout,
1115 better implemented somewhere else.
1117 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1119 * docs/gst/tmpl/.cvsignore:
1120 * docs/gst/tmpl/gstimplementsinterface.sgml:
1121 * gst/gstinterface.c:
1124 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1126 * docs/gst/gstreamer-sections.txt:
1127 * docs/gst/tmpl/.cvsignore:
1128 * docs/gst/tmpl/gstenumtypes.sgml:
1129 remove obsolete doc file
1131 2005-09-21 David Schleef <ds@schleef.org>
1133 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1134 little beer, fix a little leak.
1136 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1138 * docs/gst/gstreamer-docs.sgml:
1139 * docs/gst/gstreamer-sections.txt:
1140 * docs/gst/tmpl/.cvsignore:
1145 * gst/gstindex.c: (gst_index_class_init):
1147 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1148 (gst_index_factory_class_init), (gst_index_factory_init),
1149 (gst_index_factory_finalize), (gst_index_factory_new),
1150 (gst_index_factory_destroy), (gst_index_factory_find),
1151 (gst_index_factory_create), (gst_index_factory_make):
1152 * gst/gstindexfactory.h:
1153 * gst/gstpluginfeature.c:
1154 * gst/gstpluginfeature.h:
1155 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1156 more docs inlined, splitted gstindex.{c,h}
1158 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1160 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1163 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1165 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1166 Set sync to FALSE by default.
1168 2005-09-20 Wim Taymans <wim@fluendo.com>
1170 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1171 (gst_base_sink_init):
1172 Make sync property settable from subclass.
1174 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1175 (gst_fake_sink_change_state):
1176 Set sync to FALSE by default.
1178 2005-09-20 Wim Taymans <wim@fluendo.com>
1180 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
1181 * tools/gst-launch.c: (main):
1182 The timeout handler should have lower priority than the source
1183 so we don't timeout before popping a message with 0 timeout.
1184 Dump error messages after failed state change.
1186 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1188 * tools/gst-inspect.c: (print_element_properties_info):
1191 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1193 * check/gst/gstevent.c:
1194 * gst/elements/gstfakesink.c:
1195 * gst/elements/gstfakesink.h:
1196 remove the sync property from fakesink.
1197 has the side effect of setting sync TRUE
1198 for fakesink, which is a change. Anyone who knows how
1199 to fix this nicely in a GObject-y way, feel free.
1201 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1203 * docs/gst/gstreamer-docs.sgml:
1204 remove probe refsection
1206 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1208 * check/Makefile.am:
1209 disable valgrinding the controller test again
1210 * docs/gst/gstreamer-sections.txt:
1211 update for api-changes
1213 2005-09-20 Wim Taymans <wim@fluendo.com>
1215 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1216 (gst_base_sink_set_property), (gst_base_sink_get_property),
1217 (gst_base_sink_do_sync):
1218 * gst/base/gstbasesink.h:
1219 Added sync property to basesink to disable clock sync.
1221 2005-09-20 Andy Wingo <wingo@pobox.com>
1223 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
1224 eating the caller's refcount.
1226 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
1227 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
1230 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
1231 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
1232 of GLib 2.8 public, so we can know which refcount to check in
1235 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
1236 (gst_object_init): Only set the gst refcount if we're going ahead
1237 with the refcount hack.
1239 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1241 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1242 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1243 more leaks plumbed, added more debug-logging
1247 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1250 remove include of gstmemchunk.h
1252 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1254 * gst/gstclock.c: (_gst_clock_id_free):
1255 Commit from the Political Party For More Atomic CVS Commits,
1256 so that people don't waste too much of their day fishing
1257 out obvious leaks out of massive commits.
1258 Oh, and fix a pretty damn obvious leak in the memchunk
1261 2005-09-20 Stefan Kost <ensonic@users.sf.net>
1263 * check/Makefile.am:
1264 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
1265 plug mem-leak, re-add to valgrindable tests
1267 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1270 unbreak the build for those who have chronic arthritis
1271 and typing "make check" is just too taxing on the hands
1273 2005-09-20 Andy Wingo <wingo@pobox.com>
1275 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
1276 really want it out, you should fix plugins at the same time.
1278 2005-09-19 Stefan Kost <ensonic@users.sf.net>
1281 * docs/gst/gstreamer-sections.txt:
1283 added missing symbols to api docs
1284 disable ref-count hack if we have glib >= 2.8
1286 2005-09-19 David Schleef <ds@schleef.org>
1288 * docs/gst/Makefile.am: Ignore a few more internal headers
1289 * docs/gst/gstreamer-docs.sgml: Remove old sections
1290 * docs/gst/gstreamer-sections.txt: Remove old sections
1291 * docs/gst/tmpl/gstobject.sgml: update
1292 * docs/gst/tmpl/gstplugin.sgml: update
1293 * docs/gst/tmpl/gstpluginfeature.sgml: update
1294 * docs/random/ds/0.9-suggested-changes: update.
1295 * gst/Makefile.am: remove memchunk and trashstack, since they're
1297 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
1298 * gst/gst.h: don't include some headers
1299 * gst/gstchildproxy.c: add gstmarshal.h
1300 * gst/gstclock.c: Don't use memchunks
1301 * gst/gstminiobject.c: Add some docs
1302 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
1303 * gst/gstobject.h: same
1304 * gst/gstplugin.c: include gstmacros.h
1305 * gst/gstplugin.h: don't include gstmacros.h, since it's private
1306 * gst/gstquery.c: don't use memchunks
1307 * gst/gstregistry.c: rename gst_registry_deinit()
1308 * gst/gstregistry.h: same
1310 2005-09-19 David Schleef <ds@schleef.org>
1312 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
1313 * docs/libs/gstreamer-libs-sections.txt:
1314 * docs/libs/tmpl/gstgetbits.sgml:
1315 * docs/libs/tmpl/gstputbits.sgml:
1317 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
1319 * win32/gstenumtypes.c:
1320 * win32/gstenumtypes.h:
1323 2005-09-19 Wim Taymans <wim@fluendo.com>
1325 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
1326 Automatically PAUSE and RESUME a pipeline when a flushing seek
1329 2005-09-19 Andy Wingo <wingo@pobox.com>
1331 * gst/gstregistry.h: Spacing fixen.
1333 2005-09-19 Wim Taymans <wim@fluendo.com>
1335 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
1336 Handle state change failure more correctly.
1338 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1340 * check/Makefile.am:
1341 * check/pipelines/cleanup.c: (run_pipeline):
1342 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1344 enable cleanup again after fixing the leak
1346 some more info on docs
1348 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1350 * check/Makefile.am:
1351 re-enable tests now that leaks are plugged
1353 * check/gst/gstbin.c:
1354 * check/gst/gstpipeline.c:
1355 add some more tests while fixing leaks
1357 make sure binaries are uptodate when valgrinding/gdbing
1359 * gst/gstelementfactory.c:
1360 remove a ref too many, and add a FIXME for when we get
1361 round to disposing of classes
1363 fix the refcounting when loading a plugin from a file and
1364 the code pretends that the pointer is the same even though
1365 of course it can change
1366 * gst/gstpluginfeature.c:
1367 unref plugins marked cached (a bit confusing as a name)
1368 as the docs state should be done
1369 various doc additions to explain refcounting
1370 * gst/gstregistry.c:
1371 * gst/gstregistryxml.c:
1374 2005-09-19 Wim Taymans <wim@fluendo.com>
1376 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1377 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1378 (send_messages), (GST_START_TEST), (gstbus_suite):
1379 * check/gst/gstpipeline.c: (GST_START_TEST):
1380 * check/pipelines/cleanup.c: (run_pipeline):
1381 * check/pipelines/simple_launch_lines.c: (run_pipeline),
1383 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
1384 (gst_bus_source_check), (gst_bus_source_dispatch),
1385 (gst_bus_create_watch), (gst_bus_add_watch_full),
1386 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
1388 * tools/gst-launch.c: (event_loop):
1389 * tools/gst-md5sum.c: (event_loop):
1390 GstBusHandler -> GstBusFunc, return value has the same meaning as
1391 any other GSource (FALSE == remove source).
1392 _add_watch() and _add_watch_full() now take a MessageType mask to
1393 only handle specific types of messages.
1394 _poll() returns the GstMessage instead of the message type to avoid
1396 _have_pending() takes a MessageType mask now too.
1397 Added testsuite for multiple bus watches.
1398 Fix testsuites and applications for new bus API.
1400 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
1402 * check/Makefile.am:
1403 mark a bunch of the tests as to fix until we fix them
1405 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1408 use GST_PLUGIN settings for valgrind tests as well, so we're
1409 valgrinding the correct thing
1410 * gst/gst.c: (init_post):
1413 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1415 * gst/gst.c: (init_post), (gst_deinit):
1416 * gst/gstelementfactory.c: (gst_element_factory_class_init),
1417 (gst_element_factory_finalize), (gst_element_factory_cleanup):
1418 * gst/gstindex.c: (gst_index_factory_class_init),
1419 (gst_index_factory_finalize):
1420 * gst/gstobject.c: (gst_object_dispose):
1421 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1422 (gst_plugin_load_file), (gst_plugin_desc_free):
1423 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
1424 (gst_plugin_feature_finalize):
1425 * gst/gstregistry.c: (gst_registry_class_init),
1426 (gst_registry_init), (gst_registry_finalize),
1427 (gst_registry_get_default), (gst_registry_deinit):
1428 * gst/gstregistry.h:
1429 * gst/gstregistryxml.c: (load_feature), (load_plugin):
1430 various cleanups and memleak plugging. make valgrind is happy now.
1432 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
1435 add a check-valgrind target
1437 2005-09-18 David Schleef <ds@schleef.org>
1439 * tools/gst-inspect.c: Revert the GOption code.
1441 2005-09-17 David Schleef <ds@schleef.org>
1443 * check/Makefile.am: Fix environment variables.
1444 * check/gst/gstplugin.c: Fix for API changes.
1445 * tools/gst-inspect.c: Fix for API changes.
1446 * tools/gst-xmlinspect.c: Fix for API changes.
1447 * gst/gstelementfactory.c:
1450 * gst/gstpluginfeature.c:
1451 * gst/gstpluginfeature.h:
1452 * gst/gstregistry.c:
1453 * gst/gstregistry.h:
1454 * gst/gstregistryxml.c:
1455 * gst/gsttypefind.c:
1456 * gst/gsttypefindfactory.c:
1457 * gst/indexers/gstfileindex.c:
1458 * gst/indexers/gstmemindex.c:
1459 * gst/schedulers/Makefile.am:
1460 Change registry to keep track of both plugins and features,
1461 removing the feature tracking from plugins themselves.
1463 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
1465 * check/Makefile.am:
1466 * tools/gst-register.1.in:
1469 2005-09-15 David Schleef <ds@schleef.org>
1471 * check/gst/gstplugin.c:
1472 * gst/gstelementfactory.c:
1474 * gst/gstpluginfeature.c:
1475 * gst/gstregistry.c:
1476 Getting tired of debugging. Disabled all the unreffing of
1477 plugins and features, which fixes the segfaults, but of
1478 course leaks like crazy. At least playbin works.
1480 2005-09-15 David Schleef <ds@schleef.org>
1482 * check/gst/gstplugin.c: (register_check_elements),
1483 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
1485 * gst/elements/gsttypefindelement.c: Fix refcounting.
1486 * gst/gsttypefind.c:
1487 * gst/gsttypefindfactory.c:
1488 * gst/gsttypefindfactory.h:
1490 2005-09-15 David Schleef <ds@schleef.org>
1492 * gst/gstindex.c: get refcounting correct.
1493 * gst/gstregistry.c: Handle the case where a feature/plugin is
1496 2005-09-15 David Schleef <ds@schleef.org>
1498 * check/Makefile.am:
1499 * check/gst/gstplugin.c: Add test
1500 * gst/gstplugin.c: Fix problems noticed by testsuite
1502 * gst/gstregistry.c:
1503 * gst/gstregistry.h:
1505 2005-09-15 David Schleef <ds@schleef.org>
1507 * gst/gstplugin.c: Implement semi-decent recounting and locking
1508 in plugins and plugin features.
1510 * gst/gstpluginfeature.c:
1511 * gst/gstpluginfeature.h:
1512 * gst/gstregistry.c:
1514 2005-09-15 Michael Smith <msmith@fluendo.com>
1516 * gst/gstregistry.c: (gst_registry_get_feature_list):
1517 Implement this. Makes oggdemux work; decodebin still broken.
1519 2005-09-14 David Schleef <ds@schleef.org>
1521 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
1523 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
1524 * gst/check/Makefile.am:
1525 * libs/gst/controller/Makefile.am:
1526 * libs/gst/dataprotocol/Makefile.am:
1528 2005-09-14 David Schleef <ds@schleef.org>
1530 * configure.ac: Remove getbits library. Nothing uses it, and
1531 it should be in something like liboil if someone did want
1533 * libs/gst/Makefile.am:
1534 * libs/gst/getbits/Makefile.am:
1535 * libs/gst/getbits/gbtest.c:
1536 * libs/gst/getbits/getbits.c:
1537 * libs/gst/getbits/getbits.h:
1538 * libs/gst/getbits/gstgetbits_generic.c:
1539 * libs/gst/getbits/gstgetbits_i386.s:
1540 * libs/gst/getbits/gstgetbits_inl.h:
1542 2005-09-14 David Schleef <ds@schleef.org>
1544 * gst/Makefile.am: Dist glib-compat.h
1546 2005-09-14 David Schleef <ds@schleef.org>
1548 * configure.ac: Remove gst/registries, since it's no longer used.
1549 * gst/registries/Makefile.am:
1550 * gst/registries/gstlibxmlregistry.c:
1551 * gst/registries/gstlibxmlregistry.h:
1552 * gst/registries/gstxmlregistry.c:
1553 * gst/registries/gstxmlregistry.h:
1554 * gst/registries/registrytest.c:
1556 2005-09-14 David Schleef <ds@schleef.org>
1558 * gst/glib-compat.h:
1559 * gst/gstregistryxml.c:
1560 Convergence is near. Seriously.
1562 2005-09-14 David Schleef <ds@schleef.org>
1564 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1565 * gst/glib-compat.h:
1566 Attempt #4 to appease the buildbots.
1568 2005-09-14 David Schleef <ds@schleef.org>
1570 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1573 2005-09-14 David Schleef <ds@schleef.org>
1575 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1578 2005-09-14 David Schleef <ds@schleef.org>
1580 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
1583 2005-09-14 David Schleef <ds@schleef.org>
1585 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
1586 * gst/glib-compat.h: Add some functions that are in newer versions
1587 of glib than we care to require.
1588 * gst/gstregistryxml.c: Use them.
1590 2005-09-14 David Schleef <ds@schleef.org>
1592 * po/POTFILES.in: remove gst-register.c
1594 2005-09-14 David Schleef <ds@schleef.org>
1596 * docs/gst/gstreamer-docs.sgml:
1597 * docs/gst/gstreamer-sections.txt:
1598 * docs/gst/gstreamer.types:
1599 * docs/gst/tmpl/gstelement.sgml:
1600 * docs/gst/tmpl/gstplugin.sgml:
1601 * docs/gst/tmpl/gstpluginfeature.sgml:
1602 Documentation updates for registry changes.
1604 2005-09-14 David Schleef <ds@schleef.org>
1606 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
1607 because we don't require glib-2.8.
1609 2005-09-14 David Schleef <ds@schleef.org>
1611 * gst/gstregistryxml.c: Added. Essentially moved out of the
1612 registries directory.
1614 2005-09-14 David Schleef <ds@schleef.org>
1616 * check/Makefile.am:
1617 * check/generic/states.c:
1621 * gst/gst_private.h:
1622 * gst/gstelementfactory.c:
1627 * gst/gstpluginfeature.c:
1628 * gst/gstpluginfeature.h:
1629 * gst/gstregistry.c:
1630 * gst/gstregistry.h:
1631 * gst/gstregistrypool.c: remove
1632 * gst/gstregistrypool.h: remove
1633 * gst/gsttypefind.c:
1634 * gst/gsttypefindfactory.c:
1636 * tools/Makefile.am:
1637 * tools/gst-compprep.c:
1638 * tools/gst-inspect.c:
1639 * tools/gst-register.c: remove
1640 * tools/gst-xmlinspect.c:
1641 Registry rewrite. Changes registry from being a file created
1642 by a tool into a simple cache file created automatically by
1643 libgstreamer. Removed gst-register (because it's no longer
1644 needed). Remove registry pools, because we only have one
1645 registry implementation (XML). Fix up other subsystems as
1648 2005-09-13 Michael Smith <msmith@fluendo.com>
1650 * gst/gstconfig.h.in:
1651 Don't Use windows linking attributes for MinGW. Fixes #316157
1653 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
1655 * gst/gstutils.c: (set_state_async_thread_func),
1656 (gst_element_set_state_async):
1657 Apparently people think it's better if this function doesn't
1658 try to set the state to whatever state was asked for on the first
1659 call to this function for any object. Seriously.
1661 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1663 * check/gst/gstpipeline.c: (GST_START_TEST):
1664 * docs/gst/gstreamer-sections.txt:
1665 * gst/gstutils.c: (set_state_async_thread_func),
1666 (gst_element_set_state_async):
1668 add a "gst_element_set_state_async" method that
1669 sets the state and starts a thread to make sure the state
1670 change completes as best as it can
1672 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1674 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1675 codify design+behaviour in testsuite after discussion
1677 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
1679 * docs/gst/tmpl/gstelement.sgml:
1680 * docs/manual/appendix-quotes.xml:
1682 * gst/gstelement.c: (gst_element_set_state):
1685 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
1687 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1688 (gst_base_transform_prepare_output_buf),
1689 (gst_base_transform_handle_buffer):
1690 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
1691 (gst_capsfilter_prepare_buf):
1692 Remove the requirement for sub-classes to call the parent
1693 implementation of prepare_output_buffer with a wrapper function.
1696 * gst/gsttagsetter.h:
1699 2005-09-11 Stefan Kost <ensonic@users.sf.net>
1701 * docs/gst/gstreamer-sections.txt:
1704 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1706 * docs/gst/gstreamer-sections.txt:
1707 * docs/gst/tmpl/gstelement.sgml:
1708 * docs/gst/tmpl/gstplugin.sgml:
1709 * gst/gstminiobject.c:
1711 docs now stop throwing warnings
1713 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1715 * docs/gst/gstreamer-sections.txt:
1716 * docs/gst/gstreamer.types:
1717 * docs/gst/tmpl/gstpad.sgml:
1718 * docs/gst/tmpl/gsttypes.sgml:
1719 * gst/base/gstadapter.h:
1720 * gst/base/gstbasesink.h:
1721 * gst/base/gstbasesrc.h:
1731 * gst/gststructure.c:
1732 * gst/registries/gstlibxmlregistry.h:
1733 various documentation fixes
1735 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
1737 * docs/gst/gstreamer-sections.txt:
1738 * docs/gst/tmpl/gstvalue.sgml:
1739 rearrange gstvalue section
1740 * gst/gstutils.c: (gst_element_state_get_name):
1742 * gst/gstvalue.c: (_gst_value_initialize):
1746 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
1748 * check/gst-libs/controller.c:
1750 * gst/base/gstbasetransform.c:
1751 (gst_base_transform_default_prepare_buf),
1752 (gst_base_transform_handle_buffer):
1753 * gst/base/gstbasetransform.h:
1754 Some more basetransform changes and fixes to enable sub-classes
1755 that modify buffer metadata only.
1756 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
1757 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
1758 (gst_capsfilter_prepare_buf):
1759 If the output pad has fixed allowed caps and input buffers
1760 don't have any, set the fixed caps on outgoing buffers.
1762 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
1763 * check/elements/identity.c: (GST_START_TEST):
1764 Make the error a little clearer when the test fails because
1765 identity made a copy of the buffer.
1766 * docs/gst/gstreamer-sections.txt:
1767 New symbols in gstbasetransform.h
1768 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1769 (gst_base_transform_init), (gst_base_transform_transform_size),
1770 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1771 (gst_base_transform_default_prepare_buf),
1772 (gst_base_transform_get_unit_size),
1773 (gst_base_transform_buffer_alloc),
1774 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
1775 (gst_base_transform_change_state),
1776 (gst_base_transform_set_passthrough),
1777 (gst_base_transform_set_in_place),
1778 (gst_base_transform_is_in_place):
1779 * gst/base/gstbasetransform.h:
1780 Change BaseTransform to separate in_place operate from same_caps
1781 output. in_place implies that the element can perform the transform
1782 on incoming buffers in-place, even if the caps on the output are
1784 Sub-class elements can now implement special buffer allocation
1785 methods for outgoing buffers if they wish to.
1786 Big documentation addition.
1787 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
1788 * gst/elements/gstelements.c:
1789 Changes for basetransform modifications.
1790 * gst/elements/Makefile.am:
1791 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
1792 Compile fix. Extra debug output.
1794 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1796 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
1798 add tests for valid pad naming
1799 * gst/check/gstcheck.c: (gst_check_log_message_func),
1800 (gst_check_log_critical_func):
1802 remove printing of code, it is fragile when the code contains
1803 % and the line number is enough info
1804 * gst/check/gstcheck.h:
1805 * gst/gstpad.c: (gst_pad_template_new):
1808 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1811 say what CHECK flags we use
1812 * docs/libs/gstreamer-libs.types:
1813 * libs/gst/controller/Makefile.am:
1814 * libs/gst/controller/gst-controller.c:
1815 * libs/gst/controller/gst-controller.h:
1816 * libs/gst/controller/gst-helper.c:
1817 * libs/gst/controller/gst-interpolation.c:
1818 * libs/gst/controller/gstcontroller.c:
1819 * libs/gst/controller/gsthelper.c:
1820 * libs/gst/controller/gstinterpolation.c:
1821 * tools/gst-inspect.c: (print_plugin_info):
1822 we don't use dashes in header names
1824 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1826 * check/Makefile.am:
1827 * check/gst/.cvsignore:
1828 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1829 (gst_pipeline_suite), (main):
1830 adding a test for pipelines and state changes
1831 * gst/gstutils.c: (get_state_func):
1833 * gstreamer.spec.in:
1836 2005-09-08 Michael Smith <msmith@fluendo.com>
1838 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1839 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1840 (gst_file_src_is_seekable), (gst_file_src_get_size),
1841 (gst_file_src_start):
1842 * gst/elements/gstfilesrc.h:
1843 Various fixes for unseekable, unmmapable, and non-normal files, so
1844 that fallback to read() rather than mmap() works.
1845 * gst/gstevent.c: (gst_event_new_newsegment):
1846 Allow newsegment events with segment_start == segment_end, as will
1847 correctly happen if you use filesrc on a zero-size file, for
1850 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1852 * gst/gstplugin.c: (gst_plugin_load_file):
1853 Call g_module_close when we don't load the module
1855 * gst/registries/gstlibxmlregistry.c:
1856 (gst_xml_registry_get_property):
1857 Port leak fix from 0.8
1859 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1861 * docs/gst/gstreamer-docs.sgml:
1862 * docs/gst/tmpl/.cvsignore:
1863 * docs/gst/tmpl/gsttrace.sgml:
1864 * docs/gst/tmpl/gsttrashstack.sgml:
1873 * gst/gsttaginterface.c:
1874 * gst/gsttaginterface.h:
1877 * gst/gsttagsetter.c:
1878 * gst/gsttagsetter.h:
1881 * gst/gsttrashstack.c:
1882 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1883 inlined docs for gsttrace, gsttrashstack
1885 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1888 * gst/elements/gstbufferstore.h:
1889 * gst/elements/gsttypefindelement.c:
1890 * gst/elements/gsttypefindelement.h:
1892 * gst/gsttypefind.c:
1893 * gst/gsttypefind.h:
1894 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1895 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1896 (gst_type_find_factory_dispose),
1897 (gst_type_find_factory_unload_thyself),
1898 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1899 (gst_type_find_factory_get_caps),
1900 (gst_type_find_factory_get_extensions),
1901 (gst_type_find_factory_call_function):
1902 * gst/gsttypefindfactory.h:
1903 * gst/registries/gstlibxmlregistry.c:
1904 * gst/registries/gstxmlregistry.c:
1905 splitted gsttypefind into gsttypefind, gsttypefindfactory
1907 2005-09-07 Andy Wingo <wingo@pobox.com>
1909 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1910 condition whereby the pad's task function is entered before the
1911 pad_mode variable was set.
1913 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1915 * gst/gstpad.c: (gst_pad_alloc_buffer):
1916 Catch misbehaving pad_alloc functions that don't
1917 set up caps and do it for them.
1919 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1921 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1923 * docs/gst/tmpl/.cvsignore:
1924 * docs/gst/tmpl/gstmemchunk.sgml:
1925 * docs/gst/tmpl/gstparse.sgml:
1926 * docs/gst/tmpl/gsttaglist.sgml:
1927 * docs/gst/tmpl/gsttagsetter.sgml:
1928 * docs/gst/tmpl/gsttypefind.sgml:
1929 * docs/gst/tmpl/gsttypefindfactory.sgml:
1930 * gst/gstmemchunk.c:
1933 * gst/gsttaginterface.c:
1934 * gst/gsttypefind.c:
1935 * gst/gsttypefind.h:
1938 === release 0.9.2 ===
1940 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1945 releasing 0.9.2, "South"
1947 2005-09-05 Andy Wingo <wingo@pobox.com>
1949 * gst/registries/gstxmlregistry.h:
1950 * gst/registries/gstxmlregistry.c: Um... resurrect...
1952 * gst/registries/gstxmlregistry.h:
1953 * gst/registries/gstxmlregistry.c: and update to newer API.
1954 Incidentally they should be a bit faster now that they don't have
1957 2005-09-05 Andy Wingo <wingo@pobox.com>
1959 * gst/registries/gstxmlregistry.h:
1960 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1961 replaced by the libxml registry a while back
1963 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1965 * docs/gst/tmpl/gstplugin.sgml:
1966 * gst/elements/gstelements.c:
1968 * gst/gstplugin.c: (gst_plugin_register_func),
1969 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1970 (gst_plugin_get_source):
1972 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1973 (gst_xml_registry_save_plugin):
1974 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1975 (gst_xml_registry_save_plugin):
1976 * tools/gst-inspect.c: (print_plugin_info):
1977 add a "source" plugin description field, to represent the source
1978 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1979 will set it to PACKAGE, which is automake's idea of the name of
1982 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1988 * docs/faq/Makefile.am:
1989 * docs/gst/tmpl/gstelement.sgml:
1990 * docs/gst/tmpl/gsttypes.sgml:
1991 * docs/htmlinstall.mak:
1992 * docs/manual/Makefile.am:
1993 * docs/pwg/Makefile.am:
1994 reorganize doc build a little
1995 split out docbook and gtk-doc stuff
1996 have two separate --enable's and enable them through autogen
1997 but disable by default in configure (to be similar to other
1999 * gstreamer.spec.in:
2000 clean up docs install
2020 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
2022 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2025 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2026 (gst_fake_sink_change_state):
2027 Make state change function thread-safe.
2029 * gst/gstpad.c: (gst_pad_alloc_buffer):
2030 Set offset on generic buffer allocated by fallback.
2032 2005-09-03 Stefan Kost <ensonic@users.sf.net>
2034 * docs/gst/gstreamer-sections.txt:
2035 * docs/gst/tmpl/gstelement.sgml:
2037 * libs/gst/controller/gst-controller.c:
2038 (gst_controlled_property_set_interpolation_mode),
2039 (gst_controlled_property_new),
2040 (gst_controller_find_controlled_property):
2041 run the wingo-magic script against the docs
2043 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2045 * docs/gst/gstreamer-docs.sgml:
2046 * docs/gst/gstreamer-sections.txt:
2047 * docs/gst/tmpl/.cvsignore:
2048 * docs/gst/tmpl/gstelementdetails.sgml:
2049 * docs/gst/tmpl/gstelementfactory.sgml:
2052 * gst/gstelementfactory.c:
2053 * gst/gstelementfactory.h:
2054 merged elementdetails docs into elementfactory docs
2057 2005-09-02 Andy Wingo <wingo@pobox.com>
2059 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2060 consider this enum an enum and not a flags.
2062 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2064 * docs/gst/gstreamer-docs.sgml:
2065 * docs/gst/tmpl/.cvsignore:
2066 * docs/gst/tmpl/gstghostpad.sgml:
2067 * docs/gst/tmpl/gstiterator.sgml:
2068 * docs/gst/tmpl/gstmacros.sgml:
2069 * docs/gst/tmpl/gstrealpad.sgml:
2070 * docs/gst/tmpl/gstregistry.sgml:
2071 * docs/gst/tmpl/gstregistrypool.sgml:
2072 * docs/gst/tmpl/gststructure.sgml:
2073 * docs/gst/tmpl/gstsystemclock.sgml:
2074 * docs/gst/tmpl/gsttrace.sgml:
2075 * gst/gstghostpad.c:
2077 * gst/gstmemchunk.c:
2078 * gst/gstmemchunk.h:
2080 * gst/gstregistry.c:
2081 * gst/gstregistrypool.c:
2082 * gst/gststructure.c:
2083 * gst/gstsystemclock.c:
2086 2005-09-02 Andy Wingo <wingo@pobox.com>
2088 * gst/gstelement.h (GstState): Renamed from GstElementState,
2089 changed to be a normal enum instead of flags.
2090 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2091 munged to be GST_STATE_CHANGE_*.
2092 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2093 work with the new state representation.
2094 (GstStateChange): New enumeration of possible state transitions.
2095 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2096 (GstElementClass::change_state): Pass the GstStateChange along as
2097 an argument. Helps language bindings, so they don't have to use
2098 tricky lock-needing macros like GST_STATE_CHANGE ().
2100 * scripts/update-states (file): New script. Run it on a file to
2101 update it for state naming and API changes. Updates files in
2104 * All files updated for the new API.
2106 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2108 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2109 * gst/gstutils.c: (gst_util_set_value_from_string),
2110 (gst_util_set_object_arg):
2111 fix a bunch of unchecked return values
2112 * tools/gst-complete.c: (main):
2113 * gstreamer.spec.in:
2116 2005-09-01 Wim Taymans <wim@fluendo.com>
2118 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2119 (gst_base_sink_event), (gst_base_sink_do_sync),
2120 (gst_base_sink_handle_event):
2121 * gst/base/gstbasesink.h:
2122 Handle newsegments more correctly.
2127 * gst/gstevent.c: (gst_event_new_newsegment):
2128 A newsegment cannot have a start_time of -1
2130 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
2132 * win32/gstenumtypes.c:
2133 * win32/gstenumtypes.h:
2136 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2138 * libs/gst/controller/gst-controller.c:
2139 (gst_controlled_property_set_interpolation_mode),
2140 (gst_controlled_property_new):
2143 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2145 * docs/faq/gst-uninstalled:
2150 * gst/gstutils.c: (gst_element_link_filtered):
2152 add gst_element_link_filtered
2154 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2156 * docs/gst/gstreamer-docs.sgml:
2157 * docs/gst/gstreamer-sections.txt:
2158 * docs/gst/tmpl/.cvsignore:
2159 * docs/gst/tmpl/gsterror.sgml:
2160 * docs/gst/tmpl/gstfilter.sgml:
2161 * docs/gst/tmpl/gsturihandler.sgml:
2162 * docs/gst/tmpl/gsturitype.sgml:
2163 * docs/gst/tmpl/gstutils.sgml:
2164 * docs/gst/tmpl/gstxml.sgml:
2172 inlined more docs, fixed double id-ref
2174 2005-08-31 Wim Taymans <wim@fluendo.com>
2176 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2177 (gst_base_transform_handle_buffer):
2178 Passthrough elements don't need the caps as they don't care.
2180 2005-08-31 Wim Taymans <wim@fluendo.com>
2182 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2183 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
2184 Don't leak refcounts on buffers.
2186 2005-08-31 Wim Taymans <wim@fluendo.com>
2188 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
2189 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
2190 (gst_base_transform_chain), (gst_base_transform_change_state):
2191 * gst/base/gstbasetransform.h:
2192 Handle the case where we are not negotiated more gracefully.
2194 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
2196 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
2197 (gst_file_src_map_region):
2198 Set READONLY flag on mmap'ed buffers, otherwise
2199 gst_buffer_make_writable() won't work properly (#314708).
2201 2005-08-31 Wim Taymans <wim@fluendo.com>
2203 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
2204 passthrough elements can even do inplace on non writable
2205 buffers (as they don't touch them).
2207 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2209 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2210 (gst_test_mono_source_set_property),
2211 (gst_test_mono_source_class_init), (GST_START_TEST),
2212 (gst_controller_suite):
2213 more tests (hehe I have the most)
2215 describe popping messages whenusing mulltiple sources
2216 * libs/gst/controller/gst-controller.c:
2217 (gst_controlled_property_set_interpolation_mode),
2218 (gst_controlled_property_new):
2219 * libs/gst/controller/gst-controller.h:
2220 * libs/gst/controller/gst-interpolation.c:
2221 implement boolean properties
2223 2005-08-31 Wim Taymans <wim@fluendo.com>
2225 * gst/gstminiobject.c: (gst_mini_object_ref):
2226 Cannot assert that the refcount has to be positive
2227 since a disposed object can be resurrected.
2229 2005-08-31 Wim Taymans <wim@fluendo.com>
2231 * gst/gstpad.c: (gst_pad_init):
2232 Revert change, need to first fix badly behaving
2235 2005-08-30 Wim Taymans <wim@fluendo.com>
2237 * check/elements/fakesrc.c: (setup_fakesrc):
2238 * check/elements/identity.c: (setup_identity):
2239 Activate pads before using them.
2241 2005-08-30 Wim Taymans <wim@fluendo.com>
2243 * gst/base/gstadapter.c: (gst_adapter_flush):
2244 Flushing out 0 bytes is ok for this function.
2246 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2247 no newsegment gives a warning and sets the start/stop to
2250 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
2251 (gst_base_transform_set_passthrough):
2254 * gst/gstminiobject.c: (gst_mini_object_ref):
2255 Check refcount here too.
2257 * gst/gstpad.c: (gst_pad_init):
2258 Pads are initially flushing and refusing data.
2260 * gst/gstutils.c: (gst_element_link_pads_filtered):
2261 When adding a capsfilter element make sure it has the
2262 same state as the parent bin.
2264 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2266 * docs/gst/tmpl/.cvsignore:
2267 * docs/gst/tmpl/gstformat.sgml:
2268 * docs/gst/tmpl/gstversion.sgml:
2272 * gst/gstversion.h.in:
2273 more docs and two more inlined
2275 2005-08-30 Wim Taymans <wim@fluendo.com>
2277 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
2278 Don't sync to clock.
2280 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2282 * docs/gst/gstreamer-sections.txt:
2283 ultral33t func10ns deserve to appear in the docs actually
2284 * docs/gst/tmpl/.cvsignore:
2285 * docs/gst/tmpl/gstcompat.sgml:
2286 * docs/gst/tmpl/gstconfig.sgml:
2287 * gst/check/gstcheck.c:
2289 * gst/gstconfig.h.in:
2292 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2294 * docs/gst/tmpl/.cvsignore:
2295 * docs/gst/tmpl/gstquery.sgml:
2296 * docs/gst/tmpl/gstutils.sgml:
2299 inlined and extended docs
2301 2005-08-30 Stefan Kost <ensonic@users.sf.net>
2303 * check/gst-libs/controller.c: (GST_START_TEST),
2304 (gst_controller_suite):
2306 * docs/gst/tmpl/gstutils.sgml:
2307 * docs/libs/gstreamer-libs-sections.txt:
2308 * docs/libs/tmpl/gstdataprotocol.sgml:
2310 * examples/controller/audio-example.c: (main):
2311 controller example works now
2314 * tools/gst-inspect.c: (print_element_properties_info):
2315 show param spec flags
2317 2005-08-29 Andy Wingo <wingo@pobox.com>
2319 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
2321 2005-08-28 Andy Wingo <wingo@pobox.com>
2323 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
2324 as having two arguments instead of just one. Allows superclasses
2325 to access information on subclasses -- see the terrible for() loop
2326 in gtype.c:g_type_create_instance for the reason why. All callers
2329 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2331 * docs/design/part-messages.txt:
2333 * docs/gst/tmpl/.cvsignore:
2334 * docs/gst/tmpl/gstcaps.sgml:
2335 * docs/gst/tmpl/gstclock.sgml:
2342 added descriptions for bus and message
2343 inline caps and clock docs
2345 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2351 2005-08-27 Stefan Kost <ensonic@users.sf.net>
2353 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
2356 2005-08-26 Andy Wingo <wingo@pobox.com>
2358 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
2359 element_set_state's return val.
2360 (test_2_elements): Add test that's been disabled for months.
2362 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
2363 can-activate-pull properties.
2365 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
2366 can-activate-pull properties. Implement is_seekable so fakesrc can
2367 operate in pull mode.
2369 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
2371 (gst_base_sink_activate, gst_base_sink_activate_pull)
2372 (gst_base_sink_activate_push): Make activation mode choosing work.
2374 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
2375 is right. Make pull mode work. Post an eos before pausing in pull
2377 (gst_base_sink_change_state): Pay attention to the core's
2378 change_state() return val.
2380 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
2381 has-getrange properties. Cleanups.
2383 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
2384 has_getrange and replace with can_activate_pull and
2387 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
2388 locking comments. Remove has_loop, has_chain and replace with
2389 can_activate_pull and can_activate_push.
2391 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
2394 * examples/Makefile.am:
2395 * examples/metadata/Makefile.am:
2396 * examples/metadata/read-metadata.c: (message_loop),
2397 (have_pad_handler), (make_pipeline), (print_tag), (main):
2398 Add metadata reading example that loops over a list of filenames,
2399 dumping any tags found.
2401 * gst/gstbus.c: (gst_bus_dispose):
2402 * gst/gstelement.c: (gst_element_dispose):
2403 Release a few potentially-held references in dispose.
2405 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2407 * docs/gst/tmpl/gstminiobject.sgml:
2408 do *not* add tmpl/*.sgml files to CVS!
2410 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2412 * libs/gst/bytestream/.cvsignore:
2413 * libs/gst/bytestream/Makefile.am:
2414 * libs/gst/bytestream/adapter.c:
2415 * libs/gst/bytestream/adapter.h:
2416 * libs/gst/bytestream/bytestream.c:
2417 * libs/gst/bytestream/bytestream.h:
2418 * libs/gst/bytestream/filepad.c:
2419 * libs/gst/bytestream/filepad.h:
2420 removing obsolete files
2422 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2424 * docs/gst/gstreamer-docs.sgml:
2425 * docs/libs/gstreamer-libs-docs.sgml:
2426 disabed additional index entries again, as this makes docs-gen just
2427 slow and they aren't useful yet
2428 * docs/libs/gstreamer-libs-sections.txt:
2429 little -section.txt cleanup for libs
2431 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
2433 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2434 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
2435 fix up some debugging
2436 (gst_base_transform_get_unit_size),
2437 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2438 (gst_base_transform_handle_buffer):
2439 * gst/base/gstbasetransform.h:
2440 handle and store timed NEWSEGMENT events so that subclasses that
2441 calculate time by counting samples have a segment_start time they
2442 need to add to their timestamps - see audioresample
2444 2005-08-26 Stefan Kost <ensonic@users.sf.net>
2447 removed ';' from the end of macro defs
2448 * docs/gst/gstreamer-docs.sgml:
2449 * docs/gst/gstreamer-sections.txt:
2450 * docs/gst/tmpl/.cvsignore:
2452 * gst/gstelement.c: (gst_element_class_init),
2453 (gst_element_set_state), (activate_pads),
2454 (gst_element_save_thyself):
2455 * gst/gstevent.c: (gst_event_new_newsegment):
2457 * gst/gstiterator.c:
2458 * gst/gstiterator.h:
2461 * gst/gstutils.c: (gst_pad_query_convert):
2463 fixed parameter name mismatches between source, header and docs
2464 added some more docs, resolved the last batch of unused elements in
2465 docs (now someone needs to doc them)
2467 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2469 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
2470 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
2471 don't walk through the plugins backwards. Where is all this
2472 reversed logic coming from ?
2474 2005-08-25 Wim Taymans <wim@fluendo.com>
2476 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2477 (gst_base_transform_transform_size),
2478 (gst_base_transform_configure_caps),
2479 (gst_base_transform_get_unit_size),
2480 (gst_base_transform_buffer_alloc),
2481 (gst_base_transform_change_state):
2482 * gst/base/gstbasetransform.h:
2483 Cache caps unit_size.
2484 Make sure we cannot negotiate up and downstream at the
2487 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2489 * gst/gst.c: (init_pre), (init_post):
2490 register the installed plugin path after the env var
2491 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
2492 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
2493 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
2494 directories, so the tests can prefer uninstalled over installed
2496 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
2498 * gst/base/gstbasetransform.h:
2503 2005-08-25 Wim Taymans <wim@fluendo.com>
2505 * gst/gstbin.c: (bin_bus_handler):
2506 Be a bit more conservative about the posted message.
2508 * gst/gstbus.c: (gst_bus_post):
2509 Some cleanups, warn wrong return values.
2511 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
2513 * check/gst/gstbin.c: (GST_START_TEST):
2514 * gst/gstbin.c: (bin_bus_handler):
2515 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2516 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2517 (gst_message_new_warning), (gst_message_new_tag),
2518 (gst_message_new_state_changed), (gst_message_new_segment_start),
2519 (gst_message_new_segment_done), (gst_message_new_custom):
2521 * tools/gst-launch.c: (event_loop):
2522 * tools/gst-md5sum.c: (event_loop):
2523 Revert unpopular change for GST_MESSAGE_SRC to GObject.
2525 2005-08-25 Wim Taymans <wim@fluendo.com>
2527 * check/generic/states.c: (GST_START_TEST):
2528 Cleanup can be done at the end.
2530 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
2531 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2532 (gst_task_get_state), (gst_task_start), (gst_task_pause):
2533 Oh boy.. Thanks for finding this, Thomas.
2535 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2537 * docs/gst/gstreamer.types:
2540 2005-08-25 Stefan Kost <ensonic@users.sf.net>
2542 * docs/gst/gstreamer-docs.sgml:
2543 * docs/gst/gstreamer-sections.txt:
2544 * docs/gst/tmpl/.cvsignore:
2546 * gst/gstiterator.c:
2548 * gst/registries/gstxmlregistry.h:
2549 added missing classes and symbols (123 more to go)
2550 removed removed symbols from section file
2551 fixed many doc-comments
2553 2005-08-24 Wim Taymans <wim@fluendo.com>
2555 * check/generic/states.c: (GST_START_TEST):
2556 Make sure all tasks are stopped.
2558 * check/gst/gstbin.c: (GST_START_TEST):
2559 Unref after usage for proper valgrinding.
2561 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
2562 Really wait for the task to stop before destroying the
2565 * gst/gstqueue.c: (gst_queue_sink_activate_push),
2566 (gst_queue_src_activate_push):
2567 Small cleanups. Don't stop the task when we did not start
2570 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
2571 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
2572 (gst_task_get_state), (gst_task_start), (gst_task_pause),
2575 Protect the stream lock with the object lock.
2576 Disallow setting the stream lock when running.
2577 Add cleanup_all to wait for the threadpool to finish.
2578 Remove code to autoallocate a mutex if none was provided.
2579 Add _join() to wait for a task to stop.
2580 Protect the thread pool with a global lock.
2582 2005-08-24 Wim Taymans <wim@fluendo.com>
2584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2585 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2586 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
2587 * gst/base/gstbasesink.h:
2588 Handle newsegment events correctly.
2589 Drop buffers out of the segment range.
2591 2005-08-22 Andy Wingo <wingo@pobox.com>
2593 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
2594 macro, implements an interface and gstimplementsinterface for a
2597 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2599 * check/Makefile.am:
2600 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
2601 add a test that does a bunch of state changes on elements
2602 needs some fixing for valgrind
2603 * check/states/sinks.c: (gst_object_suite):
2606 add prototype for gst_caps_is_equal_fixed
2608 * gst/gstregistrypool.c:
2611 2005-08-24 Andy Wingo <wingo@pobox.com>
2613 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
2614 convert a negative value. Doesn't make much sense. Mostly this is
2615 here to force callers to ensure -1 maps to -1.
2617 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2619 * docs/pwg/advanced-types.xml:
2620 Well done to Michael for catching my deliberate introduction
2621 of this spelling mistake.
2622 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
2624 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
2625 unlink pads before removing the element from the bin.
2627 2005-08-24 Andy Wingo <wingo@pobox.com>
2629 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
2630 the same thing as GST_DEBUG=*:4.
2631 (parse_debug_level, parse_debug_category): New helper parsers.
2633 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
2635 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2636 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
2637 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
2638 (gst_base_transform_buffer_alloc),
2639 (gst_base_transform_handle_buffer):
2640 use gboolean return values and pointers to size so we can use the
2641 full GST_BUFFER_SIZE range (guint) for buffer sizes
2642 use GstPadDirection for transform_caps
2643 * gst/base/gstbasetransform.h:
2644 rename get_size to get_unit_size since that's what it is
2645 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
2646 use GstPadDirection for transform_caps
2647 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2649 cleanup and debugging
2651 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2653 * gst/gstelement.c: (gst_element_class_init),
2654 (gst_element_set_state), (activate_pads),
2655 (gst_element_save_thyself):
2656 * tools/gst-compprep.c: (main):
2657 * tools/gst-inspect.c: (print_element_properties_info):
2658 * tools/gst-xmlinspect.c: (print_element_properties):
2659 Fixed long standing mem-leak
2661 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
2663 * check/gst/gstbin.c: (GST_START_TEST):
2664 * gst/gstbin.c: (bin_bus_handler):
2665 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
2666 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
2667 (gst_message_new_warning), (gst_message_new_tag),
2668 (gst_message_new_state_changed), (gst_message_new_segment_start),
2669 (gst_message_new_segment_done), (gst_message_new_custom):
2671 * tools/gst-launch.c: (event_loop):
2672 * tools/gst-md5sum.c: (event_loop):
2673 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
2674 that applications can sensibly post custom messages with references
2675 to their own objects.
2677 2005-08-24 Andy Wingo <wingo@pobox.com>
2679 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
2682 2005-08-24 Wim Taymans <wim@fluendo.com>
2684 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2685 (gst_base_transform_transform_caps),
2686 (gst_base_transform_transform_size),
2687 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2688 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2689 (gst_base_transform_handle_buffer):
2690 * gst/base/gstbasetransform.h:
2691 Many fixes and new features added by Thomas. Can now also do
2692 transforms with variable sizes and a custom fixate_caps function.
2694 2005-08-24 Wim Taymans <wim@fluendo.com>
2696 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2700 Cast to ClockTime before formatting to time.
2705 2005-08-24 Stefan Kost <ensonic@users.sf.net>
2707 * check/gst-libs/controller.c: (GST_START_TEST),
2708 (gst_controller_suite):
2709 * docs/gst/tmpl/gstcaps.sgml:
2710 * docs/gst/tmpl/gstghostpad.sgml:
2711 * docs/gst/tmpl/gstquery.sgml:
2712 * docs/gst/tmpl/gstutils.sgml:
2713 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
2714 (gst_object_sink_values), (gst_object_get_value_arrays),
2715 (gst_object_get_value_array):
2716 gracefully handle helper method calls to objects that are not beeing
2717 controlled, added test case for that
2719 2005-08-23 Wim Taymans <wim@fluendo.com>
2721 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
2722 (gst_event_new_newsegment), (gst_event_parse_newsegment),
2723 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
2724 (gst_event_parse_qos), (gst_event_new_seek),
2725 (gst_event_parse_seek):
2727 Some more debugging output and doc cleanups.
2729 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2730 Fix possible deadlock.
2732 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2734 * docs/gst/gstreamer-docs.sgml:
2735 * docs/gst/gstreamer-sections.txt:
2736 * docs/gst/gstreamer.types:
2737 * docs/gst/tmpl/.cvsignore:
2742 added 100 symbols from gstreamer-unused.txt to the right sections
2743 fixed more broken comments
2744 added GstBus to docs
2746 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2748 * docs/gst/gstreamer-sections.txt:
2749 * docs/gst/tmpl/.cvsignore:
2750 * docs/gst/tmpl/gstbin.sgml:
2751 * docs/gst/tmpl/gstbuffer.sgml:
2752 * gst/base/gstbasesrc.c:
2753 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2756 * tools/gst-launch.1.in:
2757 inlined more doc comments, added missing comments and fixed comments
2760 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
2762 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
2766 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
2768 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
2769 * gst/gststructure.h:
2770 add a fixate function for booleans; add a FIXME that these func
2771 names should probably be gst_structure_fixate_*
2773 2005-08-23 Stefan Kost <ensonic@users.sf.net>
2775 * docs/gst/gstreamer-docs.sgml:
2776 * docs/gst/gstreamer-sections.txt:
2778 * gst/gstbin.c: (gst_bin_get_type),
2779 (gst_bin_child_proxy_get_child_by_index),
2780 (gst_bin_child_proxy_get_children_count),
2781 (gst_bin_child_proxy_init):
2782 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2783 (gst_child_proxy_get_child_by_index),
2784 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
2785 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
2786 (gst_child_proxy_get), (gst_child_proxy_set_property),
2787 (gst_child_proxy_set_valist), (gst_child_proxy_set),
2788 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
2789 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
2790 * gst/gstchildproxy.h:
2791 * gst/parse/grammar.y:
2792 * tools/gst-inspect.c: (print_interfaces),
2793 (print_element_properties_info), (print_element_info):
2794 ported gstchildproxy over from 0.8
2795 ported gst-inspect fixes and enhancements over from 0.8
2797 2005-08-22 Wim Taymans <wim@fluendo.com>
2799 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2800 (gst_base_transform_handle_buffer):
2801 Also call the transform function if we have ANY caps.
2803 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
2806 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2808 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
2809 Don't pretend to handle seek events if the source is not seekable
2811 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2813 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2814 Remove extra parameter to debug output
2816 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2817 (gst_base_src_do_seek), (gst_base_src_activate_push):
2818 Fix seek event handling.
2820 * gst/gstpipeline.c: (gst_pipeline_change_state):
2821 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2822 (gst_queue_src_activate_push):
2823 Don't start the src pad task on FLUSH_STOP if the pad
2827 2005-08-22 Wim Taymans <wim@fluendo.com>
2829 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2830 Added check for gst_static_caps_get() refcounting.
2832 2005-08-22 Wim Taymans <wim@fluendo.com>
2834 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2835 Make _static_caps_get() refcounting sane.
2837 * gst/gstelement.c: (gst_element_set_state):
2838 Add g_return_val_if_fail() to protect against segfaults.
2840 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2842 * docs/gst/tmpl/gstevent.sgml:
2845 inlined remaining docs, added missing doc comments
2847 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2849 * check/gst/gstbin.c: (GST_START_TEST):
2850 since we don't know when preroll is done, use refcount range
2852 * gst/check/gstcheck.h:
2853 add macro for checking refcount range
2855 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2857 * check/Makefile.am:
2858 clean up environment for when registry gets built versus
2859 when actual tests are run; valgrind seems to not report
2860 leaks if GST_PLUGIN_PATH is set to some specific values
2861 * check/gst/gstbin.c: (GST_START_TEST):
2862 add more refcounting checks; maybe this exposes a
2865 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2866 * gst/check/gstcheck.h:
2867 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2868 (gst_bin_change_state):
2869 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2870 add/fix debugging/whitespace
2872 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2874 * check/gst/gstevent.c: (event_probe), (test_event),
2876 Er, don't call gst_bin_watch_for_state_change you idiot.
2878 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2880 * check/Makefile.am:
2881 Use CHECK_CFLAGS and CHECK_LIBS
2882 * check/gst/gstevent.c: (event_probe), (test_event),
2885 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2886 (gst_base_src_start), (gst_base_src_stop),
2887 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2888 (gst_base_src_change_state):
2889 Sprinkle gst_base_src_stop liberally around error paths to fix
2890 problems reusing a source after failed state changes.
2891 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2892 (helper_find_suggest), (gst_type_find_helper):
2893 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2895 * docs/gst/tmpl/gstevent.sgml:
2896 Migrate part of the docs from the SGML file. Wait for ensonic to
2897 tell me how I did it wrong ;)
2898 * tools/gst-typefind.c: (main):
2899 Extra robustness to state changes between files.
2901 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2903 * check/Makefile.am:
2904 don't valgrind the controller test - it's leaking - Stefan, HELP
2905 * gst/check/gstcheck.c: (gst_check_message_error),
2906 (gst_check_chain_func), (gst_check_setup_element),
2907 (gst_check_teardown_element), (gst_check_setup_src_pad),
2908 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2909 (gst_check_teardown_sink_pad):
2910 * gst/check/gstcheck.h:
2911 add a bunch of methods to set up elements, and src and sink pads
2912 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2913 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2918 whitespace/doc fixes
2920 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2923 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2924 be handled by the application and not always printed as well
2926 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2928 * check/Makefile.am:
2930 * gst/check/gstcheck.c: (gst_check_message_error):
2931 * gst/check/gstcheck.h:
2932 add a fail_unless_equals_int
2933 add fail_unless for error messages
2935 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2937 * check/Makefile.am:
2939 * common/Makefile.am:
2942 factor out some of the common stuff so we can use it
2944 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2946 * check/Makefile.am:
2947 * check/gst/gstiterator.c: (GST_START_TEST):
2948 * check/gst/gstsystemclock.c: (GST_START_TEST),
2949 (gst_systemclock_suite):
2950 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2954 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2956 * check/elements/.cvsignore:
2957 * check/elements/gstfakesrc.c:
2958 rename to name of element
2959 * check/elements/identity.c: (chain_func), (event_func),
2960 (setup_identity), (cleanup_identity), (GST_START_TEST),
2961 (identity_suite), (main):
2962 add a test for identity
2963 * check/Makefile.am:
2964 * pkgconfig/Makefile.am:
2965 * pkgconfig/gstreamer-check.pc.in:
2966 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2970 move the check stuff to a library that gets installed
2971 * check/gst-libs/controller.c: (GST_START_TEST):
2972 * check/gst-libs/gdp.c:
2973 * check/gst/gst.c: (GST_START_TEST):
2974 * check/gst/gstbin.c:
2975 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2976 * check/gst/gstbus.c:
2977 * check/gst/gstcaps.c: (GST_START_TEST):
2978 * check/gst/gstelement.c:
2979 * check/gst/gstghostpad.c:
2980 * check/gst/gstiterator.c:
2981 * check/gst/gstmessage.c:
2982 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2983 * check/gst/gstobject.c:
2984 * check/gst/gstpad.c: (GST_START_TEST):
2985 * check/gst/gststructure.c: (GST_START_TEST):
2986 * check/gst/gstsystemclock.c: (GST_START_TEST),
2987 (gst_systemclock_suite):
2988 * check/gst/gsttag.c: (gst_tag_suite):
2989 * check/gst/gstvalue.c:
2990 * check/pipelines/cleanup.c:
2991 * check/pipelines/simple_launch_lines.c:
2992 * check/states/sinks.c:
2993 change include statement
2995 * docs/gst/gstreamer-sections.txt:
2996 * docs/gst/tmpl/gstpad.sgml:
2997 document more pad stuff
2998 * gst/gstminiobject.c: (gst_mini_object_ref),
2999 (gst_mini_object_unref):
3002 2005-08-19 Stefan Kost <ensonic@users.sf.net>
3004 * docs/gst/tmpl/gst.sgml:
3006 eliminate another tmpl file, fix spelling in the long-description
3008 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3010 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3011 (test_event), (timediff), (gstevents_suite):
3012 Should fix build on 64-bit arch's
3014 2005-08-18 Andy Wingo <wingo@pobox.com>
3016 Make sure that when a pipeline goes to PLAYING, that data has
3017 actually hit the sink.
3019 * check/states/sinks.c (test_sink): A sink that doesn't get any
3020 data shouldn't return SUCCESS for going to either PLAYING or
3021 PAUSED. Test also the return values on the way back down.
3023 * gst/gstelement.c (gst_element_set_state): When changing the
3024 state of an element currently changing state asynchronously, go to
3025 lost-state after commiting the pending state. Makes future calls
3026 to get_state continue to return ASYNC.
3028 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3029 ASYNC when going to PLAYING if we still don't have preroll, as can
3030 happen with live sources.
3032 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3034 * docs/pwg/advanced-types.xml:
3035 Hack long paragraph into 2 chunks as a workaround for buggy
3036 jadetex version in sid and breezy that loops infinitely and
3039 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3041 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3042 (test_event), (timediff), (gstevents_suite):
3043 Provide more error margin in clock measurements to allow for
3044 g_get_current_time inaccuracies.
3046 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3048 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3049 (test_event), (timediff), (gstevents_suite):
3050 Fix error message output so I might be able to tell why the
3051 test works here but fails on the build farm.
3053 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3055 * check/Makefile.am:
3056 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3057 (test_event), (timediff), (gstevents_suite), (main):
3060 * docs/design/part-seeking.txt:
3063 * docs/gst/tmpl/gstevent.sgml:
3064 * docs/gst/tmpl/gstfakesrc.sgml:
3067 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3068 Treat a buffer-without-newsegment the same as a receiving
3069 a newsegment not in time format, and disable syncing to the clock
3072 * gst/gstbus.c: (gst_bus_set_sync_handler):
3073 Assert if anyone tries to replace the existing sync_handler for bus,
3074 as only the owner should be setting it.
3077 Have a fixed set of custom event enums with events identified by
3078 their structure name (as in 0.8), rather than a free-for-all
3079 allowing collisions between enum values from different plugins.
3081 * gst/gstpad.c: (gst_pad_class_init):
3084 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3085 Handle out-of-band downstream events from the sending thread.
3087 2005-08-17 Andy Wingo <wingo@pobox.com>
3089 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3090 play-timeout==0 to mean no timeout at all. In that case, don't
3091 bother with a get_state or a warning, just return directly, even
3094 * gst/base/gstbasetransform.c: Debug changes.
3097 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3098 ensure bins post state change messages. A bit of a hack but I can't
3099 think of a way to avoid it.
3101 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3103 2005-08-16 Andy Wingo <wingo@pobox.com>
3105 * gst/base/gstadapter.h:
3106 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3107 peek() but you own the data. Not terribly efficient atm.
3109 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3111 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3112 (gst_element_found_tags):
3114 Add two utility functions for tag handling.
3116 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3118 * docs/manual/advanced-dataaccess.xml:
3119 * docs/manual/basics-helloworld.xml:
3120 Fix docs to use _bin_add() before _link(), which fixes the examples
3121 with recent core versions (reported by Madhan Raj M
3122 <raj_madan@rediffmail.com>, #313199).
3124 2005-08-16 Wim Taymans <wim@fluendo.com>
3126 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3127 Added subtract checks.
3129 * docs/design/part-events.txt:
3130 Some more docs about newsegment
3132 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3135 * gst/gstcaps.c: (gst_caps_to_string):
3136 Add comments, cleanups.
3138 * gst/gstelement.c: (gst_element_save_thyself):
3141 * gst/gstvalue.c: (gst_value_collect_int_range),
3142 (gst_string_unwrap), (gst_value_union_int_int_range),
3143 (gst_value_union_int_range_int_range),
3144 (gst_value_intersect_int_int_range),
3145 (gst_value_intersect_int_range_int_range),
3146 (gst_value_intersect_double_double_range),
3147 (gst_value_intersect_double_range_double_range),
3148 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3149 (gst_value_subtract_int_range_int),
3150 (gst_value_subtract_double_range_double),
3151 (gst_value_subtract_double_range_double_range),
3152 (gst_value_subtract_from_list), (gst_value_subtract_list),
3153 (gst_value_can_compare), (gst_value_compare_fraction):
3154 Cleanups, add comments, remove unneeded asserts.
3156 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3158 * tools/gst-launch.c: (event_loop):
3159 don't convert NULL structures to strings
3161 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3163 * docs/gst/gstreamer-sections.txt:
3164 made some defines private
3165 * docs/gst/tmpl/gstconfig.sgml:
3166 * docs/gst/tmpl/gstqueue.sgml:
3167 * docs/gst/tmpl/gsttaglist.sgml:
3168 * docs/gst/tmpl/gsttypes.sgml:
3169 * docs/gst/tmpl/gstutils.sgml:
3170 * docs/pwg/appendix-porting.xml:
3171 * gst/base/gstbasesink.h:
3172 * gst/base/gstbasesrc.c:
3173 * gst/base/gstbasesrc.h:
3174 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3175 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3176 * gst/gstelement.c: (gst_element_class_init):
3177 * gst/gstpad.c: (gst_pad_class_init):
3178 * gst/gstqueue.c: (gst_queue_class_init):
3179 * gst/gstxml.c: (gst_xml_class_init):
3180 documented all undocumented signal inline
3181 * libs/gst/controller/gst-controller.h:
3184 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3186 * docs/pwg/appendix-porting.xml:
3187 Document _set_link_function -> _set_setcaps_function.
3189 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3191 * check/Makefile.am:
3192 add a .check target for running the check
3193 * check/gst-libs/controller.c: (GST_START_TEST):
3195 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3196 complete checks for gstbuffer; would be nice if I could get the
3197 gcov stuff to work so I can see if I actually completed gstbuffer.c
3199 add ASSERT_BUFFER_REFCOUNT
3201 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
3203 * docs/gst/gstreamer-sections.txt:
3204 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
3206 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
3207 spew out a warning if a tag that is already registered
3208 is re-registered, unless it is re-registered with a
3209 different type (#308438).
3211 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
3213 * docs/pwg/appendix-porting.xml:
3214 * docs/pwg/building-state.xml:
3215 Add some paragraphs about state changes in 0.9 to the PWG
3216 and the porting guide, in particular about the new meaning
3217 of GST_STATE_PAUSED and how to write state change functions
3218 with concurrent access by multiple threads in mind.
3220 2005-08-11 Stefan Kost <ensonic@users.sf.net>
3222 * docs/gst/gstreamer-docs.sgml:
3223 * docs/libs/gstreamer-libs-docs.sgml:
3224 added deprecation and since indexes
3225 * libs/gst/controller/gst-controller.c:
3226 * libs/gst/controller/gst-helper.c:
3230 2005-08-11 Wim Taymans <wim@fluendo.com>
3232 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
3233 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
3234 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
3235 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
3236 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
3237 (gst_ghost_pad_set_target):
3238 Actually implement (re)setting the target on a ghostpad
3239 as described in the docs.
3241 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3243 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
3244 Check whether GST_DEBUG_NO_COLOR environment variable is
3245 set and disable coloured debug output if that is the case.
3247 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
3249 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3250 (gst_type_find_helper):
3251 The memory returned by gst_type_find_peek() needs to
3252 stay valid until the end of a typefind function, and
3253 typefind functions may keep results from different
3254 offsets around, so we can't just unref the buffer from
3255 the previous _peek(), but have to save all buffers
3256 returned by _peek() until typefinding is done and only
3259 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
3261 * docs/gst/gstreamer-sections.txt:
3263 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
3265 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3267 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
3268 Fix a pretty good memleak.
3270 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3272 * gst/gstiterator.h:
3273 Fix wrong include and 'make distcheck'.
3275 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3277 * gst/gstbin.c: (bin_bus_handler):
3278 Use gst_element_post_message() instead.
3280 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
3282 * gst/base/gstadapter.h:
3283 * gst/base/gstbasesink.h:
3284 * gst/base/gstbasesrc.h:
3285 * gst/base/gstbasetransform.h:
3286 * gst/base/gstcollectpads.h:
3287 * gst/base/gstpushsrc.h:
3288 * gst/gstiterator.h:
3289 Add padding to our base elements' class and instance structs and
3290 to GstIterator (you will need to rebuild all plugins and apps!)
3292 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3294 * gst/gstbin.c: (bin_bus_handler):
3295 Make default message forwarding from child->bus to bin->bus
3296 threadsafe and make it not emit warnings if the parent has no bus.
3298 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3300 * gst/gstelement.c: (activate_pads):
3301 On paused->ready, set pad->caps to NULL, as is the documented
3302 behaviour in this state change. Fixes playback of series of
3303 media files when visualization is enabled in Totem.
3305 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3307 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
3308 Allow NULL as filter-caps (which means "any").
3310 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3312 * docs/libs/gstreamer-libs-sections.txt:
3313 * libs/gst/controller/gst-controller.c:
3314 * libs/gst/controller/gst-controller.h:
3315 * libs/gst/controller/gst-helper.c:
3316 adding more entries to the docs and fix small doc-bugs
3318 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3320 * docs/gst/gstreamer-docs.sgml:
3321 * docs/gst/gstreamer-sections.txt:
3322 * docs/gst/gstreamer.types:
3323 * docs/gst/tmpl/gstbasesink.sgml:
3324 * docs/gst/tmpl/gstbasesrc.sgml:
3325 * docs/gst/tmpl/gstbasetransform.sgml:
3326 * docs/gst/tmpl/gstfakesrc.sgml:
3327 * gst/base/gstcollectpads.c:
3328 * gst/base/gstcollectpads.h:
3329 * libs/gst/controller/gst-controller.c:
3330 * libs/gst/controller/gst-controller.h:
3331 * libs/gst/controller/gst-helper.c:
3332 * libs/gst/controller/gst-interpolation.c:
3333 * libs/gst/controller/lib.c:
3334 added long/short desc for controller docs
3335 added collectpads base class docs
3336 added correct includes to base-class docs
3338 2005-08-05 Stefan Kost <ensonic@users.sf.net>
3340 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3341 (gst_test_mono_source_set_property),
3342 (gst_test_mono_source_class_init), (GST_START_TEST),
3343 (gst_controller_suite):
3344 * docs/gst/gstreamer-docs.sgml:
3345 * docs/gst/gstreamer-sections.txt:
3346 * docs/gst/gstreamer.types:
3347 * docs/libs/gstreamer-libs-docs.sgml:
3348 * docs/libs/gstreamer-libs-sections.txt:
3349 * gst/base/gstadapter.c:
3350 * libs/gst/controller/gst-controller.c:
3351 (gst_controlled_property_new), (gst_controlled_property_free),
3352 (gst_controller_new_valist),
3353 (gst_controller_remove_properties_valist),
3354 (gst_controller_sink_values), (_gst_controller_finalize):
3355 * libs/gst/controller/gst-controller.h:
3356 * libs/gst/controller/gst-helper.c:
3357 (gst_object_control_properties), (gst_object_uncontrol_properties),
3358 (gst_object_get_controller), (gst_object_set_controller),
3359 (gst_object_sink_values), (gst_object_get_value_arrays),
3360 (gst_object_get_value_array):
3361 more tests (and fixes) for the controller
3362 more docs for the controller
3363 integrated companies docs for the adapter
3365 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
3367 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
3368 (GST_START_TEST), (fakesrc_suite):
3369 add tests for sizetype
3371 2005-08-04 Andy Wingo <wingo@pobox.com>
3373 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
3374 fixes buffer_alloc proxying among other things.
3376 * gst/base/gstbasetransform.c:
3377 * gst/base/gstbasetransform.h:
3378 Revert patch to gstbasetransform from 7-28 removing
3381 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
3382 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
3383 Semantics changed, should return not the size of the output buffer
3384 but the byte size of a buffer with a given caps.
3386 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
3388 (gst_base_transform_configure_caps): Don't set out_size here: (in,
3389 out) are not the pad caps until setcaps finishes.
3390 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
3391 not-in-place case as well. Deal with changing from in-place to
3392 not-in-place within calling pad_alloc_buffer. Still a bit
3393 concerned about the overhead here...
3395 2005-08-03 Andy Wingo <wingo@pobox.com>
3397 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
3398 fixating is an error.
3400 2005-08-04 Edward Hervey <edward@fluendo.com>
3402 * gst/base/gstadapter.h:
3403 Added gst_adapter_get_type() to the header
3405 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3407 * check/Makefile.am:
3408 * check/gst-libs/controller.c:
3409 * libs/gst/controller/gst-controller.c:
3410 (gst_controller_new_valist):
3411 added check test suite for the controller
3412 * gst/base/gstpushsrc.c:
3415 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3417 * docs/gst/Makefile.am:
3418 * docs/gst/gstreamer-docs.sgml:
3419 * docs/gst/gstreamer-sections.txt:
3420 * docs/gst/gstreamer.types:
3421 * docs/gst/tmpl/gstfakesrc.sgml:
3423 * gst/base/gstbasesink.c:
3424 * gst/base/gstbasesink.h:
3425 * gst/base/gstbasesrc.c:
3426 * gst/base/gstbasesrc.h:
3427 * gst/base/gstbasetransform.c:
3428 * gst/base/gstpushsrc.c:
3429 * gst/base/gstpushsrc.h:
3430 add short/long description docs to base classes
3431 add pushsrc to the docs
3432 remove consolidated doc fragments
3434 2005-08-03 Stefan Kost <ensonic@users.sf.net>
3437 * docs/libs/Makefile.am:
3438 * docs/libs/gstreamer-libs-docs.sgml:
3439 * docs/libs/gstreamer-libs-sections.txt:
3440 * docs/libs/gstreamer-libs.types:
3441 * examples/Makefile.am:
3442 * examples/controller/.cvsignore:
3443 * examples/controller/Makefile.am:
3444 * examples/controller/audio-example.c: (main):
3445 * libs/gst/Makefile.am:
3446 * libs/gst/controller/.cvsignore:
3447 * libs/gst/controller/Makefile.am:
3448 * libs/gst/controller/gst-controller.c:
3449 (on_object_controlled_property_changed), (gst_timed_value_compare),
3450 (gst_timed_value_find),
3451 (gst_controlled_property_set_interpolation_mode),
3452 (gst_controlled_property_new), (gst_controlled_property_free),
3453 (gst_controller_find_controlled_property),
3454 (gst_controller_new_valist), (gst_controller_new),
3455 (gst_controller_remove_properties_valist),
3456 (gst_controller_remove_properties), (gst_controller_set),
3457 (gst_controller_set_from_list), (gst_controller_unset),
3458 (gst_controller_get), (gst_controller_get_all),
3459 (gst_controller_sink_values), (gst_controller_get_value_arrays),
3460 (gst_controller_get_value_array),
3461 (gst_controller_set_interpolation_mode),
3462 (_gst_controller_finalize), (_gst_controller_init),
3463 (_gst_controller_class_init), (gst_controller_get_type):
3464 * libs/gst/controller/gst-controller.h:
3465 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
3466 (g_object_uncontrol_properties), (g_object_get_controller),
3467 (g_object_set_controller), (g_object_sink_values),
3468 (g_object_get_value_arrays), (g_object_get_value_array):
3469 * libs/gst/controller/gst-interpolation.c:
3470 (gst_controlled_property_find_timed_value_node),
3471 (interpolate_none_get), (interpolate_trigger_get),
3472 (interpolate_trigger_get_value_array):
3473 * libs/gst/controller/lib.c: (gst_controller_init):
3474 * pkgconfig/Makefile.am:
3475 * pkgconfig/gstreamer-control-uninstalled.pc.in:
3476 * pkgconfig/gstreamer-control.pc.in:
3477 * testsuite/Makefile.am:
3478 * testsuite/controller/.cvsignore:
3479 * testsuite/controller/Makefile.am:
3480 * testsuite/controller/interpolator.c: (main):
3481 added controller code
3482 removed dparam pc files
3484 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3485 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
3486 (gst_collectpads_stop):
3487 Broadcast the condition when shutting down, to make sure we wake all
3488 threads up. Shut down pads on finalize, for safety.
3490 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
3491 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3492 (gst_base_transform_handle_buffer),
3493 (gst_base_transform_change_state):
3494 Handle PAUSED->READY->PAUSED transition after negotiation
3496 * gst/gstmessage.c: (gst_message_init):
3497 Extra piece of debug for new messages.
3499 2005-08-01 Stefan Kost <ensonic@users.sf.net>
3502 * docs/gst/tmpl/gstbasesrc.sgml:
3503 * docs/gst/tmpl/gstelement.sgml:
3504 * docs/gst/tmpl/gstevent.sgml:
3505 * docs/gst/tmpl/gstfakesrc.sgml:
3506 * docs/gst/tmpl/gstformat.sgml:
3507 * docs/gst/tmpl/gstghostpad.sgml:
3508 * docs/gst/tmpl/gstpad.sgml:
3509 * docs/gst/tmpl/gstquery.sgml:
3510 * docs/gst/tmpl/gststructure.sgml:
3511 * docs/gst/tmpl/gsttaglist.sgml:
3512 * docs/gst/tmpl/gstvalue.sgml:
3513 * docs/libs/gstreamer-libs-docs.sgml:
3514 * docs/libs/gstreamer-libs-sections.txt:
3515 * docs/libs/gstreamer-libs.types:
3516 * libs/gst/Makefile.am:
3517 * libs/gst/control/.cvsignore:
3518 * libs/gst/control/Makefile.am:
3519 * libs/gst/control/control.c:
3520 * libs/gst/control/control.h:
3521 * libs/gst/control/dparam.c:
3522 * libs/gst/control/dparam.h:
3523 * libs/gst/control/dparam_smooth.c:
3524 * libs/gst/control/dparam_smooth.h:
3525 * libs/gst/control/dparamcommon.h:
3526 * libs/gst/control/dparammanager.c:
3527 * libs/gst/control/dparammanager.h:
3528 * libs/gst/control/dplinearinterp.c:
3529 * libs/gst/control/dplinearinterp.h:
3530 * libs/gst/control/unitconvert.c:
3531 * libs/gst/control/unitconvert.h:
3532 * testsuite/Makefile.am:
3533 * testsuite/dynparams/.cvsignore:
3534 * testsuite/dynparams/Makefile.am:
3535 * testsuite/dynparams/dparamstest.c:
3536 * tools/Makefile.am:
3537 * tools/gst-inspect.c: (print_element_info), (main):
3538 * tools/gst-xmlinspect.c: (print_element_info), (main):
3539 deactivate and remove dparams (libgstcontrol)
3541 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3543 * gst/elements/gsttypefindelement.c:
3544 (gst_type_find_element_have_type), (gst_type_find_element_init),
3545 (stop_typefinding), (gst_type_find_element_handle_event),
3546 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3547 * gst/elements/gsttypefindelement.h:
3548 Set caps on all outgoing buffers, not just the first one.
3550 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3552 * gst/elements/gsttypefindelement.c:
3553 (gst_type_find_element_have_type),
3554 (gst_type_find_element_check_set_buffer_caps),
3555 (gst_type_find_element_init), (stop_typefinding),
3556 (gst_type_find_element_handle_event),
3557 (gst_type_find_element_chain), (gst_type_find_element_getrange):
3558 * gst/elements/gsttypefindelement.h:
3559 Set caps on first outgoing buffer when we've found the type.
3561 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
3563 * docs/gst/gstreamer-docs.sgml:
3564 * docs/gst/gstreamer-sections.txt:
3565 * docs/gst/tmpl/gstscheduler.sgml:
3566 * docs/gst/tmpl/gstschedulerfactory.sgml:
3567 Remove some old cruft from docs.
3569 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
3572 Fix inline docs for GstPadLinkReturn.
3574 * gst/gststructure.c: (gst_structure_has_name):
3575 * gst/gststructure.h:
3576 * docs/gst/gstreamer-sections.txt:
3577 New API: gst_structure_has_name().
3579 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
3582 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
3583 and _LARGEFILE_SOURCE in config.h as required. Do not
3584 export those flags in our .pc files any longer (#142209).
3586 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
3588 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
3589 (gst_file_sink_do_seek), (gst_file_sink_event),
3590 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3591 Redo seek/tell calls with large file support in mind; add some
3592 debugging messages; add log message that tells us when large
3593 file support is unavailable or not enabled for some reason.
3595 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
3596 Add log message that tells us when large file support
3597 is unavailable or not enabled for some reason.
3599 2005-07-29 Wim Taymans <wim@fluendo.com>
3601 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3602 Added test for removing an element with ghostpad from a bin.
3603 Fixed test as current implementation does the right thing.
3605 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
3606 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
3607 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
3608 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
3609 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
3610 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
3611 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
3612 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3613 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
3614 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
3615 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
3616 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
3617 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
3618 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
3619 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
3620 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
3621 * gst/gstghostpad.h:
3622 Clean up ghostpads, remove properties for internal stuff.
3625 Prepare for switching targets, not all use cases work yet.
3627 2005-07-29 Wim Taymans <wim@fluendo.com>
3629 * docs/design/part-gstghostpad.txt:
3632 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3633 (gst_bin_remove_func):
3634 Unlinking pads while holding the bin LOCK is not a good
3637 * gst/gstpad.c: (gst_pad_class_init),
3638 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
3639 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
3640 No prob setting template after creating the pad.
3642 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
3644 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
3645 (gst_bus_peek), (gst_bus_source_dispatch),
3646 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
3647 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
3648 gst_bus_poll may be called from other threads. Handle
3649 this nicely by not making poll_data disappear off the
3650 stack once gst_bus_poll returns.
3651 gst_bus_peek now increments the refcount on the returned
3654 2005-07-29 Wim Taymans <wim@fluendo.com>
3656 * docs/design/part-gstghostpad.txt:
3657 Overview of current GhostPad datastructures and use
3658 cases for changing the target.
3660 2005-07-28 Wim Taymans <wim@fluendo.com>
3662 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3663 Added checks for hierarchy consistency whan adding linked
3666 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3667 Added check to test element scheduling without bin/pipeline.
3669 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3670 First add elements to bin, then link.
3672 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
3673 (gst_bin_remove_func):
3674 Unlink pads from elements added/removed from bin to maintain
3675 hierarchy consistency.
3677 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3679 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3680 (gst_base_transform_handle_buffer):
3681 * gst/base/gstbasetransform.h:
3682 Remove broken delay_configure (fixes renegotiation of software
3683 scaling pipelines); remove some leftover printf()s.
3685 2005-07-28 Wim Taymans <wim@fluendo.com>
3687 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3688 Added some more tests for wrong hierarchy
3690 * docs/design/part-overview.txt:
3693 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
3696 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
3697 (gst_element_dispose):
3700 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3701 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
3702 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3703 (gst_pad_set_caps), (gst_pad_send_event):
3704 Check for correct hierarchy when linking pads. Moving to
3705 strict requirement for ghostpads when linking elements in
3709 Clean ups. Added WRONG_HIERARCHY return value.
3711 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3713 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3714 Better debug if no transform is possible.
3716 2005-07-27 Wim Taymans <wim@fluendo.com>
3718 * docs/random/wtay/network-transp:
3721 2005-07-27 Wim Taymans <wim@fluendo.com>
3723 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3724 (gst_dp_event_from_packet):
3725 Fix serialization of seek events.
3727 2005-07-27 Wim Taymans <wim@fluendo.com>
3729 * check/gst-libs/gdp.c: (GST_START_TEST):
3730 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3731 Fix compilation and fix event serialization.
3733 2005-07-27 Wim Taymans <wim@fluendo.com>
3736 * docs/design/part-TODO.txt:
3737 * docs/design/part-events.txt:
3740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3741 (gst_base_sink_event), (gst_base_sink_do_sync),
3742 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3743 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3744 (gst_base_src_do_seek), (gst_base_src_event_handler),
3745 (gst_base_src_loop):
3746 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3747 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3748 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3749 (gst_base_transform_event), (gst_base_transform_handle_buffer),
3750 (gst_base_transform_set_passthrough),
3751 (gst_base_transform_is_passthrough):
3752 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
3753 * gst/elements/gstfilesink.c: (gst_file_sink_event):
3759 * gst/gstelement.c: (gst_element_seek):
3761 Update gst_element_seek.
3763 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
3764 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
3765 (gst_event_new_flush_start), (gst_event_new_flush_stop),
3766 (gst_event_new_eos), (gst_event_new_newsegment),
3767 (gst_event_parse_newsegment), (gst_event_new_tag),
3768 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
3769 (gst_event_parse_qos), (gst_event_new_seek),
3770 (gst_event_parse_seek), (gst_event_new_navigation):
3772 Make GstEvent use GstStructure. Add parsing code, make sure the
3773 API is sufficiently generic.
3774 Mark possible directions of events and serialization.
3776 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
3777 (_gst_message_copy), (gst_message_new_segment_start),
3778 (gst_message_new_segment_done), (gst_message_new_custom),
3779 (gst_message_parse_segment_start),
3780 (gst_message_parse_segment_done):
3783 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3784 (gst_pad_set_caps), (gst_pad_send_event):
3785 Update for new events.
3786 Catch events sent in wrong directions.
3788 * gst/gstqueue.c: (gst_queue_link_src),
3789 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3790 (gst_queue_handle_src_query):
3795 Remove event code from this file.
3797 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3798 (gst_dp_event_from_packet):
3801 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3803 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
3804 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3805 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
3806 Make debugging actually useful.
3808 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3810 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3811 (gst_pad_fixate_caps):
3812 Implement default fixation once again, so that gst_pad_fixate()
3813 actually does anything at all. This probably needs to be some
3814 sort of a last resort, and use profile-based fixation first, but
3815 since that doesn't exist yet, this is the best we have. Fixes
3816 visualization in Totem.
3818 2005-07-22 Wim Taymans <wim@fluendo.com>
3820 * docs/design/part-events.txt:
3823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3824 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3825 (gst_base_sink_activate_pull):
3828 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3829 (gst_fake_src_create):
3830 Fix handoff marshall.
3832 * gst/elements/gstidentity.c: (gst_identity_class_init),
3833 (gst_identity_transform_ip):
3834 We're a real inplace element.
3836 * gst/gstbus.c: (gst_bus_post):
3837 Added some comments.
3839 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3840 * tests/muxing/case1.c: (main):
3841 * tests/sched/dynamic-pipeline.c: (main):
3842 * tests/sched/interrupt1.c: (main):
3843 * tests/sched/interrupt2.c: (main):
3844 * tests/sched/interrupt3.c: (main):
3845 * tests/sched/runxml.c: (main):
3846 * tests/sched/sched-stress.c: (main):
3847 * tests/seeking/seeking1.c: (event_received), (main):
3848 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3850 * tests/threadstate/threadstate3.c: (main):
3851 * tests/threadstate/threadstate4.c: (main):
3852 * tests/threadstate/threadstate5.c: (main):
3855 2005-07-21 Wim Taymans <wim@fluendo.com>
3857 * docs/design/part-seeking.txt:
3858 Some small additions.
3860 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3861 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3862 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3863 * gst/base/gstbasesink.h:
3864 discont values are gint64, handle the math correctly.
3866 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3867 Make the basesrc report error if the source pad is not linked.
3869 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3870 (gst_queue_loop), (gst_queue_handle_src_query),
3871 (gst_queue_src_activate_push):
3872 Make queue collect data even if the srcpad is not linked.
3873 Start pushing out data as soon as it is linked.
3875 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3877 Added gst_flow_get_name() to ease error reporting.
3879 2005-07-20 Wim Taymans <wim@fluendo.com>
3881 * gst/gstmessage.c: (gst_message_new_segment_start),
3882 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3883 (gst_message_parse_segment_done):
3885 Added a bunch of messages for advanced seeking.
3887 * gst/parse/grammar.y:
3888 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3889 (gst_dpman_state_changed):
3890 Fix some new-pad -> pad-added signals
3892 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3894 * docs/manual/appendix-porting.xml:
3895 * docs/pwg/appendix-porting.xml:
3896 Document new-pad/state-change signal renames and the FixedList
3899 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3901 * docs/manual/advanced-autoplugging.xml:
3902 * docs/manual/basics-helloworld.xml:
3903 * docs/manual/basics-pads.xml:
3904 * docs/random/ds/0.9-suggested-changes:
3905 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3910 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3911 (gst_structure_parse_array), (gst_structure_parse_value):
3912 * gst/gstvalue.c: (gst_type_is_fixed),
3913 (gst_value_list_prepend_value), (gst_value_list_append_value),
3914 (gst_value_list_get_size), (gst_value_list_get_value),
3915 (gst_value_transform_array_string), (gst_value_serialize_array),
3916 (gst_value_deserialize_array), (gst_value_intersect_array),
3917 (gst_value_is_fixed), (_gst_value_initialize):
3919 GstElement::new-pad -> pad-added, GstElement::state-change ->
3920 state-changed, GstValueFixedList -> GstValueArray, add format and
3921 flags as their own arguments in gst_element_seek() (should improve
3922 "bindeability"), remove function generators since they don't work
3923 under a whole bunch of compilers (they were deprecated already
3926 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3928 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3929 (_gst_debug_register_funcptr):
3931 Fix illegal cast on some platforms (#309253).
3933 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3935 * gst/gstmessage.c: (gst_message_new_custom):
3937 Add _new_custom, make _new_application a macro to _new_custom.
3939 2005-07-20 Wim Taymans <wim@fluendo.com>
3941 * gst/base/gstbasesrc.c: (gst_base_src_init),
3942 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3943 * gst/base/gstbasesrc.h:
3944 Add a gboolean to decide when to push out a discont.
3946 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3947 (gst_queue_loop), (gst_queue_handle_src_query),
3948 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3949 (gst_queue_set_property), (gst_queue_get_property):
3952 * tests/threadstate/threadstate1.c: (main):
3953 Make a thread test compile and run... very silly..
3956 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3958 * docs/manual/appendix-porting.xml:
3959 Mention removal of libgstgconf-0.9.la and existence of gconf
3962 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3964 * docs/pwg/advanced-clock.xml:
3965 * docs/pwg/appendix-porting.xml:
3966 * docs/pwg/intro-preface.xml:
3967 * docs/pwg/other-base.xml:
3968 * docs/pwg/other-manager.xml:
3969 * docs/pwg/other-nton.xml:
3970 * docs/pwg/other-ntoone.xml:
3971 * docs/pwg/other-oneton.xml:
3973 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3974 demuxer), remove n-to-n (was never written), fix some code examples
3975 and links and update the porting section to include all this.
3977 2005-07-19 Wim Taymans <wim@fluendo.com>
3979 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3980 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3981 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3982 (gst_queue_src_activate_push), (gst_queue_change_state),
3983 (gst_queue_get_property):
3985 Propagate GstFlowReturn more intelligently upstream and output
3986 an ERROR/EOS when streaming stopped due to fatal error.
3988 2005-07-19 Wim Taymans <wim@fluendo.com>
3990 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3991 Don't block forever for the state change to complete, the
3992 pipeline already did with a sensible timeout.
3994 2005-07-19 Wim Taymans <wim@fluendo.com>
3996 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3997 Make sure we never call the create function is we
4000 2005-07-19 Andy Wingo <wingo@pobox.com>
4002 * gst/parse/parse.l: Attempt to solve bug #172815.
4004 2005-07-19 Wim Taymans <wim@fluendo.com>
4006 * docs/design/part-clocks.txt:
4007 * docs/design/part-events.txt:
4008 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4010 Only update the seeking values when we are not
4013 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4015 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4016 Oops, ignore the result of gst_pad_push_event here.
4018 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4020 * gst/base/gstbasesrc.c: (gst_base_src_loop),
4021 (gst_base_src_activate_push):
4022 Send discont event from the loop function, as pads
4023 aren't activated yet in the activate_push handler.
4025 * gst/gstbin.c: (bin_bus_handler):
4026 Don't leak element name.
4028 2005-07-18 Andy Wingo <wingo@pobox.com>
4030 * configure.ac: Use AS_LIBTOOL_TAGS.
4032 2005-07-18 Wim Taymans <wim@fluendo.com>
4034 * docs/gst/gstreamer.types:
4035 Remove deleted types.
4037 2005-07-18 Wim Taymans <wim@fluendo.com>
4039 * check/elements/gstfakesrc.c: (GST_START_TEST):
4042 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4043 (init_popt_callback):
4045 * gst/gst_private.h:
4046 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4047 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4050 * gst/gstconfig.h.in:
4051 * gst/gstelement.c: (gst_element_class_init),
4052 (gst_element_set_base_time), (gst_element_get_base_time),
4053 (iterator_fold_with_resync), (gst_element_change_state),
4054 (gst_element_dispose), (gst_element_get_bus):
4056 * gst/gstelementfactory.h:
4057 * gst/gsterror.c: (_gst_core_errors_init):
4060 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4062 * gst/gstinfo.c: (_gst_debug_init):
4063 * gst/gstmessage.c: (_gst_message_copy):
4065 * gst/gstminiobject.h:
4068 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4069 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4072 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4073 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4074 (gst_pipeline_get_last_stream_time):
4075 * gst/gstpipeline.h:
4076 * gst/gstpluginfeature.h:
4078 * gst/gstscheduler.c:
4079 * gst/gstscheduler.h:
4080 * gst/gststructure.h:
4081 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4082 (gst_task_finalize), (gst_task_func), (gst_task_create),
4083 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4084 (gst_task_stop), (gst_task_pause):
4086 * gst/gsttypefind.h:
4088 * gst/registries/gstlibxmlregistry.c: (load_feature),
4089 (gst_xml_registry_load), (gst_xml_registry_save_feature):
4090 * gst/registries/gstxmlregistry.c:
4091 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4092 * gst/schedulers/threadscheduler.c:
4093 * libs/gst/control/dparammanager.h:
4094 * tools/gst-inspect.c: (print_element_list),
4095 (print_plugin_features), (print_element_features):
4096 * tools/gst-xmlinspect.c: (print_element_list),
4097 (print_plugin_info), (main):
4098 Removed plugable schedulers.
4099 Removed Scheduler/Manager from elements.
4100 Removed gsttypes.h, rearranged includes.
4101 Removed dependency pad<->element, element<>pipeline, and
4102 various others, fix includes.
4103 implement gst_pad_get_parent() with gst_object_get_parent()
4104 Make GstTask sefcontained.
4105 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4107 Fix endless loop in iterator_fold_with_resync.
4110 2005-07-18 Wim Taymans <wim@fluendo.com>
4116 2005-07-18 Wim Taymans <wim@fluendo.com>
4121 2005-07-18 Wim Taymans <wim@fluendo.com>
4127 2005-07-18 Wim Taymans <wim@fluendo.com>
4129 * docs/design/part-dynamic.txt:
4130 * docs/design/part-events.txt:
4131 * docs/design/part-seeking.txt:
4132 Some more docs in the works.
4134 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4135 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4136 (gst_base_transform_setcaps), (gst_base_transform_get_size),
4137 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4138 (gst_base_transform_handle_buffer),
4139 (gst_base_transform_sink_activate_push),
4140 (gst_base_transform_src_activate_pull),
4141 (gst_base_transform_set_passthrough),
4142 (gst_base_transform_is_passthrough):
4145 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4148 * gst/gstevent.c: (gst_event_finalize):
4151 * gst/gstutils.c: (gst_element_unlink),
4152 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4153 (gst_pad_proxy_setcaps):
4155 Add _get_parent_element() to get a pads parent as an element.
4157 2005-07-18 Wim Taymans <wim@fluendo.com>
4159 * check/gst/gstbin.c: (GST_START_TEST):
4162 2005-07-18 Wim Taymans <wim@fluendo.com>
4164 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4165 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4166 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4167 (gst_base_sink_event), (gst_base_sink_do_sync),
4168 (gst_base_sink_chain), (gst_base_sink_loop),
4169 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4170 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4172 Fix logic for returning ASYNC when not prerolled.
4174 2005-07-18 Wim Taymans <wim@fluendo.com>
4176 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4177 Fix nasty refcount bug.
4179 2005-07-16 Philippe Khalaf <burger@speedy.org>
4181 * gst/elements/gstfdsrc.c:
4182 * gst/elements/gstfdsrc.h:
4183 * gst/elements/gstelements.c:
4184 * gst/elements/Makefile.am:
4185 Ported fdsrc to 0.9.
4187 2005-07-16 Wim Taymans <wim@fluendo.com>
4189 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4190 (gst_base_sink_do_sync):
4193 2005-07-16 Wim Taymans <wim@fluendo.com>
4195 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4196 (gst_base_sink_event), (gst_base_sink_get_times),
4197 (gst_base_sink_do_sync), (gst_base_sink_change_state):
4198 * gst/base/gstbasesink.h:
4199 Store and use discont values when syncing buffers as described
4202 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4203 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
4204 (gst_base_src_activate_push):
4205 Push discont event when starting.
4207 * gst/elements/gstidentity.c: (gst_identity_transform):
4210 * gst/gstbin.c: (gst_bin_change_state):
4211 Small cleanups in base_time distribution.
4213 * gst/gstelement.c: (gst_element_set_base_time),
4214 (gst_element_get_base_time), (gst_element_change_state):
4216 Added methods for the base_time of the element.
4219 * gst/gstpipeline.c: (gst_pipeline_send_event),
4220 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4221 (gst_pipeline_get_last_stream_time):
4222 * gst/gstpipeline.h:
4224 Handle seeking as described in design doc, remove stream_time
4226 Cleanups clock and stream_time selection code. Added accessors
4227 for the stream_time.
4230 2005-07-16 Andy Wingo <wingo@pobox.com>
4232 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
4235 2005-07-16 Wim Taymans <wim@fluendo.com>
4237 * check/gst/gstbin.c: (GST_START_TEST):
4238 Make elements silent as the deep_notify refs the
4239 parent, which might make the test fail.
4241 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4242 Don't hold the lock for too long.
4244 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
4246 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
4247 Don't unref the caps we passed to gst_caps_make_writable() after
4248 passing them. gst_caps_make_writable() will do that for us.
4250 2005-07-15 Andy Wingo <wingo@pobox.com>
4252 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
4255 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
4256 own marshalling function for the handoff signal. Properly type the
4257 buffer as a buffer. Fixes some warnings. Should do a more general
4259 (gst_identity_class_init): Plug into the right marshaller.
4261 2005-07-15 Wim Taymans <wim@fluendo.com>
4263 * docs/design/part-TODO.txt:
4264 * docs/design/part-clocks.txt:
4265 * docs/design/part-element-sink.txt:
4266 * docs/design/part-events.txt:
4267 * docs/design/part-gstpipeline.txt:
4268 Updated docs, mostly DISCONT related.
4270 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
4272 * docs/pwg/building-pads.xml:
4273 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
4275 2005-07-15 Andy Wingo <wingo@pobox.com>
4277 * tools/gst-typefind.c: Update, add copyright block.
4279 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
4280 Normalize and truncate caps before fixation.
4283 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
4284 discards all but the first structure from its argument.
4286 2005-07-15 Wim Taymans <wim@fluendo.com>
4288 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4289 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
4290 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4291 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4292 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
4293 (gst_base_transform_chain), (gst_base_transform_change_state),
4294 (gst_base_transform_set_passthrough),
4295 (gst_base_transform_is_passthrough):
4296 * gst/base/gstbasetransform.h:
4297 Make passthrough work using the bufferpools.
4298 Changed API a bit, subclasses have to write into a buffer
4299 provided by the base class.
4300 More debug info in nego functions.
4302 * gst/elements/gstidentity.c: (gst_identity_init),
4303 (gst_identity_transform):
4304 Port to new base class.
4306 2005-07-15 Wim Taymans <wim@fluendo.com>
4308 * gst/gstmessage.c: (gst_message_new_state_changed):
4309 * tools/gst-launch.c: (event_loop), (main):
4310 Totally dump messages in -launch with the -m option.
4311 Fix message name for State messages,
4313 2005-07-14 Wim Taymans <wim@fluendo.com>
4315 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4316 Post error messages on errors.
4318 2005-07-14 Wim Taymans <wim@fluendo.com>
4320 * gst/gstcaps.c: (gst_caps_do_simplify):
4324 Define error for stream stopped.
4326 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4327 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
4328 Do proper return values.
4330 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4331 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
4332 (gst_pad_get_range):
4333 Better return values.
4336 Reorganise return values, add macro to check for fatal errors.
4338 * gst/gstqueue.c: (gst_queue_chain):
4339 Return proper GstFlowReturn values,
4341 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
4343 * docs/gst/gstreamer-sections.txt:
4344 * docs/gst/gstreamer.types:
4345 * docs/gst/tmpl/gst.sgml:
4346 * docs/gst/tmpl/gstbasesink.sgml:
4347 * docs/gst/tmpl/gstbasesrc.sgml:
4348 * docs/gst/tmpl/gstbasetransform.sgml:
4349 * docs/gst/tmpl/gstbin.sgml:
4350 * docs/gst/tmpl/gstbuffer.sgml:
4351 * docs/gst/tmpl/gstcaps.sgml:
4352 * docs/gst/tmpl/gstclock.sgml:
4353 * docs/gst/tmpl/gstcompat.sgml:
4354 * docs/gst/tmpl/gstconfig.sgml:
4355 * docs/gst/tmpl/gstelement.sgml:
4356 * docs/gst/tmpl/gstelementdetails.sgml:
4357 * docs/gst/tmpl/gstelementfactory.sgml:
4358 * docs/gst/tmpl/gstenumtypes.sgml:
4359 * docs/gst/tmpl/gsterror.sgml:
4360 * docs/gst/tmpl/gstevent.sgml:
4361 * docs/gst/tmpl/gstfakesink.sgml:
4362 * docs/gst/tmpl/gstfakesrc.sgml:
4363 * docs/gst/tmpl/gstfilesink.sgml:
4364 * docs/gst/tmpl/gstfilesrc.sgml:
4365 * docs/gst/tmpl/gstfilter.sgml:
4366 * docs/gst/tmpl/gstformat.sgml:
4367 * docs/gst/tmpl/gstghostpad.sgml:
4368 * docs/gst/tmpl/gstimplementsinterface.sgml:
4369 * docs/gst/tmpl/gstindex.sgml:
4370 * docs/gst/tmpl/gstindexfactory.sgml:
4371 * docs/gst/tmpl/gstinfo.sgml:
4372 * docs/gst/tmpl/gstiterator.sgml:
4373 * docs/gst/tmpl/gstmacros.sgml:
4374 * docs/gst/tmpl/gstmemchunk.sgml:
4375 * docs/gst/tmpl/gstminiobject.sgml:
4376 * docs/gst/tmpl/gstobject.sgml:
4377 * docs/gst/tmpl/gstpad.sgml:
4378 * docs/gst/tmpl/gstpadtemplate.sgml:
4379 * docs/gst/tmpl/gstparse.sgml:
4380 * docs/gst/tmpl/gstpipeline.sgml:
4381 * docs/gst/tmpl/gstplugin.sgml:
4382 * docs/gst/tmpl/gstpluginfeature.sgml:
4383 * docs/gst/tmpl/gstquery.sgml:
4384 * docs/gst/tmpl/gstqueue.sgml:
4385 * docs/gst/tmpl/gstregistry.sgml:
4386 * docs/gst/tmpl/gstregistrypool.sgml:
4387 * docs/gst/tmpl/gstscheduler.sgml:
4388 * docs/gst/tmpl/gstschedulerfactory.sgml:
4389 * docs/gst/tmpl/gststructure.sgml:
4390 * docs/gst/tmpl/gstsystemclock.sgml:
4391 * docs/gst/tmpl/gsttaglist.sgml:
4392 * docs/gst/tmpl/gsttagsetter.sgml:
4393 * docs/gst/tmpl/gsttrace.sgml:
4394 * docs/gst/tmpl/gsttrashstack.sgml:
4395 * docs/gst/tmpl/gsttypefind.sgml:
4396 * docs/gst/tmpl/gsttypefindfactory.sgml:
4397 * docs/gst/tmpl/gsttypes.sgml:
4398 * docs/gst/tmpl/gsturihandler.sgml:
4399 * docs/gst/tmpl/gsturitype.sgml:
4400 * docs/gst/tmpl/gstutils.sgml:
4401 * docs/gst/tmpl/gstvalue.sgml:
4402 * docs/gst/tmpl/gstversion.sgml:
4403 * docs/gst/tmpl/gstxml.sgml:
4404 * docs/libs/tmpl/gstcontrol.sgml:
4405 * docs/libs/tmpl/gstdataprotocol.sgml:
4406 * docs/libs/tmpl/gstdparam.sgml:
4407 * docs/libs/tmpl/gstdplinint.sgml:
4408 * docs/libs/tmpl/gstdpman.sgml:
4409 * docs/libs/tmpl/gstdpsmooth.sgml:
4410 * docs/libs/tmpl/gstgetbits.sgml:
4411 * docs/libs/tmpl/gstunitconvert.sgml:
4412 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
4413 (gst_push_src_base_init), (gst_push_src_class_init),
4414 (gst_push_src_init), (gst_push_src_create):
4415 * gst/base/gstpushsrc.h:
4416 * gst/elements/gstelements.c:
4417 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
4418 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
4419 (gst_fake_sink_init), (gst_fake_sink_set_property),
4420 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
4421 (gst_fake_sink_event), (gst_fake_sink_preroll),
4422 (gst_fake_sink_render), (gst_fake_sink_change_state):
4423 * gst/elements/gstfakesink.h:
4424 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
4425 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
4426 (gst_fake_src_base_init), (gst_fake_src_class_init),
4427 (gst_fake_src_init), (gst_fake_src_event_handler),
4428 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
4429 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
4430 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
4431 (gst_fake_src_create_buffer), (gst_fake_src_create),
4432 (gst_fake_src_start), (gst_fake_src_stop):
4433 * gst/elements/gstfakesrc.h:
4434 * gst/elements/gstfilesink.c: (_do_init),
4435 (gst_file_sink_base_init), (gst_file_sink_class_init),
4436 (gst_file_sink_init), (gst_file_sink_dispose),
4437 (gst_file_sink_set_location), (gst_file_sink_set_property),
4438 (gst_file_sink_get_property), (gst_file_sink_open_file),
4439 (gst_file_sink_close_file), (gst_file_sink_query),
4440 (gst_file_sink_event), (gst_file_sink_render),
4441 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
4442 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
4443 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
4444 * gst/elements/gstfilesink.h:
4445 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
4446 (gst_file_src_class_init), (gst_file_src_init),
4447 (gst_file_src_finalize), (gst_file_src_set_location),
4448 (gst_file_src_set_property), (gst_file_src_get_property),
4449 (gst_file_src_map_region), (gst_file_src_map_small_region),
4450 (gst_file_src_create_mmap), (gst_file_src_create_read),
4451 (gst_file_src_create), (gst_file_src_is_seekable),
4452 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
4453 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
4454 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
4455 (gst_file_src_uri_handler_init):
4456 * gst/elements/gstfilesrc.h:
4457 more autistic cleanliness in functions/names/defines
4459 2005-07-13 Andy Wingo <wingo@pobox.com>
4461 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
4462 source couldn't negotiate.
4464 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
4468 * gst/gstutils.c (gst_element_link_pads_filtered): New old
4469 function. I am channeling Hades. Put your boots on suckers!!!
4471 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
4473 * testsuite/caps/Makefile.am:
4474 * testsuite/caps/value_compare.c:
4475 * testsuite/caps/value_intersect.c:
4476 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4477 move two testsuite apps over to the check dir
4479 2005-07-12 Wim Taymans <wim@fluendo.com>
4481 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4482 Added more debug info in the negotiate process.
4485 Prepare for segment playback.
4487 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
4493 * tools/gst-launch.c: (main):
4494 NULL pipeline on errors.
4496 2005-07-12 Andy Wingo <wingo@pobox.com>
4498 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
4499 not it comes from a malloc region. Make sure our copy gets freed.
4501 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4503 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4504 * check/gst/gstmessage.c: (GST_START_TEST):
4505 * check/gst/gststructure.c: (GST_START_TEST),
4506 (gst_structure_suite), (main):
4508 * gst/gstelement.c: (gst_element_message_full):
4509 clean up GError and debug string now that they get copied
4510 * gst/gstmessage.c: (gst_message_new_error),
4511 (gst_message_new_warning), (gst_message_parse_error),
4512 (gst_message_parse_warning):
4513 use GST_TYPE_G_ERROR for structure_new, and take copies of
4514 arguments, so that we don't mess up refcounting
4516 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4518 * check/Makefile.am:
4519 add per-test valgrind targets
4520 * check/gst-libs/gdp.c: (GST_START_TEST),
4521 (gst_data_protocol_suite), (main):
4524 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
4526 * check/Makefile.am:
4527 instate more valgrindable tests
4528 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4529 (GST_START_TEST), (fakesrc_suite):
4530 * check/gst/gstpad.c: (GST_START_TEST):
4531 * check/gst/gststructure.c: (GST_START_TEST):
4533 * docs/gst/tmpl/gstminiobject.sgml:
4534 * gst/gstpad.c: (gst_pad_finalize):
4535 fix the static mutex leak
4537 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4539 * check/Makefile.am:
4540 add two more tests for valgrinding
4541 * check/gst/gstvalue.c: (GST_START_TEST):
4542 test refcount of deserialized buffer, found a leak
4543 * docs/gst/gstreamer-docs.sgml:
4544 * docs/gst/gstreamer-sections.txt:
4545 * docs/gst/gstreamer.types:
4546 * docs/gst/tmpl/gstminiobject.sgml:
4547 add miniobject to docs
4548 * gst/gstminiobject.c:
4550 * gst/gstvalue.c: (gst_value_deserialize_buffer),
4551 (gst_string_unwrap):
4552 fix a hard-to-find invalid write for one of the tests
4553 fix a leak for deserialized buffers
4555 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4557 * docs/pwg/advanced-events.xml:
4558 * docs/pwg/advanced-request.xml:
4559 * docs/pwg/advanced-scheduling.xml:
4560 * docs/pwg/appendix-porting.xml:
4561 * docs/pwg/building-boiler.xml:
4562 * docs/pwg/intro-preface.xml:
4563 * docs/pwg/other-ntoone.xml:
4564 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
4565 of example code and explanation for pad activation, loop() and
4566 getrange() functions and a bit more. Remove old comments pointing
4568 * examples/pwg/Makefile.am:
4569 Add loop/getrange examples.
4571 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4574 check for valgrind binary + some fixes
4576 valgrind suppressions for the tests
4577 * check/Makefile.am:
4578 add a valgrind: target that valgrinds the unit tests
4579 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
4580 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4581 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4582 * check/gst/gstghostpad.c:
4584 * check/gst/gstdata.c:
4586 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
4587 (thread_unref), (gst_mini_object_suite), (main):
4589 * gst/gst.c: (gst_deinit):
4591 add a method to clean up.
4592 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4593 (gst_system_clock_obtain):
4594 allow for disposing the system clock.
4595 * tools/gst-launch.c: (main):
4598 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
4600 * docs/gst/tmpl/gstbasesrc.sgml:
4601 * docs/gst/tmpl/gstfakesrc.sgml:
4602 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4603 (gst_base_src_init), (gst_base_src_set_property),
4604 (gst_base_src_get_property), (gst_base_src_get_range),
4605 (gst_base_src_start):
4606 * gst/base/gstbasesrc.h:
4607 add num-buffers property
4608 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4609 (gst_fakesrc_init), (gst_fakesrc_set_property),
4610 (gst_fakesrc_get_property), (gst_fakesrc_create),
4611 (gst_fakesrc_start):
4612 remove num-buffers property
4614 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4616 * docs/gst/gstreamer-sections.txt:
4617 * docs/gst/tmpl/gstbasesink.sgml:
4618 * docs/gst/tmpl/gstbasesrc.sgml:
4619 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4620 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4621 (gst_base_sink_finalize), (gst_base_sink_set_clock),
4622 (gst_base_sink_set_property), (gst_base_sink_get_property),
4623 (gst_base_sink_handle_object), (gst_base_sink_event),
4624 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4625 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
4626 (gst_base_sink_loop), (gst_base_sink_deactivate),
4627 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
4628 (gst_base_sink_change_state):
4629 * gst/base/gstbasesink.h:
4630 * gst/base/gstbasesrc.h:
4631 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
4632 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
4633 (gst_filesink_init):
4634 more macro splitting
4636 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4638 * gst/gstelement.c: (gst_element_get_bus):
4640 * tools/gst-launch.c: (check_intr), (event_loop):
4643 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4645 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4648 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
4650 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4651 (gst_base_src_finalize):
4652 add finalize method and clean up properly
4653 * gst/gstpipeline.c: (gst_pipeline_dispose):
4656 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4658 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
4660 add more things to check
4661 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4665 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4667 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4668 (GST_START_TEST), (fakesrc_suite):
4669 * check/gst-libs/gdp.c: (GST_START_TEST):
4670 * check/gst/gst.c: (GST_START_TEST):
4671 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4672 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4673 * check/gst/gstbus.c: (GST_START_TEST):
4674 * check/gst/gstcaps.c: (GST_START_TEST):
4675 * check/gst/gstdata.c: (GST_START_TEST):
4676 * check/gst/gstelement.c: (GST_START_TEST):
4677 * check/gst/gstghostpad.c: (GST_START_TEST):
4678 * check/gst/gstiterator.c: (GST_START_TEST):
4679 * check/gst/gstmessage.c: (GST_START_TEST):
4680 * check/gst/gstobject.c: (GST_START_TEST):
4681 * check/gst/gstpad.c: (GST_START_TEST):
4682 * check/gst/gststructure.c: (GST_START_TEST):
4683 * check/gst/gstsystemclock.c: (GST_START_TEST),
4684 (gst_systemclock_suite):
4685 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4686 * check/gst/gstvalue.c: (GST_START_TEST):
4687 * check/pipelines/cleanup.c: (GST_START_TEST):
4688 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4689 * check/states/sinks.c: (GST_START_TEST):
4690 * check/gstcheck.c: (gst_check_init):
4692 add debugging category
4693 use GST_START_TEST now, so we add a debug line
4695 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
4697 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
4698 add test for state change message on a bin
4699 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
4701 * gst/gstbin.c: (gst_bin_init):
4702 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
4703 * gst/gstelement.c: (gst_element_post_message),
4704 (gst_element_set_state):
4705 * gst/gstelementfactory.c: (gst_element_factory_create):
4706 * gst/gstmessage.c: (gst_message_new):
4707 * gst/gstscheduler.c:
4708 various debugging additions and cleanups
4710 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4712 * check/Makefile.am:
4713 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
4715 adding tests for elements
4716 * gst/gstelement.c: (gst_element_dispose):
4718 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4720 * gst/registries/gstlibxmlregistry.c: (load_feature):
4721 plug more leaks. A simple gst_init() now is leakfree, yay.
4723 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4725 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
4726 (gst_xml_registry_load):
4727 plug another memleak
4729 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4732 use GST_SET_ERROR_CFLAGS
4734 change to ERROR_CFLAGS
4736 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
4739 make GST_ERROR_CFLAGS overridable and re-enable Werror
4741 add a note about error CFLAGS
4742 * docs/gst/tmpl/gstfakesrc.sgml:
4743 * gst/elements/gstfakesrc.c:
4744 comment out some unused code
4745 * gst/gst.c: (split_and_iterate):
4746 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
4750 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4752 * common/Makefile.am:
4753 * common/gtk-doc.mak:
4754 * docs/gst/Makefile.am:
4755 factor out gtk-doc.mak
4757 2005-07-07 Wim Taymans <wim@fluendo.com>
4759 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
4760 (gst_thread_scheduler_dispose):
4761 Unlock the STREAM_LOCK completely.
4763 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
4765 * check/Makefile.am:
4766 * check/elements/.cvsignore:
4767 * check/elements/gstfakesrc.c: (chain_func), (event_func),
4768 (START_TEST), (fakesrc_suite), (main):
4769 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4770 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4771 (gst_fakesrc_create), (gst_fakesrc_start):
4772 * gst/elements/gstfakesrc.h:
4773 adding a first element test
4775 2005-07-07 Andy Wingo <wingo@pobox.com>
4777 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
4780 2005-07-07 Wim Taymans <wim@fluendo.com>
4786 2005-07-07 Wim Taymans <wim@fluendo.com>
4788 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
4789 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
4790 Allow subclasses to implement their own negotiation.
4792 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4794 * docs/design/part-gstbin.txt:
4795 * docs/design/part-gstpipeline.txt:
4796 Update design notes to reflect the movement of
4797 responsibility for bus handling from GstPipeline to
4800 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4803 Remove unnecessary queue2/3/4 examples.
4805 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
4807 * examples/Makefile.am:
4808 * examples/helloworld/helloworld.c: (event_loop), (main):
4809 * examples/queue/queue.c: (event_loop), (main):
4810 * examples/queue2/queue2.c: (main):
4811 Update a couple of the examples to work again.
4813 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4814 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4815 Spelling corrections and extra debug.
4817 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4818 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4819 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4821 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4822 (gst_pipeline_change_state):
4823 * gst/gstpipeline.h:
4824 Move the bus handler for children to the GstBin, and create a
4825 separate bus for receiving messages from children to the one the
4826 bus sends 'upwards' on.
4828 2005-07-06 Wim Taymans <wim@fluendo.com>
4831 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4832 (gst_base_sink_handle_object), (gst_base_sink_loop),
4833 (gst_base_sink_change_state):
4834 * gst/base/gstbasesink.h:
4835 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4836 (gst_base_src_init), (gst_base_src_setcaps),
4837 (gst_base_src_getcaps), (gst_base_src_loop),
4838 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4839 (gst_base_src_start), (gst_base_src_change_state):
4840 * gst/base/gstbasesrc.h:
4841 Make basesrc negotiate.
4842 Handle the case where preroll fails in basesink.
4845 2005-07-06 Wim Taymans <wim@fluendo.com>
4847 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4848 Implement the fixate function.
4849 Clean up acceptcaps.
4851 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4853 * docs/pwg/building-filterfactory.xml:
4855 Remove never-written filter-factory chapter; I'll add the various
4856 base classes to part 4 ("other element types") later on.
4858 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4860 * docs/pwg/advanced-negotiation.xml:
4861 * docs/pwg/building-boiler.xml:
4862 * docs/pwg/building-pads.xml:
4864 * examples/pwg/Makefile.am:
4865 Add a chapter on caps negotiation, simplify the original code
4866 samples a bit w.r.t. caps negotiation, add link to the advanced
4867 section. Add a bunch of examples showing different use cases of
4868 different types of caps negotiation. Upstream renegotiation isn't
4869 fully documented yet since nobody knows how that works.
4871 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4873 * check/gst/gstpad.c:
4875 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4876 if pad has no parent, return NULL as list of internal links
4878 2005-07-05 Andy Wingo <wingo@pobox.com>
4880 * gst/elements/gstfilesrc.c:
4881 * gst/elements/gstfakesrc.c:
4882 * gst/base/gstpushsrc.c:
4883 * gst/base/gstbasesrc.h:
4884 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4886 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4889 better report generation target (lcov needs a patch)
4891 2005-07-05 Andy Wingo <wingo@pobox.com>
4893 * gst/elements, testsuite: Null if we got it...
4895 2005-07-05 Wim Taymans <wim@fluendo.com>
4898 * libs/gst/dataprotocol/Makefile.am:
4899 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4900 * libs/gst/dataprotocol/dataprotocol.h:
4901 * pkgconfig/Makefile.am:
4902 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4903 * pkgconfig/gstreamer-dataprotocol.pc.in:
4904 Ported dataprotol to 0.9.
4905 Added pkgconfig files.
4907 2005-07-05 Andy Wingo <wingo@pobox.com>
4909 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4910 Default to returning TRUE for the case when tranform_caps returns
4911 a fixed caps, like for identity or volume.
4913 * check/gst/gstbus.c (pound_bus_with_messages):
4914 * check/gst/gstmessage.c (START_TEST):
4915 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4918 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4919 logic weaks here: always run transform_caps, trying passthrough
4920 operation only if the original caps intersects with the transform.
4922 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4923 source and sink caps.
4925 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4926 Intersect the peer caps with the pad template before going into
4928 (gst_base_transform_transform_caps): More debugging.
4930 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4933 2005-07-04 Edward Hervey <edward@fluendo.com>
4937 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4940 2005-07-04 Andy Wingo <wingo@pobox.com>
4942 * check/gst/gstpad.c: Only set explicit caps on pads.
4944 2005-07-01 Andy Wingo <wingo@pobox.com>
4946 * tests/network-clock.scm: Commentary update.
4948 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4949 Didn't really make sense, not implementable with basetransform,
4951 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4952 attempt at implementing the sync property, needs an unlock method.
4954 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4955 New func, by default returns the same caps (the identity
4957 (gst_base_transform_getcaps): Uses transform_caps to return
4959 (gst_base_transform_setcaps): Complicated logic to get caps on
4960 both pads, even if they are different, and to call set_caps once
4961 for every time both pads get their caps set.
4962 (gst_base_transform_handle_buffer): Give the ref to the transform
4963 function. Allows in-place modification of the buffer.
4965 * gst/base/gstbasetransform.h (transform_caps): New class method.
4966 Given caps on one side, what can I do on the other.
4967 (set_caps): Take two caps, one for each side of the element.
4970 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4971 caps in place. This is safe because we can check the mutability of
4972 the caps, and a good idea because fixate functions are just called
4973 as a matter of last resort. (Not actually implemented.)
4974 (gst_pad_set_caps): If the caps we're setting is actually the same
4975 as the existing pad caps, just update the pointer without calling
4976 setcaps. Assert that caps is either NULL or fixed, as per the
4979 * gst/gstghostpad.c: Update for fixate changes.
4981 2005-07-02 Andy Wingo <wingo@pobox.com>
4984 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4985 two refcounts makes it immutable, which is enough. Doc more.
4987 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4989 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4990 Put the mini_object into GValue as a mini_object,
4991 not a gpointer, since that's how we declared
4994 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4996 * examples/pwg/Makefile.am:
4999 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5001 * docs/pwg/building-testapp.xml:
5003 * examples/pwg/Makefile.am:
5006 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5009 * examples/Makefile.am:
5010 * examples/pwg/Makefile.am:
5011 * examples/pwg/extract.pl:
5012 Enable building the PWG examples.
5013 * docs/pwg/advanced-interfaces.xml:
5014 Add URI interface stub.
5015 * docs/pwg/advanced-types.xml:
5016 * docs/pwg/other-autoplugger.xml:
5017 * docs/pwg/appendix-porting.xml:
5019 Add porting guide (mostly stubs), remove autoplugging (see ADM).
5020 * docs/pwg/building-boiler.xml:
5021 * docs/pwg/building-chainfn.xml:
5022 * docs/pwg/building-pads.xml:
5023 * docs/pwg/building-props.xml:
5024 * docs/pwg/building-state.xml:
5025 * docs/pwg/building-testapp.xml:
5026 Update the building-*.xml parts for 0.9 changes. All examples
5027 code blocks compile in examples/pwg/*.
5029 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5031 * docs/manual/advanced-autoplugging.xml:
5032 * docs/manual/appendix-checklist.xml:
5033 * docs/manual/appendix-integration.xml:
5034 * docs/manual/highlevel-components.xml:
5035 Fix playbin/decodebin examples, update docs a bit, mention bus
5036 instead of signals in various places, mention kmplayer and
5037 kaffeine since they have a working GStreamer backend in the KDE
5040 2005-06-30 Wim Taymans <wim@fluendo.com>
5043 * docs/design/draft-ghostpads.txt:
5044 * docs/design/draft-push-pull.txt:
5045 * docs/design/draft-query.txt:
5046 * docs/design/part-TODO.txt:
5047 * docs/design/part-query.txt:
5048 Added CHANGES-0.9 doc, updated status of other docs.
5053 2005-06-30 Wim Taymans <wim@fluendo.com>
5055 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5056 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5057 (gst_base_sink_change_state):
5058 * gst/base/gstbasesink.h:
5059 Some tweaks, only EOS and a buffer complete a preroll.
5061 2005-06-30 Andy Wingo <wingo@pobox.com>
5063 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5064 activate_push down to the internal pad as well.
5066 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
5068 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5070 * gst/gsttaginterface.c:
5071 Some documentation fixes (#307394 and #307397).
5073 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
5075 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5077 * gst/gstvalue.c: (gst_value_intersect_list):
5078 Fix memleak (#309125).
5080 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5082 * docs/manual/advanced-dataaccess.xml:
5083 Fix fakesrc example to compile; doesn't work, bug somewhere...?
5084 * docs/manual/basics-pads.xml:
5085 Add reference for filtered caps to above chapter.
5087 2005-06-30 Wim Taymans <wim@fluendo.com>
5089 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5090 (gst_bin_change_state):
5092 Lame attempt at making the state change function a bit
5095 2005-06-30 Wim Taymans <wim@fluendo.com>
5097 * docs/design/part-clocks.txt:
5098 * docs/design/part-element-sink.txt:
5099 * docs/design/part-events.txt:
5100 * docs/design/part-preroll.txt:
5101 * docs/design/part-states.txt:
5102 Some more tweeks and additions to the docs.
5104 2005-06-30 Wim Taymans <wim@fluendo.com>
5106 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5107 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5108 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5109 (gst_pad_check_pull_range), (gst_pad_get_range),
5110 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5112 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5113 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5114 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5115 (gst_pad_remove_buffer_probe):
5116 Removed atomic operations, use existing LOCK.
5117 Move exception handling out of main code path.
5119 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5121 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5122 (silly_return_true_function), (gst_pad_class_init),
5123 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5124 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5125 (gst_pad_send_event):
5126 Fix accumulator, add default value by using _emitv() instead
5127 of _emit() for signal emission.
5129 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5131 * docs/manual/advanced-dataaccess.xml:
5132 * examples/manual/Makefile.am:
5134 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5137 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
5139 * gst/elements/gstfilesink.c: (gst_filesink_render):
5140 Simplify code so that we don't have to handle short
5141 writes and return GST_FLOW_ERROR if an error occured.
5143 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5145 * docs/gst/gstreamer-docs.sgml:
5148 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5150 * docs/gst/gstreamer-sections.txt:
5151 * docs/gst/tmpl/gstpad.sgml:
5152 * docs/gst/tmpl/gstprobe.sgml:
5154 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5155 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5156 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5157 (gst_pad_push_event), (gst_pad_send_event):
5159 * gst/gstutils.c: (gst_pad_add_data_probe),
5160 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5161 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5162 (gst_pad_remove_buffer_probe):
5164 Remove old probes, add new g-signal-based probes and some utility
5167 2005-06-29 Edward Hervey <edward@fluendo.com>
5169 * gst/gstelementfactory.c:
5172 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5173 the definition to the header file.
5175 2005-06-29 Andy Wingo <wingo@pobox.com>
5177 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
5178 plugins from the source directory.
5180 2005-06-29 Wim Taymans <wim@fluendo.com>
5182 * docs/gst/tmpl/gstbuffer.sgml:
5183 * docs/gst/tmpl/gstclock.sgml:
5184 Some fixings for blantently wrong text.
5186 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5188 * check/Makefile.am:
5189 * gst/gst.c: (add_path_func), (init_pre):
5190 * gst/gstregistry.c: (gst_registry_add_path):
5191 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
5192 only scan the GST_PLUGIN_PATH locations, and not add
5195 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
5197 * docs/gst/gstreamer-sections.txt:
5198 * docs/gst/tmpl/gstbasesrc.sgml:
5205 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5207 * docs/manual/advanced-autoplugging.xml:
5208 Fix autoplugging example.
5210 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5212 * docs/manual/advanced-autoplugging.xml:
5213 * docs/manual/mime-world.fig:
5214 Try to get autoplugging working, fix type detection. Fix text
5215 in hello-world image.
5217 2005-06-29 Wim Taymans <wim@fluendo.com>
5219 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5220 (gst_base_sink_change_state):
5224 map SIGNAL and BROADCAST to the right function.
5227 Remove redundant braces.
5229 * gst/gstpad.c: (gst_pad_set_caps):
5230 Don't call setcaps function when reseting caps to NULL.
5232 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5233 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
5234 (gst_system_clock_id_unschedule):
5235 Use BROADCAST as this is what we do.
5237 2005-06-29 Wim Taymans <wim@fluendo.com>
5239 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5240 We are actually prerolling before commiting the state
5243 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5245 * docs/manual/advanced-clocks.xml:
5246 * docs/manual/advanced-interfaces.xml:
5247 * docs/manual/advanced-metadata.xml:
5248 * docs/manual/advanced-position.xml:
5249 * docs/manual/advanced-schedulers.xml:
5250 * docs/manual/advanced-threads.xml:
5251 * docs/manual/appendix-porting.xml:
5252 * docs/manual/basics-bins.xml:
5253 * docs/manual/basics-bus.xml:
5254 * docs/manual/basics-elements.xml:
5255 * docs/manual/basics-helloworld.xml:
5256 * docs/manual/basics-pads.xml:
5257 * docs/manual/highlevel-components.xml:
5258 * docs/manual/manual.xml:
5259 * docs/manual/thread.fig:
5260 Update (until threads/scheduling) Application Development Manual;
5261 remove GstThread, add GstBus, add simple porting checklist, add
5262 documentation for tag writing, clocks, make all examples until this
5263 part compile and run.
5264 * examples/manual/Makefile.am:
5265 Update from changes to Application Development Manual; add bus
5266 example, remove thread example.
5268 2005-06-28 Wim Taymans <wim@fluendo.com>
5270 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
5271 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
5272 (gst_bus_source_dispatch):
5273 Add debugging messages.
5274 Make internal methods static.
5275 Handle the case where the bus is flushed in the handler.
5277 * gst/gstelement.c: (gst_element_get_bus):
5278 Fix refcount in _get_bus();
5280 * gst/gstpipeline.c: (gst_pipeline_change_state),
5281 (gst_pipeline_get_clock_func):
5282 Clock refcounting fixes.
5283 Handle the case where preroll timed out more gracefully.
5285 * gst/gstsystemclock.c: (gst_system_clock_dispose):
5286 Clean up the internal thread in dispose. This is needed
5287 for subclasses that actually get disposed.
5289 * gst/schedulers/threadscheduler.c:
5290 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
5291 (gst_thread_scheduler_dispose):
5292 Free thread pool in dispose.
5294 2005-06-28 Andy Wingo <wingo@pobox.com>
5296 * tests/network-clock-utils.scm (debug, print-event): New utils.
5298 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
5299 (*packet-loss*): Unified loss probability.
5300 (network-time): Report out-of-band events.
5302 * tests/plot-data: Add support for out-of-band events. Hack it
5303 into this script instead of passing it down the pipe; should fix
5306 2005-06-28 Wim Taymans <wim@fluendo.com>
5308 * docs/gst/gstreamer.types:
5309 * docs/gst/tmpl/gstbasesrc.sgml:
5310 * docs/gst/tmpl/gstpad.sgml:
5313 2005-06-28 Wim Taymans <wim@fluendo.com>
5315 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5316 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
5317 (gst_proxy_pad_do_fixatecaps):
5318 Correctly proxy the check_pull_range function.
5320 2005-06-28 Andy Wingo <wingo@pobox.com>
5322 * tests/network-clock.scm: Removed need for slib.
5324 2005-06-28 Wim Taymans <wim@fluendo.com>
5326 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
5327 (gst_basesink_preroll_queue_flush):
5328 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
5329 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
5330 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5331 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5332 (gst_proxy_pad_set_property):
5335 * gst/gstqueue.c: (gst_queue_init):
5336 The deprecated pad loop function is removed now.
5338 2005-06-28 Andy Wingo <wingo@pobox.com>
5340 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
5341 New parameters, simulate network packet loss.
5343 * tests/network-clock-utils.scm: Initialize the RNG.
5345 2005-06-28 Wim Taymans <wim@fluendo.com>
5347 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
5348 (gst_basesink_event), (gst_basesink_deactivate):
5349 Flushing the preroll queue always needs to unlock the waiters.
5351 2005-06-28 Edward Hervey <edward@fluendo.com>
5353 * gst/gstpipeline.c: (gst_pipeline_send_event):
5354 Wheen a seek was successful on a pipeline, set the stream_time to the
5355 seek offset in order to have a synchronized stream_time.
5357 2005-06-28 Wim Taymans <wim@fluendo.com>
5359 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5360 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
5361 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
5362 (gst_proxy_pad_do_fixatecaps):
5363 Call wrapper function instead of just calling the function
5364 pointers. This takes care of any locking and whatmore.
5366 2005-06-28 Wim Taymans <wim@fluendo.com>
5368 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
5369 (gst_pad_pull_range):
5371 CONNECTED -> LINKED.
5373 2005-06-28 Andy Wingo <wingo@pobox.com>
5375 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
5376 source-munging commit!!!
5378 * gst/gstobject.c (gst_object_unref, gst_object_ref)
5379 (gst_object_sink): Take gpointer arguments, not GstObject --
5380 avoids casts. Like GLib.
5382 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
5385 2005-06-27 Andy Wingo <wingo@pobox.com>
5387 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
5390 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
5391 returns a sorted copy of the trace list.
5392 (gst_alloc_trace_print_live): New API, only prints traces with
5393 live objects. Sort the list.
5394 (gst_alloc_trace_print_all): Sort the list.
5395 (gst_alloc_trace_print): Align columns.
5397 * gst/elements/gstttypefindelement.c:
5398 * gst/elements/gsttee.c:
5399 * gst/base/gstbasesrc.c:
5400 * gst/base/gstbasesink.c:
5401 * gst/base/gstbasetransform.c:
5402 * gst/gstqueue.c: Adapt for pad activation changes.
5404 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
5406 (gst_pipeline_dispose): Drop ref on sched.
5408 * gst/gstpad.c (gst_pad_init): Set the default activate func.
5409 (gst_pad_activate_default): Push mode by default.
5410 (pre_activate_switch, post_activate_switch): New stubs, things to
5411 do before and after switching activation modes on pads.
5412 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
5413 the pad's activate function to choose which mode to activate.
5414 Shortcut on deactivation and call the right function directly.
5415 (gst_pad_activate_pull): New API, (de)activates a pad in pull
5417 (gst_pad_activate_push): New API, same for push mode.
5418 (gst_pad_set_activate_function)
5419 (gst_pad_set_activatepull_function)
5420 (gst_pad_set_activatepush_function): Setters for new API.
5422 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
5423 Trace all miniobjects.
5424 (gst_mini_object_make_writable): Unref the arg if we copy, like
5425 gst_caps_make_writable.
5427 * gst/gstmessage.c (_gst_message_initialize): No trace init.
5429 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
5430 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
5431 Adapt for new pad API.
5433 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
5436 * gst/gstelement.c (gst_element_iterate_src_pads)
5437 (gst_element_iterate_sink_pads): New API functions.
5439 * gst/gstelement.c (iterator_fold_with_resync): New utility,
5440 should fold into gstiterator.c in some form.
5441 (gst_element_pads_activate): Simplified via use of fold and
5442 delegation of decisions to gstpad->activate.
5444 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
5447 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
5448 class once in init, like gstmessage. Didn't run into this issue
5449 but it seems correct. Don't initialize a trace, gstminiobject does
5452 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
5453 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
5455 (assert_live_count): New util function, uses alloc traces to check
5458 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
5459 To be modified when unlink drops the internal pad.
5461 2005-06-27 Wim Taymans <wim@fluendo.com>
5463 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
5464 (gst_bin_change_state):
5465 Cleanup the get_state() function a little, make sure it
5466 iterates the same set of elements.
5467 Added stub iterate_state_order().
5469 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
5471 * docs/gst/gstreamer-docs.sgml:
5472 * docs/gst/gstreamer-sections.txt:
5473 * docs/gst/gstreamer.types:
5474 * docs/gst/tmpl/gstbasesink.sgml:
5475 * docs/gst/tmpl/gstbasesrc.sgml:
5476 * docs/gst/tmpl/gstbasetransform.sgml:
5477 * docs/gst/tmpl/gstelement.sgml:
5478 * docs/gst/tmpl/gstiterator.sgml:
5479 * gst/base/gstbasesrc.c:
5480 * gst/base/gstbasesrc.h:
5481 * gst/base/gstbasetransform.h:
5483 * gst/gstiterator.h:
5484 adding basetransform and iterator docs
5486 2005-06-27 Andy Wingo <wingo@pobox.com>
5488 * docs/design/part-activation.txt: Notes on how activation should
5489 work -- not quite implemented yet.
5491 2005-06-25 Wim Taymans <wim@fluendo.com>
5493 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
5494 At least get the chain function correct, needs more
5497 2005-06-25 Wim Taymans <wim@fluendo.com>
5499 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5500 (gst_basesink_handle_object), (gst_basesink_event),
5501 (gst_basesink_do_sync), (gst_basesink_handle_event),
5502 (gst_basesink_change_state):
5504 Right, two problems here: ghostpads don't take locks and
5505 glib _rec_mutex_lock_full() with depth==0 still locks.
5506 Catch illegal locking and g_warn them.
5508 2005-06-25 Wim Taymans <wim@fluendo.com>
5510 * check/states/sinks.c: (START_TEST), (gst_object_suite):
5511 Have to check for completion now...
5513 2005-06-25 Wim Taymans <wim@fluendo.com>
5515 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5516 (gst_basesink_handle_object), (gst_basesink_event),
5517 (gst_basesink_do_sync), (gst_basesink_handle_event),
5518 (gst_basesink_change_state):
5520 Unlock STREAM_LOCK whatever the recursion was.
5522 2005-06-25 Wim Taymans <wim@fluendo.com>
5524 * gst/base/gstbasesink.c: (gst_basesink_set_property),
5525 (gst_basesink_preroll_queue_empty),
5526 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
5527 (gst_basesink_event), (gst_basesink_do_sync),
5528 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
5529 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
5530 (gst_basesink_change_state):
5531 Reworked the base sink, handle event and buffer serialisation
5532 correctly and removed possible deadlock.
5533 Handle EOS correctly.
5535 2005-06-25 Wim Taymans <wim@fluendo.com>
5537 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
5538 (gst_pipeline_change_state):
5539 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5540 Allow elements to post EOS in the state change function.
5541 Fix up -launch, make it exit the poll loop when the
5542 pipeline actually changed state.
5543 Fix up warning parsing in -launch.
5545 2005-06-25 Wim Taymans <wim@fluendo.com>
5547 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
5548 (gst_tee_sink_activate):
5549 Core takes STREAM_LOCK for us now.
5551 2005-06-25 Wim Taymans <wim@fluendo.com>
5553 * gst/gstelement.c: (gst_element_get_state_func),
5554 (gst_element_set_state):
5556 * gst/gstmessage.c: (gst_message_parse_error),
5557 (gst_message_parse_warning):
5558 Keep track of current target state while performing a state
5559 change so that subclasses can do something interesting.
5560 Fix parsing of warning/error messages when GError is NULL.
5562 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5564 * docs/gst/Makefile.am:
5565 * docs/gst/gstreamer-docs.sgml:
5566 * docs/gst/gstreamer-sections.txt:
5567 * docs/gst/gstreamer.types:
5568 * docs/gst/tmpl/gstbasesink.sgml:
5569 * docs/gst/tmpl/gstbasesrc.sgml:
5570 * docs/gst/tmpl/gstbin.sgml:
5571 * docs/gst/tmpl/gstcompat.sgml:
5572 * docs/gst/tmpl/gstfakesink.sgml:
5573 * docs/gst/tmpl/gstfakesrc.sgml:
5574 * docs/gst/tmpl/gstfilesink.sgml:
5575 * docs/gst/tmpl/gstfilesrc.sgml:
5576 * docs/gst/tmpl/gstindex.sgml:
5577 * docs/manual/appendix-quotes.xml:
5578 * gst/base/gstbasesrc.h:
5579 * gst/elements/gstfakesrc.h:
5581 start pulling in base classes and elements in our docs
5583 2005-06-24 Stefan Kost <ensonic@users.sf.net>
5585 * docs/gst/Makefile.am:
5586 * docs/libs/Makefile.am:
5587 fixed make distcheck with gtk-doc 1.3
5589 2005-06-23 Wim Taymans <wim@fluendo.com>
5591 * gst/gstelement.c: (gst_element_get_state_func),
5592 (gst_element_set_state), (gst_element_change_state):
5593 When the state did not change, also report NO_PREROLL
5596 2005-06-23 Wim Taymans <wim@fluendo.com>
5598 * gst/gstpad.c: (gst_pad_event_default):
5599 * gst/gstqueue.c: (gst_queue_loop):
5600 No unsafe task pausing please.
5602 2005-06-23 Wim Taymans <wim@fluendo.com>
5604 * gst/schedulers/threadscheduler.c:
5605 (gst_thread_scheduler_task_start),
5606 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
5607 Ref the task before pushing it on the threadpool. This
5608 makes sure that we have a ref when the threadfunction is
5611 2005-06-23 Andy Wingo <wingo@pobox.com>
5613 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
5614 offset is greater than the file's size.
5616 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
5617 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
5618 * gst/gstobject.c (gst_object_class_init): Make the class lock
5619 recursive. Wim won't let me drop deep_notify. Decodebin works
5622 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
5623 internal pad, and hacks accordingly. Doesn't do it on the target
5624 pad because we change its caps. Probably catches all cases of
5626 (gst_ghost_pad_set_property): Connect to notify::caps as
5629 * tests/network-clock.scm (plot-simulation): Pipe data to the
5630 elite python skript.
5632 * tests/network-clock-utils.scm (define-parameter): New macro,
5633 defines a parameter that can be set via the command line.
5634 (set-parameter!, parse-parameter-arguments): Command line args
5637 * tests/plot-data: Simple matplotlib-based plotter, takes input on
5640 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
5642 * gst/elements/gsttypefindelement.c:
5643 (gst_type_find_element_handle_event):
5644 Don't restart typefinding on a discont.
5645 * gst/gstelement.c: (gst_element_set_state):
5647 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
5648 Allow changing mode of an active pad.
5650 * gst/registries/gstlibxmlregistry.c: (load_feature):
5651 Don't cast a static pad template to a normal pad template.
5653 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5655 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5656 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5657 remove gst_strtoll completely, since it didn't actually do
5658 anything more than what g_ascii_strtoull already does.
5659 check for range errors when deserializing
5660 do a cast for the unsigned cases; but further fixing needs
5661 a decision on what the interpretation of "(int)" and
5662 deserialization should be for values that fall outside the
5663 type's boundaries (ie, refuse, or interpret as casting)
5665 2005-06-23 Wim Taymans <wim@fluendo.com>
5667 * check/Makefile.am:
5668 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
5669 * docs/design/part-live-source.txt:
5670 * docs/design/part-states.txt:
5671 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5672 (gst_basesrc_set_live), (gst_basesrc_is_live),
5673 (gst_basesrc_get_range), (gst_basesrc_activate),
5674 (gst_basesrc_change_state):
5675 * gst/base/gstbasesrc.h:
5676 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5677 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5678 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
5679 * gst/gstelement.c: (gst_element_get_state_func),
5680 (gst_element_set_state):
5683 * tools/gst-launch.c: (event_loop), (main):
5684 Added support for live sources and other elements that
5686 Updated design docs, added live-source design doc.
5687 Implemented live source functionality in basesrc
5688 Fix error condition in _bin_get_state()
5689 Implement live source handling in -launch.
5690 Added check for live sources.
5691 Fixed case in GstBin where elements were changed state
5695 2005-06-23 Andy Wingo <wingo@pobox.com>
5697 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
5700 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
5701 gst_caps_replace takes care of this for us.
5703 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
5704 gst_pad_set_caps on the target, not just its setcaps() function.
5706 * tests/network-clock.scm:
5707 * tests/network-clock-utils.scm: A network clock simulator.
5708 Something of an algorithmic testbed before doing something in C.
5710 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5712 * check/Makefile.am:
5713 * check/gst/capslist.h:
5714 copy over from 0.8, and add two with bitmasks specified with
5716 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5717 add test to parse everything from capslist.h
5718 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
5720 add test for structure deserialization
5721 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5722 add tests for deserialization of strings to int types
5723 * gst/gststructure.c: (gst_structure_nth_field_name):
5724 * gst/gststructure.h:
5725 add a way to get the name of a field referenced by index
5726 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5727 instead of checking if the resulting long long lies between
5728 min and max, we check if the long long would fit into
5729 a number of bytes for the final type.
5730 This fixes cases where a string represents 2^32 - 1, which
5731 when cast to int would be the (valid) -1, but is bigger than
5734 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5736 * gst/parse/grammar.y:
5737 add a log line for type deserialization
5739 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
5741 * check/gst/gstvalue.c: (START_TEST):
5742 * gst/gstvalue.c: (gst_value_deserialize):
5743 return long long, not int, so gint64 deserialization actually
5744 works. Is there any flag that makes the compiler check this ?
5747 2005-06-22 Wim Taymans <wim@fluendo.com>
5750 Added convenience macros for setting buffers in GValue.
5752 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5754 * check/gst/.cvsignore:
5755 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
5756 add a test deserializing int64, and comment part out because
5759 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
5761 * check/Makefile.am:
5762 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
5763 * testsuite/Makefile.am:
5764 * testsuite/caps/Makefile.am:
5765 * testsuite/caps/value_serialize.c:
5766 * testsuite/test_gst_init.c:
5767 move a value_serialize test over
5769 2005-06-20 Wim Taymans <wim@fluendo.com>
5774 * gst/gstvalue.c: (gst_value_compare_buffer),
5775 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
5776 (gst_value_compare_flags), (gst_value_serialize_flags),
5777 (gst_value_deserialize_flags), (_gst_value_initialize):
5778 Fix serialisation of buffers, they are not boxed types anymore
5780 2005-06-20 Wim Taymans <wim@fluendo.com>
5782 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
5783 Testcase to show error in buffer-on-caps serialisation.
5785 2005-06-20 Andy Wingo <wingo@pobox.com>
5787 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
5788 will be adding to later.
5790 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
5791 if its socks fill with rocks.
5792 (gst_system_clock_obtain): Set the name on object construction.
5793 Avoid double-checked locking.
5795 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
5797 * gst/gsturi.c: (gst_element_make_from_uri):
5798 Fix potential endless loop.
5800 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5802 * check/Makefile.am:
5804 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
5806 move over from testsuite dir and clean up
5809 * testsuite/Makefile.am:
5810 * testsuite/tags/.cvsignore:
5811 * testsuite/tags/Makefile.am:
5812 * testsuite/tags/merge.c:
5813 remove testsuite/tags
5815 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5817 * docs/gst/gstreamer-sections.txt:
5818 * docs/gst/tmpl/gstenumtypes.sgml:
5819 * win32/gstenumtypes.c:
5820 clean up documentation build a little
5822 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5825 add macros for checking refcounts on objects and caps
5826 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5827 add some more unit tests
5828 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5829 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5830 fix leaked refcounts (I hope :)) so unittest works
5834 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5836 * configure.ac: back to HEAD
5838 === release 0.9.1 ===
5840 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5846 2005-06-17 Andy Wingo <wingo@pobox.com>
5848 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5849 assert; it's always possible that the pad gets deactivated in
5850 between the checks in gstpad.c and the implementation. Rely on
5851 finish_preroll() to return a FLUSHING or similar instead of on the
5854 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5855 clock and post an EOS message if we come out of finish_preroll in
5858 2005-06-16 David Schleef <ds@schleef.org>
5860 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5861 (gst_capsfilter_set_property): Allow NULL as possible value
5862 for filter_caps property, indicating GST_CAPS_ANY.
5864 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5866 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5868 * gst/schedulers/Makefile.am:
5870 * gstreamer.spec.in:
5873 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5875 * gstreamer.spec.in:
5878 2005-06-08 Andy Wingo <wingo@pobox.com>
5880 * gst/gstutils.c: RPAD fixes all around.
5881 (gst_element_link_pads): Refcounting fixes.
5883 * tools/gst-inspect.c:
5884 * tools/gst-xmlinspect.c:
5886 * gst/base/gsttypefindhelper.c:
5887 * gst/base/gstbasesink.c:
5888 * gst/gstqueue.c: RPAD fixes.
5890 * gst/gstghostpad.h:
5891 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5892 pads. The tricky thing is they provide both source and sink
5893 interfaces, since they proxy the internal pad for the external
5894 pad, and vice versa. Implement with lower-level ProxyPad objects,
5895 with the interior proxy pad as a child of the exterior ghost pad.
5896 Should write a doc on this.
5898 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5899 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5902 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5903 pads are real pads. No ghost pads in this file. Not documenting
5904 the myriad s/RPAD/PAD/ and REALIZE fixes.
5905 (gst_pad_class_init): Add properties for "direction" and
5906 "template". Both are construct-only, so they can't change during
5907 the life of the pad. Fixes properly deriving from GstPad.
5908 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5909 derived objects, just set properties when creating the objects via
5911 (gst_pad_get_parent): Implement as a function, return NULL if the
5912 parent is not an element.
5913 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5914 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5916 * gst/gstobject.c (gst_object_class_init): Make name a construct
5917 property. Don't set it in the object init.
5919 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5920 with UNKNOWN direction.
5921 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5922 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5923 (gst_element_remove_pad): Remove ghost-pad special cases.
5924 (gst_element_pads_activate): Remove rpad cruft.
5926 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5927 catch the pad's-parent-not-an-element case.
5929 * gst/gst.h: Include gstghostpad.h.
5931 * gst/gst.c (init_post): No more real, ghost pads.
5933 * gst/Makefile.am: Add gstghostpad.[ch].
5935 * check/Makefile.am:
5936 * check/gst/gstbin.c:
5937 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5938 into a bin creates ghost pads, and that the refcounts are right.
5939 Partly moved from gstbin.c.
5941 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5943 * check/gst-libs/.cvsignore:
5944 * check/gst/.cvsignore:
5945 * check/pipelines/.cvsignore:
5947 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5948 (START_TEST), (cleanup_suite), (main):
5949 add some tests related to cleanup after running pipelines
5951 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5953 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5954 add a testsuite for GstBuffer
5956 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5958 * gst/gstminiobject.h:
5959 add defines for accessing the refcount
5961 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5963 * Makefile.am: added support for html unit test coverage reports
5965 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5967 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5968 Free existing caps if the capsfilter changes. Add a FIXME about
5969 setting those caps on the pads.
5971 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5972 Before adding a ghost pad to a parent bin, check that there isn't
5973 already one for the element on the bin. Prevents infinite recursion
5974 when using decodebin in parse pipelines. Andy says he'll rewrite the
5975 way this works anyway, so ignore the hack.
5977 2005-06-02 Andy Wingo <wingo@pobox.com>
5979 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5980 file size, pass it on to the type find helper.
5982 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5983 segment_start and segment_end properly according to the seek
5984 method. Segment_end is still a bit flaky because offset can be
5985 negative for CUR and END cases, but it takes -1 as an "unset"
5988 2005-06-02 Wim Taymans <wim@fluendo.com>
5990 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5991 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5992 (gst_basesink_activate):
5993 * gst/base/gstbasesink.h:
5994 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5995 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5996 (gst_pad_query), (gst_pad_start_task):
5998 * gst/gstqueue.c: (gst_queue_bufferalloc),
5999 (gst_queue_handle_sink_event), (gst_queue_chain):
6000 Bufferalloc: return GstFlowReturn to more accuratly report
6001 why allocation failed.
6003 2005-06-02 Wim Taymans <wim@fluendo.com>
6005 * gst/gstpipeline.c: (gst_pipeline_send_event):
6006 Take snapshot of state without blocking.
6008 2005-06-02 Wim Taymans <wim@fluendo.com>
6010 * docs/design/part-TODO.txt:
6011 * docs/design/part-caps.txt:
6012 * docs/design/part-clocks.txt:
6013 * docs/design/part-negotiation.txt:
6014 * docs/design/part-preroll.txt:
6017 2005-05-30 Wim Taymans <wim@fluendo.com>
6019 * gst/elements/gstidentity.c: (gst_identity_event),
6020 (gst_identity_transform), (gst_identity_get_property):
6021 Protect last_message property as it is accessed from
6024 2005-05-30 Wim Taymans <wim@fluendo.com>
6026 * gst/gstelement.c: (gst_element_init),
6027 (gst_element_pads_activate), (gst_element_change_state):
6028 Slicker pad activation code.
6030 2005-05-30 Wim Taymans <wim@fluendo.com>
6034 * gst/gstelementfactory.h:
6036 Move elementfactory methods to separate .h file.
6038 2005-05-30 Wim Taymans <wim@fluendo.com>
6040 * docs/design/part-overview.txt:
6041 * gst/gstsystemclock.h:
6042 Small typo fixes, doc updates.
6044 2005-05-30 Wim Taymans <wim@fluendo.com>
6046 * gst/gst.c: (gst_init_get_popt_table), (init_post),
6047 (init_popt_callback):
6048 Remove cpu-opt flag.
6050 2005-05-30 Wim Taymans <wim@fluendo.com>
6052 * gst/gstbuffer.c: (gst_subbuffer_finalize),
6053 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6055 Avoid typechecking in places where not needed.
6056 Added accessor for malloc_data.
6058 2005-05-30 Wim Taymans <wim@fluendo.com>
6060 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6061 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6062 (gst_pad_configure_sink), (gst_pad_configure_src),
6063 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6064 (gst_pad_start_task):
6065 Propagate errors from _set_caps() in configure_src/sink
6066 functions instead of returning TRUE.
6067 FLUSH events can travel up and downstream
6070 2005-05-30 Wim Taymans <wim@fluendo.com>
6072 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6073 (gst_basesink_activate):
6074 Handle EOS in preroll.
6076 2005-05-30 Wim Taymans <wim@fluendo.com>
6078 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6079 (gst_queue_loop), (gst_queue_handle_src_event):
6080 Remove old pieces of code
6081 Flushing the queue in an upstream event is a very bad idea.
6083 2005-05-26 Andy Wingo <wingo@pobox.com>
6085 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6086 gst_value_set_mini_object so as to add a ref on the object (which
6087 will be removed when the value is unset).
6089 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6090 arg type in ::handoff.
6092 * gst/gstelement.c (gst_element_change_state): Also deactivate
6093 pads in READY->NULL, just in case the element didn't make it to
6094 PAUSED. Wingo tested, Wim approved.
6096 2005-05-26 Wim Taymans <wim@fluendo.com>
6098 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6099 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6100 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6101 A flushing pad cannot be used to alloc_buffer from.
6103 2005-05-26 Wim Taymans <wim@fluendo.com>
6105 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6106 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6107 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6108 (gst_bus_create_watch), (gst_bus_add_watch_full):
6110 Implement a real GSource and use g_main_context_wakeup() to
6111 signal new messages instead of the socketpair.
6113 2005-05-25 Wim Taymans <wim@fluendo.com>
6115 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6116 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6117 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6118 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6119 (gst_pad_send_event), (gst_pad_start_task):
6120 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6121 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6122 (gst_queue_sink_activate), (gst_queue_src_activate),
6123 (gst_queue_change_state):
6125 Fix state changes for non sinks. We now change sinks, then elements
6126 with unconnected srcpads, then the rest.
6127 More efficient queue unlocking in flush and state changes.
6128 Set the pad activate mode even if it does not have an activate
6131 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6133 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6134 Don't go in pull mode for non-seekable sources.
6135 * gst/elements/gsttypefindelement.h:
6136 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6137 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6138 (free_entry), (stop_typefinding),
6139 (gst_type_find_element_handle_event), (find_peek),
6140 (gst_type_find_element_chain), (do_pull_typefind),
6141 (gst_type_find_element_change_state):
6142 Allow typefinding (w/o seeking) in push-mode, simplified version
6144 * gst/gstutils.c: (gst_buffer_join):
6146 gst_buffer_join() from 0.8.
6148 2005-05-25 Wim Taymans <wim@fluendo.com>
6150 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6151 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6152 (gst_pad_send_event), (gst_pad_start_task):
6153 Disable attempt at mode switching until it is figured out.
6155 2005-05-25 Wim Taymans <wim@fluendo.com>
6157 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6158 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6159 (gst_basesink_finish_preroll), (gst_basesink_chain),
6160 (gst_basesink_loop), (gst_basesink_activate),
6161 (gst_basesink_change_state):
6162 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6163 (gst_basesrc_get_range), (gst_basesrc_loop),
6164 (gst_basesrc_activate):
6165 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6166 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6167 (gst_real_pad_init), (gst_real_pad_set_property),
6168 (gst_real_pad_get_property), (gst_pad_set_active),
6169 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6170 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6171 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6172 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6173 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6174 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6175 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6176 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6177 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
6178 (gst_pad_stop_task):
6180 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6181 (gst_queue_loop), (gst_queue_src_activate):
6182 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
6183 (gst_task_get_state):
6185 * gst/schedulers/threadscheduler.c:
6186 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
6187 Implement gst_pad_pause/start/stop_task(), take STREAM lock
6189 Remove ACTIVE pad flag, use FLUSHING everywhere
6190 Added _pad_chain(), _pad_get_range() to call chain/getrange
6192 Add locks around IS_FLUSHING when reading.
6193 Take STREAM lock in chain(), get_range() functions so plugins
6194 don't need to take it anymore.
6198 2005-05-25 Wim Taymans <wim@fluendo.com>
6200 * tools/gst-launch.c: (event_loop):
6201 Unref message after using its contents instead of
6204 2005-05-24 Wim Taymans <wim@fluendo.com>
6206 * docs/design/draft-ghostpads.txt:
6207 * docs/design/draft-push-pull.txt:
6208 * docs/design/draft-query.txt:
6209 * docs/design/part-overview.txt:
6210 Docs updates, added general overview doc.
6212 2005-05-21 David Schleef <ds@schleef.org>
6214 * docs/gst/tmpl/old/GstBin.sgml:
6215 * docs/gst/tmpl/old/GstBuffer.sgml:
6216 * docs/gst/tmpl/old/GstCaps.sgml:
6217 * docs/gst/tmpl/old/GstClock.sgml:
6218 * docs/gst/tmpl/old/GstCompat.sgml:
6219 * docs/gst/tmpl/old/GstData.sgml:
6220 * docs/gst/tmpl/old/GstElement.sgml:
6221 * docs/gst/tmpl/old/GstEvent.sgml:
6222 * docs/gst/tmpl/old/GstIndex.sgml:
6223 * docs/gst/tmpl/old/GstStructure.sgml:
6224 * docs/gst/tmpl/old/GstTag.sgml:
6225 * docs/gst/tmpl/old/cothreads.sgml:
6226 * docs/gst/tmpl/old/cothreads_compat.sgml:
6227 * docs/gst/tmpl/old/gettext.sgml:
6228 * docs/gst/tmpl/old/gobject2gtk.sgml:
6229 * docs/gst/tmpl/old/grammar.tab.sgml:
6230 * docs/gst/tmpl/old/gst-i18n-app.sgml:
6231 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
6232 * docs/gst/tmpl/old/gst_private.sgml:
6233 * docs/gst/tmpl/old/gstaggregator.sgml:
6234 * docs/gst/tmpl/old/gstarch.sgml:
6235 * docs/gst/tmpl/old/gstatomic_impl.sgml:
6236 * docs/gst/tmpl/old/gstbufferstore.sgml:
6237 * docs/gst/tmpl/old/gstdata_private.sgml:
6238 * docs/gst/tmpl/old/gstdisksink.sgml:
6239 * docs/gst/tmpl/old/gstdisksrc.sgml:
6240 * docs/gst/tmpl/old/gstelementfactory.sgml:
6241 * docs/gst/tmpl/old/gstextratypes.sgml:
6242 * docs/gst/tmpl/old/gstfakesink.sgml:
6243 * docs/gst/tmpl/old/gstfakesrc.sgml:
6244 * docs/gst/tmpl/old/gstfdsink.sgml:
6245 * docs/gst/tmpl/old/gstfdsrc.sgml:
6246 * docs/gst/tmpl/old/gstfilesink.sgml:
6247 * docs/gst/tmpl/old/gstfilesrc.sgml:
6248 * docs/gst/tmpl/old/gsthttpsrc.sgml:
6249 * docs/gst/tmpl/old/gstidentity.sgml:
6250 * docs/gst/tmpl/old/gstindexfactory.sgml:
6251 * docs/gst/tmpl/old/gstmarshal.sgml:
6252 * docs/gst/tmpl/old/gstmd5sink.sgml:
6253 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
6254 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
6255 * docs/gst/tmpl/old/gstpadtemplate.sgml:
6256 * docs/gst/tmpl/old/gstpipefilter.sgml:
6257 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
6258 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
6259 * docs/gst/tmpl/old/gstshaper.sgml:
6260 * docs/gst/tmpl/old/gstspider.sgml:
6261 * docs/gst/tmpl/old/gstspideridentity.sgml:
6262 * docs/gst/tmpl/old/gststatistics.sgml:
6263 * docs/gst/tmpl/old/gsttee.sgml:
6264 * docs/gst/tmpl/old/gsttimecache.sgml:
6265 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
6266 * docs/gst/tmpl/old/gstxmlregistry.sgml:
6267 * docs/gst/tmpl/old/gthread-cothreads.sgml:
6268 * docs/gst/tmpl/old/types.sgml:
6269 I didn't intend to add these or check them in.
6271 2005-05-19 David Schleef <ds@schleef.org>
6273 * configure.ac: Use -no-common everywhere. In a sane world, it
6274 would be the default in libtool, because without it, you can't
6275 build DLLs on Windows.
6276 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
6277 * docs/gst/gstreamer-sections.txt:
6278 * docs/gst/tmpl/gstcpu.sgml:
6279 * docs/gst/tmpl/gstdata.sgml:
6280 * docs/gst/tmpl/gstthread.sgml:
6282 2005-05-19 David Schleef <ds@schleef.org>
6284 * gst/gstminiobject.c: (gst_value_set_mini_object),
6285 (gst_value_take_mini_object), (gst_value_get_mini_object):
6286 * gst/gstminiobject.h: Add GValue set/get functions.
6288 2005-05-19 Wim Taymans <wim@fluendo.com>
6290 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
6291 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
6292 (gst_subbuffer_init), (gst_buffer_is_span_fast):
6294 * gst/gstbus.c: (gst_bus_post):
6295 * gst/gstelement.c: (gst_element_get_random_pad):
6296 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
6297 Make subbufer unref the parent in finalize.
6298 some more debugging info.
6301 2005-05-19 Wim Taymans <wim@fluendo.com>
6303 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6304 (gst_basesink_init), (gst_basesink_finalize),
6305 (gst_basesink_activate), (gst_basesink_change_state):
6306 Don't free preroll queue too early.
6308 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6312 Hi, I'm outdated. Please shoot me.
6314 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6316 * gst/gstpipeline.c: (gst_pipeline_send_event):
6317 Do not access variables after they have been deleted.
6319 2005-05-19 Wim Taymans <wim@fluendo.com>
6321 * tools/gst-inspect.c: (print_plugin_features):
6322 A plugin feature does unfortunatly not use the
6325 2005-05-18 Wim Taymans <wim@fluendo.com>
6327 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
6328 Port _span() functions to new subbuffers.
6330 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6332 * gst/gstbin.c: (gst_bin_add_func):
6333 Fix clock settery in bins when adding kids after the clock has
6336 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6338 * gst/elements/gstidentity.c: (gst_identity_class_init):
6339 Workaround until signals support GstMiniObject.
6341 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
6344 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
6346 2005-05-18 Wim Taymans <wim@fluendo.com>
6348 * gst/base/Makefile.am:
6349 * gst/base/gstadapter.c: (gst_adapter_base_init),
6350 (gst_adapter_class_init), (gst_adapter_init),
6351 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
6352 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
6353 (gst_adapter_flush), (gst_adapter_available),
6354 (gst_adapter_available_fast):
6355 * gst/base/gstadapter.h:
6356 Ported and added adapter to the base classes.
6358 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6362 Make sure the class is reffed/unreffed once before threads can be
6363 used. Fixes #304551.
6365 2005-05-17 Wim Taymans <wim@fluendo.com>
6367 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
6368 (gst_basesink_chain_unlocked), (gst_basesink_activate):
6369 * gst/gstminiobject.c: (gst_mini_object_get_type),
6370 (gst_mini_object_free):
6371 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
6372 (gst_pad_push), (gst_pad_push_event):
6373 * gst/gstqueue.c: (gst_queue_change_state):
6374 Don't queue buffers in basesink when we are flushing.
6375 Unref buffer when flushing in basesink.
6376 Flush queue when going to READY
6377 Unref buffer when _push() returns an error.
6378 Don't free MiniObject instance when refcount is incremented
6379 in _finalize() so that we can recover objects.
6381 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
6383 * docs/manual/advanced-schedulers.xml:
6384 * docs/manual/appendix-checklist.xml:
6385 * docs/pwg/advanced-clock.xml:
6386 * docs/pwg/advanced-interfaces.xml:
6387 * docs/pwg/advanced-request.xml:
6388 * docs/pwg/advanced-types.xml:
6389 * docs/pwg/intro-preface.xml:
6390 * examples/plugins/example.c: (gst_example_get_type),
6391 (gst_example_class_init), (gst_example_chain),
6392 (gst_example_set_property), (gst_example_get_property),
6393 (gst_example_change_state), (plugin_init):
6394 * examples/plugins/example.h:
6397 2005-05-17 Wim Taymans <wim@fluendo.com>
6399 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
6400 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
6401 * gst/gstqueue.c: (gst_queue_change_state):
6402 Clear queue when going to READY.
6403 Remove IN_SETCAPS flag too.
6405 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
6407 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
6408 Remove implicit cast from gboolean to GstElementStateReturn;
6409 make sure we still return failure in paused => ready case if
6410 the parent class fails to change state and our own stop
6413 2005-05-17 Wim Taymans <wim@fluendo.com>
6415 * tools/gst-launch.c: (event_loop):
6416 Message was unreffed too soon.
6418 2005-05-16 Andy Wingo <wingo@pobox.com>
6420 * gst/gstbin.c (sink_iterator_filter): Err... um...
6422 * check/gst/gstbin.c (test_ghost_pads): New test for the
6423 ghosting-if-elements-not-in-same-bin behavior.
6425 2005-05-16 David Schleef <ds@schleef.org>
6427 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
6428 accessing refcount directly.
6430 2005-05-15 David Schleef <ds@schleef.org>
6432 * check/Makefile.am: remove GstData checks
6433 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
6434 * gst/Makefile.am: add miniobject, remove data
6435 * gst/gst.h: add miniobject, remove data
6436 * gst/gstdata.c: remove
6437 * gst/gstdata.h: remove
6438 * gst/gstdata_private.h: remove
6439 * gst/gsttypes.h: remove GstEvent and GstMessage
6440 * gst/gstelement.c: (gst_element_post_message): fix for API changes
6441 * gst/gstmarshal.list: change BOXED -> OBJECT
6443 Implement GstMiniObject.
6444 * gst/gstminiobject.c:
6445 * gst/gstminiobject.h:
6447 Modify to be subclasses of GstMiniObject.
6448 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
6449 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
6450 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
6451 (gst_subbuffer_get_type), (gst_subbuffer_init),
6452 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
6455 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
6456 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
6457 (_gst_event_copy), (gst_event_new):
6459 * gst/gstmessage.c: (_gst_message_initialize),
6460 (gst_message_get_type), (gst_message_class_init),
6461 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
6462 (gst_message_new), (gst_message_new_error),
6463 (gst_message_new_warning), (gst_message_new_tag),
6464 (gst_message_new_state_changed), (gst_message_new_application):
6466 * gst/gstprobe.c: (gst_probe_perform),
6467 (gst_probe_dispatcher_dispatch):
6469 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
6470 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
6471 (_gst_query_copy), (gst_query_new):
6473 Update elements for GstData -> GstMiniObject changes
6475 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
6476 (gst_queue_chain), (gst_queue_loop):
6477 * gst/elements/gstbufferstore.c:
6478 (gst_buffer_store_add_buffer_func),
6479 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
6480 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6481 (gst_fakesink_render):
6482 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6483 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
6484 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
6485 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
6486 (gst_filesrc_create_read):
6487 * gst/elements/gstidentity.c: (gst_identity_class_init):
6488 * gst/elements/gsttypefindelement.c:
6489 (gst_type_find_element_src_event), (free_entry_buffers),
6490 (gst_type_find_element_handle_event):
6491 * libs/gst/dataprotocol/dataprotocol.c:
6492 (gst_dp_header_from_buffer):
6493 * libs/gst/dataprotocol/dataprotocol.h:
6494 * libs/gst/dataprotocol/dp-private.h:
6496 2005-05-15 David Schleef <ds@schleef.org>
6498 * gst/elements/gstelements.c: Don't include headers that were
6501 2005-05-15 David Schleef <ds@schleef.org>
6503 * gst/elements/Makefile.am: Remove some elements that don't
6504 need to be in the core (or even exist at all).
6505 * gst/elements/gstaggregator.c:
6506 * gst/elements/gstaggregator.h:
6507 * gst/elements/gstmd5sink.c:
6508 * gst/elements/gstmd5sink.h:
6509 * gst/elements/gstmultifilesrc.c:
6510 * gst/elements/gstmultifilesrc.h:
6511 * gst/elements/gstpipefilter.c:
6512 * gst/elements/gstpipefilter.h:
6513 * gst/elements/gstshaper.c:
6514 * gst/elements/gstshaper.h:
6515 * gst/elements/gststatistics.c:
6516 * gst/elements/gststatistics.h:
6517 * po/POTFILES.in: Remove above files.
6519 2005-05-14 Andy Wingo <wingo@pobox.com>
6521 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
6522 so as to get the refs right.
6523 (sink_iterator_filter): New function, wraps bin_element_is_sink,
6524 unreffing objects that don't pass the filter.
6526 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
6527 gst_element_set_bus.
6528 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
6529 normal cases, this will destroy the bus.
6531 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
6534 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
6537 2005-05-13 Andy Wingo <wingo@pobox.com>
6539 * gst/gstutils.c (gst_element_link_pads): Instead of calling
6540 gst_pad_link, call pad_link_maybe_ghosting,
6541 (pad_link_maybe_ghosting): Links pads, making sure that the
6542 elements being linked are in the same bin.
6543 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
6544 Helpers for pad_link_maybe_ghosting.
6546 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6549 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
6551 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
6553 * docs/design/part-element-source.txt:
6556 2005-05-12 Wim Taymans <wim@fluendo.com>
6558 * gst/base/gstbasesink.c: (gst_basesink_init),
6559 (gst_basesink_activate):
6560 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
6561 (gst_basesrc_is_seekable):
6562 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6563 (bin_element_is_sink), (gst_bin_change_state):
6564 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6566 Identify sinks by their flag to avoid overly complicated
6568 Do state changes even for elements not reachable from the
6570 BaseSink is a sink now :)
6571 Some more debugging info in the basesrc.
6574 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6576 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
6577 Implement _query on a bin, similar to _send_event.
6579 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
6581 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
6582 Discont event offset format should be GST_FORMAT_BYTES,
6583 not GST_FORMAT_TIME.
6585 2005-05-12 Wim Taymans <wim@fluendo.com>
6587 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
6588 Same fix as Ronald's but without the signal.
6590 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6592 * gst/gstutils.c: (gst_element_query_position):
6593 No, an element is not a pad.
6595 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6597 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
6598 (gst_bin_get_state):
6599 If a child is removed from a bin while we remove the child from
6600 the bin and while we're retrieving its state, signal this to the
6601 get_state function so we abort the wait (instead of waiting for
6602 a timeout) and can immediately re-iterate over all other elements.
6604 2005-05-12 Wim Taymans <wim@fluendo.com>
6606 * gst/base/Makefile.am:
6607 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
6608 (gst_basesrc_start):
6609 * gst/base/gstbasesrc.h:
6610 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
6611 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
6612 (gst_pushsrc_init), (gst_pushsrc_create):
6613 * gst/base/gstpushsrc.h:
6614 Added is_seekable to BaseSrc
6615 Added simple PushSrc.
6617 2005-05-11 Wim Taymans <wim@fluendo.com>
6619 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
6620 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6621 (gst_element_link_pads), (gst_element_query_position),
6622 (gst_element_query_convert), (intersect_caps_func),
6623 (gst_pad_query_position), (gst_pad_query_convert):
6624 Fix refcounting in utils function.
6625 No point in trying to activate a pad when it's added, it could
6626 be added from the state change function and then we deadlock, the
6627 element has to decide what to do.
6629 2005-05-10 Andy Wingo <wingo@pobox.com>
6631 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
6632 *all* the arguments.
6634 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
6635 stream lock if it's a FLUSH_DONE; normal flushes don't get the
6636 lock (according to the docs -- if this is wrong change the docs).
6638 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
6639 flush messages in the NULL state.
6641 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
6642 message immediately and return.
6643 (gst_bus_set_flushing): New function. If a bus is flushing, it
6644 flushes out any queued messages and immediately unrefs new
6645 messages. This is so when an element goes to NULL, all of the
6646 unhandled messages coming from it can be freed, and their
6647 references to the element dropped. In other words: message source
6648 ref considered harmful :P
6650 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
6651 we're finished with it.
6653 * gst/gstmessage.c (gst_message_new_state_changed):
6655 2005-05-10 Wim Taymans <wim@fluendo.com>
6657 * gst/gstvalue.c: (gst_value_compare_flags),
6658 (gst_value_serialize_flags), (gst_value_deserialize_flags),
6659 (_gst_value_initialize):
6660 Added flags serialize/deserialize/compare code.
6662 2005-05-09 Andy Wingo <wingo@pobox.com>
6664 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
6665 Intersect the peer's caps with our caps.
6667 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6669 * gst/base/gsttypefindhelper.c: (helper_find_peek):
6670 * gst/elements/gsttypefindelement.c: (find_peek):
6671 Handle negative offsets better. Fixes decodebin.
6673 2005-05-09 Wim Taymans <wim@fluendo.com>
6675 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
6676 (gst_base_transform_event):
6677 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
6678 Implement accept_caps.
6679 Fix silly lock/unlock mismatch in base class.
6681 2005-05-09 Wim Taymans <wim@fluendo.com>
6683 * docs/design/draft-push-pull.txt:
6684 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
6685 * gst/elements/gstfilesink.c: (gst_filesink_init),
6686 (gst_filesink_query):
6687 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6688 (gst_type_find_handle_src_query), (find_element_get_length):
6689 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
6693 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
6694 (gst_real_pad_get_caps_unlocked),
6695 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
6696 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6697 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
6698 (gst_real_pad_dispose), (gst_real_pad_finalize),
6699 (gst_pad_load_and_link), (gst_pad_save_thyself),
6700 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
6701 (gst_pad_check_pull_range), (gst_pad_pull_range),
6702 (gst_pad_template_get_type), (gst_pad_template_class_init),
6703 (gst_pad_template_init), (gst_pad_template_dispose),
6704 (name_is_valid), (gst_static_pad_template_get),
6705 (gst_pad_template_new), (gst_static_pad_template_get_caps),
6706 (gst_pad_template_get_caps), (gst_pad_set_element_private),
6707 (gst_pad_get_element_private), (gst_pad_start_task),
6708 (gst_pad_pause_task), (gst_pad_stop_task),
6709 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
6710 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
6711 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
6712 (gst_ghost_pad_new):
6714 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
6715 (gst_query_new_position), (gst_query_set_position),
6716 (gst_query_parse_position), (gst_query_new_convert),
6717 (gst_query_set_convert), (gst_query_parse_convert):
6719 * gst/gstqueryutils.c:
6720 * gst/gstqueryutils.h:
6721 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6722 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6723 (gst_queue_handle_src_query):
6724 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6725 (gst_element_query_position), (gst_element_query_convert),
6726 (intersect_caps_func), (gst_pad_query_position),
6727 (gst_pad_query_convert):
6729 * tools/gst-inspect.c: (print_pad_info):
6730 * tools/gst-xmlinspect.c: (print_element_info):
6731 Remove old query functions. Ported old code.
6732 Added position/convert helper functions to gstutils.
6733 Reordered gstpad.c code, grouping relevant things.
6734 Remove gst_message_new(), always need to speficy a specific
6738 2005-05-09 Andy Wingo <wingo@pobox.com>
6740 * gst/gstiterator.h: Add some includes.
6742 * gst/gstqueryutils.h: Include more headers.
6745 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
6746 some uses of gst_pad_query.
6748 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
6749 NULL out parameters.
6750 (gst_query_new_position): New proc, allocates a new position
6753 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
6754 gstqueryutils.c to the build.
6756 * gst/gststructure.c (gst_structure_set_valist): Implement with
6757 the generic G_VALUE_COLLECT.
6759 2005-05-08 Edward Hervey <bilboed@bilboed.com>
6761 * gst/Makefile.am: (gst_headers):
6762 Added gstqueryutils.h to the list of headers to install, that was
6763 a 'nachty' move wingo :)
6765 2005-05-06 Andy Wingo <wingo@pobox.com>
6768 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
6769 GstData, init a memchunk.
6770 (standard_definitions): Add a few query types, deprecate a few.
6771 (gst_query_get_type): New proc.
6772 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
6774 (gst_query_new_application, gst_query_get_structure): New public
6777 * docs/design/draft-query.txt: Removed LINKS from the query types,
6778 because all the rest can be dispatched to other pads -- seemed
6779 ugly to have a query that couldn't be dispatched. internal_links
6780 is fine as a pad method.
6782 * gst/gstpad.h: Add query2 as a pad method, add the new functions
6783 in gstpad.c, but maintain binary compatibility for the moment.
6784 Will fix before 0.9 is out.
6786 * gst/gstqueryutils.c:
6787 * gst/gstqueryutils.h: New files, implement 3 methods for each
6788 query type: parse_query, parse_response, and set. Probably need an
6791 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
6793 * gst/elements/gstfilesink.c (gst_filesink_query2):
6794 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
6795 query_types, and formats methods.
6797 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
6798 (gst_pad_set_query2_function): New functions.
6799 (gst_real_pad_init): Set query2_default as the default query2
6800 function. Basically just dispatches to internally linked pads.
6804 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
6805 without using the atomic operations. Only one thread can possibly
6806 be accessing the data at this point. Changed so as to avoid
6807 gst_atomic operations.
6809 2005-05-06 Wim Taymans <wim@fluendo.com>
6811 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6812 Also set caps if we use the fallback buffer alloc.
6814 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
6816 * docs/gst/Makefile.am:
6817 * docs/gst/gstreamer-docs.sgml:
6818 * docs/gst/gstreamer-sections.txt:
6819 * docs/gst/tmpl/gstatomic.sgml:
6820 * docs/gst/tmpl/gstmemchunk.sgml:
6821 * testsuite/elements/struct_i386.h:
6822 * win32/GStreamer.vcproj:
6824 Purge GstAtomic stuff from docs and win32 makefiles as well
6826 2005-05-06 Wim Taymans <wim@fluendo.com>
6828 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6829 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6830 * gst/gstpad.c: (gst_pad_peer_get_caps):
6831 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6832 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6833 (gst_queue_src_activate), (gst_queue_change_state):
6835 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6836 (intersect_caps_func):
6837 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6838 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6839 Some fixes for the peer_get_caps() change.
6841 2005-05-06 Wim Taymans <wim@fluendo.com>
6843 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6844 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6845 (gst_basesink_activate):
6846 Actually do something with error codes returned from the push
6849 2005-05-06 Wim Taymans <wim@fluendo.com>
6851 * docs/design/part-element-sink.txt:
6852 * docs/design/part-element-source.txt:
6853 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6854 (gst_basesink_event), (gst_basesink_activate):
6855 * gst/base/gstbasesink.h:
6856 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6857 (gst_basesrc_activate):
6858 * gst/base/gstbasesrc.h:
6859 * gst/gstelement.c: (gst_element_pads_activate):
6860 Some more documentation.
6861 Fixed scheduling decision in _pads_activate().
6863 2005-05-05 Andy Wingo <wingo@pobox.com>
6865 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6868 2005-05-05 Wim Taymans <wim@fluendo.com>
6870 * gst/base/Makefile.am:
6871 * gst/base/gstbasesink.h:
6872 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6873 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6874 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6875 (gst_collectpads_class_init), (gst_collectpads_init),
6876 (gst_collectpads_finalize), (gst_collectpads_new),
6877 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6878 (find_pad), (gst_collectpads_remove_pad),
6879 (gst_collectpads_is_active), (gst_collectpads_collect),
6880 (gst_collectpads_collect_range), (gst_collectpads_start),
6881 (gst_collectpads_stop), (gst_collectpads_peek),
6882 (gst_collectpads_pop), (gst_collectpads_available),
6883 (gst_collectpads_read), (gst_collectpads_flush),
6884 (gst_collectpads_chain):
6885 * gst/base/gstcollectpads.h:
6886 * gst/elements/Makefile.am:
6887 * gst/elements/gstelements.c:
6888 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6889 (gst_fakesink_get_times), (gst_fakesink_event),
6890 (gst_fakesink_preroll), (gst_fakesink_render):
6891 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6892 (gst_filesink_init), (gst_filesink_set_location),
6893 (gst_filesink_open_file), (gst_filesink_close_file),
6894 (gst_filesink_pad_query), (gst_filesink_event),
6895 (gst_filesink_render), (gst_filesink_change_state):
6896 * gst/elements/gstfilesink.h:
6897 Added object to help in making collect pad based elements.
6899 Make event function in sink baseclass return gboolean.
6901 2005-05-05 Wim Taymans <wim@fluendo.com>
6903 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6904 (gst_bin_get_by_name):
6906 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6907 (gst_clock_finalize):
6908 * gst/gstdata.c: (gst_data_replace):
6910 * gst/gstelement.c: (gst_element_request_pad),
6911 (gst_element_pads_activate):
6912 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6914 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6915 (gst_pad_set_checkgetrange_function),
6916 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6917 (gst_pad_check_pull_range), (gst_pad_pull_range),
6918 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6919 (gst_pad_pause_task), (gst_pad_stop_task):
6920 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6921 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6922 Fix name lookup in GstBin.
6923 Added _data_replace() function and _buffer_replace()
6924 Use finalize method to clean up clock.
6925 Fix refcounting on request pads.
6926 Fix pad schedule mode error.
6927 Some more object refcounting debug info,
6930 2005-05-04 Andy Wingo <wingo@pobox.com>
6932 * check/Makefile.am:
6933 * docs/gst/tmpl/gstatomic.sgml:
6934 * docs/gst/tmpl/gstplugin.sgml:
6935 * gst/base/gstbasesink.c: (gst_basesink_activate):
6936 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6937 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6938 (gst_basesrc_query), (gst_basesrc_set_property),
6939 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6940 (gst_basesrc_activate):
6941 * gst/base/gstbasesrc.h:
6942 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6943 (gst_base_transform_src_activate):
6944 * gst/elements/gstelements.c:
6945 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6946 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6947 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6948 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6949 (gst_type_find_element_checkgetrange),
6950 (gst_type_find_element_activate):
6951 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6952 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6953 (gst_caps_load_thyself):
6954 * gst/gstelement.c: (gst_element_pads_activate),
6955 (gst_element_save_thyself), (gst_element_restore_thyself):
6956 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6957 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6959 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6960 (gst_xml_parse_file), (gst_xml_parse_memory),
6961 (gst_xml_get_element), (gst_xml_make_element):
6962 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6963 (_file_index_id_save_xml), (gst_file_index_commit):
6964 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6965 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6967 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6968 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6969 * tools/gst-complete.c: (main):
6970 * tools/gst-compprep.c: (main):
6971 * tools/gst-inspect.c: (print_element_properties_info):
6972 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6973 * tools/gst-xmlinspect.c: (print_element_properties):
6976 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6978 * gst/gstplugin.c: (gst_plugin_check_module),
6979 (gst_plugin_check_file), (gst_plugin_load_file):
6980 apply patch from #172526 to make register work on MacOSX
6982 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6984 * docs/gst/tmpl/gstconfig.sgml:
6985 * gst/gstconfig.h.in:
6986 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6987 * testsuite/debug/printf_extension.c: (main):
6988 Do not use GST_PTR_FORMAT on pointers to types with
6989 sizeof < sizeof(gpointer). Fixes test on 64-bit
6990 * testsuite/elements/property.h:
6991 use correct printf format
6993 2005-05-02 Wim Taymans <wim@fluendo.com>
6995 * docs/design/draft-push-pull.txt:
6996 * docs/design/draft-query.txt:
6997 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6998 (gst_basesrc_start):
6999 Added draft for new query API.
7000 Added draft for better selecting scheduling methods.
7001 Make basesrc ignore length if the subclass does not support
7004 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7007 possible fixes for automake-1.5 - _LIBADD is reserved
7009 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7011 * docs/faq/Makefile.am:
7012 * docs/manual/Makefile.am:
7014 * docs/pwg/Makefile.am:
7016 possible fixes for automake-1.5
7018 2005-04-28 Wim Taymans <wim@fluendo.com>
7020 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7021 (gst_basesink_pad_getcaps), (gst_basesink_init),
7022 (gst_basesink_do_sync):
7023 * gst/gstclock.c: (gst_clock_entry_new):
7024 * gst/gstevent.c: (gst_event_discont_get_value):
7025 * gst/gstpipeline.c: (pipeline_bus_handler),
7026 (gst_pipeline_change_state):
7027 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7028 Better debugging of clocking info.
7029 Allow NULL values when getting discont values.
7031 2005-04-27 Wim Taymans <wim@fluendo.com>
7033 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7034 * check/gst/gstpad.c: (gst_pad_suite):
7035 Increase timeout for checks.
7037 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7039 * check/Makefile.am:
7040 fix the broken rule for cleanup. Apparently this rule is
7041 only needed on FC2, so maybe this warrants further autotool
7044 2005-04-26 Wim Taymans <wim@fluendo.com>
7046 * gst/gsttrashstack.h:
7047 Ooohh. a nasty one! After having a failed pop() from the stack,
7048 it's possible that the stack is empty. In that case, don't
7049 follow the NULL pointer.
7051 2005-04-25 Wim Taymans <wim@fluendo.com>
7053 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7054 (gst_pad_set_checkgetrange_function),
7055 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7056 (gst_pad_check_pull_range), (gst_pad_pull_range),
7057 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7058 (gst_pad_pause_task), (gst_pad_stop_task):
7059 * gst/gstplugin.c: (gst_plugin_load):
7061 Remove gst_library_load as it does more harm than good with
7062 the new g_module flags.
7063 Revert bogus caps template check in pad linking, pad caps
7064 are important when linking not the template, which is more
7065 general than the current caps.
7067 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7069 * gst/autoplug/.cvsignore:
7070 * gst/autoplug/Makefile.am:
7071 * gst/autoplug/gstsearchfuncs.c:
7072 * gst/autoplug/gstsearchfuncs.h:
7073 * gst/autoplug/gstspider.c:
7074 * gst/autoplug/gstspider.h:
7075 * gst/autoplug/gstspideridentity.c:
7076 * gst/autoplug/gstspideridentity.h:
7077 * gst/autoplug/spidertest.c:
7080 2005-04-25 Wim Taymans <wim@fluendo.com>
7082 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7083 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7084 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7085 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7087 Added stubs for unimplemented functions.
7089 2005-04-24 David Schleef <ds@schleef.org>
7091 * gst/gstpad.h: Disable some unimplemented functions. Wim,
7094 2005-04-24 David Schleef <ds@schleef.org>
7096 Convert everything from GstAtomicInt to g_atomic_int_*, and
7101 * gst/gstatomic_impl.h:
7109 * gst/gstdata_private.h:
7116 * gst/gststructure.c:
7117 * gst/gststructure.h:
7118 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7121 2005-04-24 David Schleef <ds@schleef.org>
7123 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7124 make the regressions tests work. Remove some code that is no
7126 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7127 Disable warning for pads without templates.
7129 2005-04-24 David Schleef <ds@schleef.org>
7131 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
7132 functions that handle filtered links.
7133 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7135 * gst/gstutils.c: Fix/remove utility functions that handle
7138 * gst/gstvalue.c: Add serialization/deserialization of caps
7139 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7140 requires fixing so that the filter caps notation creates
7141 a capsfilter element and sets the filter_caps property. I
7142 think everyone probably wants to keep the shorthand notation.
7143 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7144 * docs/gst/tmpl/gstpad.sgml:
7146 * gst/elements/gstelements.c: Register capsfilter element.
7147 * gst/Makefile.am: fix spacing
7148 * docs/random/ds/0.9-suggested-changes: random
7150 2005-04-23 David Schleef <ds@schleef.org>
7152 * gst/elements/Makefile.am:
7153 * gst/elements/gstcapsfilter.c: New element that acts like an
7154 identity, but filters caps. Will eventually replace filtered
7155 caps in pad linking.
7156 * gst/gstutils.c: (gst_element_create_all_pads): New function
7157 to create all the ALWAYS pads that are registered with an
7158 element class. This functionality should eventually be
7159 merged in with GstElement initialization.
7161 * testsuite/trigger/README: part of trigger test code that should
7162 have been checked in a long time ago.
7164 2005-04-23 David Schleef <ds@schleef.org>
7166 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7167 needed with new versions of libtool (nobody will confirm this),
7168 and hard to carry around.
7169 * gst/autoplug/Makefile.am:
7170 * gst/base/Makefile.am:
7171 * gst/elements/Makefile.am:
7172 * gst/indexers/Makefile.am:
7173 * gst/schedulers/Makefile.am:
7174 * libs/gst/bytestream/Makefile.am:
7175 * libs/gst/control/Makefile.am:
7176 * libs/gst/dataprotocol/Makefile.am:
7177 * libs/gst/getbits/Makefile.am:
7179 2005-04-21 Wim Taymans <wim@fluendo.com>
7181 * docs/design/draft-push-pull.txt:
7182 * docs/design/part-MT-refcounting.txt:
7183 * docs/design/part-TODO.txt:
7184 * docs/design/part-caps.txt:
7185 * docs/design/part-events.txt:
7186 * docs/design/part-gstbus.txt:
7187 * docs/design/part-gstpipeline.txt:
7188 * docs/design/part-messages.txt:
7189 * docs/design/part-push-pull.txt:
7190 * docs/design/part-query.txt:
7193 2005-04-21 Wim Taymans <wim@fluendo.com>
7195 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
7196 (gst_message_new), (gst_message_new_error),
7197 (gst_message_new_warning), (gst_message_new_tag),
7198 (gst_message_new_state_changed), (gst_message_new_application),
7199 (gst_message_get_structure):
7201 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7202 (gst_structure_copy_conditional):
7203 Use parent refcount in GstMessage to ensure GstStructure
7205 Cleaned up headers a bit.
7208 2005-04-20 Wim Taymans <wim@fluendo.com>
7210 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7211 (gst_basesink_pad_getcaps), (gst_basesink_init),
7212 (gst_basesink_chain_unlocked):
7213 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
7214 (gst_type_find_helper):
7215 * gst/elements/gsttypefindelement.c:
7216 (gst_type_find_element_have_type), (gst_type_find_element_init),
7217 (stop_typefinding), (gst_type_find_element_handle_event),
7218 (find_suggest), (gst_type_find_element_chain),
7219 (gst_type_find_element_checkgetrange),
7220 (gst_type_find_element_getrange), (do_typefind),
7221 (gst_type_find_element_activate):
7222 * gst/gstbuffer.c: (_gst_buffer_sub_free),
7223 (gst_buffer_default_free), (gst_buffer_default_copy),
7224 (gst_buffer_set_caps):
7225 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
7227 * gst/gstmessage.c: (gst_message_new),
7228 (gst_message_new_state_changed):
7229 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7230 (gst_pad_set_checkgetrange_function),
7231 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
7232 (gst_pad_set_caps), (gst_pad_check_pull_range),
7233 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
7235 * gst/gsttypefind.c: (gst_type_find_register):
7236 Make gst_caps_replace() work like other _replace() functions.
7237 Use _caps_replace() where possible.
7238 Make sure _message_new() initialises its field.
7239 Add gst_static_pad_template_get_caps()
7242 2005-04-18 Andy Wingo <wingo@pobox.com>
7244 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
7245 on the peer, not the pad. I think that was a typo. Pass an extra
7246 arg to see if random access is possible. Activate the pads as
7247 PULL_RANGE if possible.
7249 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
7251 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
7252 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
7255 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7257 * docs/faq/using.xml:
7258 Add note on gstreamer-properties (#154996).
7260 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7262 * docs/random/bbb/optional-properties:
7263 Some analysis on optional properties.
7265 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7267 * docs/gst/tmpl/gstelementfactory.sgml:
7269 * gst/gstelementfactory.c: (gst_element_factory_init),
7270 (gst_element_factory_cleanup), (gst_element_register),
7271 (__gst_element_factory_add_static_pad_template),
7272 (gst_element_factory_get_static_pad_templates),
7273 (gst_element_factory_can_src_caps),
7274 (gst_element_factory_can_sink_caps):
7275 * gst/registries/Makefile.am:
7276 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
7277 (gst_xml_registry_class_init), (gst_xml_registry_init),
7278 (gst_xml_registry_new), (gst_xml_registry_set_property),
7279 (gst_xml_registry_get_property), (get_time), (make_dir),
7280 (gst_xml_registry_get_perms_func),
7281 (plugin_times_older_than_recurse), (plugin_times_older_than),
7282 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
7283 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
7284 (add_to_char_array), (read_string), (read_uint), (read_enum),
7285 (load_pad_template), (load_feature), (load_plugin), (load_paths),
7286 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
7287 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
7288 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
7289 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
7290 (gst_xml_registry_rebuild):
7291 * gst/registries/gstlibxmlregistry.h:
7292 * tools/gst-compprep.c: (main):
7293 * tools/gst-inspect.c: (print_pad_templates_info):
7294 * tools/gst-xmlinspect.c: (print_element_info):
7295 Use libxml2 for registry parsing, use staticpadtemplates in
7296 elementfactories. Makes gst_init() +/- 10x faster.
7298 2005-04-12 Wim Taymans <wim@fluendo.com>
7300 * gst/base/Makefile.am:
7301 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7302 (gst_basesink_pad_getcaps), (gst_basesink_init),
7303 (gst_basesink_event), (gst_basesink_change_state):
7304 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7305 (gst_basesrc_init), (gst_basesrc_query),
7306 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7307 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7308 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7309 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7310 (gst_basesrc_stop), (gst_basesrc_activate),
7311 (gst_basesrc_change_state):
7312 * gst/base/gsttypefindhelper.c: (helper_find_peek),
7313 (helper_find_suggest), (gst_type_find_helper):
7314 * gst/base/gsttypefindhelper.h:
7315 * gst/elements/Makefile.am:
7316 * gst/elements/gstelements.c:
7317 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7318 (gst_fakesink_get_times), (gst_fakesink_event),
7319 (gst_fakesink_preroll), (gst_fakesink_render):
7320 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7321 (gst_fakesrc_init), (gst_fakesrc_event_handler),
7322 (gst_fakesrc_get_property), (gst_fakesrc_create),
7323 (gst_fakesrc_start), (gst_fakesrc_stop):
7324 * gst/elements/gstfakesrc.h:
7325 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
7326 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7327 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7328 (gst_filesrc_create_read), (gst_filesrc_create),
7329 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
7330 (gst_filesrc_start):
7331 * gst/elements/gsttypefindelement.c:
7332 (gst_type_find_element_have_type), (gst_type_find_element_init),
7333 (start_typefinding), (stop_typefinding), (push_buffer_store),
7334 (gst_type_find_element_handle_event),
7335 (gst_type_find_element_chain),
7336 (gst_type_find_element_checkgetrange),
7337 (gst_type_find_element_getrange), (do_typefind),
7338 (gst_type_find_element_activate),
7339 (gst_type_find_element_change_state):
7340 * gst/elements/gsttypefindelement.h:
7341 * gst/gstpipeline.c: (pipeline_bus_handler):
7342 Added typefind helper.
7343 Small preroll fix in the base sink.
7344 Disable typefind code in basesrc.
7345 Crude port of typefindelement.
7349 2005-04-11 Wim Taymans <wim@fluendo.com>
7351 * check/gst/gstbus.c: (gstbus_suite):
7352 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
7354 Fix up the timeout so that the test does not fail.
7356 2005-04-06 Wim Taymans <wim@fluendo.com>
7359 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7360 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
7361 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
7362 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
7363 (gst_basesrc_check_get_range), (gst_basesrc_loop),
7364 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
7365 (gst_basesrc_stop), (gst_basesrc_activate),
7366 (gst_basesrc_change_state), (basesrc_find_peek),
7367 (basesrc_find_suggest), (gst_basesrc_type_find):
7368 * gst/base/gstbasesrc.h:
7369 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
7370 (gst_filesrc_class_init), (gst_filesrc_init),
7371 (gst_filesrc_finalize), (gst_filesrc_set_location),
7372 (gst_filesrc_set_property), (gst_filesrc_get_property),
7373 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
7374 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
7375 (gst_filesrc_create_read), (gst_filesrc_create),
7376 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
7377 * gst/elements/gstfilesrc.h:
7378 * gst/gstelement.c: (gst_element_get_state_func),
7379 (gst_element_lost_state), (gst_element_pads_activate):
7380 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7381 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7382 (gst_pad_pull_range):
7384 More work on the generic source base class, implement seeking,
7386 Make filesrc extend the base source class.
7387 Added gst_pad_set_checkgetrange_function to GstPad.
7389 2005-04-06 Andy Wingo <wingo@pobox.com>
7391 * pkgconfig/gstreamer-base.pc.in:
7392 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
7394 * pkgconfig/Makefile.am:
7395 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
7397 2005-04-04 Wim Taymans <wim@fluendo.com>
7399 * gst/base/Makefile.am:
7401 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7402 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7403 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7404 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
7405 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
7406 (gst_basesrc_base_init), (gst_basesrc_class_init),
7407 (gst_basesrc_init), (gst_basesrc_get_formats),
7408 (gst_basesrc_get_query_types), (gst_basesrc_query),
7409 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
7410 (gst_basesrc_set_property), (gst_basesrc_get_property),
7411 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
7412 (gst_basesrc_loop), (gst_basesrc_activate),
7413 (gst_basesrc_change_state):
7414 * gst/base/gstbasesrc.h:
7415 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
7416 (gst_fakesrc_class_init), (gst_fakesrc_init),
7417 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
7418 (gst_fakesrc_get_property), (gst_fakesrc_create):
7419 * gst/elements/gstfakesrc.h:
7420 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
7421 (gst_filesrc_open_file), (gst_filesrc_loop),
7422 (gst_filesrc_activate), (filesrc_find_peek),
7423 (gst_filesrc_type_find):
7424 Made base source class, make fakesrc extend it.
7425 Add comments to basesink class.
7426 Some filesrc cleanup.
7428 2005-03-31 David Schleef <ds@schleef.org>
7430 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
7431 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
7432 expected to link against libgstreamer.
7433 * gst/base/Makefile.am: link against libgstreamer
7434 * gst/elements/Makefile.am: same
7436 2005-03-31 Andy Wingo <wingo@pobox.com>
7438 * tests/instantiate/Makefile.am:
7439 * tests/instantiate/caps.c: Add test to test speed of caps copy
7442 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
7443 GMemChunk to be fair.
7445 * gst/gsttrashstack.h: Remove warning about using the fallback
7446 trash stack implementation, it's still faster than malloc.
7448 2005-03-30 Andy Wingo <wingo@pobox.com>
7450 * tests/complexity.c: Add a copyright.
7452 2005-03-31 Wim Taymans <wim@fluendo.com>
7454 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
7455 (gst_base_transform_class_init), (gst_base_transform_init),
7456 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7457 (gst_base_transform_get_property),
7458 (gst_base_transform_sink_activate),
7459 (gst_base_transform_src_activate),
7460 (gst_base_transform_change_state):
7461 * gst/base/gstbasetransform.h:
7462 * gst/elements/gstidentity.c: (gst_identity_class_init),
7463 (gst_identity_event), (gst_identity_check_perfect),
7464 (gst_identity_transform), (gst_identity_start),
7465 (gst_identity_stop):
7466 Added start/stop methods to transform base class so subclasses
7467 don't need to deal with state changes even.
7469 2005-03-31 Wim Taymans <wim@fluendo.com>
7471 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
7472 (gst_event_new_discontinuous), (gst_event_discont_get_value):
7474 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7475 (gst_pad_pull_range):
7476 Added rate to the discont event to prepare for variable speed
7477 and reverse playback.
7479 2005-03-29 David Schleef <ds@schleef.org>
7482 * testsuite/trigger/Makefile.am:
7483 * testsuite/trigger/trigger.c: A little example program to show
7484 how trigger-based elements can work.
7486 2005-03-29 Wim Taymans <wim@fluendo.com>
7488 * gst/base/Makefile.am:
7490 * gst/base/gstbasesink.c: (gst_basesink_get_type),
7491 (gst_basesink_base_init), (gst_basesink_class_init),
7492 (gst_basesink_pad_getcaps), (gst_basesink_init),
7493 (gst_basesink_activate), (gst_basesink_change_state):
7494 * gst/base/gstbasesink.h:
7495 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
7496 (gst_base_transform_base_init), (gst_base_transform_finalize),
7497 (gst_base_transform_class_init), (gst_base_transform_init),
7498 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
7499 (gst_base_transform_event), (gst_base_transform_getrange),
7500 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
7501 (gst_base_transform_set_property),
7502 (gst_base_transform_get_property),
7503 (gst_base_transform_sink_activate),
7504 (gst_base_transform_src_activate),
7505 (gst_base_transform_change_state):
7506 * gst/base/gstbasetransform.h:
7507 * gst/elements/gstidentity.c: (gst_identity_finalize),
7508 (gst_identity_class_init), (gst_identity_init),
7509 (gst_identity_event), (gst_identity_check_perfect),
7510 (gst_identity_transform), (gst_identity_set_property),
7511 (gst_identity_get_property), (gst_identity_change_state):
7512 * gst/elements/gstidentity.h:
7513 * gst/gstelement.c: (gst_element_get_state_func),
7514 (gst_element_lost_state), (gst_element_pads_activate):
7515 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7516 (gst_pad_check_pull_range), (gst_pad_pull_range):
7518 Simplify pad activation.
7519 Added function to check if pull_range can be performed.
7520 Error out when pulling inactive or flushing pads.
7521 Removed const from refcounted types as it does not make sense.
7522 Simplify pad templates in basesink
7523 Added base class for simple 1-to-1 transforms.
7524 Make identity subclass the base transform.
7526 2005-03-29 Andy Wingo <wingo@pobox.com>
7528 * docs/libs/gstreamer-libs-overrides.txt:
7529 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
7530 really don't understand what's going on, but like whatever. I want
7533 * docs/gst/Makefile.am:
7534 * docs/libs/Makefile.am: Dist the overrides files.
7536 * check/Makefile.am (clean-local): Remove .libs directories.
7538 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
7539 elements to EXTRA_DIST, so po/ files are happy.
7541 * po/POTFILES.in: Er, remove it here.
7543 * po/POTFILES: Remove gstspider.c.
7545 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
7547 * docs/libs/gstreamer-libs-docs.sgml:
7548 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
7551 * tests/complexity.c (main): Set the length of the preroll queue
7552 on the sinks to prevent a lockup.
7554 * libs/gst/dataprotocol/Makefile.am:
7555 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
7556 the same as the one in check/gst-libs/gdp.c.
7558 * po/, docs/gst/: Commit automatic changes to docs and po files.
7560 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
7561 the versioned libgstbase.
7563 * check/Makefile.am: Depend on an unversioned gst-register, seems
7564 to make autoconf happier.
7566 * gst/base/Makefile.am: Make libgstbase a versioned lib.
7568 2005-03-28 Wim Taymans <wim@fluendo.com>
7571 * docs/design/part-gstelement.txt:
7572 * docs/design/part-negotiation.txt:
7573 * docs/design/part-preroll.txt:
7574 * docs/design/part-scheduling.txt:
7575 * docs/design/part-states.txt:
7577 * gst/base/Makefile.am:
7579 * gst/base/gstbasesink.c: (gst_basesink_get_template),
7580 (gst_basesink_base_init), (gst_basesink_class_init),
7581 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
7582 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
7583 (gst_basesink_set_pad_functions),
7584 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
7585 (gst_basesink_set_property), (gst_basesink_get_property),
7586 (gst_base_sink_get_template), (gst_base_sink_get_caps),
7587 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
7588 (gst_basesink_preroll_queue_push),
7589 (gst_basesink_preroll_queue_empty),
7590 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
7591 (gst_basesink_event), (gst_basesink_get_times),
7592 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
7593 (gst_basesink_chain_unlocked), (gst_basesink_chain),
7594 (gst_basesink_loop), (gst_basesink_activate),
7595 (gst_basesink_change_state):
7596 * gst/base/gstbasesink.h:
7597 * gst/elements/Makefile.am:
7598 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
7599 (gst_fakesink_class_init), (gst_fakesink_init),
7600 (gst_fakesink_set_property), (gst_fakesink_get_property),
7601 (gst_fakesink_get_times), (gst_fakesink_event),
7602 (gst_fakesink_preroll), (gst_fakesink_render),
7603 (gst_fakesink_change_state):
7604 * gst/elements/gstfakesink.h:
7605 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7606 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
7607 * gst/gstelement.c: (gst_element_add_pad),
7608 (gst_element_get_state_func), (gst_element_abort_state),
7609 (gst_element_commit_state), (gst_element_lost_state),
7610 (gst_element_set_state), (gst_element_pads_activate):
7611 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
7612 * gst/gstpipeline.c: (gst_pipeline_send_event),
7613 (gst_pipeline_change_state):
7614 Added state change code.
7616 Added sink base class, make fakesink extend the base class.
7617 Small cleanups in GstPipeline.
7619 2005-03-26 David Schleef <ds@schleef.org>
7621 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
7622 is broken and should be implemented in a different library.
7623 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
7624 * gst/gst.h: remove gstcpu.h
7625 * gst/gstcpu.c: remove
7626 * gst/gstcpu.h: remove
7627 * gst/Makefile.am.future: Remove this file. It's ancient.
7629 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7631 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
7632 (gst_bin_send_event):
7633 Add default event/set_manager handlers. The set_manager handler
7634 takes care that the manager is distributed over kids that were
7635 already in the bin before the manager was set. The event handler
7636 is a utility virtual function that sends the event over all sinks,
7637 so that gst_element_send_event (bin, event); has the expected
7639 * gst/gstpad.c: (gst_pad_event_default):
7640 Re-install default event handling for discontinuities, so that
7641 seeking works without requiring hacks in applications or extra
7643 * gst/gstpipeline.c: (gst_pipeline_class_init),
7644 (gst_pipeline_send_event):
7645 Half hack, half utility: set a pipeline to PAUSED for seek events,
7646 since that is the only way we can guarantee a/v sync. Means that
7647 you can do gst_element_seek (pipeline, method, pos); on a pipeline
7648 and it "just works".
7650 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7652 * gst/gstpipeline.c: (gst_pipeline_use_clock):
7653 Lock/unlock mismatch.
7655 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
7657 * docs/faq/gst-uninstalled:
7658 add gst-plugins-base
7659 * docs/gst/Makefile.am:
7660 don't error out until docs are fixed
7661 * docs/gst/gstreamer.types:
7664 2005-03-22 Wim Taymans <wim@fluendo.com>
7666 * check/Makefile.am:
7667 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
7668 * gst/gststructure.c: (gst_structure_set_valist),
7669 (gst_structure_copy_conditional):
7670 Activated more tests.
7672 Added G_TYPE_POINTER to GstStructure.
7675 2005-03-22 Wim Taymans <wim@fluendo.com>
7677 * docs/design/part-TODO.txt:
7678 * docs/design/part-events.txt:
7679 * docs/design/part-gstbin.txt:
7680 * docs/design/part-gstbus.txt:
7681 * docs/design/part-gstpipeline.txt:
7682 * docs/design/part-messages.txt:
7687 2005-03-21 Wim Taymans <wim@fluendo.com>
7689 * gst/gstbus.c: (gst_bus_post):
7690 Fix copy-and-paste error.
7692 2005-03-21 Wim Taymans <wim@fluendo.com>
7694 * check/Makefile.am:
7696 * gst/elements/Makefile.am:
7697 * gst/elements/gstelements.c:
7698 * gst/elements/gstfakesink.c: (gst_fakesink_init),
7699 (gst_fakesink_event), (gst_fakesink_chain):
7700 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7701 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
7702 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
7703 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
7704 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7705 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
7706 (gst_fakesrc_loop), (gst_fakesrc_activate),
7707 (gst_fakesrc_change_state):
7708 * gst/elements/gstfakesrc.h:
7709 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
7710 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
7711 (gst_filesrc_open_file), (gst_filesrc_loop),
7712 (gst_filesrc_activate), (gst_filesrc_change_state),
7713 (filesrc_find_peek), (filesrc_find_suggest),
7714 (gst_filesrc_type_find):
7715 * gst/elements/gstidentity.c: (gst_identity_finalize),
7716 (gst_identity_class_init), (gst_identity_init),
7717 (gst_identity_proxy_getcaps), (identity_queue_push),
7718 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
7719 (gst_identity_getrange), (gst_identity_chain),
7720 (gst_identity_sink_loop), (gst_identity_src_loop),
7721 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
7722 (gst_identity_set_property), (gst_identity_get_property),
7723 (gst_identity_change_state):
7724 * gst/elements/gstidentity.h:
7725 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
7726 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
7727 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
7728 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
7729 (gst_tee_sink_activate):
7730 * gst/elements/gsttee.h:
7731 * gst/gst.c: (gst_register_core_elements), (init_post):
7733 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
7734 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
7735 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
7736 (gst_bin_change_state):
7738 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
7739 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
7740 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
7741 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
7742 (gst_bus_set_sync_handler), (gst_bus_create_watch),
7743 (bus_watch_callback), (bus_watch_destroy),
7744 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
7745 (poll_timeout), (gst_bus_poll):
7749 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7750 (gst_element_post_message), (gst_element_message_full),
7751 (gst_element_get_state_func), (gst_element_get_state),
7752 (gst_element_abort_state), (gst_element_commit_state),
7753 (gst_element_lost_state), (gst_element_set_state),
7754 (gst_element_pads_activate), (gst_element_change_state),
7755 (gst_element_dispose), (gst_element_set_manager_func),
7756 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
7757 (gst_element_set_manager), (gst_element_get_manager),
7758 (gst_element_set_bus), (gst_element_get_bus),
7759 (gst_element_set_scheduler), (gst_element_get_scheduler):
7761 * gst/gstevent.c: (gst_event_new_segment_seek),
7762 (gst_event_new_flush):
7764 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
7765 (_gst_message_free), (gst_message_get_type), (gst_message_new),
7766 (gst_message_new_eos), (gst_message_new_error),
7767 (gst_message_new_warning), (gst_message_new_tag),
7768 (gst_message_new_state_changed), (gst_message_new_application),
7769 (gst_message_get_structure), (gst_message_parse_tag),
7770 (gst_message_parse_state_changed), (gst_message_parse_error),
7771 (gst_message_parse_warning):
7773 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
7774 (gst_real_pad_set_property), (gst_pad_set_active),
7775 (gst_pad_is_active), (gst_pad_set_blocked_async),
7776 (gst_pad_set_blocked), (gst_pad_is_blocked),
7777 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
7778 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
7779 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7780 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
7781 (gst_pad_link_filtered), (gst_pad_relink_filtered),
7782 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
7783 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
7784 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
7785 (gst_pad_set_caps), (gst_pad_configure_sink),
7786 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
7787 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
7788 (gst_real_pad_dispose), (gst_real_pad_finalize),
7789 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
7790 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7791 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
7793 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
7794 (pipeline_bus_handler), (gst_pipeline_change_state),
7795 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
7796 * gst/gstpipeline.h:
7798 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
7799 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
7800 (gst_queue_link_src), (gst_queue_bufferalloc),
7801 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
7802 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
7803 (gst_queue_loop), (gst_queue_handle_src_event),
7804 (gst_queue_handle_src_query), (gst_queue_src_activate),
7805 (gst_queue_change_state):
7807 * gst/gstscheduler.c: (gst_scheduler_init),
7808 (gst_scheduler_dispose), (gst_scheduler_create_task),
7809 (gst_scheduler_factory_create):
7810 * gst/gstscheduler.h:
7811 * gst/gststructure.c: (gst_structure_get_type),
7812 (gst_structure_copy_conditional):
7813 * gst/gststructure.h:
7814 * gst/gsttaginterface.h:
7815 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7816 (gst_task_init), (gst_task_dispose), (gst_task_create),
7817 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7823 * gst/schedulers/Makefile.am:
7824 * gst/schedulers/cothreads_compat.h:
7825 * gst/schedulers/entryscheduler.c:
7826 * gst/schedulers/faircothreads.c:
7827 * gst/schedulers/faircothreads.h:
7828 * gst/schedulers/fairscheduler.c:
7829 * gst/schedulers/gstbasicscheduler.c:
7830 * gst/schedulers/gstoptimalscheduler.c:
7831 * gst/schedulers/gthread-cothreads.h:
7832 * gst/schedulers/threadscheduler.c:
7833 (gst_thread_scheduler_task_get_type),
7834 (gst_thread_scheduler_task_class_init),
7835 (gst_thread_scheduler_task_init),
7836 (gst_thread_scheduler_task_start),
7837 (gst_thread_scheduler_task_stop),
7838 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7839 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7840 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7841 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7843 * libs/gst/Makefile.am:
7844 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7845 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7846 (gst_file_pad_parent_set):
7847 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7848 (gst_dp_event_from_packet):
7849 * tests/complexity.c: (main):
7850 * tests/mass_elements.c: (main):
7851 * testsuite/states/locked.c: (message_received), (main):
7852 * testsuite/states/parent.c: (main):
7853 * tools/gst-inspect.c: (print_element_flag_info),
7854 (print_implementation_info), (print_pad_info):
7855 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7857 * tools/gst-md5sum.c: (event_loop), (main):
7858 * tools/gst-typefind.c: (main):
7859 * tools/gst-xmlinspect.c: (print_element_info):
7861 Added GstBus for mainloop integration.
7862 Added GstMessage for sending notifications on the bus.
7863 Added GstTask as an abstraction for pipeline entry points.
7866 Simplified GstQueue for multithreaded core.
7867 Made _link threadsafe, removed old capsnego.
7868 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7869 Added pad blocking functions.
7870 Reworked scheduling functions in GstPad to prepare for
7871 scheduling updates soon.
7872 Moved events out of data stream.
7873 Simplified GstEvent types.
7874 Added return values to push/pull.
7875 Removed clocking from GstElement.
7876 Added prototypes for state change function for next merge.
7877 Removed iterate from bins and state change management.
7878 Fixed some elements, disabled others for now.
7879 Fixed -inspect and -launch.
7880 Added check for GstBus.
7882 2005-03-10 Wim Taymans <wim@fluendo.com>
7884 * docs/design/part-MT-refcounting.txt:
7885 * docs/design/part-clocks.txt:
7886 * docs/design/part-gstelement.txt:
7887 * docs/design/part-gstobject.txt:
7888 * docs/design/part-standards.txt:
7889 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7890 (gst_bin_remove_func), (gst_bin_remove):
7894 * testsuite/clock/clock1.c: (main):
7895 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7897 * testsuite/dlopen/loadgst.c: (do_test):
7898 * testsuite/refcounting/bin.c: (add_remove_test1),
7899 (add_remove_test2), (main):
7900 * testsuite/refcounting/element.c: (main):
7901 * testsuite/refcounting/element_pad.c: (main):
7902 * testsuite/refcounting/pad.c: (main):
7903 * tools/gst-launch.c: (sigint_handler_sighandler):
7904 * tools/gst-typefind.c: (main):
7906 Added doc about clock.
7907 removed gst_bin_iterate_recurse_up(), marked methods
7909 Fix more testsuites.
7911 2005-03-09 Wim Taymans <wim@fluendo.com>
7913 * gst/gstpad.c: (gst_pad_get_direction),
7914 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7915 (gst_pad_collect_valist):
7916 * testsuite/bins/interface.c: (main):
7917 * testsuite/caps/audioscale.c: (test_caps):
7918 * testsuite/caps/caps.c: (test1), (test2), (test3):
7919 * testsuite/caps/deserialize.c: (main):
7920 * testsuite/caps/enumcaps.c: (main):
7921 * testsuite/caps/filtercaps.c: (main):
7922 * testsuite/caps/intersect2.c: (main):
7923 * testsuite/caps/random.c: (main):
7924 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7925 * testsuite/caps/sets.c: (check_caps):
7926 * testsuite/caps/simplify.c: (check_caps), (main):
7927 * testsuite/caps/subtract.c: (check_caps):
7928 Fix _pad_get_direction wrt ghostpads.
7931 2005-03-09 Wim Taymans <wim@fluendo.com>
7933 * check/Makefile.am:
7934 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7935 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7936 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7937 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7938 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7939 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7940 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7941 (bin_element_is_sink), (gst_bin_iterate_sinks),
7942 (gst_bin_iterate_all_by_interface):
7944 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7945 (gst_element_change_state), (gst_element_dispose),
7946 (gst_element_finalize), (gst_element_set_loop_function):
7948 * gst/gstiterator.c: (find_custom_fold_func):
7949 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7950 (gst_pad_collectv), (gst_pad_collect_valist),
7951 (gst_pad_template_new):
7952 * gst/gstpipeline.c: (gst_pipeline_class_init),
7953 (gst_pipeline_dispose), (gst_pipeline_set_property),
7954 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7955 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7956 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7958 * gst/schedulers/entryscheduler.c:
7959 * gst/schedulers/gstbasicscheduler.c:
7960 (gst_basic_scheduler_cothreaded_chain),
7961 (gst_basic_scheduler_chain_add_element):
7962 * testsuite/bins/interface.c: (main):
7964 Added GstSystemClock test.
7965 Implemented clock distribution code in GstBin.
7966 Implemented iterate sinks method for future use.
7967 Rearranged gstelement.h
7968 Fix GstIterator comparison bug.
7969 Moved some code to GstPipeline, mostly clocking related.
7971 2005-03-09 Wim Taymans <wim@fluendo.com>
7974 * gst/gst_private.h:
7975 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7976 (gst_bin_remove_func), (gst_bin_remove),
7977 (gst_bin_get_by_name_recurse_up):
7978 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7979 (gst_clock_id_compare_func), (gst_clock_id_wait),
7980 (gst_clock_id_wait_async), (gst_clock_init),
7981 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7983 * gst/gstinfo.c: (_gst_debug_init):
7985 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7986 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7988 Bump version number, we're now 0.9.0
7989 Add future debugging category.
7990 Fix NULL _unref() in _get_by_name_recurse_up
7994 2005-03-08 Wim Taymans <wim@fluendo.com>
7996 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7997 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7998 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7999 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8000 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8001 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8002 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8003 * gst/elements/gstidentity.c: (gst_identity_class_init):
8004 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8005 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8006 * gst/elements/gstshaper.c: (gst_shaper_class_init):
8007 * gst/elements/gststatistics.c: (gst_statistics_class_init):
8008 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8010 * gst/gstelement.c: (gst_element_class_init),
8011 (gst_element_base_class_init), (gst_element_init),
8012 (gst_element_get_random_pad), (gst_element_wait_state_change),
8013 (gst_element_change_state), (gst_element_dispose),
8014 (gst_element_finalize), (gst_element_set_loop_function):
8016 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8017 * gst/gstthread.c: (gst_thread_class_init),
8018 (gst_thread_release_children_locks), (gst_thread_change_state):
8019 * gst/schedulers/gstbasicscheduler.c:
8020 (gst_basic_scheduler_loopfunc_wrapper),
8021 (gst_basic_scheduler_chain_wrapper),
8022 (gst_basic_scheduler_src_wrapper),
8023 (gst_basic_scheduler_remove_element):
8024 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8025 Remove threadsafe properties. Fix elements because GObject
8026 complains when installing a property before declaring a
8027 set/get_property handler.
8028 Rearrange gstelement.h file, use STATE macros for state locks.
8029 Free mutexes in the finalize method instead of dispose.
8031 2005-03-08 Wim Taymans <wim@fluendo.com>
8033 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8034 * gst/gstthread.c: (gst_thread_release_children_locks):
8035 Added parentage check.
8036 Fix build og GstThread again.
8038 2005-03-08 Wim Taymans <wim@fluendo.com>
8040 * docs/design/part-MT-refcounting.txt:
8041 * docs/design/part-conventions.txt:
8042 * docs/design/part-gstobject.txt:
8043 * docs/design/part-relations.txt:
8044 * docs/design/part-standards.txt:
8045 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8046 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8047 (gst_bin_get_by_name), (gst_bin_get_by_interface),
8048 (gst_bin_iterate_all_by_interface):
8051 * gst/gstelement.c: (gst_element_class_init),
8052 (gst_element_change_state), (gst_element_set_loop_function):
8054 * gst/gstiterator.c:
8055 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8056 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8057 (gst_object_dispatch_properties_changed), (gst_object_set_name),
8058 (gst_object_set_parent), (gst_object_unparent),
8059 (gst_object_check_uniqueness):
8061 Docs updates, clean up some headers.
8063 2005-03-07 Wim Taymans <wim@fluendo.com>
8066 * check/Makefile.am:
8067 * check/gst-libs/.cvsignore:
8068 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8069 * check/gst/.cvsignore:
8070 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8071 (START_TEST), (gstbus_suite), (main):
8072 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8073 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8074 (gst_data_suite), (main):
8075 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8076 (add_fold_func), (gstiterator_suite), (main):
8077 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8078 (thread_name_object), (thread_name_object_default),
8079 (gst_object_name_compare), (gst_object_suite), (main):
8080 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8081 (gst_pad_suite), (main):
8082 * check/gstcheck.c: (gst_check_log_message_func),
8083 (gst_check_log_critical_func), (gst_check_init):
8085 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8086 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8089 2005-03-07 Wim Taymans <wim@fluendo.com>
8091 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8092 (gst_list_iterator_next), (gst_list_iterator_resync),
8093 (gst_list_iterator_free), (gst_iterator_new_list),
8094 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8095 (gst_iterator_free), (gst_iterator_push), (filter_next),
8096 (filter_resync), (filter_uninit), (filter_free),
8097 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8098 (gst_iterator_foreach), (find_custom_fold_func),
8099 (gst_iterator_find_custom):
8100 * gst/gstiterator.h:
8101 Added missing files.
8103 2005-03-07 Wim Taymans <wim@fluendo.com>
8107 * docs/design/part-MT-refcounting.txt:
8108 * docs/design/part-conventions.txt:
8109 * docs/design/part-gstobject.txt:
8110 * docs/design/part-relations.txt:
8111 * examples/mixer/mixer.c: (main):
8112 * examples/thread/thread.c: (eos), (main):
8114 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8115 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8116 (gst_spider_plug_from_srcpad):
8117 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8118 (gst_spider_identity_change_state),
8119 (gst_spider_identity_sink_loop_type_finding):
8120 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8121 * gst/elements/gstidentity.c: (gst_identity_init):
8122 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8123 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8124 * gst/elements/gsttypefindelement.c: (free_entry):
8127 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8128 (gst_bin_set_clock_func), (gst_bin_auto_clock),
8129 (gst_bin_set_index), (gst_bin_set_element_sched),
8130 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8131 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8132 (gst_bin_iterate_elements), (iterate_child_recurse),
8133 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8134 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8135 (compare_interface), (gst_bin_get_by_interface),
8136 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8138 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8139 (gst_buffer_default_free), (gst_buffer_default_copy),
8140 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8141 (gst_buffer_create_sub):
8143 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8144 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8145 (gst_caps_unref), (gst_static_caps_get),
8146 (gst_caps_remove_and_get_structure), (gst_caps_append),
8147 (gst_caps_append_structure), (gst_caps_remove_structure),
8148 (gst_caps_copy_nth), (gst_caps_set_simple),
8149 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8150 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8151 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8152 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8153 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8154 (gst_caps_structure_figure_out_union),
8155 (gst_caps_switch_structures), (gst_caps_do_simplify),
8156 (gst_caps_replace), (gst_caps_from_string),
8157 (gst_caps_copy_conditional):
8159 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8160 (_gst_clock_id_free), (gst_clock_id_unref),
8161 (gst_clock_id_compare_func), (gst_clock_id_wait),
8162 (gst_clock_id_wait_async), (gst_clock_class_init),
8163 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8164 (gst_clock_get_time), (gst_clock_set_time_adjust),
8165 (gst_clock_set_property), (gst_clock_get_property):
8168 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8169 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8171 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8172 (gst_element_requires_clock), (gst_element_provides_clock),
8173 (gst_element_set_clock), (gst_element_clock_wait),
8174 (gst_element_wait), (gst_element_set_time_delay),
8175 (gst_element_is_indexable), (gst_element_add_pad),
8176 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8177 (pad_compare_name), (gst_element_get_static_pad),
8178 (gst_element_request_pad), (gst_element_get_request_pad),
8179 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
8180 (gst_element_class_get_pad_template_list),
8181 (gst_element_class_get_pad_template), (gst_element_error_func),
8182 (gst_element_get_random_pad), (gst_element_get_event_masks),
8183 (gst_element_send_event), (gst_element_seek),
8184 (gst_element_get_query_types), (gst_element_query),
8185 (gst_element_get_formats), (gst_element_convert),
8186 (gst_element_is_locked_state), (gst_element_set_locked_state),
8187 (gst_element_sync_state_with_parent), (gst_element_change_state),
8188 (gst_element_finalize), (gst_element_yield),
8189 (gst_element_interrupt), (gst_element_set_scheduler),
8190 (gst_element_get_scheduler), (gst_element_set_loop_function):
8193 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
8194 (gst_format_get_by_nick), (gst_format_get_details),
8195 (gst_format_iterate_definitions):
8197 * gst/gstindex.c: (gst_index_gtype_resolver):
8200 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
8201 (gst_mem_chunk_free):
8202 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8203 (gst_object_ref), (gst_object_unref), (gst_object_sink),
8204 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
8205 (gst_object_dispatch_properties_changed),
8206 (gst_object_set_name_default), (gst_object_set_name),
8207 (gst_object_get_name), (gst_object_set_name_prefix),
8208 (gst_object_get_name_prefix), (gst_object_set_parent),
8209 (gst_object_get_parent), (gst_object_unparent),
8210 (gst_object_check_uniqueness), (gst_object_save_thyself),
8211 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
8212 (gst_object_set_property), (gst_object_get_property),
8213 (gst_object_get_path_string):
8215 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8216 (gst_real_pad_init), (gst_real_pad_get_property),
8217 (gst_pad_custom_new), (gst_pad_get_direction),
8218 (gst_pad_set_active), (gst_pad_is_active),
8219 (gst_pad_set_event_function), (gst_pad_is_linked),
8220 (gst_pad_link_free), (gst_pad_link_intersect),
8221 (gst_pad_link_fixate), (gst_pad_set_caps),
8222 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
8223 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
8224 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
8225 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
8226 (gst_pad_get_caps), (gst_pad_peer_get_caps),
8227 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
8228 (gst_pad_realize), (gst_pad_get_allowed_caps),
8229 (gst_real_pad_dispose), (gst_real_pad_finalize),
8230 (gst_pad_collectv), (gst_pad_collect_valist),
8231 (gst_pad_template_dispose), (gst_pad_template_new),
8232 (gst_pad_get_internal_links):
8234 * gst/gstpipeline.c: (gst_pipeline_dispose),
8235 (gst_pipeline_change_state):
8236 * gst/gstpipeline.h:
8238 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
8239 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
8240 * gst/gstpluginfeature.h:
8241 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
8242 * gst/gstquery.c: (_gst_query_type_initialize),
8243 (gst_query_type_register), (gst_query_type_get_by_nick),
8244 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
8246 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
8247 * gst/gstscheduler.c: (gst_scheduler_add_element),
8248 (gst_scheduler_factory_create):
8249 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8250 (gst_structure_free), (gst_structure_set_name),
8251 (gst_structure_id_set_value), (gst_structure_set_value),
8252 (gst_structure_set_valist), (gst_structure_remove_field),
8253 (gst_structure_remove_fields),
8254 (gst_structure_remove_fields_valist),
8255 (gst_structure_remove_all_fields), (gst_structure_foreach),
8256 (gst_structure_map_in_place),
8257 (gst_caps_structure_fixate_field_nearest_int),
8258 (gst_caps_structure_fixate_field_nearest_double):
8259 * gst/gststructure.h:
8260 * gst/gstsystemclock.c: (gst_system_clock_class_init),
8261 (gst_system_clock_init), (gst_system_clock_dispose),
8262 (gst_system_clock_async_thread),
8263 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
8264 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
8265 * gst/gstsystemclock.h:
8266 * gst/gsttag.c: (gst_tag_list_add_value_internal),
8267 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
8268 * gst/gsttaginterface.c:
8269 * gst/gstthread.c: (gst_thread_dispose),
8270 (gst_thread_release_children_locks), (gst_thread_change_state),
8271 (gst_thread_main_loop):
8272 * gst/gsttrashstack.h:
8273 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
8275 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8276 (gst_element_request_pad), (gst_element_get_pad_from_template),
8277 (gst_element_request_compatible_pad),
8278 (gst_element_get_compatible_pad_filtered),
8279 (gst_element_get_compatible_pad), (gst_element_state_get_name),
8280 (gst_element_link_pads_filtered), (gst_element_link_filtered),
8281 (gst_element_link_many), (gst_element_link),
8282 (gst_element_link_pads), (gst_element_unlink_pads),
8283 (gst_element_unlink_many), (gst_element_unlink),
8284 (gst_pad_can_link_filtered), (gst_pad_can_link),
8285 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
8286 (gst_object_default_error), (gst_bin_add_many),
8287 (gst_bin_remove_many), (gst_element_populate_std_props),
8288 (gst_element_class_install_std_props), (gst_buffer_merge),
8289 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
8290 (link_fold_func), (gst_pad_proxy_setcaps):
8292 * gst/gstvalue.c: (gst_value_deserialize_string):
8293 * gst/parse/grammar.y:
8294 * gst/schedulers/gstbasicscheduler.c:
8295 (gst_basic_scheduler_cothreaded_chain),
8296 (gst_basic_scheduler_chain_recursive_add),
8297 (gst_basic_scheduler_pad_link):
8298 * gst/schedulers/gstoptimalscheduler.c:
8299 (get_group_schedule_function),
8300 (gst_opt_scheduler_state_transition),
8301 (gst_opt_scheduler_add_element), (element_get_reachables_func):
8302 * libs/gst/bytestream/bytestream.c:
8303 * libs/gst/dataprotocol/dataprotocol.c:
8304 (gst_dp_header_from_buffer):
8307 * tests/threadstate/threadstate2.c: (eos):
8308 * tools/gst-compprep.c: (main):
8309 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
8310 (print_pad_info), (print_children_info):
8311 * tools/gst-launch.c: (idle_func), (main):
8312 * tools/gst-md5sum.c: (idle_func), (main):
8313 * tools/gst-xmlinspect.c: (print_element_info):
8314 First THREADED backport attempt, focusing on adding locks and
8315 making sure the API is threadsafe. Needs more work. More docs
8318 2005-02-24 Andy Wingo <wingo@pobox.com>
8320 * tests/bench-complexity.scm:
8321 * tests/complexity.gnuplot: New files, good for running complexity
8324 * tests/Makefile.am:
8325 * tests/complexity.c: New test, sets up N elements, at each level
8326 teeing into M streams per element. Eeeenteresting.
8328 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
8329 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
8330 running bench-mass_elements.scm.
8332 * tests/bench-mass_elements.scm: New script, runs mass_elements
8333 for various numbers of identities, outputting the results to a
8334 file. Requires guile 1.6. Just for testing.
8336 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
8338 * gst/schedulers/fairscheduler.c:
8339 compile with debug disabled
8341 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
8344 hunting season on 0.9 is now OPEN