1 2005-11-09 Wim Taymans <wim@fluendo.com>
6 2005-11-09 Wim Taymans <wim@fluendo.com>
8 * docs/gst/gstreamer-sections.txt:
16 2005-11-09 Wim Taymans <wim@fluendo.com>
18 * docs/design/part-TODO.txt:
19 Some more items for the TODO
25 2005-11-09 Andy Wingo <wingo@pobox.com>
27 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
28 to work on something else now tho...
30 * gst/base/gstadapter.c: More adapter docs.
32 * gst/elements/gstfilesink.c (gst_file_sink_start)
33 (gst_file_sink_stop): New functions, replace the state change
35 (gst_file_sink_class_init): Hook up the start and stop functions.
36 (gst_file_sink_base_init): Don't set the state change handler any
37 more. It was a bit ugly too, being set from here...
38 (gst_file_sink_get_property, gst_file_sink_set_property):
40 (gst_file_sink_set_location): More robust check that doesn't call
43 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
45 * gst/base/gstbasetransform.c: (gst_base_transform_event):
46 Hold STREAM_LOCK while pushing newsegment or tag events as well.
48 2005-11-08 Wim Taymans <wim@fluendo.com>
50 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
51 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
52 (gst_base_sink_chain), (gst_base_sink_change_state):
53 * gst/base/gstbasesink.h:
54 * gst/base/gstbasesrc.h:
57 Avoid excessive typechecking in macros.
59 * gst/gstminiobject.c: (gst_mini_object_get_type),
60 (gst_mini_object_init), (gst_mini_object_new),
61 (gst_mini_object_free):
62 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
63 (gst_object_finalize):
64 Remove cruft code, optimize alloc_trace.
66 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
68 * docs/faq/gst-uninstalled:
69 fix up PS1 for systems that try to reset it
71 2005-11-07 Wim Taymans <wim@fluendo.com>
73 * gst/base/gstbasesrc.c: (gst_base_src_init),
74 (gst_base_src_get_range):
75 Set the segment_end to -1 initially. Fixed typefind.
77 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
79 * gst/base/gstadapter.c:
80 Debug category should be 'adapter', not 'GstAdapter'.
82 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
83 (gst_collectpads_class_init), (gst_collectpads_init),
84 (gst_collectpads_peek), (gst_collectpads_pop),
85 (gst_collectpads_event), (gst_collectpads_chain):
86 Add debug category and some debugging output. Use boilerplate
87 macros. Remove some extraneous words from docs.
89 2005-11-05 Andy Wingo <wingo@pobox.com>
91 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
94 2005-11-04 Stefan Kost <ensonic@users.sf.net>
96 * docs/gst/gstreamer-sections.txt:
99 * gst/gstminiobject.h:
104 2005-11-04 Wim Taymans <wim@fluendo.com>
106 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
107 Small update to stop at the configured segment_end
110 2005-11-04 Stefan Kost <ensonic@users.sf.net>
116 2005-11-04 Edward Hervey <edward@fluendo.com>
118 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
119 Check if we are doing a segment seek and have arrived at the
122 2005-11-04 Wim Taymans <wim@fluendo.com>
124 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
125 Don't leak a mutex unlock in case of an error.
130 2005-11-04 Wim Taymans <wim@fluendo.com>
132 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
134 Get the context to wake up only once.
136 2005-11-03 Wim Taymans <wim@fluendo.com>
138 * check/states/sinks.c: (GST_START_TEST):
139 Uncomment fixed check.
141 * docs/design/part-TODO.txt:
144 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
145 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
146 (gst_base_sink_get_position):
147 If we are going to PLAYING, post the right pending state
148 when we post the intermediate paused message.
150 * gst/gstelement.c: (gst_element_continue_state),
151 (gst_element_set_state_func), (gst_element_change_state):
152 Don't post state changes that were between the same state
155 2005-11-03 Stefan Kost <ensonic@users.sf.net>
157 * docs/gst/gstreamer-sections.txt:
160 * gst/gstminiobject.h:
163 more docs and doc style fixes
165 2005-11-03 Stefan Kost <ensonic@users.sf.net>
167 * docs/gst/gstreamer-sections.txt:
169 * gst/gstminiobject.c:
172 2005-11-03 Andy Wingo <wingo@pobox.com>
174 * check/states/sinks.c (test_livesrc_sink): Add checks that the
175 state-changed messages actually have the right order and the right
178 2005-11-03 Wim Taymans <wim@fluendo.com>
180 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
181 Added some more checks. Specifically the case where NO_PREROLL
182 elements are in the pipeline.
184 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
185 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
186 (gst_base_sink_get_position):
187 Post READY->PAUSED state change messages too.
188 Fix bug where VOID was posted as pending state...
190 * gst/gstbin.c: (gst_bin_recalc_state):
191 use _element_continue_state() to continue the state change.
193 * gst/gstelement.c: (gst_element_continue_state),
194 (gst_element_commit_state), (gst_element_set_state_func),
195 (gst_element_change_state), (gst_element_change_state_func):
196 Lots of state change cleanups, assign the STATE_RETURN in
197 a new continue_state() function that also propagates the
198 last return value from a state change to the app.
199 Update some debug statements with proper category.
201 2005-11-03 Wim Taymans <wim@fluendo.com>
203 * docs/design/part-events.txt:
204 * docs/design/part-gstpipeline.txt:
205 * docs/design/part-messages.txt:
206 * docs/design/part-overview.txt:
207 * docs/design/part-seeking.txt:
208 * docs/design/part-states.txt:
209 * docs/design/part-trickmodes.txt:
210 * docs/manual/advanced-position.xml:
214 People think !! is ugly, this looks better.
216 * gst/gstpad.c: (gst_pad_set_blocked_async):
217 Remove !! since it's fixed elsewhere now.
219 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
221 * gst/gstminiobject.h:
223 Add !! to _FLAG_IS_SET macros to make the result boolean.
225 2005-11-03 Edward Hervey <edward@fluendo.com>
227 * gst/gstpad.c: (gst_pad_set_blocked_async):
228 comparing a flag and a gboolean rarely returns coherent results...
229 Added two characters (!!) to make that work correctly.
231 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
233 * gst/gstbus.c: (gst_bus_class_init):
236 * gst/gstqueue.c: (gst_queue_loop):
237 Don't assume a miniobject that isn't a buffer is an
238 event (it could be that there is a refcounting
239 problem somewhere and the pointer is stale and
240 refers to an already destroyed miniobject).
242 2005-11-03 Julien MOUTTE <julien@moutte.net>
244 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
246 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
248 * docs/manual/advanced-position.xml:
249 Update seek example and explanations to current 0.9 API.
251 * gst/elements/gsttypefindelement.c:
252 (gst_type_find_element_activate):
253 Remove FIXME comment now that the found caps
256 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
258 * gst/gstregistryxml.c: (load_feature):
259 Add another GST_STR_NULL instance
261 2005-11-02 Edward Hervey <edward@fluendo.com>
263 * gst/gstpad.c: (handle_pad_block):
264 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
266 2005-11-02 Wim Taymans <wim@fluendo.com>
271 * gst/gstelement.c: (gst_element_commit_state):
275 Mention that the returned element is reffed in the docs.
277 2005-11-02 Wim Taymans <wim@fluendo.com>
279 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
280 (gst_pad_push), (gst_pad_push_event):
281 Unlock blocked pads when they are flushed.
283 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
286 * docs/gst/gstreamer-sections.txt:
289 * gst/gstregistry.c: (gst_registry_scan_path_level):
290 fix for a nasty little missed situation where an installed plug-in
291 which was in the cache did not get overridden by an uninstalled one
292 which was earlier in the plugin path because the newly created plugin
293 for the uninstalled one (not in the registry) didn't get its
294 ->registered set to TRUE
296 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
298 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
299 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
300 (gst_collectpads_is_active), (gst_collectpads_collect),
301 (gst_collectpads_collect_range), (gst_collectpads_start),
302 (gst_collectpads_stop), (gst_collectpads_peek),
303 (gst_collectpads_pop), (gst_collectpads_available),
304 (gst_collectpads_read), (gst_collectpads_flush):
305 Guard public API with assertions.
308 Fix docs for gst_pad_set_link_function().
310 2005-11-02 Johan Dahlin <johan@gnome.org>
312 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
313 Unref found_caps after we used it.
315 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
317 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
318 Don't try to ref NULL.
320 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
322 * win32/common/config.h.in:
323 provide a GST_FUNCTION that just gives a string for now
325 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
327 * win32/common/gstenumtypes.c: (register_gst_object_flags),
328 (gst_object_flags_get_type), (register_gst_bin_flags),
329 (gst_bin_flags_get_type), (register_gst_buffer_flag),
330 (gst_buffer_flag_get_type), (register_gst_bus_flags),
331 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
332 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
333 (gst_clock_return_get_type), (register_gst_clock_entry_type),
334 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
335 (gst_clock_flags_get_type), (register_gst_state),
336 (gst_state_get_type), (register_gst_state_change_return),
337 (gst_state_change_return_get_type), (register_gst_state_change),
338 (gst_state_change_get_type), (register_gst_element_flags),
339 (gst_element_flags_get_type), (register_gst_core_error),
340 (gst_core_error_get_type), (register_gst_library_error),
341 (gst_library_error_get_type), (register_gst_resource_error),
342 (gst_resource_error_get_type), (register_gst_stream_error),
343 (gst_stream_error_get_type), (register_gst_event_type),
344 (gst_event_type_get_type), (register_gst_seek_type),
345 (gst_seek_type_get_type), (register_gst_seek_flags),
346 (gst_seek_flags_get_type), (register_gst_format),
347 (gst_format_get_type), (register_gst_index_certainty),
348 (gst_index_certainty_get_type), (register_gst_index_entry_type),
349 (gst_index_entry_type_get_type),
350 (register_gst_index_lookup_method),
351 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
352 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
353 (gst_index_resolver_method_get_type), (register_gst_index_flags),
354 (gst_index_flags_get_type), (register_gst_debug_level),
355 (gst_debug_level_get_type), (register_gst_debug_color_flags),
356 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
357 (gst_iterator_result_get_type), (register_gst_iterator_item),
358 (gst_iterator_item_get_type), (register_gst_message_type),
359 (gst_message_type_get_type), (register_gst_mini_object_flags),
360 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
361 (gst_pad_link_return_get_type), (register_gst_flow_return),
362 (gst_flow_return_get_type), (register_gst_activate_mode),
363 (gst_activate_mode_get_type), (register_gst_pad_direction),
364 (gst_pad_direction_get_type), (register_gst_pad_flags),
365 (gst_pad_flags_get_type), (register_gst_pad_presence),
366 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
367 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
368 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
369 (gst_plugin_error_get_type), (register_gst_plugin_flags),
370 (gst_plugin_flags_get_type), (register_gst_rank),
371 (gst_rank_get_type), (register_gst_query_type),
372 (gst_query_type_get_type), (register_gst_tag_merge_mode),
373 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
374 (gst_tag_flag_get_type), (register_gst_task_state),
375 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
376 (gst_alloc_trace_flags_get_type),
377 (register_gst_type_find_probability),
378 (gst_type_find_probability_get_type), (register_gst_uri_type),
379 (gst_uri_type_get_type), (register_gst_parse_error),
380 (gst_parse_error_get_type):
381 * win32/common/gstversion.h:
384 2005-11-01 Luca Ognibene <luogni@tin.it>
387 fix docs. popt is dead, long live GOption.
389 2005-10-31 Wim Taymans <wim@fluendo.com>
394 2005-10-31 Andy Wingo <wingo@pobox.com>
398 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
400 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
401 need to serialize property notifications on GLib 2.8. GLib 2.6 has
402 the possibility of deadlocks here if code calling notify() or
403 set() has a lock that can be taken in another notify handler (ABBA
404 with class lock and e.g. python GIL state lock).
406 2005-10-28 Julien MOUTTE <julien@moutte.net>
408 * gst/gstbus.c: Doc updates.
410 2005-10-28 Wim Taymans <wim@fluendo.com>
412 * docs/design/part-TODO.txt:
414 * gst/gstsystemclock.c:
415 * gst/gstsystemclock.h:
418 2005-10-28 Edward Hervey <edward@fluendo.com>
420 * docs/gst/gstreamer-docs.sgml:
421 * docs/gst/gstreamer-sections.txt:
422 the GstURIType documentation page is private, it only defines GstURIType
423 which should be defined in the GstURIHandler page
425 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
427 * gst/gstbin.c: (gst_bin_class_init):
430 Documentation updates.
432 2005-10-28 Wim Taymans <wim@fluendo.com>
434 * docs/gst/gstreamer-sections.txt:
437 Documented the clocks.
439 2005-10-28 Stefan Kost <ensonic@users.sf.net>
441 * docs/gst/gstreamer-sections.txt:
442 move some macros to private sections
443 * gst/gstminiobject.c:
444 * gst/gstminiobject.h:
445 add descriptions provided by ds and some more
447 mark macro as to be removed
449 2005-10-28 Wim Taymans <wim@fluendo.com>
451 * docs/design/part-TODO.txt:
454 * gst/gstiterator.c: (gst_iterator_fold),
455 (gst_iterator_find_custom):
459 2005-10-28 Wim Taymans <wim@fluendo.com>
461 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
462 (gst_base_transform_init):
465 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
466 An EOS event marks the queue as completely filled.
468 2005-10-27 Wim Taymans <wim@fluendo.com>
470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
471 (gst_base_sink_do_sync), (gst_base_sink_get_position):
474 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
475 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
476 (gst_base_transform_event), (gst_base_transform_getrange),
477 (gst_base_transform_chain):
478 * gst/base/gstbasetransform.h:
480 Protect transform and concurrent buffer alloc with a new lock.
481 Try not to break ABI/API.
483 2005-10-27 Wim Taymans <wim@fluendo.com>
485 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
486 (gst_base_src_init), (gst_base_src_query),
487 (gst_base_src_default_newsegment),
488 (gst_base_src_configure_segment), (gst_base_src_do_seek),
489 (gst_base_src_send_event), (gst_base_src_event_handler),
490 (gst_base_src_pad_get_range), (gst_base_src_loop),
491 (gst_base_src_unlock), (gst_base_src_default_negotiate),
492 (gst_base_src_start), (gst_base_src_deactivate),
493 (gst_base_src_activate_push), (gst_base_src_change_state):
494 Move some stuff around and cleanup things.
496 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
498 * gst/base/gstbasesrc.c: (gst_base_src_query):
499 Add missing break statements.
501 2005-10-27 Wim Taymans <wim@fluendo.com>
503 * check/gst/gstbin.c: (GST_START_TEST):
504 An extra refcount is taken in basesrc.
506 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
507 (gst_base_src_get_range), (gst_base_src_pad_get_range),
509 Small cleanups, check for flushing after being unlocked from the
510 LIVE_LOCK. take refcounts correctly (not yet everywhere).
511 Don't send out EOS when going to READY.
513 2005-10-27 Wim Taymans <wim@fluendo.com>
515 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
516 (gst_base_sink_get_position):
519 * gst/gstbin.c: (message_check), (bin_replace_message),
520 (bin_remove_messages), (is_eos), (gst_bin_add_func),
521 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
522 (bin_query_duration_init), (bin_query_duration_fold),
523 (bin_query_duration_done), (bin_query_generic_fold),
525 * tools/gst-launch.c: (main):
528 2005-10-26 Stefan Kost <ensonic@users.sf.net>
530 * examples/controller/audio-example.c: (main):
531 * examples/queue/queue.c: (event_loop):
532 * gst/base/gstbasetransform.h:
533 * gst/gstelement.c: (gst_element_send_event):
535 * gst/gstpad.c: (gst_pad_send_event):
538 changing log priority in error situations
540 2005-10-25 Wim Taymans <wim@fluendo.com>
542 * gst/gstbin.c: (message_check), (bin_replace_message),
543 (bin_remove_messages), (is_eos), (gst_bin_add_func),
544 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
545 (bin_query_duration_init), (bin_query_duration_fold),
546 (bin_query_duration_done), (bin_query_generic_fold),
548 Some doc and debug updates.
549 Cache previously requested query DURATION for speed. invalidate
550 cached duration if element posts a DURATION message.
552 2005-10-25 Wim Taymans <wim@fluendo.com>
554 * docs/design/part-TODO.txt:
557 * gst/gstbin.c: (message_check), (bin_replace_message),
558 (bin_remove_messages), (is_eos), (gst_bin_add_func),
559 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
560 (bin_query_duration_init), (bin_query_duration_fold),
561 (bin_query_duration_done), (bin_query_generic_fold),
563 Handle SEGMENT_START/DONE messages correctly.
564 More evolved query algorithm that handles duration queries
567 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
568 (gst_element_get_state_func), (gst_element_abort_state),
569 (gst_element_commit_state), (gst_element_lost_state):
575 2005-10-25 Wim Taymans <wim@fluendo.com>
577 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
578 Don't use invalid stream_time.
580 * gst/gstevent.c: (gst_event_new_newsegment):
581 stream_time in newsegment cannot be undefined.
583 2005-10-24 Wim Taymans <wim@fluendo.com>
588 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
590 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
592 2005-10-24 Stefan Kost <ensonic@users.sf.net>
594 * docs/libs/tmpl/gstdparam.sgml:
595 * docs/libs/tmpl/gstdplinint.sgml:
596 * docs/libs/tmpl/gstdpman.sgml:
597 * docs/libs/tmpl/gstdpsmooth.sgml:
598 * docs/libs/tmpl/gstunitconvert.sgml:
601 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
606 === release 0.9.4 ===
608 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
611 releasing 0.9.4, "Tyrannosaurus Rex"
613 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
615 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
616 (gst_file_sink_get_current_offset):
617 Use fseeko() and ftello() if available. When falling back on
618 lseek() to get the current offset, fflush() first to make sure
619 everything is up-to-date and we get the right offset.
621 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
624 * gst/base/gstbasesrc.c: (gst_base_src_loop):
625 * gst/gsterror.c: (_gst_stream_errors_init):
627 * gst/gstqueue.c: (gst_queue_loop):
629 remove prematurely added error category and clean up the instances
631 2005-10-21 Wim Taymans <wim@fluendo.com>
633 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
634 (gst_base_sink_get_position), (gst_base_sink_query),
635 (gst_base_sink_change_state):
636 Simply set the right flag when going to playing, that's all
637 we need to do instead of calling a function inside the object
638 lock (that could take the lock as well and deadlock)
640 2005-10-21 Wim Taymans <wim@fluendo.com>
642 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
644 Don't warn, the peer element knows what to do best when
645 the seek failed, it might try something else.
647 2005-10-21 Wim Taymans <wim@fluendo.com>
649 * gst/base/gstbasesrc.c: (gst_base_src_init),
650 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
653 2005-10-21 Wim Taymans <wim@fluendo.com>
655 * docs/design/part-segments.txt:
658 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
659 Correctly set caps, even on the subbufer.
661 2005-10-21 Wim Taymans <wim@fluendo.com>
663 * docs/gst/gstreamer-docs.sgml:
664 * docs/gst/gstreamer-sections.txt:
671 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
675 And 2% more doc coverage.
677 2005-10-21 Andy Wingo <wingo@pobox.com>
679 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
682 2005-10-20 Wim Taymans <wim@fluendo.com>
684 * gst/gsterror.c: (gst_error_get_message):
687 * gst/gststructure.c:
692 2005-10-20 Wim Taymans <wim@fluendo.com>
697 Another 1% more coverage.
699 2005-10-20 Wim Taymans <wim@fluendo.com>
701 * docs/gst/gstreamer-sections.txt:
702 * gst/gstelement.c: (gst_element_get_state_func),
703 (gst_element_abort_state), (gst_element_commit_state),
704 (gst_element_lost_state):
706 * gst/gstquery.c: (gst_query_set_position),
707 (gst_query_parse_position), (gst_query_set_duration),
708 (gst_query_parse_duration), (gst_query_new_convert):
710 Yay! 1% more docs coverage.
712 2005-10-20 Wim Taymans <wim@fluendo.com>
715 * gst/gstquery.c: (gst_query_set_position),
716 (gst_query_parse_position), (gst_query_set_duration),
717 (gst_query_parse_duration), (gst_query_new_convert):
719 * gst/gstutils.c: (gst_element_query_convert):
721 Docs and consistency fixes.
723 2005-10-20 Wim Taymans <wim@fluendo.com>
729 2005-10-20 Wim Taymans <wim@fluendo.com>
731 * gst/gstbin.c: (message_check), (bin_replace_message),
732 (bin_remove_messages), (is_eos), (gst_bin_add_func),
733 (update_degree), (gst_bin_sort_iterator_next),
734 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
735 Reworked the message handling a bit, cache the messages instead of
736 only the senders. alows us to do more in the future.
738 2005-10-20 Wim Taymans <wim@fluendo.com>
740 * docs/design/part-TODO.txt:
743 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
744 (gst_base_sink_query):
745 Don't use clock time to report position when in EOS.
747 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
749 * tools/gst-inspect.c: (print_interfaces),
750 (print_element_properties_info), (print_element_info):
751 Fix interface output with gst-inspect -a; don't print
752 newlines after double/float properties.
754 2005-10-20 Wim Taymans <wim@fluendo.com>
756 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
757 (gst_base_sink_query):
758 Speed up current position calculation.
760 * gst/base/gstbasesrc.c: (gst_base_src_query),
761 (gst_base_src_default_newsegment):
762 Correctly set stream position in newsegment.
764 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
765 (update_degree), (gst_bin_sort_iterator_next),
766 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
767 * gst/gstmessage.c: (gst_message_new_custom):
768 Clean up debugging info
770 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
771 (gst_queue_loop), (gst_queue_handle_src_query):
774 2005-10-19 Wim Taymans <wim@fluendo.com>
776 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
777 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
778 Fix query handling again.
780 2005-10-19 Wim Taymans <wim@fluendo.com>
782 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
783 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
784 * gst/base/gstbasesrc.c: (gst_base_src_query):
785 * gst/elements/gstfilesink.c: (gst_file_sink_query):
786 * gst/elements/gsttypefindelement.c:
787 (gst_type_find_handle_src_query), (find_element_get_length),
788 (gst_type_find_element_activate):
791 * gst/gstquery.c: (gst_query_new_position),
792 (gst_query_set_position), (gst_query_parse_position),
793 (gst_query_new_duration), (gst_query_set_duration),
794 (gst_query_parse_duration), (gst_query_set_segment),
795 (gst_query_parse_segment):
797 Bundling query position/duration is not a good idea since duration
798 does not change much and we don't want to recalculate it for every
799 position query, so they are separated again..
800 Base value in segment query is not needed.
802 * gst/gstqueue.c: (gst_queue_handle_src_query):
803 * gst/gstutils.c: (gst_element_query_position),
804 (gst_element_query_duration), (gst_pad_query_position),
805 (gst_pad_query_duration):
807 Updates for query API change.
808 Added some docs here and there.
810 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
812 * check/gst/gstbin.c: (GST_START_TEST):
813 * check/gst/gstghostpad.c: (GST_START_TEST):
814 * check/pipelines/cleanup.c: (GST_START_TEST):
815 wait on thread to die so we can check refcount correctly
817 2005-10-18 Wim Taymans <wim@fluendo.com>
819 * check/pipelines/stress.c: (GST_START_TEST):
820 Make check a little more time consuming.
822 2005-10-18 Wim Taymans <wim@fluendo.com>
825 * check/pipelines/stress.c: (GST_START_TEST),
826 (simple_launch_lines_suite), (main):
827 Small state change torture test.
829 * docs/design/part-states.txt:
830 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
831 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
832 (gst_base_sink_change_state):
833 Never take state lock from streaming thread, clean up ugly
834 hacks. Unfortunatly core does not yet support nice ways to
837 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
839 Start state recalc if a STATE_DIRTY message is posted, but only
842 * gst/gstelement.c: (gst_element_sync_state_with_parent),
843 (gst_element_get_state_func), (gst_element_abort_state),
844 (gst_element_commit_state), (gst_element_lost_state),
845 (gst_element_set_state_func), (gst_element_change_state):
847 State variables are now protected with the LOCK, the state
848 lock is only used to serialize _set_state().
850 2005-10-18 Wim Taymans <wim@fluendo.com>
852 * check/gst/gstbin.c: (GST_START_TEST):
853 * check/gst/gstmessage.c: (GST_START_TEST):
854 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
855 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
857 * gst/gstelement.c: (gst_element_abort_state),
858 (gst_element_commit_state), (gst_element_lost_state):
859 * gst/gstmessage.c: (gst_message_new_state_changed),
860 (gst_message_new_state_dirty), (gst_message_new_segment_start),
861 (gst_message_new_segment_done), (gst_message_new_duration),
862 (gst_message_parse_state_changed),
863 (gst_message_parse_segment_start),
864 (gst_message_parse_segment_done), (gst_message_parse_duration):
866 * tools/gst-launch.c: (event_loop):
867 Seriously, this is better than a previous commit as we only need
868 to notify the fact that an element changed state in a streaming
869 thread, marking the state of the parents dirty, hence the
870 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
873 2005-10-18 Wim Taymans <wim@fluendo.com>
875 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
876 (gst_bin_recalc_func):
877 * gst/gstelement.c: (gst_element_set_clock),
878 (gst_element_abort_state), (gst_element_lost_state):
879 Cleanups, prepare for state change fixes.
881 2005-10-18 Wim Taymans <wim@fluendo.com>
884 * gst/gstelement.c: (gst_element_class_init),
885 (gst_element_set_state), (gst_element_set_state_func):
888 GThreadPool in GstBinClass to monitor async state changes.
889 state_cookie in GstElement to detect concurrent gst/set state.
890 set_state is now virtual too in case a very complicated element
891 has to be constructed.
893 2005-10-18 Wim Taymans <wim@fluendo.com>
895 * check/gst/gstbin.c: (GST_START_TEST):
896 * check/gst/gstmessage.c: (GST_START_TEST):
897 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
898 * gst/gstbin.c: (bin_bus_handler):
899 * gst/gstelement.c: (gst_element_commit_state),
900 (gst_element_lost_state):
901 * gst/gstmessage.c: (gst_message_new_state_changed),
902 (gst_message_new_segment_start), (gst_message_new_segment_done),
903 (gst_message_new_duration), (gst_message_parse_state_changed),
904 (gst_message_parse_segment_start),
905 (gst_message_parse_segment_done), (gst_message_parse_duration):
907 * tools/gst-launch.c: (event_loop):
908 Make messages future proof.
909 state-change gets a flag if it was a message comming from the
911 segment-start/stop can also be specified in other formats.
912 A message to notify an app that a pipeline changed playback
914 Also fix a GstMessage leak in -launch
916 2005-10-18 Andy Wingo <wingo@pobox.com>
918 * gst/gstelement.c (gst_element_dispose): More helpful message.
920 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
922 * gst/gstregistry.c: (gst_registry_scan_path_level):
923 unref a plug-in we get that was already initialized
925 2005-10-18 Stefan Kost <ensonic@users.sf.net>
927 * docs/gst/gstreamer-sections.txt:
928 * docs/libs/gstreamer-libs-sections.txt:
933 2005-10-17 Andy Wingo <wingo@pobox.com>
935 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
938 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
940 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
942 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
943 (gst_element_get_state_func): Better debug message.
944 (gst_element_commit_state): s/INFO/DEBUG/.
945 (gst_element_lost_state, gst_element_change_state):
947 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
948 (gst_message_new_custom): s/INFO/LOG/.
950 2005-10-17 Michael Smith <msmith@fluendo.com>
952 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
953 Check if end time is valid using end time, not start time.
955 2005-10-17 Stefan Kost <ensonic@users.sf.net>
957 * check/gst-libs/controller.c: (GST_START_TEST),
958 (gst_controller_suite):
959 * libs/gst/controller/gstcontroller.c:
960 (gst_controlled_property_set_interpolation_mode):
961 * libs/gst/controller/gstcontroller.h:
962 * libs/gst/controller/gstinterpolation.c:
963 * testsuite/controller/.cvsignore:
964 * testsuite/controller/Makefile.am:
965 * testsuite/controller/interpolator.c:
966 merge controller testsuites
968 remove mem-chunk from docs
970 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
974 * gst/gsttrashstack.c:
975 * gst/gsttrashstack.h:
976 out. get out. you're fired. to the Attic !
978 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
980 * gst/gstcaps.c: (gst_caps_intersect):
981 fix signedness issues in a (hopefully) correct way
982 * gst/gstelement.c: (gst_element_pads_activate):
984 * gst/gstobject.c: (gst_object_set_parent):
987 2005-10-17 Julien MOUTTE <julien@moutte.net>
989 * gst/gstvalue.h: Fix prototypes.
991 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
993 * docs/gst/gstreamer-sections.txt:
994 * gst/gst.c: (gst_version_string):
996 * gst/gstversion.h.in:
997 * win32/common/libgstreamer.def:
998 add gst_version_string ()
1000 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1004 * gst/gst.c: (init_post):
1005 * win32/common/config.h.in:
1007 * gst/gstcaps.c: (gst_caps_intersect):
1008 use gint64, the range could be bigger than a guint
1010 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1013 document potential problem in 2038
1015 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1017 * gst/gstcaps.c: (gst_caps_intersect):
1018 Fix guint j diving under 0
1020 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1023 * win32/common/config.h:
1024 * win32/common/config.h.in:
1025 check for process.h, declares getpid() on Windows
1027 include process.h if we have it
1028 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1029 * gst/gstmemchunk.h:
1030 fix signedness issues
1031 * win32/common/libgstreamer.def:
1034 2005-10-16 Julien MOUTTE <julien@moutte.net>
1036 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1037 fix. Because of unsigned ints, caps intersection was going nuts and
1038 trying to access structures with G_MAXUINT index. That fixes
1039 videotestsrc ! ffmpegcolorspace ! fakesink
1040 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1043 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1046 use the gettext macro
1047 * gst/elements/gstelements.c:
1049 * gst/indexers/gstindexers.c:
1050 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1051 * win32/common/config.h:
1053 * win32/common/config.h.in:
1054 add the template to generate config.h
1055 * win32/common/gstenumtypes.c:
1056 * win32/common/gstversion.h:
1059 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1061 * gst/gst.c: (gst_version):
1062 * gst/gstversion.h.in:
1065 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1068 Oops, add missing closing bracket.
1070 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1073 use common m4's for argument checking
1075 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1077 * docs/gst/gstreamer-sections.txt:
1079 Add GST_EVENT_TYPE_NAME() macro.
1081 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1084 * gst/gstpluginfeature.c:
1086 privatize more symbols
1088 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1091 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1092 everything that uses GStreamer API should have the includes
1094 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1096 * docs/gst/gstreamer-sections.txt:
1097 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1099 give each value a _get_type, removes the DATA exports
1101 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1105 remove _gst_registry_auto_load, not used anymore
1106 * gst/gstbin.c: (gst_bin_get_type):
1108 * gst/gstelement.c: (gst_element_get_type):
1110 * gst/gstobject.c: (gst_object_get_type):
1112 * gst/gstpad.c: (gst_pad_get_type):
1114 make _get_type functions similar, fixes data export from library
1116 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1119 correctly make conditionals
1120 * gst/elements/Makefile.am:
1121 * gst/elements/gstelements.c:
1122 fix typo causing fdsrc not to build
1124 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1126 * testsuite/Makefile.am:
1127 * testsuite/bytestream/.cvsignore:
1128 * testsuite/bytestream/Makefile.am:
1129 * testsuite/bytestream/filepadsink.c:
1130 * testsuite/bytestream/gstbstest.c:
1131 * testsuite/bytestream/test1.c:
1132 * testsuite/bytestream/testfile1:
1133 * testsuite/caps/normalisation.c:
1134 * testsuite/caps/random.c: (main):
1135 * testsuite/cleanup/.cvsignore:
1136 * testsuite/cleanup/Makefile.am:
1137 * testsuite/cleanup/cleanup1.c:
1138 * testsuite/cleanup/cleanup2.c:
1139 * testsuite/cleanup/cleanup3.c:
1140 * testsuite/cleanup/cleanup4.c:
1141 * testsuite/cleanup/cleanup5.c:
1142 * testsuite/controller/interpolator.c:
1143 * testsuite/debug/printf_extension.c: (main):
1144 * testsuite/elements/tee.c:
1145 * testsuite/negotiation/.cvsignore:
1146 * testsuite/negotiation/Makefile.am:
1147 * testsuite/negotiation/pad_link.c:
1148 * testsuite/pad/Makefile.am:
1149 * testsuite/pad/chainnopull.c:
1150 * testsuite/pad/getnopush.c:
1151 * testsuite/pad/link.c:
1152 * testsuite/refcounting/sched.c: (create_pipeline):
1153 * testsuite/registry/Makefile.am:
1154 * testsuite/registry/gst-print-formats.c:
1155 * testsuite/schedulers/.cvsignore:
1156 * testsuite/schedulers/142183-2.c:
1157 * testsuite/schedulers/142183.c:
1158 * testsuite/schedulers/143777-2.c:
1159 * testsuite/schedulers/143777.c:
1160 * testsuite/schedulers/147713.c:
1161 * testsuite/schedulers/147819.c:
1162 * testsuite/schedulers/147894-2.c:
1163 * testsuite/schedulers/147894.c:
1164 * testsuite/schedulers/Makefile.am:
1165 * testsuite/schedulers/group_link.c:
1166 * testsuite/schedulers/queue_link.c:
1167 * testsuite/schedulers/relink.c:
1168 * testsuite/schedulers/unlink.c:
1169 * testsuite/schedulers/unref.c:
1170 * testsuite/schedulers/useless_iteration.c:
1171 * testsuite/states/bin.c:
1172 clean out/remove some stuff from the testsuite directories
1174 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1177 check for some headers
1178 * gst/elements/Makefile.am:
1179 * gst/elements/gstelements.c:
1180 don't compile fdsrc without sys/socket.h
1181 * gst/indexers/Makefile.am:
1182 * gst/indexers/gstindexers.c: (plugin_init):
1183 don't compile fileindex without mmap
1185 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1192 * check/Makefile.am:
1193 * docs/gst/Makefile.am:
1194 * examples/helloworld/Makefile.am:
1196 * gst/base/Makefile.am:
1197 * gst/check/Makefile.am:
1198 * gst/elements/Makefile.am:
1199 * gst/indexers/Makefile.am:
1200 * gst/parse/Makefile.am:
1201 * libs/gst/controller/Makefile.am:
1202 * libs/gst/dataprotocol/Makefile.am:
1203 * examples/helloworld/helloworld.c: (event_loop):
1204 compile fixes, though it's not being compiled currently
1206 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1208 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1209 Add some simple tests for the new taglist date API.
1211 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1213 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1214 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1215 Beautify 'last-message' output: print 'none' for buffer timestamps
1216 and durations if none is set; improve alignment with next messages.
1218 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1220 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1221 * gst/gstpluginfeature.h:
1222 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1223 * gst/gstregistry.h:
1224 * docs/gst/gstreamer-sections.txt:
1225 Add new API to check plugin feature version requirements.
1227 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1228 Some basic tests for the above.
1230 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1232 * gst/gststructure.c: (gst_structure_to_string):
1233 guard against NULL printf - happens when for example
1234 a message structure with GstClock gets serialized
1236 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1238 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1239 Fix presumable copy'n'pasto.
1241 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1243 * gst/elements/gstfakesrc.h:
1244 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1245 * gst/elements/gsttypefindelement.c:
1247 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1248 I wonder if this could actually write +2GB files before
1250 2005-10-13 Andy Wingo <wingo@pobox.com>
1252 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1253 Fix Timmeke Waymans bug.
1254 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1255 string of the proper length to gst_caps_from_string. There's a
1256 potential for, before this fix, that this could cause someone
1257 connecting over the network to cause a segfault if the payload is
1260 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1262 * docs/design/draft-push-pull.txt:
1263 * docs/design/part-overview.txt:
1264 * docs/random/TODO-pre-0.9:
1265 * docs/random/old/ChangeLog.gstreamer:
1266 * gst/base/gstpushsrc.c:
1270 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1272 * gst/glib-compat.c: (gst_flags_get_first_value):
1273 * gst/glib-compat.h:
1274 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1275 (gst_value_compare_double), (gst_value_serialize_flags):
1276 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1279 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1282 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1284 * tools/gst-launch.c: (event_loop):
1285 print out clock nicely
1287 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1289 * docs/gst/gstreamer-sections.txt:
1291 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1292 (gst_tag_list_get_date_index):
1293 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1294 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1296 2005-10-13 Julien MOUTTE <julien@moutte.net>
1298 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1299 (gst_collectpads_chain):
1300 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1303 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1305 * docs/gst/gstreamer-sections.txt:
1308 * tools/gst-inspect.c: (main):
1309 * tools/gst-launch.c: (main):
1310 * tools/gst-run.c: (main):
1311 * tools/gst-xmlinspect.c: (main):
1312 fix GOption context leaks
1315 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1319 * win32/common/config.h:
1321 * win32/vs6/grammar.dsp:
1322 * win32/vs6/libgstelements.dsp:
1323 * win32/vs6/libgstreamer.dsp:
1326 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1328 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1329 * gst/base/gstbasesrc.c: (gst_base_src_query):
1330 fix more guint64<->gdouble conversions
1332 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1335 add win32-update target
1336 * win32/common/gstconfig.h:
1337 * win32/common/gstenumtypes.c:
1338 * win32/common/gstenumtypes.h:
1339 * win32/common/gstversion.h:
1340 add files that visual studio can't generate
1342 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1345 add a win32-update target
1348 2005-10-12 Wim Taymans <wim@fluendo.com>
1350 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1351 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1352 * gst/gstelement.c: (gst_element_commit_state),
1353 (gst_element_set_state):
1354 Protect flags with proper lock.
1355 unref provided cached clock in dispose.
1357 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1360 * gst/gstminiobject.h:
1362 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1363 removed unused flags from miniobject
1366 2005-10-12 Wim Taymans <wim@fluendo.com>
1368 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1369 (gst_file_sink_event), (gst_file_sink_render):
1370 Flush before seeking.
1372 2005-10-12 Andy Wingo <wingo@pobox.com>
1374 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1375 always been the case.
1377 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1379 * check/gst/gstbin.c: (GST_START_TEST):
1380 * docs/gst/gstreamer-sections.txt:
1381 * gst/base/gstbasesink.c: (gst_base_sink_init):
1382 * gst/base/gstbasesrc.c: (gst_base_src_init),
1383 (gst_base_src_get_range), (gst_base_src_check_get_range),
1384 (gst_base_src_start), (gst_base_src_stop):
1385 * gst/base/gstbasesrc.h:
1386 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1387 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1388 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1392 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1394 * gst/gstelement.c: (gst_element_is_locked_state),
1395 (gst_element_set_locked_state), (gst_element_commit_state),
1396 (gst_element_set_state):
1398 * gst/gstindex.c: (gst_index_init):
1400 * gst/gstminiobject.h:
1401 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1402 (gst_object_set_parent):
1404 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1405 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1407 * gst/gstpadtemplate.h:
1408 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1409 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1410 * gst/gstpipeline.h:
1411 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1412 (gst_file_index_commit):
1413 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1414 * testsuite/pad/link.c: (gst_test_src_init),
1415 (gst_test_filter_init), (gst_test_sink_init):
1416 * testsuite/states/locked.c: (main):
1417 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1418 moved bitshift from macro to enum definition
1420 2005-10-12 Wim Taymans <wim@fluendo.com>
1422 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1423 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1424 (gst_file_sink_render):
1425 Some more debugging info.
1427 2005-10-12 Wim Taymans <wim@fluendo.com>
1429 * docs/design/part-states.txt:
1430 * tools/gst-launch.c: (main):
1432 Revert non-intentional change.
1434 2005-10-12 Wim Taymans <wim@fluendo.com>
1436 * check/gst/gstbin.c: (GST_START_TEST):
1437 * check/gst/gstelement.c: (GST_START_TEST):
1438 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1439 * check/gst/gstghostpad.c: (GST_START_TEST):
1440 * check/gst/gstpipeline.c: (GST_START_TEST):
1441 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1442 * check/states/sinks.c: (GST_START_TEST):
1443 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1444 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1445 (gst_bin_remove_func), (gst_bin_get_state_func),
1446 (gst_bin_recalc_state), (gst_bin_change_state_func),
1448 * gst/gstelement.c: (gst_element_get_state_func),
1449 (gst_element_get_state), (gst_element_abort_state),
1450 (gst_element_commit_state), (gst_element_set_state),
1451 (gst_element_change_state), (gst_element_change_state_func):
1453 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1454 (gst_pipeline_provide_clock_func):
1455 * gst/gstutils.c: (gst_element_link_pads_filtered):
1456 * tools/gst-launch.c: (main):
1457 * tools/gst-typefind.c: (main):
1458 Use GstClockTime in _get_state() instead of GTimeVal.
1459 Remove old code in gstutils.c
1461 2005-10-12 Andy Wingo <wingo@pobox.com>
1463 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1466 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1467 there is no task. Shouldn't affect any code, as nothing in our
1468 plugins checks this return value.
1469 (gst_pad_stop_task): Also take the stream lock if the pad has no
1472 2005-10-12 Wim Taymans <wim@fluendo.com>
1474 * gst/gstpad.c: (pre_activate), (post_activate),
1475 (gst_pad_activate_pull), (gst_pad_activate_push):
1476 Cleanup activation code. Reset old state if
1479 2005-10-12 Wim Taymans <wim@fluendo.com>
1481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1482 (gst_base_sink_change_state):
1483 No need to prerol after receiving EOS.
1485 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1486 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1487 * gst/elements/gstidentity.c: (gst_identity_event):
1488 Print events more verbosely.
1490 2005-10-12 Wim Taymans <wim@fluendo.com>
1492 * check/Makefile.am:
1493 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1494 * check/states/sinks2.c:
1495 Moved sinks2 testcode in sinks check.
1497 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1498 (gst_bin_remove_func), (gst_bin_recalc_state),
1499 (gst_bin_change_state_func), (bin_bus_handler):
1500 Fix potential race condition when _get_state() iterated over an
1501 ASYNC element right before it posted a state completion.
1504 Do proper cast here.
1506 * gst/gstevent.c: (gst_event_new_newsegment),
1507 (gst_event_parse_newsegment):
1508 A playback rate of 0.0 is not allowed.
1510 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1512 * win32/common/config.h:
1513 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1514 (_trewinddir), (_ttelldir), (_tseekdir):
1515 * win32/common/dirent.h:
1516 * win32/common/gtchar.h:
1517 * win32/common/libgstbase.def:
1518 * win32/common/libgstreamer.def:
1519 * win32/vs6/grammar.dsp:
1520 * win32/vs6/gst_inspect.dsp:
1521 * win32/vs6/gst_launch.dsp:
1522 * win32/vs6/gstreamer.dsw:
1523 * win32/vs6/libgstbase.dsp:
1524 * win32/vs6/libgstelements.dsp:
1525 * win32/vs6/libgstreamer.dsp:
1526 Visual Studio 6 project files, and a new common directory.
1529 2005-10-11 Wim Taymans <wim@fluendo.com>
1531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1532 (gst_base_sink_do_sync), (gst_base_sink_query),
1533 (gst_base_sink_change_state):
1534 * gst/base/gstbasesink.h:
1535 Correctly parse newsegment info.
1537 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1539 * gst/gst.c: (init_post):
1540 split plugin paths correctly
1542 2005-10-11 Wim Taymans <wim@fluendo.com>
1544 * check/gst/gstevent.c: (GST_START_TEST):
1545 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1546 (gst_base_sink_change_state):
1547 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1548 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1549 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1550 * gst/gstevent.c: (gst_event_new_newsegment),
1551 (gst_event_parse_newsegment):
1553 Added extra flag to newsegment for future API freeze.
1554 Updated check and base elements.
1556 2005-10-11 Julien MOUTTE <julien@moutte.net>
1558 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1559 (gst_collectpads_add_pad), (gst_collectpads_pop),
1560 (gst_collectpads_event), (gst_collectpads_chain):
1561 * gst/base/gstcollectpads.h: Handle EOS correctly.
1563 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1565 * tools/gst-launch.c: (main):
1566 more null protecting
1568 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1570 * gst/gst-i18n-lib.h:
1571 check for ENABLE_NLS, not GETTEXT_PACKAGE
1572 * gst/gstregistry.c: (gst_registry_add_plugin),
1573 (gst_registry_scan_path_level),
1574 (_gst_registry_remove_cache_plugins):
1575 protect possibly NULL strings
1576 * gst/parse/types.h:
1577 config.h already included before
1578 * tools/gst-inspect.c: (main):
1579 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1580 check for ENABLE_NLS, not GETTEXT_PACKAGE
1581 * tools/gst-launch.c: (main):
1582 check for ENABLE_NLS, not GETTEXT_PACKAGE
1584 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1587 if we don't have glib, fail before testing 2.8
1588 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1589 fix a leak, should fix plugins-base testsuite
1591 2005-10-11 Andy Wingo <wingo@pobox.com>
1593 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1594 take the mode we're going to as an arg. Go head and set the mode
1595 and flushing flags now, so that if the activate function starts a
1596 thread all the flags will be in the right state.
1597 (post_activate): Renamed also. Just handle making sure streaming
1598 finishes for the deactivation case, and setting the deactivated
1600 (gst_pad_set_active): Complain loudly if deactivation fails.
1601 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1602 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1603 remove the terrible hack.
1605 2005-10-11 Wim Taymans <wim@fluendo.com>
1607 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1608 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1609 (gst_bin_recalc_state), (gst_bin_change_state_func),
1610 (gst_bin_dispose), (bin_bus_handler):
1612 Prepare to make current EOS message queue more generic.
1615 * gst/gstevent.c: (gst_event_new_newsegment),
1616 (gst_event_parse_newsegment):
1618 Rename base to stream_time.
1623 2005-10-11 Wim Taymans <wim@fluendo.com>
1625 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1626 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1627 (gst_bin_change_state_func), (bin_bus_handler):
1629 Work on proper clock selection.
1631 2005-10-11 Edward Hervey <edward@fluendo.com>
1633 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1634 * libs/gst/controller/gstcontroller.h:
1635 Added GList* version of _remove_properties() in order to be able to wrap
1638 2005-10-11 Wim Taymans <wim@fluendo.com>
1640 * docs/design/part-states.txt:
1643 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1644 (gst_bin_change_state_func), (bin_bus_handler):
1645 Doc updates. Don't distribute the same clock over and over again.
1651 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1652 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1653 (gst_pad_send_event):
1655 Make probe emission threadsafe again.
1656 Register quarks and move _get_name() from utils.
1659 * gst/gstpipeline.c: (gst_pipeline_class_init),
1660 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1661 Only redistribute the clock of it changed.
1663 * gst/gstsystemclock.h:
1668 Moved the _flow_get_name() to GstPad.
1670 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1672 * check/gst-libs/gdp.c: (GST_START_TEST):
1673 * check/gst/gstcaps.c: (GST_START_TEST):
1674 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1675 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1676 (gst_dp_packet_from_caps):
1677 fix more valgrind warnings before turning up the heat
1679 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1681 * gst/parse/grammar.y:
1682 some cleanup before the hacking
1684 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1686 * gst/base/gstbasesrc.c: (gst_base_src_query):
1688 * gst/gstutils.c: (gst_guint64_to_gdouble),
1689 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1691 externalize, basesrc uses it
1692 obviously the implementation needs testing
1694 2005-10-10 Wim Taymans <wim@fluendo.com>
1696 * tests/sched/Makefile.am:
1697 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1698 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1700 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1702 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1703 apparently converting from guint64 to double is not implemented
1706 2005-10-10 Wim Taymans <wim@fluendo.com>
1708 * check/Makefile.am:
1709 * check/generic/states.c: (GST_START_TEST):
1710 * check/gst/gstbin.c: (GST_START_TEST):
1711 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1712 * check/states/sinks.c: (GST_START_TEST):
1713 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1715 Check fixes, use API as stated in design docs, remove hacks.
1717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1718 (gst_base_sink_change_state):
1719 Catch stopping our task while we're shutting down.
1721 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1722 (gst_bin_remove_func), (gst_bin_get_state_func),
1723 (gst_bin_recalc_state), (gst_bin_change_state_func),
1726 * gst/gstelement.c: (gst_element_init),
1727 (gst_element_get_state_func), (gst_element_abort_state),
1728 (gst_element_commit_state), (gst_element_lost_state),
1729 (gst_element_set_state), (gst_element_change_state),
1730 (gst_element_change_state_func):
1732 New state change algorithm (see #318116)
1734 * gst/gstpipeline.c: (gst_pipeline_class_init),
1735 (gst_pipeline_init), (gst_pipeline_set_property),
1736 (gst_pipeline_get_property), (do_pipeline_seek),
1737 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1738 * gst/gstpipeline.h:
1739 Remove crude state change hacks.
1744 * tools/gst-launch.c: (main):
1745 Fixes for state change. Needs some more work to fully use the
1748 2005-10-10 Andy Wingo <wingo@pobox.com>
1750 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1752 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1753 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1756 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1758 * gst/gstiterator.c: (gst_iterator_new):
1759 Fix my previous commit: GTypes passed to gst_iterator_new()
1760 can be fundamental types.
1762 2005-10-10 Wim Taymans <wim@fluendo.com>
1764 * gst/gstelement.c: (gst_element_iterate_pad_list),
1765 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1766 (gst_element_iterate_sink_pads):
1767 Use src/sink pads lists for the respective iterators instead
1770 2005-10-10 Andy Wingo <wingo@pobox.com>
1772 Merged in popt removal + GOption addition patch from Ronald, bug
1775 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1776 GstElement macros around, remove popt-related symbols, add goption
1779 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1781 * docs/gst/Makefile.am:
1782 * docs/libs/Makefile.am: No POPT_CFLAGS.
1784 * examples/manual/Makefile.am:
1785 * docs/manual/basics-init.xml: Doc updates with an example.
1787 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1788 (gst_init), (parse_one_option), (parse_goption_arg):
1789 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1790 bit of hand merging and debugging to get the GOption stuff working
1793 * tests/Makefile.am:
1794 * tools/Makefile.am:
1795 * tools/gst-inspect.c: (main):
1796 * tools/gst-launch.c: (main):
1797 * tools/gst-run.c: (main):
1798 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1800 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1802 * gst/gstiterator.c: (gst_iterator_new):
1803 Add assertions to make sure passed GType is likely to really
1804 be a GType (as the compiler won't catch it if the size and
1805 GType arguments get mixed up, see #318447).
1807 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1809 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1811 * gst/gstbin.c: (gst_bin_iterate_sorted):
1812 Pass GType and size arguments to gst_iterator_new() in the right
1813 order (maybe we should make _new() take the GType as first argument
1814 just like _new_list()?) (#318447).
1817 2005-10-10 Wim Taymans <wim@fluendo.com>
1819 * gst/gstelement.c: (gst_element_finalize):
1820 And free the GStaticRecMutex too
1822 2005-10-10 Andy Wingo <wingo@pobox.com>
1824 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1825 Allocate and free the mutex properly.
1827 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1829 (GstElement): The state_lock is now recursive. Rebuild your
1830 plugins, suckers. Old macros adapted.
1832 * docs/gst/gstreamer-sections.txt: Doc updates.
1835 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1836 (g_static_rec_cond_wait): Ported from state changes patch, while
1837 we wait on bug #317802 to be solved in a well-distributed GLib.
1839 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1840 gst_element_change_state, variable name changes.
1841 (gst_element_change_state): Split out of gst_element_set_state in
1842 preparation for the state change merge. Doesn't pay attention to
1843 the 'transition' argument.
1844 (gst_element_set_state): Updates, hopefully purely cosmetic.
1845 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1847 (gst_element_get_state_func): Renamed from get_state, cosmetic
1850 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1852 * gst/elements/gstelements.c:
1853 * win32/GStreamer.vcproj:
1855 * win32/dirent.c: (_tseekdir):
1856 * win32/gst-inspect.vcproj:
1857 * win32/gst-launch.vcproj:
1858 * win32/gstconfig.h:
1859 * win32/gstelements.vcproj:
1860 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1861 * win32/gstreamer.def:
1863 updates for the win32 build (patch from Sebastien Moutte)
1865 2005-10-10 Andy Wingo <wingo@pobox.com>
1867 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1868 gst_bin_get_state, cleaned up (but no logic changes).
1869 (bin_element_is_sink): Comment updates.
1870 (sink_iterator_filter): Remove needless cast.
1871 (gst_bin_iterate_sinks): Doc update.
1872 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1873 cleaned up (but no logic changes).
1875 * check/states/sinks.c (test_src_sink): Cleanups from the state
1877 (test_livesrc_sink): Sync on the state.
1879 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1880 the state change patch.
1882 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1885 * check/gst/gstbin.c: Merge in some style fixes and additional
1886 checks from Wim's state change patch.
1888 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1890 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1891 (gst_type_find_helper):
1892 Check whether we have the requested data already in our list of
1893 cached buffers before pulling a new buffer; also make the buffer
1894 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1896 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1901 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1902 don't use long long, it's not portable. Replacing with
1903 gint64 seems to work; let's hope no skeletons fall out of the closet.
1905 2005-10-10 Andy Wingo <wingo@pobox.com>
1907 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1909 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1911 * docs/gst/gstreamer-sections.txt:
1916 * gst/gstmessage.c: (gst_message_parse_state_changed):
1919 more docs, fix compilation
1921 2005-10-09 Philippe Khalaf <burger@speedy.org>
1923 Fixed a few forgotten variables on previous commit
1925 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1927 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1928 Fix evil typefind crasher: getrange() might return a short
1929 buffer at the end of a file, but gst_type_find_peek() must
1930 either return the full data as requested or NULL, but
1931 never a short buffer.
1933 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1935 * gst/gstmessage.c: (gst_message_new_state_changed),
1936 (gst_message_parse_state_changed):
1938 don't use "new", it's a C++ keyword
1940 2005-10-08 Wim Taymans <wim@fluendo.com>
1942 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1943 * gst/gstelement.c: (gst_element_post_message):
1944 * gst/gstpipeline.c: (gst_pipeline_change_state):
1945 Small docs and debug updates.
1947 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1949 * docs/gst/gstreamer-sections.txt:
1950 * gst/gstelementfactory.c:
1955 2005-10-08 Wim Taymans <wim@fluendo.com>
1957 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1958 (gst_bin_dispose), (bin_bus_handler):
1959 Fix typos, add comments.
1960 Clear EOS list when going to PAUSED from any direction and do it
1961 in a threadsafe way.
1962 Get base time in a threadsafe way too.
1963 Fix confusing debug in the change_state function.
1964 Various other small cleanups.
1966 * gst/gstelement.c: (gst_element_post_message):
1967 Fix very verbose bus posting code.
1969 * gst/gstpipeline.c: (gst_pipeline_class_init),
1970 (gst_pipeline_set_property), (gst_pipeline_get_property),
1971 (gst_pipeline_change_state):
1972 Small ARG_ -> PROP_ cleanup
1974 2005-10-08 Wim Taymans <wim@fluendo.com>
1976 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1977 Do a less CPU demanding EOS check because we can.
1979 2005-10-08 Wim Taymans <wim@fluendo.com>
1981 * libs/gst/dataprotocol/dataprotocol.c:
1982 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1983 (gst_dp_packet_from_event):
1984 * libs/gst/dataprotocol/dataprotocol.h:
1985 * libs/gst/dataprotocol/dp-private.h:
1986 It's about time we bump the version number.
1987 Since event types don't fit in the guint8 anymore describing
1988 the payload type, make payload type 16 bits wide.
1990 2005-10-08 Wim Taymans <wim@fluendo.com>
1992 * docs/design/part-TODO.txt:
1993 * docs/design/part-clocks.txt:
1994 * docs/design/part-events.txt:
1995 * docs/design/part-gstbin.txt:
1996 * docs/design/part-gstelement.txt:
1997 * docs/design/part-gstpipeline.txt:
1998 * docs/design/part-live-source.txt:
1999 * docs/design/part-messages.txt:
2000 * docs/design/part-overview.txt:
2001 * docs/design/part-states.txt:
2004 2005-10-08 Wim Taymans <wim@fluendo.com>
2008 Fix event quark registration.
2009 Add some space between events so we can insert them in the
2012 2005-10-08 Wim Taymans <wim@fluendo.com>
2014 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2015 (gst_base_sink_handle_buffer):
2022 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2023 (gst_queue_set_property), (gst_queue_get_property):
2025 Remove old unused properties.
2027 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2028 * docs/gst/gstreamer-sections.txt:
2031 * gst/gstminiobject.c:
2032 * gst/gstminiobject.h:
2036 lots of new docs and doc fixes
2038 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2040 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2042 * gst/gstregistry.c: (gst_registry_lookup_locked),
2043 (gst_registry_scan_path_level):
2044 * gst/gstregistryxml.c: (load_plugin):
2045 Only ever load one plugin for a given plugin basename.
2046 This ensures correct overriding of GST_PLUGIN_PATH over
2047 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2048 system installed plugins.
2050 2005-10-08 Wim Taymans <wim@fluendo.com>
2052 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2053 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2054 Prepare for doing QOS.
2056 2005-10-08 Wim Taymans <wim@fluendo.com>
2058 * check/gst/gstbin.c: (GST_START_TEST):
2059 * check/pipelines/cleanup.c: (GST_START_TEST):
2060 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2061 Allow new clock message too.
2063 2005-10-08 Wim Taymans <wim@fluendo.com>
2065 * gst/gstmessage.c: (gst_message_new_error),
2066 (gst_message_new_warning), (gst_message_new_tag),
2067 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2068 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2069 (gst_message_new_segment_start), (gst_message_new_segment_done),
2070 (gst_message_parse_state_changed),
2071 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2072 (gst_message_parse_new_clock):
2074 Also carry the clock in question.
2076 2005-10-08 Wim Taymans <wim@fluendo.com>
2078 * gst/gstmessage.c: (gst_message_new_custom),
2079 (gst_message_new_eos), (gst_message_new_error),
2080 (gst_message_new_warning), (gst_message_new_tag),
2081 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2082 (gst_message_new_new_clock), (gst_message_new_segment_start),
2083 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2084 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2087 Added clock related messages.
2089 * gst/gstpipeline.c: (gst_pipeline_change_state):
2090 Post message when the clock changed.
2092 * tools/gst-launch.c: (event_loop):
2095 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2097 * tools/gst-inspect.c: (print_element_properties_info):
2098 Can't pass NULL strings to g_print() on windows.
2100 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2103 * docs/gst/Makefile.am:
2104 * docs/gst/gstreamer-docs.sgml:
2105 * docs/gst/running.xml:
2106 * docs/version.entities.in:
2107 add a chapter on running GStreamer.
2108 document GST_DEBUG and GST_PLUGIN* env vars
2110 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2115 remove PLUGINS_BUILDDIR stuff
2116 * gst/gst.c: (init_post):
2117 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2119 remove, it was condescending and not needed
2121 2005-10-08 Wim Taymans <wim@fluendo.com>
2123 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2124 (gst_base_sink_handle_object), (gst_base_sink_event),
2125 (gst_base_sink_wait), (gst_base_sink_handle_event),
2126 (gst_base_sink_change_state):
2127 * gst/base/gstbasesink.h:
2128 Repost EOS message while going to PLAYING if still EOS.
2129 Make sure that when receiving a FLUSH_START we don't attempt
2130 to sync on the clock anymore.
2132 2005-10-08 Wim Taymans <wim@fluendo.com>
2134 * tools/gst-launch.c: (event_loop):
2135 Better message printout.
2137 2005-10-08 Wim Taymans <wim@fluendo.com>
2139 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2140 (gst_bin_child_proxy_get_children_count):
2141 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2142 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2143 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2144 (gst_child_proxy_set_valist):
2145 * gst/parse/grammar.y:
2146 Make ChildProxy threadsafe and fix mem leaks.
2148 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2150 * gst/gst.c: (init_post):
2151 debug the GST_PLUGIN_ env vars
2153 2005-10-08 Wim Taymans <wim@fluendo.com>
2155 * check/gst/gstbin.c: (GST_START_TEST):
2156 * check/gst/gstmessage.c: (GST_START_TEST):
2157 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2158 * gst/gstelement.c: (gst_element_commit_state),
2159 (gst_element_lost_state):
2160 * gst/gstmessage.c: (gst_message_new_state_changed),
2161 (gst_message_parse_state_changed):
2163 * tools/gst-launch.c: (event_loop):
2164 Added extra field to STATE_CHANGE message with the pending
2165 state, which will be different from the new state soon.
2167 2005-10-08 Wim Taymans <wim@fluendo.com>
2169 * gst/gstbus.c: (gst_bus_pop):
2171 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2172 Small cleanups and doc updates.
2174 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2176 * gst/gst.c: (init_pre):
2177 * gst/gstbin.c: (gst_bin_add_func):
2178 log distributing clocks and base time
2179 * gst/gstregistry.c: (gst_registry_add_plugin),
2180 (gst_registry_scan_path_level), (gst_registry_scan_path):
2181 clean up the debugging output a little
2182 * gst/gstutils.c: (gst_element_state_get_name):
2183 warn about a memleak (I've actually seen this be used, though
2184 it was probably a bug)
2186 2005-10-07 Wim Taymans <wim@fluendo.com>
2188 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2189 (gst_base_src_init), (gst_base_src_default_newsegment),
2190 (gst_base_src_newsegment), (gst_base_src_do_seek),
2191 (gst_base_src_loop), (gst_base_src_start):
2192 * gst/base/gstbasesrc.h:
2193 Make the newsegment event customizable by subclasses.
2195 2005-10-07 Wim Taymans <wim@fluendo.com>
2197 * gst/gstevent.c: (gst_event_new_buffersize),
2198 (gst_event_parse_buffersize):
2200 New event for future idea.
2202 2005-10-07 Andy Wingo <wingo@pobox.com>
2204 * gst/gstelement.c (gst_element_post_message): Doc update.
2206 * docs/gst/gstreamer-sections.txt: Update.
2208 * gst/gstmessage.c (gst_message_new_application): Made into a
2209 function like honest API calls.
2210 (gst_message_new_element): New message type.
2212 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2214 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2215 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2218 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2219 NO_PREROLL from gst_element_change_state to fall through.
2221 2005-10-07 Wim Taymans <wim@fluendo.com>
2223 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2224 (gst_ghost_pad_do_activate_push):
2225 Activating a ghostpad with no internal pad in push mode
2228 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2231 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2232 Fixes compilation on Windows.
2234 2005-10-07 Michael Smith <msmith@fluendo.com>
2236 * tools/gst-inspect.c:
2237 Print out feature and plugin count at the end when printing out
2240 2005-10-04 Michael Smith <msmith@fluendo.com>
2242 * gst/gsterror.c: (_gst_stream_errors_init):
2243 Add another error string used in a few existing plugins.
2246 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2247 * tools/gst-inspect.c: (print_element_info):
2248 When a feature disappears from a plugin (and the feature exists in
2249 the cached registry file), things went horribly wrong. This isn't a
2250 complete fix, we should actually be removing the 'missing' features
2251 from the features list when we load the actual plugin. That's not
2254 2005-10-04 Johan Dahlin <johan@gnome.org>
2256 * check/gst/gstiterator.c: (GST_START_TEST):
2257 * gst/gstbin.c: (gst_bin_iterate_elements),
2258 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2259 * gst/gstelement.c: (gst_element_iterate_pads):
2260 * gst/gstformat.c: (gst_format_iterate_definitions):
2261 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2262 (gst_iterator_new_list), (gst_iterator_filter):
2263 * gst/gstiterator.h:
2264 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2265 Add a GType to GstIterator, update callsites and tests.
2267 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2269 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2270 give events a chance to be handled by event probes when the pad
2273 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2275 * gst/gstevent.c: (gst_event_type_get_name),
2276 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2278 add string representations for event types
2280 2005-10-06 Wim Taymans <wim@fluendo.com>
2282 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2283 Don't use NULL pointers.
2285 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2287 * gst/gst_private.h:
2291 * gst/gstpluginfeature.c:
2292 widen the debug category in output to fit the biggest one we have
2293 add a bus category and use it
2294 play with the colors
2295 fix up some categories
2297 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2299 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2300 add push activation of sink ghost pads.
2301 Andye, please verify
2303 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2305 * gst/gstutils.c: (gst_element_link_pads):
2306 fix a bug in the case where neither element has a pad
2307 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2308 add a test for that case
2310 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2312 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2313 emit have-data before checking for peers. This allows
2314 for probe handlers to connect elements. This helps autopluggers.
2315 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2317 add six checks, linked/unlinked with no/true/false probe
2319 2005-10-04 Wim Taymans <wim@fluendo.com>
2321 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2322 (gst_fake_sink_event), (gst_fake_sink_preroll),
2323 (gst_fake_sink_render), (gst_fake_sink_change_state):
2324 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2325 (gst_fake_src_get_property), (gst_fake_src_create),
2326 (gst_fake_src_stop):
2327 * gst/elements/gstidentity.c: (gst_identity_stop):
2328 Protect last_message with lock.
2330 2005-10-04 Edward Hervey <edward@fluendo.com>
2333 Added precision in the comments for GST_FORMAT_DEFAULT
2335 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2337 * tools/gst-launch.c: (main):
2338 Don't try to run erroneous pipelines.
2340 2005-10-04 Julien MOUTTE <julien@moutte.net>
2342 * gst/gstbus.c: We don't need this header.
2344 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2349 === release 0.9.3 ===
2351 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2355 Releasing 0.9.3, "Unregistered"
2357 2005-10-03 Andy Wingo <wingo@pobox.com>
2359 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2360 whereby calling a pad's activatepush() function can start a thread
2361 that starts to push or pull before the pad gets the FLUSHING flag
2362 unset. Hack around it by holding the stream lock until the flag is
2363 set. Need to replace this with a proper solution. Together with
2364 the ghost pad fixes, this fixes mp3 playing/tagreading.
2366 * docs/design/part-gstghostpad.txt: Add a note about activation of
2367 proxy pads outside of ghost pads.
2369 * gst/gstghostpad.c: Implement the ghost pad activation design.
2371 2005-10-02 Andy Wingo <wingo@pobox.com>
2373 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2374 It is volatile, after all.
2376 * docs/design/part-gstghostpad.txt: Flesh out activation with
2379 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2382 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2385 Fix (unused) AM_CONDITIONAL tests.
2387 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2389 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2391 * gst/gstutils.c: (gst_pad_query_convert):
2392 Add assertion that makes sure src_val is >=0, just like
2393 gst_query_new_convert() has. (#315895)
2395 2005-09-30 Edward Hervey <edward@fluendo.com>
2397 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2398 Let's not iterate pads we're not interested in, it avoids getting
2399 sky-high refcounts on sinkpad.
2401 2005-09-30 Wim Taymans <wim@fluendo.com>
2403 * gst/gstelement.c: (gst_element_set_state),
2404 (gst_element_change_state):
2405 Small tweak, element in ASYNC remains ASYNC.
2407 2005-09-30 Wim Taymans <wim@fluendo.com>
2409 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2410 Only error is an error.
2412 * gst/gstbin.c: (gst_bin_change_state):
2415 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2416 Also call pad_block in pad alloc.
2418 * gst/gstutils.c: (gst_flow_get_name):
2421 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2423 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2424 (gst_base_src_get_range):
2425 Fix documentation typos. Add some more debug info.
2427 2005-09-29 David Schleef <ds@schleef.org>
2429 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2430 more end-user friendly.
2431 * tools/gst-inspect.c: (main): Check if command-line argument is
2432 a file and attempt to load that file as a plugin.
2434 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2436 * check/gst/gstbin.c:
2437 * check/states/sinks.c:
2438 fix tests for the new warning
2439 * check/gst/gstpipeline.c:
2440 add a test for pipeline and bus interaction
2442 elements should be NULL if they get disposed; add a warning if not
2444 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2447 for 2.6 refcounting, make debug log more correct by printing
2448 the actual refcounts at the time of swap (Wim)
2450 2005-09-29 Andy Wingo <wingo@pobox.com>
2452 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2453 removes signal watches previously added via
2454 gst_bus_add_signal_watch.
2455 (gst_bus_add_signal_watch): Don't return the source id, just store
2456 it on the bus if there wasn't an id already.
2458 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2459 add_signal_watch and remove_signal_watch.
2461 2005-09-29 Edward Hervey <edward@fluendo.com>
2463 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2464 Better if we actually iterate the list :)
2466 2005-09-29 Wim Taymans <wim@fluendo.com>
2468 * check/gst/gstbin.c: (GST_START_TEST):
2469 Change for new bus API.
2471 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2472 (send_messages), (GST_START_TEST), (gstbus_suite):
2473 Change for new bus signal API.
2475 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2476 (gst_bus_source_prepare), (gst_bus_source_check),
2477 (gst_bus_create_watch), (gst_bus_add_watch_full),
2478 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2479 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2481 Remove support for multiple GSources operating on different
2482 message types as it is too complex and unneeded when using
2484 Added support for receiving signals from the bus.
2486 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2488 * docs/libs/tmpl/gstdataprotocol.sgml:
2489 * docs/manual/advanced-dataaccess.xml:
2490 * gst/elements/gstcapsfilter.c:
2492 rename filter-caps to caps property
2494 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2496 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2497 More robust fraction string parsing.
2499 * docs/pwg/appendix-porting.xml:
2500 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2502 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2504 * gst/gstcaps.c: (gst_caps_do_simplify):
2505 Thou shalt not free a structure and then continue using it
2506 in the next loop iteration.
2508 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2510 Add test case for caps simplification.
2512 2005-09-29 Wim Taymans <wim@fluendo.com>
2514 * check/gst/gstbin.c: (GST_START_TEST):
2517 2005-09-29 Wim Taymans <wim@fluendo.com>
2519 * check/gst/gstbin.c: (GST_START_TEST):
2522 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2523 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2524 (find_element), (gst_bin_sort_iterator_next),
2525 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2526 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2527 (gst_bin_change_state), (gst_bin_dispose):
2528 A bin does not have a bus, it gets the bus from the parent.
2530 * gst/gstelement.c: (gst_element_requires_clock),
2531 (gst_element_provides_clock), (gst_element_is_indexable),
2532 (gst_element_is_locked_state), (gst_element_change_state),
2533 (gst_element_set_bus_func):
2536 * gst/gstpipeline.c: (gst_pipeline_class_init),
2537 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2538 The pipeline provides a bus.
2540 2005-09-28 Johan Dahlin <johan@gnome.org>
2542 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2543 gst_structure_get_enum instead of gst_structure_get_int
2545 * gst/gststructure.c (gst_structure_get_enum): Impl.
2547 * gst/gststructure.h (gst_structure_get_enum): Add
2549 * docs/gst/gstreamer-sections.txt: Ditto
2551 * gst/gstmessage.c (gst_message_new_state_changed): Use
2552 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2553 which does introspection.
2554 Reviewed by Christian Schaller
2556 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2558 * gst/gstinfo.c: (gst_debug_log_default):
2559 don't do dummy g_strdup()s
2560 * libs/gst/controller/gstcontroller.c:
2561 (on_object_controlled_property_changed),
2562 (gst_controlled_property_new), (gst_controller_new_valist),
2563 (gst_controller_new_list),
2564 (gst_controller_remove_properties_valist), (gst_controller_set),
2565 (gst_controller_get), (gst_controller_sync_values),
2566 (gst_controller_get_value_array), (_gst_controller_class_init),
2567 (gst_controller_get_type):
2568 * libs/gst/controller/gstcontroller.h:
2569 * libs/gst/controller/gstinterpolation.c:
2570 (gst_controlled_property_find_timed_value_node):
2571 convert // to /**/ comments
2573 2005-09-28 Wim Taymans <wim@fluendo.com>
2575 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2576 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2577 (gst_bus_sync_signal_handler):
2579 Added async-message and sync-message signals to the bus.
2580 Added helper BusFunc to emit signals for all posted messages.
2582 * gst/gstmessage.c: (gst_message_type_get_name),
2583 (gst_message_type_to_quark), (gst_message_get_type):
2585 Register quarks for message names.
2587 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2589 * docs/libs/gstreamer-libs-sections.txt:
2590 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2591 (gst_controller_new_list):
2592 * libs/gst/controller/gstcontroller.h:
2593 added another constructor for language bindings
2595 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2597 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2601 * gst/gstinfo.c: (_gst_debug_init):
2602 slightly more readable color for refcount debugging
2604 2005-09-28 Wim Taymans <wim@fluendo.com>
2606 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2607 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2608 (find_element), (gst_bin_sort_iterator_next),
2609 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2610 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2611 (gst_bin_change_state), (gst_bin_dispose):
2612 Small doc fixes. get_clock -> provide_clock.
2614 * gst/gstelement.c: (gst_element_class_init),
2615 (gst_element_provides_clock), (gst_element_provide_clock),
2616 (gst_element_get_clock), (gst_element_commit_state),
2617 (gst_element_lost_state):
2619 Make get/set_clock() symetric. Add provide_clock vmethod since
2620 that is actually what this function does.
2622 * gst/gstpipeline.c: (gst_pipeline_class_init),
2623 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2624 (gst_pipeline_get_clock):
2625 get_clock -> provide_clock.
2627 2005-09-28 Andy Wingo <wingo@pobox.com>
2629 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2630 lieu of real docs...
2632 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2634 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2636 * gst/elements/gstcapsfilter.c:
2637 * gst/elements/gstfakesink.c:
2638 * gst/elements/gstfakesrc.c:
2639 * gst/elements/gstfdsink.c:
2640 * gst/elements/gstfdsrc.c:
2641 * gst/elements/gstfilesink.c:
2642 * gst/elements/gstfilesrc.c:
2643 * gst/elements/gstidentity.c:
2644 * gst/elements/gsttee.c:
2645 * gst/elements/gsttypefindelement.c:
2646 Make element details static.
2648 2005-09-28 Wim Taymans <wim@fluendo.com>
2650 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2651 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2652 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2653 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2654 (gst_bin_change_state), (gst_bin_dispose):
2655 Some documentation updates.
2656 Clean up dispose handlers.
2658 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2659 * gst/gstpad.c: (gst_pad_dispose):
2660 Clean up dispose handler.
2662 * gst/gstpipeline.c: (gst_pipeline_change_state):
2663 Removed spurious UNLOCK.
2665 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2667 * docs/gst/gstreamer-sections.txt:
2668 * gst/base/gstbasesrc.h:
2673 * gst/gstpipeline.c:
2674 * gst/gstpipeline.h:
2677 added two new functions to the docs
2678 documents all undocumented GstXXXFlags
2679 completed some incomplete docs
2681 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2683 * gst/gstbin.c: (gst_bin_dispose):
2684 * gst/gstelement.c: (gst_element_dispose):
2685 remove now useless and leaky resurrection code in dispose
2686 * gst/base/gstbasesrc.c: (gst_base_src_init):
2687 * gst/gstelementfactory.c: (gst_element_factory_create):
2688 * gst/gstobject.c: (gst_object_set_parent):
2691 2005-09-27 Wim Taymans <wim@fluendo.com>
2693 * docs/design/part-TODO.txt:
2696 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2697 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2698 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2699 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2700 (gst_bin_change_state):
2702 Remove element variable, we keep element info in the iterator now.
2704 2005-09-27 Andy Wingo <wingo@pobox.com>
2706 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2709 2005-09-27 Wim Taymans <wim@fluendo.com>
2711 * check/gst/gstbin.c: (GST_START_TEST):
2712 Enable check that works now.
2714 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2715 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2716 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2717 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2718 (gst_bin_change_state):
2720 Redid the state change algorithm using a topological sort algo.
2721 Handles all cases correctly.
2722 Exposed iterator for state change order.
2725 Temp storage for state changes. Need to get rid of this soon.
2727 2005-09-27 Wim Taymans <wim@fluendo.com>
2729 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2730 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2731 (link_fold_func), (gst_pad_proxy_setcaps):
2732 Leak fixes, the fold functions need to unref the passed object and
2733 _get_parent_*() returns ref to parent.
2735 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2737 * check/gst/gstbuffer.c: (test_make_writable):
2738 Plug leak in test case and fix 'make check-valgrind'
2740 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2742 * gst/gstbuffer.c: (gst_subbuffer_init):
2743 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2744 works correctly in all circumstances (we could have just copied
2745 the parent buffer's readonly flag, but conceptually it seems
2746 cleaner to mark all subbuffers as read-only). (based on patch
2747 by Alessandro Decina, #314710).
2749 * check/gst/gstbuffer.c: (create_read_only_buffer),
2750 (test_make_writable), (test_subbuffer_make_writable),
2752 Add some tests for gst_buffer_make_writable().
2754 2005-09-27 Wim Taymans <wim@fluendo.com>
2756 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2757 use gst_object_has_ancestor().
2759 * gst/gstobject.c: (gst_object_has_ancestor):
2761 gst_object_has_ancestor() copied from gstbin.c as it is a
2764 * tests/instantiate/create.c: (create_all_elements):
2765 * tests/lat.c: (handoff_src), (handoff_sink):
2766 * tests/sched/runxml.c: (main):
2767 * tests/seeking/seeking1.c: (main):
2768 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2770 Fix compilation of some tests.
2772 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2775 Remove comment. GST_TYPE_G_ERROR is here to stay,
2776 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2779 2005-09-26 Wim Taymans <wim@fluendo.com>
2781 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2782 Added check that shows error in state change order.
2784 2005-09-26 Wim Taymans <wim@fluendo.com>
2786 * gst/gstbin.c: (gst_bin_change_state):
2787 Make state change function use 3 queues again, we were
2788 adding elements in the wrong order.
2790 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2793 * gst/gstpad.c: (gst_pad_dispose):
2794 Added some debug info first.
2796 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2798 * docs/design/draft-push-pull.txt:
2799 * docs/design/part-events.txt:
2800 * docs/design/part-overview.txt:
2801 * docs/design/part-scheduling.txt:
2802 Replace all _pull_region() with _pull_range()
2804 2005-09-26 Andy Wingo <wingo@pobox.com>
2806 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2808 * check/gst-libs/controller.c: Update for controller api change.
2811 * tests/Makefile.am:
2812 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2813 over by GLib bug 118439.
2815 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2816 routines to a function.
2818 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2820 * libs/gst/controller/gsthelper.c:
2821 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2822 (gst_object_sync_values): Renamed from sink_values. Ugh.
2824 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2826 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2827 Renamed from controller_key, as it is exported.
2829 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2831 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2836 * gst/gstpadtemplate.h:
2839 * gst/gstqueryutils.c:
2840 * gst/gstqueryutils.h:
2841 remove queryutils headers after moving the two used functions
2842 to gstquery. also fixes build problem for gstsiddec
2844 2005-09-26 Michael Smith <msmith@fluendo.com>
2846 * tools/gst-launch.1.in:
2847 Correct documentation in manpage of debug syntax
2849 2005-09-26 Wim Taymans <wim@fluendo.com>
2851 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2852 (gst_base_src_is_seekable), (gst_base_src_change_state):
2853 Some more debugging info.
2855 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2857 * docs/gst/gstreamer-sections.txt:
2858 * gst/base/gstbasetransform.h:
2862 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2864 * docs/gst/.cvsignore:
2865 * docs/gst/tmpl/.cvsignore:
2866 * docs/gst/tmpl/gstpipeline.sgml:
2867 * docs/gst/tmpl/gstplugin.sgml:
2868 * gst/gstpipeline.c:
2871 inlined the last two docs files
2872 removed the tmpl directory from cvs (no more conflicts here!)
2874 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2876 * docs/gst/gstreamer-sections.txt:
2877 * docs/gst/tmpl/.cvsignore:
2878 * docs/gst/tmpl/gstpad.sgml:
2879 * docs/gst/tmpl/gstpadtemplate.sgml:
2881 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2882 (gst_pad_finalize), (gst_pad_set_pad_template):
2884 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2885 (gst_pad_template_class_init), (gst_pad_template_init),
2886 (gst_pad_template_dispose), (name_is_valid),
2887 (gst_static_pad_template_get), (gst_pad_template_new),
2888 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2889 (gst_pad_template_pad_created):
2890 * gst/gstpadtemplate.h:
2891 inlined two more docs
2892 factored gstpadtemplate out of gstpad
2894 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2896 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2897 (test_children_state_change_order_semi_sink):
2898 Fix test case: we can't rely on a fixed state change order when
2899 going from READY => PAUSED because the sink might commit its
2900 new state first when the first buffer created by the source
2901 reaches the sink before the source has finished its change state.
2902 (Test case still fails at times, see #316856, comment 5 onwards)
2904 2005-09-24 Wim Taymans <wim@fluendo.com>
2906 * docs/design/part-events.txt:
2907 * docs/design/part-gstbus.txt:
2908 * docs/design/part-gstpipeline.txt:
2909 * docs/design/part-messages.txt:
2910 * docs/design/part-overview.txt:
2911 * docs/design/part-segments.txt:
2918 * gst/gstiterator.c:
2919 Various documentation updates.
2921 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2924 Well, that's embarassing. Luckily we weren't using
2925 GST_CLOCK_DIFF anywhere.
2927 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2929 * common/gtk-doc.mak:
2930 don't fail on building XML, FC4 slave shows a bunch of doc
2931 missing bits that I don't get
2933 * gst/gstpipeline.c:
2934 * gst/gststructure.c:
2937 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2939 * docs/design/part-gstbin.txt:
2940 * docs/design/part-gstbus.txt:
2942 Add blurb about how the bus goes into flushing mode and
2943 drops all messages when its bin goes from READY into NULL
2946 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2948 * docs/gst/gstreamer-sections.txt:
2949 * gst/gststructure.c: (gst_structure_get_clock_time):
2950 * gst/gststructure.h:
2951 add a method to get a GstClockTime out of a structure
2953 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2955 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2956 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2957 Added test to check state change order in bins (can still be made
2958 to fail here under heavy disk load; bails out with 'Push on pad
2959 fakesink:sink0, but it was not activated in push mode').
2961 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2962 Fix state change order when there is only a semi sink (#316856)
2964 * gst/gstbus.c: (gst_bus_class_init):
2965 Use _class_peek_parent(), not _class_ref(); fix docs to say
2966 'default main context' instead of 'mainloop' where that is
2969 * gst/gstelement.c: (gst_element_commit_state),
2970 (gst_element_set_state):
2971 Fix typos in debug messages
2973 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2976 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2977 * gst/gstpluginfeature.c:
2980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2981 change an assert into an error until it gets fixed properly
2983 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2985 * docs/gst/gstreamer-sections.txt:
2986 * docs/gst/tmpl/.cvsignore:
2987 * docs/gst/tmpl/gstelement.sgml:
2988 * docs/gst/tmpl/gstinfo.sgml:
2989 * docs/gst/tmpl/gstobject.sgml:
2994 * gst/gstobject.c: (gst_object_class_init):
2996 inlined 3 more biiiig doc files and added some missing docs on the fly
2998 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3000 * check/gst/.cvsignore:
3001 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3002 * gst/gstregistryxml.c: (load_plugin),
3003 (gst_registry_xml_save_plugin):
3004 put back source in registry. add checks for find_plugin.
3005 * testsuite/states/bin.c: (assert_state), (empty_bin),
3006 (test_adding_one_element), (main):
3007 * testsuite/states/locked.c: (main):
3008 some compile/run fixes
3010 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3012 * check/gst/gstvalue.c: (GST_START_TEST):
3013 fix leaks in the test itself
3015 2005-09-22 Wim Taymans <wim@fluendo.com>
3017 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3018 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3019 (gst_base_sink_query):
3020 Prepare for more accurate position reporting and query
3023 * gst/gstelement.c: (gst_element_send_event),
3024 (gst_element_set_state):
3027 2005-09-22 Wim Taymans <wim@fluendo.com>
3029 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3030 (gst_query_parse_segment):
3033 Add segment query for future use.
3035 2005-09-22 Wim Taymans <wim@fluendo.com>
3037 * gst/gstbin.c: (gst_bin_add_func):
3038 Some more debug info.
3040 * gst/gstelement.c: (gst_element_send_event):
3044 Don't know how flags got broken.
3049 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3051 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3052 Add simplistic test suite for GST_TYPE_DATE serialisation and
3055 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3057 * docs/gst/gstreamer-sections.txt:
3058 * gst/gststructure.c: (gst_structure_set_valist),
3059 (gst_structure_get_date):
3060 * gst/gststructure.h:
3061 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3062 (gst_date_copy), (gst_value_compare_date),
3063 (gst_value_serialize_date), (gst_value_deserialize_date),
3064 (gst_value_transform_date_string),
3065 (gst_value_transform_string_date), (_gst_value_initialize):
3067 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3068 bunch of utility functions along with a hack that checks that
3069 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3070 is required. Part of the grand scheme in #170777.
3072 2005-09-22 Andy Wingo <wingo@pobox.com>
3074 * gst/gstconfig.h.in: Psych out gtk-doc.
3076 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3078 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3080 * tools/gst-inspect.c (print_element_list): Plug some
3081 inconsequential leaks.
3083 * gst/gstregistry.c (gst_registry_get_default): Doc.
3085 * check/gst/gstplugin.c:
3086 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3087 * gst/gstelementfactory.c (gst_element_factory_create):
3088 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3091 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3092 (gst_plugin_feature_load): Doc, don't eat refs.
3094 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3095 (gst_plugin_list_free): Doc.
3096 (gst_plugin_load_file): Doc updates.
3098 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3099 accessors returning refcounted objects, return a ref.
3101 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3102 accessor for caps. IDEMPOTENCE. Oh yes.
3104 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3106 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3108 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3109 (_gst_debug_register_funcptr):
3110 Add mutex to serialise access to the hash table with
3111 the function pointer => function name string mapping;
3112 make that hash table static scope (#316809).
3114 * gst/registries/.cvsignore:
3115 Remove left-over file.
3117 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3119 * docs/pwg/appendix-porting.xml:
3120 And something about newsegment events and caps-on-buffers to
3121 the porting guide (feel free to improve).
3123 2005-09-21 Andy Wingo <wingo@pobox.com>
3125 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3126 data and event probes on the same pad.
3127 (test_buffer_probe_once): Test that removing probes from within
3128 the probe functions works.
3130 2005-09-21 Andy Wingo <wingo@pobox.com>
3132 * check/gst/gstutils.c: New file.
3133 (test_buffer_probe_n_times): A simple buffer probe test. More to
3136 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3137 have-data::buffer, not have-data.
3138 (gst_pad_add_event_probe): Likewise for have-data::event.
3139 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3140 peer' isn't quite right yet though.
3141 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3142 (gst_pad_remove_data_probe): Change to take the guint handler_id
3143 as their arg, not the function+data, which is more glib-like.
3145 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3146 the signal emission to indicate if the data is a buffer or an
3148 (gst_pad_get_type): Initialize buffer and event quarks.
3149 (gst_pad_class_init): have-data is now a detailed signal, yes it
3152 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3154 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3155 * gst/gstutils.c: (gst_util_set_value_from_string),
3156 (gst_util_set_object_arg):
3157 Don't put functional code in g_return_if_fail() or
3158 g_return_val_if_fail() statements, otherwise things will
3159 break when G_DISABLE_CHECKS is defined during compilation.
3161 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3163 * docs/gst/tmpl/.cvsignore:
3164 * docs/gst/tmpl/gstvalue.sgml:
3167 inlied another one and added some obvious docs
3169 2005-09-21 Wim Taymans <wim@fluendo.com>
3171 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3172 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3173 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3174 (gst_fdsrc_get_property), (gst_fdsrc_create):
3175 * gst/elements/gstfdsrc.h:
3176 Properly implement fdsrc. Removed signal and timeout,
3177 better implemented somewhere else.
3179 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3181 * docs/gst/tmpl/.cvsignore:
3182 * docs/gst/tmpl/gstimplementsinterface.sgml:
3183 * gst/gstinterface.c:
3186 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3188 * docs/gst/gstreamer-sections.txt:
3189 * docs/gst/tmpl/.cvsignore:
3190 * docs/gst/tmpl/gstenumtypes.sgml:
3191 remove obsolete doc file
3193 2005-09-21 David Schleef <ds@schleef.org>
3195 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3196 little beer, fix a little leak.
3198 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3200 * docs/gst/gstreamer-docs.sgml:
3201 * docs/gst/gstreamer-sections.txt:
3202 * docs/gst/tmpl/.cvsignore:
3207 * gst/gstindex.c: (gst_index_class_init):
3209 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3210 (gst_index_factory_class_init), (gst_index_factory_init),
3211 (gst_index_factory_finalize), (gst_index_factory_new),
3212 (gst_index_factory_destroy), (gst_index_factory_find),
3213 (gst_index_factory_create), (gst_index_factory_make):
3214 * gst/gstindexfactory.h:
3215 * gst/gstpluginfeature.c:
3216 * gst/gstpluginfeature.h:
3217 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3218 more docs inlined, splitted gstindex.{c,h}
3220 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3222 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3225 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3227 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3228 Set sync to FALSE by default.
3230 2005-09-20 Wim Taymans <wim@fluendo.com>
3232 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3233 (gst_base_sink_init):
3234 Make sync property settable from subclass.
3236 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3237 (gst_fake_sink_change_state):
3238 Set sync to FALSE by default.
3240 2005-09-20 Wim Taymans <wim@fluendo.com>
3242 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3243 * tools/gst-launch.c: (main):
3244 The timeout handler should have lower priority than the source
3245 so we don't timeout before popping a message with 0 timeout.
3246 Dump error messages after failed state change.
3248 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3250 * tools/gst-inspect.c: (print_element_properties_info):
3253 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3255 * check/gst/gstevent.c:
3256 * gst/elements/gstfakesink.c:
3257 * gst/elements/gstfakesink.h:
3258 remove the sync property from fakesink.
3259 has the side effect of setting sync TRUE
3260 for fakesink, which is a change. Anyone who knows how
3261 to fix this nicely in a GObject-y way, feel free.
3263 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3265 * docs/gst/gstreamer-docs.sgml:
3266 remove probe refsection
3268 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3270 * check/Makefile.am:
3271 disable valgrinding the controller test again
3272 * docs/gst/gstreamer-sections.txt:
3273 update for api-changes
3275 2005-09-20 Wim Taymans <wim@fluendo.com>
3277 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3278 (gst_base_sink_set_property), (gst_base_sink_get_property),
3279 (gst_base_sink_do_sync):
3280 * gst/base/gstbasesink.h:
3281 Added sync property to basesink to disable clock sync.
3283 2005-09-20 Andy Wingo <wingo@pobox.com>
3285 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3286 eating the caller's refcount.
3288 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3289 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3292 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3293 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3294 of GLib 2.8 public, so we can know which refcount to check in
3297 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3298 (gst_object_init): Only set the gst refcount if we're going ahead
3299 with the refcount hack.
3301 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3303 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3304 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3305 more leaks plumbed, added more debug-logging
3309 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3312 remove include of gstmemchunk.h
3314 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3316 * gst/gstclock.c: (_gst_clock_id_free):
3317 Commit from the Political Party For More Atomic CVS Commits,
3318 so that people don't waste too much of their day fishing
3319 out obvious leaks out of massive commits.
3320 Oh, and fix a pretty damn obvious leak in the memchunk
3323 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3325 * check/Makefile.am:
3326 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3327 plug mem-leak, re-add to valgrindable tests
3329 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3332 unbreak the build for those who have chronic arthritis
3333 and typing "make check" is just too taxing on the hands
3335 2005-09-20 Andy Wingo <wingo@pobox.com>
3337 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3338 really want it out, you should fix plugins at the same time.
3340 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3343 * docs/gst/gstreamer-sections.txt:
3345 added missing symbols to api docs
3346 disable ref-count hack if we have glib >= 2.8
3348 2005-09-19 David Schleef <ds@schleef.org>
3350 * docs/gst/Makefile.am: Ignore a few more internal headers
3351 * docs/gst/gstreamer-docs.sgml: Remove old sections
3352 * docs/gst/gstreamer-sections.txt: Remove old sections
3353 * docs/gst/tmpl/gstobject.sgml: update
3354 * docs/gst/tmpl/gstplugin.sgml: update
3355 * docs/gst/tmpl/gstpluginfeature.sgml: update
3356 * docs/random/ds/0.9-suggested-changes: update.
3357 * gst/Makefile.am: remove memchunk and trashstack, since they're
3359 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3360 * gst/gst.h: don't include some headers
3361 * gst/gstchildproxy.c: add gstmarshal.h
3362 * gst/gstclock.c: Don't use memchunks
3363 * gst/gstminiobject.c: Add some docs
3364 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3365 * gst/gstobject.h: same
3366 * gst/gstplugin.c: include gstmacros.h
3367 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3368 * gst/gstquery.c: don't use memchunks
3369 * gst/gstregistry.c: rename gst_registry_deinit()
3370 * gst/gstregistry.h: same
3372 2005-09-19 David Schleef <ds@schleef.org>
3374 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3375 * docs/libs/gstreamer-libs-sections.txt:
3376 * docs/libs/tmpl/gstgetbits.sgml:
3377 * docs/libs/tmpl/gstputbits.sgml:
3379 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3381 * win32/gstenumtypes.c:
3382 * win32/gstenumtypes.h:
3385 2005-09-19 Wim Taymans <wim@fluendo.com>
3387 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3388 Automatically PAUSE and RESUME a pipeline when a flushing seek
3391 2005-09-19 Andy Wingo <wingo@pobox.com>
3393 * gst/gstregistry.h: Spacing fixen.
3395 2005-09-19 Wim Taymans <wim@fluendo.com>
3397 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3398 Handle state change failure more correctly.
3400 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3402 * check/Makefile.am:
3403 * check/pipelines/cleanup.c: (run_pipeline):
3404 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3406 enable cleanup again after fixing the leak
3408 some more info on docs
3410 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3412 * check/Makefile.am:
3413 re-enable tests now that leaks are plugged
3415 * check/gst/gstbin.c:
3416 * check/gst/gstpipeline.c:
3417 add some more tests while fixing leaks
3419 make sure binaries are uptodate when valgrinding/gdbing
3421 * gst/gstelementfactory.c:
3422 remove a ref too many, and add a FIXME for when we get
3423 round to disposing of classes
3425 fix the refcounting when loading a plugin from a file and
3426 the code pretends that the pointer is the same even though
3427 of course it can change
3428 * gst/gstpluginfeature.c:
3429 unref plugins marked cached (a bit confusing as a name)
3430 as the docs state should be done
3431 various doc additions to explain refcounting
3432 * gst/gstregistry.c:
3433 * gst/gstregistryxml.c:
3436 2005-09-19 Wim Taymans <wim@fluendo.com>
3438 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3439 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3440 (send_messages), (GST_START_TEST), (gstbus_suite):
3441 * check/gst/gstpipeline.c: (GST_START_TEST):
3442 * check/pipelines/cleanup.c: (run_pipeline):
3443 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3445 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3446 (gst_bus_source_check), (gst_bus_source_dispatch),
3447 (gst_bus_create_watch), (gst_bus_add_watch_full),
3448 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3450 * tools/gst-launch.c: (event_loop):
3451 * tools/gst-md5sum.c: (event_loop):
3452 GstBusHandler -> GstBusFunc, return value has the same meaning as
3453 any other GSource (FALSE == remove source).
3454 _add_watch() and _add_watch_full() now take a MessageType mask to
3455 only handle specific types of messages.
3456 _poll() returns the GstMessage instead of the message type to avoid
3458 _have_pending() takes a MessageType mask now too.
3459 Added testsuite for multiple bus watches.
3460 Fix testsuites and applications for new bus API.
3462 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3464 * check/Makefile.am:
3465 mark a bunch of the tests as to fix until we fix them
3467 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3470 use GST_PLUGIN settings for valgrind tests as well, so we're
3471 valgrinding the correct thing
3472 * gst/gst.c: (init_post):
3475 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3477 * gst/gst.c: (init_post), (gst_deinit):
3478 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3479 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3480 * gst/gstindex.c: (gst_index_factory_class_init),
3481 (gst_index_factory_finalize):
3482 * gst/gstobject.c: (gst_object_dispose):
3483 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3484 (gst_plugin_load_file), (gst_plugin_desc_free):
3485 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3486 (gst_plugin_feature_finalize):
3487 * gst/gstregistry.c: (gst_registry_class_init),
3488 (gst_registry_init), (gst_registry_finalize),
3489 (gst_registry_get_default), (gst_registry_deinit):
3490 * gst/gstregistry.h:
3491 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3492 various cleanups and memleak plugging. make valgrind is happy now.
3494 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3497 add a check-valgrind target
3499 2005-09-18 David Schleef <ds@schleef.org>
3501 * tools/gst-inspect.c: Revert the GOption code.
3503 2005-09-17 David Schleef <ds@schleef.org>
3505 * check/Makefile.am: Fix environment variables.
3506 * check/gst/gstplugin.c: Fix for API changes.
3507 * tools/gst-inspect.c: Fix for API changes.
3508 * tools/gst-xmlinspect.c: Fix for API changes.
3509 * gst/gstelementfactory.c:
3512 * gst/gstpluginfeature.c:
3513 * gst/gstpluginfeature.h:
3514 * gst/gstregistry.c:
3515 * gst/gstregistry.h:
3516 * gst/gstregistryxml.c:
3517 * gst/gsttypefind.c:
3518 * gst/gsttypefindfactory.c:
3519 * gst/indexers/gstfileindex.c:
3520 * gst/indexers/gstmemindex.c:
3521 * gst/schedulers/Makefile.am:
3522 Change registry to keep track of both plugins and features,
3523 removing the feature tracking from plugins themselves.
3525 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3527 * check/Makefile.am:
3528 * tools/gst-register.1.in:
3531 2005-09-15 David Schleef <ds@schleef.org>
3533 * check/gst/gstplugin.c:
3534 * gst/gstelementfactory.c:
3536 * gst/gstpluginfeature.c:
3537 * gst/gstregistry.c:
3538 Getting tired of debugging. Disabled all the unreffing of
3539 plugins and features, which fixes the segfaults, but of
3540 course leaks like crazy. At least playbin works.
3542 2005-09-15 David Schleef <ds@schleef.org>
3544 * check/gst/gstplugin.c: (register_check_elements),
3545 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3547 * gst/elements/gsttypefindelement.c: Fix refcounting.
3548 * gst/gsttypefind.c:
3549 * gst/gsttypefindfactory.c:
3550 * gst/gsttypefindfactory.h:
3552 2005-09-15 David Schleef <ds@schleef.org>
3554 * gst/gstindex.c: get refcounting correct.
3555 * gst/gstregistry.c: Handle the case where a feature/plugin is
3558 2005-09-15 David Schleef <ds@schleef.org>
3560 * check/Makefile.am:
3561 * check/gst/gstplugin.c: Add test
3562 * gst/gstplugin.c: Fix problems noticed by testsuite
3564 * gst/gstregistry.c:
3565 * gst/gstregistry.h:
3567 2005-09-15 David Schleef <ds@schleef.org>
3569 * gst/gstplugin.c: Implement semi-decent recounting and locking
3570 in plugins and plugin features.
3572 * gst/gstpluginfeature.c:
3573 * gst/gstpluginfeature.h:
3574 * gst/gstregistry.c:
3576 2005-09-15 Michael Smith <msmith@fluendo.com>
3578 * gst/gstregistry.c: (gst_registry_get_feature_list):
3579 Implement this. Makes oggdemux work; decodebin still broken.
3581 2005-09-14 David Schleef <ds@schleef.org>
3583 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3585 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3586 * gst/check/Makefile.am:
3587 * libs/gst/controller/Makefile.am:
3588 * libs/gst/dataprotocol/Makefile.am:
3590 2005-09-14 David Schleef <ds@schleef.org>
3592 * configure.ac: Remove getbits library. Nothing uses it, and
3593 it should be in something like liboil if someone did want
3595 * libs/gst/Makefile.am:
3596 * libs/gst/getbits/Makefile.am:
3597 * libs/gst/getbits/gbtest.c:
3598 * libs/gst/getbits/getbits.c:
3599 * libs/gst/getbits/getbits.h:
3600 * libs/gst/getbits/gstgetbits_generic.c:
3601 * libs/gst/getbits/gstgetbits_i386.s:
3602 * libs/gst/getbits/gstgetbits_inl.h:
3604 2005-09-14 David Schleef <ds@schleef.org>
3606 * gst/Makefile.am: Dist glib-compat.h
3608 2005-09-14 David Schleef <ds@schleef.org>
3610 * configure.ac: Remove gst/registries, since it's no longer used.
3611 * gst/registries/Makefile.am:
3612 * gst/registries/gstlibxmlregistry.c:
3613 * gst/registries/gstlibxmlregistry.h:
3614 * gst/registries/gstxmlregistry.c:
3615 * gst/registries/gstxmlregistry.h:
3616 * gst/registries/registrytest.c:
3618 2005-09-14 David Schleef <ds@schleef.org>
3620 * gst/glib-compat.h:
3621 * gst/gstregistryxml.c:
3622 Convergence is near. Seriously.
3624 2005-09-14 David Schleef <ds@schleef.org>
3626 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3627 * gst/glib-compat.h:
3628 Attempt #4 to appease the buildbots.
3630 2005-09-14 David Schleef <ds@schleef.org>
3632 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3635 2005-09-14 David Schleef <ds@schleef.org>
3637 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3640 2005-09-14 David Schleef <ds@schleef.org>
3642 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3645 2005-09-14 David Schleef <ds@schleef.org>
3647 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3648 * gst/glib-compat.h: Add some functions that are in newer versions
3649 of glib than we care to require.
3650 * gst/gstregistryxml.c: Use them.
3652 2005-09-14 David Schleef <ds@schleef.org>
3654 * po/POTFILES.in: remove gst-register.c
3656 2005-09-14 David Schleef <ds@schleef.org>
3658 * docs/gst/gstreamer-docs.sgml:
3659 * docs/gst/gstreamer-sections.txt:
3660 * docs/gst/gstreamer.types:
3661 * docs/gst/tmpl/gstelement.sgml:
3662 * docs/gst/tmpl/gstplugin.sgml:
3663 * docs/gst/tmpl/gstpluginfeature.sgml:
3664 Documentation updates for registry changes.
3666 2005-09-14 David Schleef <ds@schleef.org>
3668 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3669 because we don't require glib-2.8.
3671 2005-09-14 David Schleef <ds@schleef.org>
3673 * gst/gstregistryxml.c: Added. Essentially moved out of the
3674 registries directory.
3676 2005-09-14 David Schleef <ds@schleef.org>
3678 * check/Makefile.am:
3679 * check/generic/states.c:
3683 * gst/gst_private.h:
3684 * gst/gstelementfactory.c:
3689 * gst/gstpluginfeature.c:
3690 * gst/gstpluginfeature.h:
3691 * gst/gstregistry.c:
3692 * gst/gstregistry.h:
3693 * gst/gstregistrypool.c: remove
3694 * gst/gstregistrypool.h: remove
3695 * gst/gsttypefind.c:
3696 * gst/gsttypefindfactory.c:
3698 * tools/Makefile.am:
3699 * tools/gst-compprep.c:
3700 * tools/gst-inspect.c:
3701 * tools/gst-register.c: remove
3702 * tools/gst-xmlinspect.c:
3703 Registry rewrite. Changes registry from being a file created
3704 by a tool into a simple cache file created automatically by
3705 libgstreamer. Removed gst-register (because it's no longer
3706 needed). Remove registry pools, because we only have one
3707 registry implementation (XML). Fix up other subsystems as
3710 2005-09-13 Michael Smith <msmith@fluendo.com>
3712 * gst/gstconfig.h.in:
3713 Don't Use windows linking attributes for MinGW. Fixes #316157
3715 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3717 * gst/gstutils.c: (set_state_async_thread_func),
3718 (gst_element_set_state_async):
3719 Apparently people think it's better if this function doesn't
3720 try to set the state to whatever state was asked for on the first
3721 call to this function for any object. Seriously.
3723 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3725 * check/gst/gstpipeline.c: (GST_START_TEST):
3726 * docs/gst/gstreamer-sections.txt:
3727 * gst/gstutils.c: (set_state_async_thread_func),
3728 (gst_element_set_state_async):
3730 add a "gst_element_set_state_async" method that
3731 sets the state and starts a thread to make sure the state
3732 change completes as best as it can
3734 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3736 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3737 codify design+behaviour in testsuite after discussion
3739 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3741 * docs/gst/tmpl/gstelement.sgml:
3742 * docs/manual/appendix-quotes.xml:
3744 * gst/gstelement.c: (gst_element_set_state):
3747 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3749 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3750 (gst_base_transform_prepare_output_buf),
3751 (gst_base_transform_handle_buffer):
3752 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3753 (gst_capsfilter_prepare_buf):
3754 Remove the requirement for sub-classes to call the parent
3755 implementation of prepare_output_buffer with a wrapper function.
3758 * gst/gsttagsetter.h:
3761 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3763 * docs/gst/gstreamer-sections.txt:
3766 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3768 * docs/gst/gstreamer-sections.txt:
3769 * docs/gst/tmpl/gstelement.sgml:
3770 * docs/gst/tmpl/gstplugin.sgml:
3771 * gst/gstminiobject.c:
3773 docs now stop throwing warnings
3775 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3777 * docs/gst/gstreamer-sections.txt:
3778 * docs/gst/gstreamer.types:
3779 * docs/gst/tmpl/gstpad.sgml:
3780 * docs/gst/tmpl/gsttypes.sgml:
3781 * gst/base/gstadapter.h:
3782 * gst/base/gstbasesink.h:
3783 * gst/base/gstbasesrc.h:
3793 * gst/gststructure.c:
3794 * gst/registries/gstlibxmlregistry.h:
3795 various documentation fixes
3797 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3799 * docs/gst/gstreamer-sections.txt:
3800 * docs/gst/tmpl/gstvalue.sgml:
3801 rearrange gstvalue section
3802 * gst/gstutils.c: (gst_element_state_get_name):
3804 * gst/gstvalue.c: (_gst_value_initialize):
3808 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3810 * check/gst-libs/controller.c:
3812 * gst/base/gstbasetransform.c:
3813 (gst_base_transform_default_prepare_buf),
3814 (gst_base_transform_handle_buffer):
3815 * gst/base/gstbasetransform.h:
3816 Some more basetransform changes and fixes to enable sub-classes
3817 that modify buffer metadata only.
3818 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3819 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3820 (gst_capsfilter_prepare_buf):
3821 If the output pad has fixed allowed caps and input buffers
3822 don't have any, set the fixed caps on outgoing buffers.
3824 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3825 * check/elements/identity.c: (GST_START_TEST):
3826 Make the error a little clearer when the test fails because
3827 identity made a copy of the buffer.
3828 * docs/gst/gstreamer-sections.txt:
3829 New symbols in gstbasetransform.h
3830 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3831 (gst_base_transform_init), (gst_base_transform_transform_size),
3832 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3833 (gst_base_transform_default_prepare_buf),
3834 (gst_base_transform_get_unit_size),
3835 (gst_base_transform_buffer_alloc),
3836 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3837 (gst_base_transform_change_state),
3838 (gst_base_transform_set_passthrough),
3839 (gst_base_transform_set_in_place),
3840 (gst_base_transform_is_in_place):
3841 * gst/base/gstbasetransform.h:
3842 Change BaseTransform to separate in_place operate from same_caps
3843 output. in_place implies that the element can perform the transform
3844 on incoming buffers in-place, even if the caps on the output are
3846 Sub-class elements can now implement special buffer allocation
3847 methods for outgoing buffers if they wish to.
3848 Big documentation addition.
3849 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3850 * gst/elements/gstelements.c:
3851 Changes for basetransform modifications.
3852 * gst/elements/Makefile.am:
3853 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3854 Compile fix. Extra debug output.
3856 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3858 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3860 add tests for valid pad naming
3861 * gst/check/gstcheck.c: (gst_check_log_message_func),
3862 (gst_check_log_critical_func):
3864 remove printing of code, it is fragile when the code contains
3865 % and the line number is enough info
3866 * gst/check/gstcheck.h:
3867 * gst/gstpad.c: (gst_pad_template_new):
3870 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3873 say what CHECK flags we use
3874 * docs/libs/gstreamer-libs.types:
3875 * libs/gst/controller/Makefile.am:
3876 * libs/gst/controller/gst-controller.c:
3877 * libs/gst/controller/gst-controller.h:
3878 * libs/gst/controller/gst-helper.c:
3879 * libs/gst/controller/gst-interpolation.c:
3880 * libs/gst/controller/gstcontroller.c:
3881 * libs/gst/controller/gsthelper.c:
3882 * libs/gst/controller/gstinterpolation.c:
3883 * tools/gst-inspect.c: (print_plugin_info):
3884 we don't use dashes in header names
3886 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3888 * check/Makefile.am:
3889 * check/gst/.cvsignore:
3890 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3891 (gst_pipeline_suite), (main):
3892 adding a test for pipelines and state changes
3893 * gst/gstutils.c: (get_state_func):
3895 * gstreamer.spec.in:
3898 2005-09-08 Michael Smith <msmith@fluendo.com>
3900 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3901 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3902 (gst_file_src_is_seekable), (gst_file_src_get_size),
3903 (gst_file_src_start):
3904 * gst/elements/gstfilesrc.h:
3905 Various fixes for unseekable, unmmapable, and non-normal files, so
3906 that fallback to read() rather than mmap() works.
3907 * gst/gstevent.c: (gst_event_new_newsegment):
3908 Allow newsegment events with segment_start == segment_end, as will
3909 correctly happen if you use filesrc on a zero-size file, for
3912 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3914 * gst/gstplugin.c: (gst_plugin_load_file):
3915 Call g_module_close when we don't load the module
3917 * gst/registries/gstlibxmlregistry.c:
3918 (gst_xml_registry_get_property):
3919 Port leak fix from 0.8
3921 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3923 * docs/gst/gstreamer-docs.sgml:
3924 * docs/gst/tmpl/.cvsignore:
3925 * docs/gst/tmpl/gsttrace.sgml:
3926 * docs/gst/tmpl/gsttrashstack.sgml:
3935 * gst/gsttaginterface.c:
3936 * gst/gsttaginterface.h:
3939 * gst/gsttagsetter.c:
3940 * gst/gsttagsetter.h:
3943 * gst/gsttrashstack.c:
3944 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3945 inlined docs for gsttrace, gsttrashstack
3947 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3950 * gst/elements/gstbufferstore.h:
3951 * gst/elements/gsttypefindelement.c:
3952 * gst/elements/gsttypefindelement.h:
3954 * gst/gsttypefind.c:
3955 * gst/gsttypefind.h:
3956 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3957 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3958 (gst_type_find_factory_dispose),
3959 (gst_type_find_factory_unload_thyself),
3960 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3961 (gst_type_find_factory_get_caps),
3962 (gst_type_find_factory_get_extensions),
3963 (gst_type_find_factory_call_function):
3964 * gst/gsttypefindfactory.h:
3965 * gst/registries/gstlibxmlregistry.c:
3966 * gst/registries/gstxmlregistry.c:
3967 splitted gsttypefind into gsttypefind, gsttypefindfactory
3969 2005-09-07 Andy Wingo <wingo@pobox.com>
3971 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3972 condition whereby the pad's task function is entered before the
3973 pad_mode variable was set.
3975 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3977 * gst/gstpad.c: (gst_pad_alloc_buffer):
3978 Catch misbehaving pad_alloc functions that don't
3979 set up caps and do it for them.
3981 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3983 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3985 * docs/gst/tmpl/.cvsignore:
3986 * docs/gst/tmpl/gstmemchunk.sgml:
3987 * docs/gst/tmpl/gstparse.sgml:
3988 * docs/gst/tmpl/gsttaglist.sgml:
3989 * docs/gst/tmpl/gsttagsetter.sgml:
3990 * docs/gst/tmpl/gsttypefind.sgml:
3991 * docs/gst/tmpl/gsttypefindfactory.sgml:
3992 * gst/gstmemchunk.c:
3995 * gst/gsttaginterface.c:
3996 * gst/gsttypefind.c:
3997 * gst/gsttypefind.h:
4000 === release 0.9.2 ===
4002 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4007 releasing 0.9.2, "South"
4009 2005-09-05 Andy Wingo <wingo@pobox.com>
4011 * gst/registries/gstxmlregistry.h:
4012 * gst/registries/gstxmlregistry.c: Um... resurrect...
4014 * gst/registries/gstxmlregistry.h:
4015 * gst/registries/gstxmlregistry.c: and update to newer API.
4016 Incidentally they should be a bit faster now that they don't have
4019 2005-09-05 Andy Wingo <wingo@pobox.com>
4021 * gst/registries/gstxmlregistry.h:
4022 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4023 replaced by the libxml registry a while back
4025 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4027 * docs/gst/tmpl/gstplugin.sgml:
4028 * gst/elements/gstelements.c:
4030 * gst/gstplugin.c: (gst_plugin_register_func),
4031 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4032 (gst_plugin_get_source):
4034 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4035 (gst_xml_registry_save_plugin):
4036 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4037 (gst_xml_registry_save_plugin):
4038 * tools/gst-inspect.c: (print_plugin_info):
4039 add a "source" plugin description field, to represent the source
4040 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4041 will set it to PACKAGE, which is automake's idea of the name of
4044 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4050 * docs/faq/Makefile.am:
4051 * docs/gst/tmpl/gstelement.sgml:
4052 * docs/gst/tmpl/gsttypes.sgml:
4053 * docs/htmlinstall.mak:
4054 * docs/manual/Makefile.am:
4055 * docs/pwg/Makefile.am:
4056 reorganize doc build a little
4057 split out docbook and gtk-doc stuff
4058 have two separate --enable's and enable them through autogen
4059 but disable by default in configure (to be similar to other
4061 * gstreamer.spec.in:
4062 clean up docs install
4082 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4084 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4087 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4088 (gst_fake_sink_change_state):
4089 Make state change function thread-safe.
4091 * gst/gstpad.c: (gst_pad_alloc_buffer):
4092 Set offset on generic buffer allocated by fallback.
4094 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4096 * docs/gst/gstreamer-sections.txt:
4097 * docs/gst/tmpl/gstelement.sgml:
4099 * libs/gst/controller/gst-controller.c:
4100 (gst_controlled_property_set_interpolation_mode),
4101 (gst_controlled_property_new),
4102 (gst_controller_find_controlled_property):
4103 run the wingo-magic script against the docs
4105 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4107 * docs/gst/gstreamer-docs.sgml:
4108 * docs/gst/gstreamer-sections.txt:
4109 * docs/gst/tmpl/.cvsignore:
4110 * docs/gst/tmpl/gstelementdetails.sgml:
4111 * docs/gst/tmpl/gstelementfactory.sgml:
4114 * gst/gstelementfactory.c:
4115 * gst/gstelementfactory.h:
4116 merged elementdetails docs into elementfactory docs
4119 2005-09-02 Andy Wingo <wingo@pobox.com>
4121 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4122 consider this enum an enum and not a flags.
4124 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4126 * docs/gst/gstreamer-docs.sgml:
4127 * docs/gst/tmpl/.cvsignore:
4128 * docs/gst/tmpl/gstghostpad.sgml:
4129 * docs/gst/tmpl/gstiterator.sgml:
4130 * docs/gst/tmpl/gstmacros.sgml:
4131 * docs/gst/tmpl/gstrealpad.sgml:
4132 * docs/gst/tmpl/gstregistry.sgml:
4133 * docs/gst/tmpl/gstregistrypool.sgml:
4134 * docs/gst/tmpl/gststructure.sgml:
4135 * docs/gst/tmpl/gstsystemclock.sgml:
4136 * docs/gst/tmpl/gsttrace.sgml:
4137 * gst/gstghostpad.c:
4139 * gst/gstmemchunk.c:
4140 * gst/gstmemchunk.h:
4142 * gst/gstregistry.c:
4143 * gst/gstregistrypool.c:
4144 * gst/gststructure.c:
4145 * gst/gstsystemclock.c:
4148 2005-09-02 Andy Wingo <wingo@pobox.com>
4150 * gst/gstelement.h (GstState): Renamed from GstElementState,
4151 changed to be a normal enum instead of flags.
4152 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4153 munged to be GST_STATE_CHANGE_*.
4154 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4155 work with the new state representation.
4156 (GstStateChange): New enumeration of possible state transitions.
4157 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4158 (GstElementClass::change_state): Pass the GstStateChange along as
4159 an argument. Helps language bindings, so they don't have to use
4160 tricky lock-needing macros like GST_STATE_CHANGE ().
4162 * scripts/update-states (file): New script. Run it on a file to
4163 update it for state naming and API changes. Updates files in
4166 * All files updated for the new API.
4168 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4170 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4171 * gst/gstutils.c: (gst_util_set_value_from_string),
4172 (gst_util_set_object_arg):
4173 fix a bunch of unchecked return values
4174 * tools/gst-complete.c: (main):
4175 * gstreamer.spec.in:
4178 2005-09-01 Wim Taymans <wim@fluendo.com>
4180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4181 (gst_base_sink_event), (gst_base_sink_do_sync),
4182 (gst_base_sink_handle_event):
4183 * gst/base/gstbasesink.h:
4184 Handle newsegments more correctly.
4189 * gst/gstevent.c: (gst_event_new_newsegment):
4190 A newsegment cannot have a start_time of -1
4192 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4194 * win32/gstenumtypes.c:
4195 * win32/gstenumtypes.h:
4198 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4200 * libs/gst/controller/gst-controller.c:
4201 (gst_controlled_property_set_interpolation_mode),
4202 (gst_controlled_property_new):
4205 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4207 * docs/faq/gst-uninstalled:
4212 * gst/gstutils.c: (gst_element_link_filtered):
4214 add gst_element_link_filtered
4216 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4218 * docs/gst/gstreamer-docs.sgml:
4219 * docs/gst/gstreamer-sections.txt:
4220 * docs/gst/tmpl/.cvsignore:
4221 * docs/gst/tmpl/gsterror.sgml:
4222 * docs/gst/tmpl/gstfilter.sgml:
4223 * docs/gst/tmpl/gsturihandler.sgml:
4224 * docs/gst/tmpl/gsturitype.sgml:
4225 * docs/gst/tmpl/gstutils.sgml:
4226 * docs/gst/tmpl/gstxml.sgml:
4234 inlined more docs, fixed double id-ref
4236 2005-08-31 Wim Taymans <wim@fluendo.com>
4238 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4239 (gst_base_transform_handle_buffer):
4240 Passthrough elements don't need the caps as they don't care.
4242 2005-08-31 Wim Taymans <wim@fluendo.com>
4244 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4245 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4246 Don't leak refcounts on buffers.
4248 2005-08-31 Wim Taymans <wim@fluendo.com>
4250 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4251 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4252 (gst_base_transform_chain), (gst_base_transform_change_state):
4253 * gst/base/gstbasetransform.h:
4254 Handle the case where we are not negotiated more gracefully.
4256 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4258 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4259 (gst_file_src_map_region):
4260 Set READONLY flag on mmap'ed buffers, otherwise
4261 gst_buffer_make_writable() won't work properly (#314708).
4263 2005-08-31 Wim Taymans <wim@fluendo.com>
4265 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4266 passthrough elements can even do inplace on non writable
4267 buffers (as they don't touch them).
4269 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4271 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4272 (gst_test_mono_source_set_property),
4273 (gst_test_mono_source_class_init), (GST_START_TEST),
4274 (gst_controller_suite):
4275 more tests (hehe I have the most)
4277 describe popping messages whenusing mulltiple sources
4278 * libs/gst/controller/gst-controller.c:
4279 (gst_controlled_property_set_interpolation_mode),
4280 (gst_controlled_property_new):
4281 * libs/gst/controller/gst-controller.h:
4282 * libs/gst/controller/gst-interpolation.c:
4283 implement boolean properties
4285 2005-08-31 Wim Taymans <wim@fluendo.com>
4287 * gst/gstminiobject.c: (gst_mini_object_ref):
4288 Cannot assert that the refcount has to be positive
4289 since a disposed object can be resurrected.
4291 2005-08-31 Wim Taymans <wim@fluendo.com>
4293 * gst/gstpad.c: (gst_pad_init):
4294 Revert change, need to first fix badly behaving
4297 2005-08-30 Wim Taymans <wim@fluendo.com>
4299 * check/elements/fakesrc.c: (setup_fakesrc):
4300 * check/elements/identity.c: (setup_identity):
4301 Activate pads before using them.
4303 2005-08-30 Wim Taymans <wim@fluendo.com>
4305 * gst/base/gstadapter.c: (gst_adapter_flush):
4306 Flushing out 0 bytes is ok for this function.
4308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4309 no newsegment gives a warning and sets the start/stop to
4312 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4313 (gst_base_transform_set_passthrough):
4316 * gst/gstminiobject.c: (gst_mini_object_ref):
4317 Check refcount here too.
4319 * gst/gstpad.c: (gst_pad_init):
4320 Pads are initially flushing and refusing data.
4322 * gst/gstutils.c: (gst_element_link_pads_filtered):
4323 When adding a capsfilter element make sure it has the
4324 same state as the parent bin.
4326 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4328 * docs/gst/tmpl/.cvsignore:
4329 * docs/gst/tmpl/gstformat.sgml:
4330 * docs/gst/tmpl/gstversion.sgml:
4334 * gst/gstversion.h.in:
4335 more docs and two more inlined
4337 2005-08-30 Wim Taymans <wim@fluendo.com>
4339 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4340 Don't sync to clock.
4342 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4344 * docs/gst/gstreamer-sections.txt:
4345 ultral33t func10ns deserve to appear in the docs actually
4346 * docs/gst/tmpl/.cvsignore:
4347 * docs/gst/tmpl/gstcompat.sgml:
4348 * docs/gst/tmpl/gstconfig.sgml:
4349 * gst/check/gstcheck.c:
4351 * gst/gstconfig.h.in:
4354 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4356 * docs/gst/tmpl/.cvsignore:
4357 * docs/gst/tmpl/gstquery.sgml:
4358 * docs/gst/tmpl/gstutils.sgml:
4361 inlined and extended docs
4363 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4365 * check/gst-libs/controller.c: (GST_START_TEST),
4366 (gst_controller_suite):
4368 * docs/gst/tmpl/gstutils.sgml:
4369 * docs/libs/gstreamer-libs-sections.txt:
4370 * docs/libs/tmpl/gstdataprotocol.sgml:
4372 * examples/controller/audio-example.c: (main):
4373 controller example works now
4376 * tools/gst-inspect.c: (print_element_properties_info):
4377 show param spec flags
4379 2005-08-29 Andy Wingo <wingo@pobox.com>
4381 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4383 2005-08-28 Andy Wingo <wingo@pobox.com>
4385 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4386 as having two arguments instead of just one. Allows superclasses
4387 to access information on subclasses -- see the terrible for() loop
4388 in gtype.c:g_type_create_instance for the reason why. All callers
4391 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4393 * docs/design/part-messages.txt:
4395 * docs/gst/tmpl/.cvsignore:
4396 * docs/gst/tmpl/gstcaps.sgml:
4397 * docs/gst/tmpl/gstclock.sgml:
4404 added descriptions for bus and message
4405 inline caps and clock docs
4407 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4413 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4415 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4418 2005-08-26 Andy Wingo <wingo@pobox.com>
4420 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4421 element_set_state's return val.
4422 (test_2_elements): Add test that's been disabled for months.
4424 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4425 can-activate-pull properties.
4427 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4428 can-activate-pull properties. Implement is_seekable so fakesrc can
4429 operate in pull mode.
4431 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4433 (gst_base_sink_activate, gst_base_sink_activate_pull)
4434 (gst_base_sink_activate_push): Make activation mode choosing work.
4436 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4437 is right. Make pull mode work. Post an eos before pausing in pull
4439 (gst_base_sink_change_state): Pay attention to the core's
4440 change_state() return val.
4442 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4443 has-getrange properties. Cleanups.
4445 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4446 has_getrange and replace with can_activate_pull and
4449 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4450 locking comments. Remove has_loop, has_chain and replace with
4451 can_activate_pull and can_activate_push.
4453 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4456 * examples/Makefile.am:
4457 * examples/metadata/Makefile.am:
4458 * examples/metadata/read-metadata.c: (message_loop),
4459 (have_pad_handler), (make_pipeline), (print_tag), (main):
4460 Add metadata reading example that loops over a list of filenames,
4461 dumping any tags found.
4463 * gst/gstbus.c: (gst_bus_dispose):
4464 * gst/gstelement.c: (gst_element_dispose):
4465 Release a few potentially-held references in dispose.
4467 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4469 * docs/gst/tmpl/gstminiobject.sgml:
4470 do *not* add tmpl/*.sgml files to CVS!
4472 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4474 * libs/gst/bytestream/.cvsignore:
4475 * libs/gst/bytestream/Makefile.am:
4476 * libs/gst/bytestream/adapter.c:
4477 * libs/gst/bytestream/adapter.h:
4478 * libs/gst/bytestream/bytestream.c:
4479 * libs/gst/bytestream/bytestream.h:
4480 * libs/gst/bytestream/filepad.c:
4481 * libs/gst/bytestream/filepad.h:
4482 removing obsolete files
4484 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4486 * docs/gst/gstreamer-docs.sgml:
4487 * docs/libs/gstreamer-libs-docs.sgml:
4488 disabed additional index entries again, as this makes docs-gen just
4489 slow and they aren't useful yet
4490 * docs/libs/gstreamer-libs-sections.txt:
4491 little -section.txt cleanup for libs
4493 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4495 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4496 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4497 fix up some debugging
4498 (gst_base_transform_get_unit_size),
4499 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4500 (gst_base_transform_handle_buffer):
4501 * gst/base/gstbasetransform.h:
4502 handle and store timed NEWSEGMENT events so that subclasses that
4503 calculate time by counting samples have a segment_start time they
4504 need to add to their timestamps - see audioresample
4506 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4509 removed ';' from the end of macro defs
4510 * docs/gst/gstreamer-docs.sgml:
4511 * docs/gst/gstreamer-sections.txt:
4512 * docs/gst/tmpl/.cvsignore:
4514 * gst/gstelement.c: (gst_element_class_init),
4515 (gst_element_set_state), (activate_pads),
4516 (gst_element_save_thyself):
4517 * gst/gstevent.c: (gst_event_new_newsegment):
4519 * gst/gstiterator.c:
4520 * gst/gstiterator.h:
4523 * gst/gstutils.c: (gst_pad_query_convert):
4525 fixed parameter name mismatches between source, header and docs
4526 added some more docs, resolved the last batch of unused elements in
4527 docs (now someone needs to doc them)
4529 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4531 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4532 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4533 don't walk through the plugins backwards. Where is all this
4534 reversed logic coming from ?
4536 2005-08-25 Wim Taymans <wim@fluendo.com>
4538 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4539 (gst_base_transform_transform_size),
4540 (gst_base_transform_configure_caps),
4541 (gst_base_transform_get_unit_size),
4542 (gst_base_transform_buffer_alloc),
4543 (gst_base_transform_change_state):
4544 * gst/base/gstbasetransform.h:
4545 Cache caps unit_size.
4546 Make sure we cannot negotiate up and downstream at the
4549 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4551 * gst/gst.c: (init_pre), (init_post):
4552 register the installed plugin path after the env var
4553 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4554 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4555 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4556 directories, so the tests can prefer uninstalled over installed
4558 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4560 * gst/base/gstbasetransform.h:
4565 2005-08-25 Wim Taymans <wim@fluendo.com>
4567 * gst/gstbin.c: (bin_bus_handler):
4568 Be a bit more conservative about the posted message.
4570 * gst/gstbus.c: (gst_bus_post):
4571 Some cleanups, warn wrong return values.
4573 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4575 * check/gst/gstbin.c: (GST_START_TEST):
4576 * gst/gstbin.c: (bin_bus_handler):
4577 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4578 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4579 (gst_message_new_warning), (gst_message_new_tag),
4580 (gst_message_new_state_changed), (gst_message_new_segment_start),
4581 (gst_message_new_segment_done), (gst_message_new_custom):
4583 * tools/gst-launch.c: (event_loop):
4584 * tools/gst-md5sum.c: (event_loop):
4585 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4587 2005-08-25 Wim Taymans <wim@fluendo.com>
4589 * check/generic/states.c: (GST_START_TEST):
4590 Cleanup can be done at the end.
4592 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4593 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4594 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4595 Oh boy.. Thanks for finding this, Thomas.
4597 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4599 * docs/gst/gstreamer.types:
4602 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4604 * docs/gst/gstreamer-docs.sgml:
4605 * docs/gst/gstreamer-sections.txt:
4606 * docs/gst/tmpl/.cvsignore:
4608 * gst/gstiterator.c:
4610 * gst/registries/gstxmlregistry.h:
4611 added missing classes and symbols (123 more to go)
4612 removed removed symbols from section file
4613 fixed many doc-comments
4615 2005-08-24 Wim Taymans <wim@fluendo.com>
4617 * check/generic/states.c: (GST_START_TEST):
4618 Make sure all tasks are stopped.
4620 * check/gst/gstbin.c: (GST_START_TEST):
4621 Unref after usage for proper valgrinding.
4623 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4624 Really wait for the task to stop before destroying the
4627 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4628 (gst_queue_src_activate_push):
4629 Small cleanups. Don't stop the task when we did not start
4632 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4633 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4634 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4637 Protect the stream lock with the object lock.
4638 Disallow setting the stream lock when running.
4639 Add cleanup_all to wait for the threadpool to finish.
4640 Remove code to autoallocate a mutex if none was provided.
4641 Add _join() to wait for a task to stop.
4642 Protect the thread pool with a global lock.
4644 2005-08-24 Wim Taymans <wim@fluendo.com>
4646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4647 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4648 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4649 * gst/base/gstbasesink.h:
4650 Handle newsegment events correctly.
4651 Drop buffers out of the segment range.
4653 2005-08-22 Andy Wingo <wingo@pobox.com>
4655 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4656 macro, implements an interface and gstimplementsinterface for a
4659 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4661 * check/Makefile.am:
4662 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4663 add a test that does a bunch of state changes on elements
4664 needs some fixing for valgrind
4665 * check/states/sinks.c: (gst_object_suite):
4668 add prototype for gst_caps_is_equal_fixed
4670 * gst/gstregistrypool.c:
4673 2005-08-24 Andy Wingo <wingo@pobox.com>
4675 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4676 convert a negative value. Doesn't make much sense. Mostly this is
4677 here to force callers to ensure -1 maps to -1.
4679 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4681 * docs/pwg/advanced-types.xml:
4682 Well done to Michael for catching my deliberate introduction
4683 of this spelling mistake.
4684 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4686 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4687 unlink pads before removing the element from the bin.
4689 2005-08-24 Andy Wingo <wingo@pobox.com>
4691 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4692 the same thing as GST_DEBUG=*:4.
4693 (parse_debug_level, parse_debug_category): New helper parsers.
4695 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4697 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4698 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4699 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4700 (gst_base_transform_buffer_alloc),
4701 (gst_base_transform_handle_buffer):
4702 use gboolean return values and pointers to size so we can use the
4703 full GST_BUFFER_SIZE range (guint) for buffer sizes
4704 use GstPadDirection for transform_caps
4705 * gst/base/gstbasetransform.h:
4706 rename get_size to get_unit_size since that's what it is
4707 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4708 use GstPadDirection for transform_caps
4709 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4711 cleanup and debugging
4713 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4715 * gst/gstelement.c: (gst_element_class_init),
4716 (gst_element_set_state), (activate_pads),
4717 (gst_element_save_thyself):
4718 * tools/gst-compprep.c: (main):
4719 * tools/gst-inspect.c: (print_element_properties_info):
4720 * tools/gst-xmlinspect.c: (print_element_properties):
4721 Fixed long standing mem-leak
4723 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4725 * check/gst/gstbin.c: (GST_START_TEST):
4726 * gst/gstbin.c: (bin_bus_handler):
4727 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4728 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4729 (gst_message_new_warning), (gst_message_new_tag),
4730 (gst_message_new_state_changed), (gst_message_new_segment_start),
4731 (gst_message_new_segment_done), (gst_message_new_custom):
4733 * tools/gst-launch.c: (event_loop):
4734 * tools/gst-md5sum.c: (event_loop):
4735 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4736 that applications can sensibly post custom messages with references
4737 to their own objects.
4739 2005-08-24 Andy Wingo <wingo@pobox.com>
4741 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4744 2005-08-24 Wim Taymans <wim@fluendo.com>
4746 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4747 (gst_base_transform_transform_caps),
4748 (gst_base_transform_transform_size),
4749 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4750 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4751 (gst_base_transform_handle_buffer):
4752 * gst/base/gstbasetransform.h:
4753 Many fixes and new features added by Thomas. Can now also do
4754 transforms with variable sizes and a custom fixate_caps function.
4756 2005-08-24 Wim Taymans <wim@fluendo.com>
4758 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4762 Cast to ClockTime before formatting to time.
4767 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4769 * check/gst-libs/controller.c: (GST_START_TEST),
4770 (gst_controller_suite):
4771 * docs/gst/tmpl/gstcaps.sgml:
4772 * docs/gst/tmpl/gstghostpad.sgml:
4773 * docs/gst/tmpl/gstquery.sgml:
4774 * docs/gst/tmpl/gstutils.sgml:
4775 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4776 (gst_object_sink_values), (gst_object_get_value_arrays),
4777 (gst_object_get_value_array):
4778 gracefully handle helper method calls to objects that are not beeing
4779 controlled, added test case for that
4781 2005-08-23 Wim Taymans <wim@fluendo.com>
4783 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4784 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4785 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4786 (gst_event_parse_qos), (gst_event_new_seek),
4787 (gst_event_parse_seek):
4789 Some more debugging output and doc cleanups.
4791 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4792 Fix possible deadlock.
4794 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4796 * docs/gst/gstreamer-docs.sgml:
4797 * docs/gst/gstreamer-sections.txt:
4798 * docs/gst/gstreamer.types:
4799 * docs/gst/tmpl/.cvsignore:
4804 added 100 symbols from gstreamer-unused.txt to the right sections
4805 fixed more broken comments
4806 added GstBus to docs
4808 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4810 * docs/gst/gstreamer-sections.txt:
4811 * docs/gst/tmpl/.cvsignore:
4812 * docs/gst/tmpl/gstbin.sgml:
4813 * docs/gst/tmpl/gstbuffer.sgml:
4814 * gst/base/gstbasesrc.c:
4815 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4818 * tools/gst-launch.1.in:
4819 inlined more doc comments, added missing comments and fixed comments
4822 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4824 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4828 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4830 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4831 * gst/gststructure.h:
4832 add a fixate function for booleans; add a FIXME that these func
4833 names should probably be gst_structure_fixate_*
4835 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4837 * docs/gst/gstreamer-docs.sgml:
4838 * docs/gst/gstreamer-sections.txt:
4840 * gst/gstbin.c: (gst_bin_get_type),
4841 (gst_bin_child_proxy_get_child_by_index),
4842 (gst_bin_child_proxy_get_children_count),
4843 (gst_bin_child_proxy_init):
4844 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4845 (gst_child_proxy_get_child_by_index),
4846 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4847 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4848 (gst_child_proxy_get), (gst_child_proxy_set_property),
4849 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4850 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4851 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4852 * gst/gstchildproxy.h:
4853 * gst/parse/grammar.y:
4854 * tools/gst-inspect.c: (print_interfaces),
4855 (print_element_properties_info), (print_element_info):
4856 ported gstchildproxy over from 0.8
4857 ported gst-inspect fixes and enhancements over from 0.8
4859 2005-08-22 Wim Taymans <wim@fluendo.com>
4861 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4862 (gst_base_transform_handle_buffer):
4863 Also call the transform function if we have ANY caps.
4865 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4868 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4870 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4871 Don't pretend to handle seek events if the source is not seekable
4873 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4876 Remove extra parameter to debug output
4878 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4879 (gst_base_src_do_seek), (gst_base_src_activate_push):
4880 Fix seek event handling.
4882 * gst/gstpipeline.c: (gst_pipeline_change_state):
4883 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4884 (gst_queue_src_activate_push):
4885 Don't start the src pad task on FLUSH_STOP if the pad
4889 2005-08-22 Wim Taymans <wim@fluendo.com>
4891 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4892 Added check for gst_static_caps_get() refcounting.
4894 2005-08-22 Wim Taymans <wim@fluendo.com>
4896 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4897 Make _static_caps_get() refcounting sane.
4899 * gst/gstelement.c: (gst_element_set_state):
4900 Add g_return_val_if_fail() to protect against segfaults.
4902 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4904 * docs/gst/tmpl/gstevent.sgml:
4907 inlined remaining docs, added missing doc comments
4909 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4911 * check/gst/gstbin.c: (GST_START_TEST):
4912 since we don't know when preroll is done, use refcount range
4914 * gst/check/gstcheck.h:
4915 add macro for checking refcount range
4917 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4919 * check/Makefile.am:
4920 clean up environment for when registry gets built versus
4921 when actual tests are run; valgrind seems to not report
4922 leaks if GST_PLUGIN_PATH is set to some specific values
4923 * check/gst/gstbin.c: (GST_START_TEST):
4924 add more refcounting checks; maybe this exposes a
4927 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4928 * gst/check/gstcheck.h:
4929 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4930 (gst_bin_change_state):
4931 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4932 add/fix debugging/whitespace
4934 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4936 * check/gst/gstevent.c: (event_probe), (test_event),
4938 Er, don't call gst_bin_watch_for_state_change you idiot.
4940 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4942 * check/Makefile.am:
4943 Use CHECK_CFLAGS and CHECK_LIBS
4944 * check/gst/gstevent.c: (event_probe), (test_event),
4947 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4948 (gst_base_src_start), (gst_base_src_stop),
4949 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4950 (gst_base_src_change_state):
4951 Sprinkle gst_base_src_stop liberally around error paths to fix
4952 problems reusing a source after failed state changes.
4953 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4954 (helper_find_suggest), (gst_type_find_helper):
4955 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4957 * docs/gst/tmpl/gstevent.sgml:
4958 Migrate part of the docs from the SGML file. Wait for ensonic to
4959 tell me how I did it wrong ;)
4960 * tools/gst-typefind.c: (main):
4961 Extra robustness to state changes between files.
4963 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4965 * check/Makefile.am:
4966 don't valgrind the controller test - it's leaking - Stefan, HELP
4967 * gst/check/gstcheck.c: (gst_check_message_error),
4968 (gst_check_chain_func), (gst_check_setup_element),
4969 (gst_check_teardown_element), (gst_check_setup_src_pad),
4970 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4971 (gst_check_teardown_sink_pad):
4972 * gst/check/gstcheck.h:
4973 add a bunch of methods to set up elements, and src and sink pads
4974 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4975 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4980 whitespace/doc fixes
4982 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4985 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4986 be handled by the application and not always printed as well
4988 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4990 * check/Makefile.am:
4992 * gst/check/gstcheck.c: (gst_check_message_error):
4993 * gst/check/gstcheck.h:
4994 add a fail_unless_equals_int
4995 add fail_unless for error messages
4997 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4999 * check/Makefile.am:
5001 * common/Makefile.am:
5004 factor out some of the common stuff so we can use it
5006 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5008 * check/Makefile.am:
5009 * check/gst/gstiterator.c: (GST_START_TEST):
5010 * check/gst/gstsystemclock.c: (GST_START_TEST),
5011 (gst_systemclock_suite):
5012 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5016 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5018 * check/elements/.cvsignore:
5019 * check/elements/gstfakesrc.c:
5020 rename to name of element
5021 * check/elements/identity.c: (chain_func), (event_func),
5022 (setup_identity), (cleanup_identity), (GST_START_TEST),
5023 (identity_suite), (main):
5024 add a test for identity
5025 * check/Makefile.am:
5026 * pkgconfig/Makefile.am:
5027 * pkgconfig/gstreamer-check.pc.in:
5028 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5032 move the check stuff to a library that gets installed
5033 * check/gst-libs/controller.c: (GST_START_TEST):
5034 * check/gst-libs/gdp.c:
5035 * check/gst/gst.c: (GST_START_TEST):
5036 * check/gst/gstbin.c:
5037 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5038 * check/gst/gstbus.c:
5039 * check/gst/gstcaps.c: (GST_START_TEST):
5040 * check/gst/gstelement.c:
5041 * check/gst/gstghostpad.c:
5042 * check/gst/gstiterator.c:
5043 * check/gst/gstmessage.c:
5044 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5045 * check/gst/gstobject.c:
5046 * check/gst/gstpad.c: (GST_START_TEST):
5047 * check/gst/gststructure.c: (GST_START_TEST):
5048 * check/gst/gstsystemclock.c: (GST_START_TEST),
5049 (gst_systemclock_suite):
5050 * check/gst/gsttag.c: (gst_tag_suite):
5051 * check/gst/gstvalue.c:
5052 * check/pipelines/cleanup.c:
5053 * check/pipelines/simple_launch_lines.c:
5054 * check/states/sinks.c:
5055 change include statement
5057 * docs/gst/gstreamer-sections.txt:
5058 * docs/gst/tmpl/gstpad.sgml:
5059 document more pad stuff
5060 * gst/gstminiobject.c: (gst_mini_object_ref),
5061 (gst_mini_object_unref):
5064 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5066 * docs/gst/tmpl/gst.sgml:
5068 eliminate another tmpl file, fix spelling in the long-description
5070 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5072 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5073 (test_event), (timediff), (gstevents_suite):
5074 Should fix build on 64-bit arch's
5076 2005-08-18 Andy Wingo <wingo@pobox.com>
5078 Make sure that when a pipeline goes to PLAYING, that data has
5079 actually hit the sink.
5081 * check/states/sinks.c (test_sink): A sink that doesn't get any
5082 data shouldn't return SUCCESS for going to either PLAYING or
5083 PAUSED. Test also the return values on the way back down.
5085 * gst/gstelement.c (gst_element_set_state): When changing the
5086 state of an element currently changing state asynchronously, go to
5087 lost-state after commiting the pending state. Makes future calls
5088 to get_state continue to return ASYNC.
5090 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5091 ASYNC when going to PLAYING if we still don't have preroll, as can
5092 happen with live sources.
5094 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5096 * docs/pwg/advanced-types.xml:
5097 Hack long paragraph into 2 chunks as a workaround for buggy
5098 jadetex version in sid and breezy that loops infinitely and
5101 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5103 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5104 (test_event), (timediff), (gstevents_suite):
5105 Provide more error margin in clock measurements to allow for
5106 g_get_current_time inaccuracies.
5108 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5110 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5111 (test_event), (timediff), (gstevents_suite):
5112 Fix error message output so I might be able to tell why the
5113 test works here but fails on the build farm.
5115 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5117 * check/Makefile.am:
5118 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5119 (test_event), (timediff), (gstevents_suite), (main):
5122 * docs/design/part-seeking.txt:
5125 * docs/gst/tmpl/gstevent.sgml:
5126 * docs/gst/tmpl/gstfakesrc.sgml:
5129 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5130 Treat a buffer-without-newsegment the same as a receiving
5131 a newsegment not in time format, and disable syncing to the clock
5134 * gst/gstbus.c: (gst_bus_set_sync_handler):
5135 Assert if anyone tries to replace the existing sync_handler for bus,
5136 as only the owner should be setting it.
5139 Have a fixed set of custom event enums with events identified by
5140 their structure name (as in 0.8), rather than a free-for-all
5141 allowing collisions between enum values from different plugins.
5143 * gst/gstpad.c: (gst_pad_class_init):
5146 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5147 Handle out-of-band downstream events from the sending thread.
5149 2005-08-17 Andy Wingo <wingo@pobox.com>
5151 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5152 play-timeout==0 to mean no timeout at all. In that case, don't
5153 bother with a get_state or a warning, just return directly, even
5156 * gst/base/gstbasetransform.c: Debug changes.
5159 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5160 ensure bins post state change messages. A bit of a hack but I can't
5161 think of a way to avoid it.
5163 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5165 2005-08-16 Andy Wingo <wingo@pobox.com>
5167 * gst/base/gstadapter.h:
5168 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5169 peek() but you own the data. Not terribly efficient atm.
5171 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5173 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5174 (gst_element_found_tags):
5176 Add two utility functions for tag handling.
5178 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5180 * docs/manual/advanced-dataaccess.xml:
5181 * docs/manual/basics-helloworld.xml:
5182 Fix docs to use _bin_add() before _link(), which fixes the examples
5183 with recent core versions (reported by Madhan Raj M
5184 <raj_madan@rediffmail.com>, #313199).
5186 2005-08-16 Wim Taymans <wim@fluendo.com>
5188 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5189 Added subtract checks.
5191 * docs/design/part-events.txt:
5192 Some more docs about newsegment
5194 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5197 * gst/gstcaps.c: (gst_caps_to_string):
5198 Add comments, cleanups.
5200 * gst/gstelement.c: (gst_element_save_thyself):
5203 * gst/gstvalue.c: (gst_value_collect_int_range),
5204 (gst_string_unwrap), (gst_value_union_int_int_range),
5205 (gst_value_union_int_range_int_range),
5206 (gst_value_intersect_int_int_range),
5207 (gst_value_intersect_int_range_int_range),
5208 (gst_value_intersect_double_double_range),
5209 (gst_value_intersect_double_range_double_range),
5210 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5211 (gst_value_subtract_int_range_int),
5212 (gst_value_subtract_double_range_double),
5213 (gst_value_subtract_double_range_double_range),
5214 (gst_value_subtract_from_list), (gst_value_subtract_list),
5215 (gst_value_can_compare), (gst_value_compare_fraction):
5216 Cleanups, add comments, remove unneeded asserts.
5218 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5220 * tools/gst-launch.c: (event_loop):
5221 don't convert NULL structures to strings
5223 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5225 * docs/gst/gstreamer-sections.txt:
5226 made some defines private
5227 * docs/gst/tmpl/gstconfig.sgml:
5228 * docs/gst/tmpl/gstqueue.sgml:
5229 * docs/gst/tmpl/gsttaglist.sgml:
5230 * docs/gst/tmpl/gsttypes.sgml:
5231 * docs/gst/tmpl/gstutils.sgml:
5232 * docs/pwg/appendix-porting.xml:
5233 * gst/base/gstbasesink.h:
5234 * gst/base/gstbasesrc.c:
5235 * gst/base/gstbasesrc.h:
5236 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5237 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5238 * gst/gstelement.c: (gst_element_class_init):
5239 * gst/gstpad.c: (gst_pad_class_init):
5240 * gst/gstqueue.c: (gst_queue_class_init):
5241 * gst/gstxml.c: (gst_xml_class_init):
5242 documented all undocumented signal inline
5243 * libs/gst/controller/gst-controller.h:
5246 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5248 * docs/pwg/appendix-porting.xml:
5249 Document _set_link_function -> _set_setcaps_function.
5251 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5253 * check/Makefile.am:
5254 add a .check target for running the check
5255 * check/gst-libs/controller.c: (GST_START_TEST):
5257 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5258 complete checks for gstbuffer; would be nice if I could get the
5259 gcov stuff to work so I can see if I actually completed gstbuffer.c
5261 add ASSERT_BUFFER_REFCOUNT
5263 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5265 * docs/gst/gstreamer-sections.txt:
5266 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5268 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5269 spew out a warning if a tag that is already registered
5270 is re-registered, unless it is re-registered with a
5271 different type (#308438).
5273 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5275 * docs/pwg/appendix-porting.xml:
5276 * docs/pwg/building-state.xml:
5277 Add some paragraphs about state changes in 0.9 to the PWG
5278 and the porting guide, in particular about the new meaning
5279 of GST_STATE_PAUSED and how to write state change functions
5280 with concurrent access by multiple threads in mind.
5282 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5284 * docs/gst/gstreamer-docs.sgml:
5285 * docs/libs/gstreamer-libs-docs.sgml:
5286 added deprecation and since indexes
5287 * libs/gst/controller/gst-controller.c:
5288 * libs/gst/controller/gst-helper.c:
5292 2005-08-11 Wim Taymans <wim@fluendo.com>
5294 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5295 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5296 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5297 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5298 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5299 (gst_ghost_pad_set_target):
5300 Actually implement (re)setting the target on a ghostpad
5301 as described in the docs.
5303 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5305 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5306 Check whether GST_DEBUG_NO_COLOR environment variable is
5307 set and disable coloured debug output if that is the case.
5309 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5311 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5312 (gst_type_find_helper):
5313 The memory returned by gst_type_find_peek() needs to
5314 stay valid until the end of a typefind function, and
5315 typefind functions may keep results from different
5316 offsets around, so we can't just unref the buffer from
5317 the previous _peek(), but have to save all buffers
5318 returned by _peek() until typefinding is done and only
5321 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5323 * docs/gst/gstreamer-sections.txt:
5325 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5327 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5329 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5330 Fix a pretty good memleak.
5332 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5334 * gst/gstiterator.h:
5335 Fix wrong include and 'make distcheck'.
5337 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5339 * gst/gstbin.c: (bin_bus_handler):
5340 Use gst_element_post_message() instead.
5342 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5344 * gst/base/gstadapter.h:
5345 * gst/base/gstbasesink.h:
5346 * gst/base/gstbasesrc.h:
5347 * gst/base/gstbasetransform.h:
5348 * gst/base/gstcollectpads.h:
5349 * gst/base/gstpushsrc.h:
5350 * gst/gstiterator.h:
5351 Add padding to our base elements' class and instance structs and
5352 to GstIterator (you will need to rebuild all plugins and apps!)
5354 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5356 * gst/gstbin.c: (bin_bus_handler):
5357 Make default message forwarding from child->bus to bin->bus
5358 threadsafe and make it not emit warnings if the parent has no bus.
5360 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5362 * gst/gstelement.c: (activate_pads):
5363 On paused->ready, set pad->caps to NULL, as is the documented
5364 behaviour in this state change. Fixes playback of series of
5365 media files when visualization is enabled in Totem.
5367 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5369 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5370 Allow NULL as filter-caps (which means "any").
5372 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5374 * docs/libs/gstreamer-libs-sections.txt:
5375 * libs/gst/controller/gst-controller.c:
5376 * libs/gst/controller/gst-controller.h:
5377 * libs/gst/controller/gst-helper.c:
5378 adding more entries to the docs and fix small doc-bugs
5380 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5382 * docs/gst/gstreamer-docs.sgml:
5383 * docs/gst/gstreamer-sections.txt:
5384 * docs/gst/gstreamer.types:
5385 * docs/gst/tmpl/gstbasesink.sgml:
5386 * docs/gst/tmpl/gstbasesrc.sgml:
5387 * docs/gst/tmpl/gstbasetransform.sgml:
5388 * docs/gst/tmpl/gstfakesrc.sgml:
5389 * gst/base/gstcollectpads.c:
5390 * gst/base/gstcollectpads.h:
5391 * libs/gst/controller/gst-controller.c:
5392 * libs/gst/controller/gst-controller.h:
5393 * libs/gst/controller/gst-helper.c:
5394 * libs/gst/controller/gst-interpolation.c:
5395 * libs/gst/controller/lib.c:
5396 added long/short desc for controller docs
5397 added collectpads base class docs
5398 added correct includes to base-class docs
5400 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5402 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5403 (gst_test_mono_source_set_property),
5404 (gst_test_mono_source_class_init), (GST_START_TEST),
5405 (gst_controller_suite):
5406 * docs/gst/gstreamer-docs.sgml:
5407 * docs/gst/gstreamer-sections.txt:
5408 * docs/gst/gstreamer.types:
5409 * docs/libs/gstreamer-libs-docs.sgml:
5410 * docs/libs/gstreamer-libs-sections.txt:
5411 * gst/base/gstadapter.c:
5412 * libs/gst/controller/gst-controller.c:
5413 (gst_controlled_property_new), (gst_controlled_property_free),
5414 (gst_controller_new_valist),
5415 (gst_controller_remove_properties_valist),
5416 (gst_controller_sink_values), (_gst_controller_finalize):
5417 * libs/gst/controller/gst-controller.h:
5418 * libs/gst/controller/gst-helper.c:
5419 (gst_object_control_properties), (gst_object_uncontrol_properties),
5420 (gst_object_get_controller), (gst_object_set_controller),
5421 (gst_object_sink_values), (gst_object_get_value_arrays),
5422 (gst_object_get_value_array):
5423 more tests (and fixes) for the controller
5424 more docs for the controller
5425 integrated companies docs for the adapter
5427 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5429 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5430 (GST_START_TEST), (fakesrc_suite):
5431 add tests for sizetype
5433 2005-08-04 Andy Wingo <wingo@pobox.com>
5435 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5436 fixes buffer_alloc proxying among other things.
5438 * gst/base/gstbasetransform.c:
5439 * gst/base/gstbasetransform.h:
5440 Revert patch to gstbasetransform from 7-28 removing
5443 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5444 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5445 Semantics changed, should return not the size of the output buffer
5446 but the byte size of a buffer with a given caps.
5448 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5450 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5451 out) are not the pad caps until setcaps finishes.
5452 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5453 not-in-place case as well. Deal with changing from in-place to
5454 not-in-place within calling pad_alloc_buffer. Still a bit
5455 concerned about the overhead here...
5457 2005-08-03 Andy Wingo <wingo@pobox.com>
5459 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5460 fixating is an error.
5462 2005-08-04 Edward Hervey <edward@fluendo.com>
5464 * gst/base/gstadapter.h:
5465 Added gst_adapter_get_type() to the header
5467 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5469 * check/Makefile.am:
5470 * check/gst-libs/controller.c:
5471 * libs/gst/controller/gst-controller.c:
5472 (gst_controller_new_valist):
5473 added check test suite for the controller
5474 * gst/base/gstpushsrc.c:
5477 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5479 * docs/gst/Makefile.am:
5480 * docs/gst/gstreamer-docs.sgml:
5481 * docs/gst/gstreamer-sections.txt:
5482 * docs/gst/gstreamer.types:
5483 * docs/gst/tmpl/gstfakesrc.sgml:
5485 * gst/base/gstbasesink.c:
5486 * gst/base/gstbasesink.h:
5487 * gst/base/gstbasesrc.c:
5488 * gst/base/gstbasesrc.h:
5489 * gst/base/gstbasetransform.c:
5490 * gst/base/gstpushsrc.c:
5491 * gst/base/gstpushsrc.h:
5492 add short/long description docs to base classes
5493 add pushsrc to the docs
5494 remove consolidated doc fragments
5496 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5499 * docs/libs/Makefile.am:
5500 * docs/libs/gstreamer-libs-docs.sgml:
5501 * docs/libs/gstreamer-libs-sections.txt:
5502 * docs/libs/gstreamer-libs.types:
5503 * examples/Makefile.am:
5504 * examples/controller/.cvsignore:
5505 * examples/controller/Makefile.am:
5506 * examples/controller/audio-example.c: (main):
5507 * libs/gst/Makefile.am:
5508 * libs/gst/controller/.cvsignore:
5509 * libs/gst/controller/Makefile.am:
5510 * libs/gst/controller/gst-controller.c:
5511 (on_object_controlled_property_changed), (gst_timed_value_compare),
5512 (gst_timed_value_find),
5513 (gst_controlled_property_set_interpolation_mode),
5514 (gst_controlled_property_new), (gst_controlled_property_free),
5515 (gst_controller_find_controlled_property),
5516 (gst_controller_new_valist), (gst_controller_new),
5517 (gst_controller_remove_properties_valist),
5518 (gst_controller_remove_properties), (gst_controller_set),
5519 (gst_controller_set_from_list), (gst_controller_unset),
5520 (gst_controller_get), (gst_controller_get_all),
5521 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5522 (gst_controller_get_value_array),
5523 (gst_controller_set_interpolation_mode),
5524 (_gst_controller_finalize), (_gst_controller_init),
5525 (_gst_controller_class_init), (gst_controller_get_type):
5526 * libs/gst/controller/gst-controller.h:
5527 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5528 (g_object_uncontrol_properties), (g_object_get_controller),
5529 (g_object_set_controller), (g_object_sink_values),
5530 (g_object_get_value_arrays), (g_object_get_value_array):
5531 * libs/gst/controller/gst-interpolation.c:
5532 (gst_controlled_property_find_timed_value_node),
5533 (interpolate_none_get), (interpolate_trigger_get),
5534 (interpolate_trigger_get_value_array):
5535 * libs/gst/controller/lib.c: (gst_controller_init):
5536 * pkgconfig/Makefile.am:
5537 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5538 * pkgconfig/gstreamer-control.pc.in:
5539 * testsuite/Makefile.am:
5540 * testsuite/controller/.cvsignore:
5541 * testsuite/controller/Makefile.am:
5542 * testsuite/controller/interpolator.c: (main):
5543 added controller code
5544 removed dparam pc files
5546 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5547 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5548 (gst_collectpads_stop):
5549 Broadcast the condition when shutting down, to make sure we wake all
5550 threads up. Shut down pads on finalize, for safety.
5552 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5553 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5554 (gst_base_transform_handle_buffer),
5555 (gst_base_transform_change_state):
5556 Handle PAUSED->READY->PAUSED transition after negotiation
5558 * gst/gstmessage.c: (gst_message_init):
5559 Extra piece of debug for new messages.
5561 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5564 * docs/gst/tmpl/gstbasesrc.sgml:
5565 * docs/gst/tmpl/gstelement.sgml:
5566 * docs/gst/tmpl/gstevent.sgml:
5567 * docs/gst/tmpl/gstfakesrc.sgml:
5568 * docs/gst/tmpl/gstformat.sgml:
5569 * docs/gst/tmpl/gstghostpad.sgml:
5570 * docs/gst/tmpl/gstpad.sgml:
5571 * docs/gst/tmpl/gstquery.sgml:
5572 * docs/gst/tmpl/gststructure.sgml:
5573 * docs/gst/tmpl/gsttaglist.sgml:
5574 * docs/gst/tmpl/gstvalue.sgml:
5575 * docs/libs/gstreamer-libs-docs.sgml:
5576 * docs/libs/gstreamer-libs-sections.txt:
5577 * docs/libs/gstreamer-libs.types:
5578 * libs/gst/Makefile.am:
5579 * libs/gst/control/.cvsignore:
5580 * libs/gst/control/Makefile.am:
5581 * libs/gst/control/control.c:
5582 * libs/gst/control/control.h:
5583 * libs/gst/control/dparam.c:
5584 * libs/gst/control/dparam.h:
5585 * libs/gst/control/dparam_smooth.c:
5586 * libs/gst/control/dparam_smooth.h:
5587 * libs/gst/control/dparamcommon.h:
5588 * libs/gst/control/dparammanager.c:
5589 * libs/gst/control/dparammanager.h:
5590 * libs/gst/control/dplinearinterp.c:
5591 * libs/gst/control/dplinearinterp.h:
5592 * libs/gst/control/unitconvert.c:
5593 * libs/gst/control/unitconvert.h:
5594 * testsuite/Makefile.am:
5595 * testsuite/dynparams/.cvsignore:
5596 * testsuite/dynparams/Makefile.am:
5597 * testsuite/dynparams/dparamstest.c:
5598 * tools/Makefile.am:
5599 * tools/gst-inspect.c: (print_element_info), (main):
5600 * tools/gst-xmlinspect.c: (print_element_info), (main):
5601 deactivate and remove dparams (libgstcontrol)
5603 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5605 * gst/elements/gsttypefindelement.c:
5606 (gst_type_find_element_have_type), (gst_type_find_element_init),
5607 (stop_typefinding), (gst_type_find_element_handle_event),
5608 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5609 * gst/elements/gsttypefindelement.h:
5610 Set caps on all outgoing buffers, not just the first one.
5612 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5614 * gst/elements/gsttypefindelement.c:
5615 (gst_type_find_element_have_type),
5616 (gst_type_find_element_check_set_buffer_caps),
5617 (gst_type_find_element_init), (stop_typefinding),
5618 (gst_type_find_element_handle_event),
5619 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5620 * gst/elements/gsttypefindelement.h:
5621 Set caps on first outgoing buffer when we've found the type.
5623 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5625 * docs/gst/gstreamer-docs.sgml:
5626 * docs/gst/gstreamer-sections.txt:
5627 * docs/gst/tmpl/gstscheduler.sgml:
5628 * docs/gst/tmpl/gstschedulerfactory.sgml:
5629 Remove some old cruft from docs.
5631 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5634 Fix inline docs for GstPadLinkReturn.
5636 * gst/gststructure.c: (gst_structure_has_name):
5637 * gst/gststructure.h:
5638 * docs/gst/gstreamer-sections.txt:
5639 New API: gst_structure_has_name().
5641 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5644 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5645 and _LARGEFILE_SOURCE in config.h as required. Do not
5646 export those flags in our .pc files any longer (#142209).
5648 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5650 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5651 (gst_file_sink_do_seek), (gst_file_sink_event),
5652 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5653 Redo seek/tell calls with large file support in mind; add some
5654 debugging messages; add log message that tells us when large
5655 file support is unavailable or not enabled for some reason.
5657 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5658 Add log message that tells us when large file support
5659 is unavailable or not enabled for some reason.
5661 2005-07-29 Wim Taymans <wim@fluendo.com>
5663 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5664 Added test for removing an element with ghostpad from a bin.
5665 Fixed test as current implementation does the right thing.
5667 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5668 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5669 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5670 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5671 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5672 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5673 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5674 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5675 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5676 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5677 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5678 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5679 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5680 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5681 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5682 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5683 * gst/gstghostpad.h:
5684 Clean up ghostpads, remove properties for internal stuff.
5687 Prepare for switching targets, not all use cases work yet.
5689 2005-07-29 Wim Taymans <wim@fluendo.com>
5691 * docs/design/part-gstghostpad.txt:
5694 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5695 (gst_bin_remove_func):
5696 Unlinking pads while holding the bin LOCK is not a good
5699 * gst/gstpad.c: (gst_pad_class_init),
5700 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5701 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5702 No prob setting template after creating the pad.
5704 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5706 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5707 (gst_bus_peek), (gst_bus_source_dispatch),
5708 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5709 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5710 gst_bus_poll may be called from other threads. Handle
5711 this nicely by not making poll_data disappear off the
5712 stack once gst_bus_poll returns.
5713 gst_bus_peek now increments the refcount on the returned
5716 2005-07-29 Wim Taymans <wim@fluendo.com>
5718 * docs/design/part-gstghostpad.txt:
5719 Overview of current GhostPad datastructures and use
5720 cases for changing the target.
5722 2005-07-28 Wim Taymans <wim@fluendo.com>
5724 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5725 Added checks for hierarchy consistency whan adding linked
5728 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5729 Added check to test element scheduling without bin/pipeline.
5731 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5732 First add elements to bin, then link.
5734 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5735 (gst_bin_remove_func):
5736 Unlink pads from elements added/removed from bin to maintain
5737 hierarchy consistency.
5739 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5741 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5742 (gst_base_transform_handle_buffer):
5743 * gst/base/gstbasetransform.h:
5744 Remove broken delay_configure (fixes renegotiation of software
5745 scaling pipelines); remove some leftover printf()s.
5747 2005-07-28 Wim Taymans <wim@fluendo.com>
5749 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5750 Added some more tests for wrong hierarchy
5752 * docs/design/part-overview.txt:
5755 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5758 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5759 (gst_element_dispose):
5762 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5763 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5764 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5765 (gst_pad_set_caps), (gst_pad_send_event):
5766 Check for correct hierarchy when linking pads. Moving to
5767 strict requirement for ghostpads when linking elements in
5771 Clean ups. Added WRONG_HIERARCHY return value.
5773 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5775 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5776 Better debug if no transform is possible.
5778 2005-07-27 Wim Taymans <wim@fluendo.com>
5780 * docs/random/wtay/network-transp:
5783 2005-07-27 Wim Taymans <wim@fluendo.com>
5785 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5786 (gst_dp_event_from_packet):
5787 Fix serialization of seek events.
5789 2005-07-27 Wim Taymans <wim@fluendo.com>
5791 * check/gst-libs/gdp.c: (GST_START_TEST):
5792 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5793 Fix compilation and fix event serialization.
5795 2005-07-27 Wim Taymans <wim@fluendo.com>
5798 * docs/design/part-TODO.txt:
5799 * docs/design/part-events.txt:
5802 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5803 (gst_base_sink_event), (gst_base_sink_do_sync),
5804 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5805 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5806 (gst_base_src_do_seek), (gst_base_src_event_handler),
5807 (gst_base_src_loop):
5808 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5809 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5810 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5811 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5812 (gst_base_transform_set_passthrough),
5813 (gst_base_transform_is_passthrough):
5814 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5815 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5821 * gst/gstelement.c: (gst_element_seek):
5823 Update gst_element_seek.
5825 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5826 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5827 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5828 (gst_event_new_eos), (gst_event_new_newsegment),
5829 (gst_event_parse_newsegment), (gst_event_new_tag),
5830 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5831 (gst_event_parse_qos), (gst_event_new_seek),
5832 (gst_event_parse_seek), (gst_event_new_navigation):
5834 Make GstEvent use GstStructure. Add parsing code, make sure the
5835 API is sufficiently generic.
5836 Mark possible directions of events and serialization.
5838 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5839 (_gst_message_copy), (gst_message_new_segment_start),
5840 (gst_message_new_segment_done), (gst_message_new_custom),
5841 (gst_message_parse_segment_start),
5842 (gst_message_parse_segment_done):
5845 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5846 (gst_pad_set_caps), (gst_pad_send_event):
5847 Update for new events.
5848 Catch events sent in wrong directions.
5850 * gst/gstqueue.c: (gst_queue_link_src),
5851 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5852 (gst_queue_handle_src_query):
5857 Remove event code from this file.
5859 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5860 (gst_dp_event_from_packet):
5863 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5865 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5866 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5867 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5868 Make debugging actually useful.
5870 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5872 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5873 (gst_pad_fixate_caps):
5874 Implement default fixation once again, so that gst_pad_fixate()
5875 actually does anything at all. This probably needs to be some
5876 sort of a last resort, and use profile-based fixation first, but
5877 since that doesn't exist yet, this is the best we have. Fixes
5878 visualization in Totem.
5880 2005-07-22 Wim Taymans <wim@fluendo.com>
5882 * docs/design/part-events.txt:
5885 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5886 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5887 (gst_base_sink_activate_pull):
5890 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5891 (gst_fake_src_create):
5892 Fix handoff marshall.
5894 * gst/elements/gstidentity.c: (gst_identity_class_init),
5895 (gst_identity_transform_ip):
5896 We're a real inplace element.
5898 * gst/gstbus.c: (gst_bus_post):
5899 Added some comments.
5901 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5902 * tests/muxing/case1.c: (main):
5903 * tests/sched/dynamic-pipeline.c: (main):
5904 * tests/sched/interrupt1.c: (main):
5905 * tests/sched/interrupt2.c: (main):
5906 * tests/sched/interrupt3.c: (main):
5907 * tests/sched/runxml.c: (main):
5908 * tests/sched/sched-stress.c: (main):
5909 * tests/seeking/seeking1.c: (event_received), (main):
5910 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5912 * tests/threadstate/threadstate3.c: (main):
5913 * tests/threadstate/threadstate4.c: (main):
5914 * tests/threadstate/threadstate5.c: (main):
5917 2005-07-21 Wim Taymans <wim@fluendo.com>
5919 * docs/design/part-seeking.txt:
5920 Some small additions.
5922 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5923 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5924 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5925 * gst/base/gstbasesink.h:
5926 discont values are gint64, handle the math correctly.
5928 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5929 Make the basesrc report error if the source pad is not linked.
5931 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5932 (gst_queue_loop), (gst_queue_handle_src_query),
5933 (gst_queue_src_activate_push):
5934 Make queue collect data even if the srcpad is not linked.
5935 Start pushing out data as soon as it is linked.
5937 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5939 Added gst_flow_get_name() to ease error reporting.
5941 2005-07-20 Wim Taymans <wim@fluendo.com>
5943 * gst/gstmessage.c: (gst_message_new_segment_start),
5944 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5945 (gst_message_parse_segment_done):
5947 Added a bunch of messages for advanced seeking.
5949 * gst/parse/grammar.y:
5950 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5951 (gst_dpman_state_changed):
5952 Fix some new-pad -> pad-added signals
5954 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5956 * docs/manual/appendix-porting.xml:
5957 * docs/pwg/appendix-porting.xml:
5958 Document new-pad/state-change signal renames and the FixedList
5961 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5963 * docs/manual/advanced-autoplugging.xml:
5964 * docs/manual/basics-helloworld.xml:
5965 * docs/manual/basics-pads.xml:
5966 * docs/random/ds/0.9-suggested-changes:
5967 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5972 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5973 (gst_structure_parse_array), (gst_structure_parse_value):
5974 * gst/gstvalue.c: (gst_type_is_fixed),
5975 (gst_value_list_prepend_value), (gst_value_list_append_value),
5976 (gst_value_list_get_size), (gst_value_list_get_value),
5977 (gst_value_transform_array_string), (gst_value_serialize_array),
5978 (gst_value_deserialize_array), (gst_value_intersect_array),
5979 (gst_value_is_fixed), (_gst_value_initialize):
5981 GstElement::new-pad -> pad-added, GstElement::state-change ->
5982 state-changed, GstValueFixedList -> GstValueArray, add format and
5983 flags as their own arguments in gst_element_seek() (should improve
5984 "bindeability"), remove function generators since they don't work
5985 under a whole bunch of compilers (they were deprecated already
5988 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5990 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5991 (_gst_debug_register_funcptr):
5993 Fix illegal cast on some platforms (#309253).
5995 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5997 * gst/gstmessage.c: (gst_message_new_custom):
5999 Add _new_custom, make _new_application a macro to _new_custom.
6001 2005-07-20 Wim Taymans <wim@fluendo.com>
6003 * gst/base/gstbasesrc.c: (gst_base_src_init),
6004 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6005 * gst/base/gstbasesrc.h:
6006 Add a gboolean to decide when to push out a discont.
6008 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6009 (gst_queue_loop), (gst_queue_handle_src_query),
6010 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6011 (gst_queue_set_property), (gst_queue_get_property):
6014 * tests/threadstate/threadstate1.c: (main):
6015 Make a thread test compile and run... very silly..
6018 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6020 * docs/manual/appendix-porting.xml:
6021 Mention removal of libgstgconf-0.9.la and existence of gconf
6024 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6026 * docs/pwg/advanced-clock.xml:
6027 * docs/pwg/appendix-porting.xml:
6028 * docs/pwg/intro-preface.xml:
6029 * docs/pwg/other-base.xml:
6030 * docs/pwg/other-manager.xml:
6031 * docs/pwg/other-nton.xml:
6032 * docs/pwg/other-ntoone.xml:
6033 * docs/pwg/other-oneton.xml:
6035 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6036 demuxer), remove n-to-n (was never written), fix some code examples
6037 and links and update the porting section to include all this.
6039 2005-07-19 Wim Taymans <wim@fluendo.com>
6041 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6042 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6043 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6044 (gst_queue_src_activate_push), (gst_queue_change_state),
6045 (gst_queue_get_property):
6047 Propagate GstFlowReturn more intelligently upstream and output
6048 an ERROR/EOS when streaming stopped due to fatal error.
6050 2005-07-19 Wim Taymans <wim@fluendo.com>
6052 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6053 Don't block forever for the state change to complete, the
6054 pipeline already did with a sensible timeout.
6056 2005-07-19 Wim Taymans <wim@fluendo.com>
6058 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6059 Make sure we never call the create function is we
6062 2005-07-19 Andy Wingo <wingo@pobox.com>
6064 * gst/parse/parse.l: Attempt to solve bug #172815.
6066 2005-07-19 Wim Taymans <wim@fluendo.com>
6068 * docs/design/part-clocks.txt:
6069 * docs/design/part-events.txt:
6070 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6072 Only update the seeking values when we are not
6075 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6077 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6078 Oops, ignore the result of gst_pad_push_event here.
6080 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6082 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6083 (gst_base_src_activate_push):
6084 Send discont event from the loop function, as pads
6085 aren't activated yet in the activate_push handler.
6087 * gst/gstbin.c: (bin_bus_handler):
6088 Don't leak element name.
6090 2005-07-18 Andy Wingo <wingo@pobox.com>
6092 * configure.ac: Use AS_LIBTOOL_TAGS.
6094 2005-07-18 Wim Taymans <wim@fluendo.com>
6096 * docs/gst/gstreamer.types:
6097 Remove deleted types.
6099 2005-07-18 Wim Taymans <wim@fluendo.com>
6101 * check/elements/gstfakesrc.c: (GST_START_TEST):
6104 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6105 (init_popt_callback):
6107 * gst/gst_private.h:
6108 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6109 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6112 * gst/gstconfig.h.in:
6113 * gst/gstelement.c: (gst_element_class_init),
6114 (gst_element_set_base_time), (gst_element_get_base_time),
6115 (iterator_fold_with_resync), (gst_element_change_state),
6116 (gst_element_dispose), (gst_element_get_bus):
6118 * gst/gstelementfactory.h:
6119 * gst/gsterror.c: (_gst_core_errors_init):
6122 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6124 * gst/gstinfo.c: (_gst_debug_init):
6125 * gst/gstmessage.c: (_gst_message_copy):
6127 * gst/gstminiobject.h:
6130 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6131 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6134 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6135 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6136 (gst_pipeline_get_last_stream_time):
6137 * gst/gstpipeline.h:
6138 * gst/gstpluginfeature.h:
6140 * gst/gstscheduler.c:
6141 * gst/gstscheduler.h:
6142 * gst/gststructure.h:
6143 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6144 (gst_task_finalize), (gst_task_func), (gst_task_create),
6145 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6146 (gst_task_stop), (gst_task_pause):
6148 * gst/gsttypefind.h:
6150 * gst/registries/gstlibxmlregistry.c: (load_feature),
6151 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6152 * gst/registries/gstxmlregistry.c:
6153 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6154 * gst/schedulers/threadscheduler.c:
6155 * libs/gst/control/dparammanager.h:
6156 * tools/gst-inspect.c: (print_element_list),
6157 (print_plugin_features), (print_element_features):
6158 * tools/gst-xmlinspect.c: (print_element_list),
6159 (print_plugin_info), (main):
6160 Removed plugable schedulers.
6161 Removed Scheduler/Manager from elements.
6162 Removed gsttypes.h, rearranged includes.
6163 Removed dependency pad<->element, element<>pipeline, and
6164 various others, fix includes.
6165 implement gst_pad_get_parent() with gst_object_get_parent()
6166 Make GstTask sefcontained.
6167 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6169 Fix endless loop in iterator_fold_with_resync.
6172 2005-07-18 Wim Taymans <wim@fluendo.com>
6178 2005-07-18 Wim Taymans <wim@fluendo.com>
6183 2005-07-18 Wim Taymans <wim@fluendo.com>
6189 2005-07-18 Wim Taymans <wim@fluendo.com>
6191 * docs/design/part-dynamic.txt:
6192 * docs/design/part-events.txt:
6193 * docs/design/part-seeking.txt:
6194 Some more docs in the works.
6196 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6197 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6198 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6199 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6200 (gst_base_transform_handle_buffer),
6201 (gst_base_transform_sink_activate_push),
6202 (gst_base_transform_src_activate_pull),
6203 (gst_base_transform_set_passthrough),
6204 (gst_base_transform_is_passthrough):
6207 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6210 * gst/gstevent.c: (gst_event_finalize):
6213 * gst/gstutils.c: (gst_element_unlink),
6214 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6215 (gst_pad_proxy_setcaps):
6217 Add _get_parent_element() to get a pads parent as an element.
6219 2005-07-18 Wim Taymans <wim@fluendo.com>
6221 * check/gst/gstbin.c: (GST_START_TEST):
6224 2005-07-18 Wim Taymans <wim@fluendo.com>
6226 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6227 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6228 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6229 (gst_base_sink_event), (gst_base_sink_do_sync),
6230 (gst_base_sink_chain), (gst_base_sink_loop),
6231 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6232 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6234 Fix logic for returning ASYNC when not prerolled.
6236 2005-07-18 Wim Taymans <wim@fluendo.com>
6238 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6239 Fix nasty refcount bug.
6241 2005-07-16 Philippe Khalaf <burger@speedy.org>
6243 * gst/elements/gstfdsrc.c:
6244 * gst/elements/gstfdsrc.h:
6245 * gst/elements/gstelements.c:
6246 * gst/elements/Makefile.am:
6247 Ported fdsrc to 0.9.
6249 2005-07-16 Wim Taymans <wim@fluendo.com>
6251 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6252 (gst_base_sink_do_sync):
6255 2005-07-16 Wim Taymans <wim@fluendo.com>
6257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6258 (gst_base_sink_event), (gst_base_sink_get_times),
6259 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6260 * gst/base/gstbasesink.h:
6261 Store and use discont values when syncing buffers as described
6264 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6265 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6266 (gst_base_src_activate_push):
6267 Push discont event when starting.
6269 * gst/elements/gstidentity.c: (gst_identity_transform):
6272 * gst/gstbin.c: (gst_bin_change_state):
6273 Small cleanups in base_time distribution.
6275 * gst/gstelement.c: (gst_element_set_base_time),
6276 (gst_element_get_base_time), (gst_element_change_state):
6278 Added methods for the base_time of the element.
6281 * gst/gstpipeline.c: (gst_pipeline_send_event),
6282 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6283 (gst_pipeline_get_last_stream_time):
6284 * gst/gstpipeline.h:
6286 Handle seeking as described in design doc, remove stream_time
6288 Cleanups clock and stream_time selection code. Added accessors
6289 for the stream_time.
6292 2005-07-16 Andy Wingo <wingo@pobox.com>
6294 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6297 2005-07-16 Wim Taymans <wim@fluendo.com>
6299 * check/gst/gstbin.c: (GST_START_TEST):
6300 Make elements silent as the deep_notify refs the
6301 parent, which might make the test fail.
6303 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6304 Don't hold the lock for too long.
6306 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6308 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6309 Don't unref the caps we passed to gst_caps_make_writable() after
6310 passing them. gst_caps_make_writable() will do that for us.
6312 2005-07-15 Andy Wingo <wingo@pobox.com>
6314 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6317 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6318 own marshalling function for the handoff signal. Properly type the
6319 buffer as a buffer. Fixes some warnings. Should do a more general
6321 (gst_identity_class_init): Plug into the right marshaller.
6323 2005-07-15 Wim Taymans <wim@fluendo.com>
6325 * docs/design/part-TODO.txt:
6326 * docs/design/part-clocks.txt:
6327 * docs/design/part-element-sink.txt:
6328 * docs/design/part-events.txt:
6329 * docs/design/part-gstpipeline.txt:
6330 Updated docs, mostly DISCONT related.
6332 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6334 * docs/pwg/building-pads.xml:
6335 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6337 2005-07-15 Andy Wingo <wingo@pobox.com>
6339 * tools/gst-typefind.c: Update, add copyright block.
6341 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6342 Normalize and truncate caps before fixation.
6345 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6346 discards all but the first structure from its argument.
6348 2005-07-15 Wim Taymans <wim@fluendo.com>
6350 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6351 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6352 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6353 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6354 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6355 (gst_base_transform_chain), (gst_base_transform_change_state),
6356 (gst_base_transform_set_passthrough),
6357 (gst_base_transform_is_passthrough):
6358 * gst/base/gstbasetransform.h:
6359 Make passthrough work using the bufferpools.
6360 Changed API a bit, subclasses have to write into a buffer
6361 provided by the base class.
6362 More debug info in nego functions.
6364 * gst/elements/gstidentity.c: (gst_identity_init),
6365 (gst_identity_transform):
6366 Port to new base class.
6368 2005-07-15 Wim Taymans <wim@fluendo.com>
6370 * gst/gstmessage.c: (gst_message_new_state_changed):
6371 * tools/gst-launch.c: (event_loop), (main):
6372 Totally dump messages in -launch with the -m option.
6373 Fix message name for State messages,
6375 2005-07-14 Wim Taymans <wim@fluendo.com>
6377 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6378 Post error messages on errors.
6380 2005-07-14 Wim Taymans <wim@fluendo.com>
6382 * gst/gstcaps.c: (gst_caps_do_simplify):
6386 Define error for stream stopped.
6388 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6389 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6390 Do proper return values.
6392 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6393 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6394 (gst_pad_get_range):
6395 Better return values.
6398 Reorganise return values, add macro to check for fatal errors.
6400 * gst/gstqueue.c: (gst_queue_chain):
6401 Return proper GstFlowReturn values,
6403 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6405 * docs/gst/gstreamer-sections.txt:
6406 * docs/gst/gstreamer.types:
6407 * docs/gst/tmpl/gst.sgml:
6408 * docs/gst/tmpl/gstbasesink.sgml:
6409 * docs/gst/tmpl/gstbasesrc.sgml:
6410 * docs/gst/tmpl/gstbasetransform.sgml:
6411 * docs/gst/tmpl/gstbin.sgml:
6412 * docs/gst/tmpl/gstbuffer.sgml:
6413 * docs/gst/tmpl/gstcaps.sgml:
6414 * docs/gst/tmpl/gstclock.sgml:
6415 * docs/gst/tmpl/gstcompat.sgml:
6416 * docs/gst/tmpl/gstconfig.sgml:
6417 * docs/gst/tmpl/gstelement.sgml:
6418 * docs/gst/tmpl/gstelementdetails.sgml:
6419 * docs/gst/tmpl/gstelementfactory.sgml:
6420 * docs/gst/tmpl/gstenumtypes.sgml:
6421 * docs/gst/tmpl/gsterror.sgml:
6422 * docs/gst/tmpl/gstevent.sgml:
6423 * docs/gst/tmpl/gstfakesink.sgml:
6424 * docs/gst/tmpl/gstfakesrc.sgml:
6425 * docs/gst/tmpl/gstfilesink.sgml:
6426 * docs/gst/tmpl/gstfilesrc.sgml:
6427 * docs/gst/tmpl/gstfilter.sgml:
6428 * docs/gst/tmpl/gstformat.sgml:
6429 * docs/gst/tmpl/gstghostpad.sgml:
6430 * docs/gst/tmpl/gstimplementsinterface.sgml:
6431 * docs/gst/tmpl/gstindex.sgml:
6432 * docs/gst/tmpl/gstindexfactory.sgml:
6433 * docs/gst/tmpl/gstinfo.sgml:
6434 * docs/gst/tmpl/gstiterator.sgml:
6435 * docs/gst/tmpl/gstmacros.sgml:
6436 * docs/gst/tmpl/gstmemchunk.sgml:
6437 * docs/gst/tmpl/gstminiobject.sgml:
6438 * docs/gst/tmpl/gstobject.sgml:
6439 * docs/gst/tmpl/gstpad.sgml:
6440 * docs/gst/tmpl/gstpadtemplate.sgml:
6441 * docs/gst/tmpl/gstparse.sgml:
6442 * docs/gst/tmpl/gstpipeline.sgml:
6443 * docs/gst/tmpl/gstplugin.sgml:
6444 * docs/gst/tmpl/gstpluginfeature.sgml:
6445 * docs/gst/tmpl/gstquery.sgml:
6446 * docs/gst/tmpl/gstqueue.sgml:
6447 * docs/gst/tmpl/gstregistry.sgml:
6448 * docs/gst/tmpl/gstregistrypool.sgml:
6449 * docs/gst/tmpl/gstscheduler.sgml:
6450 * docs/gst/tmpl/gstschedulerfactory.sgml:
6451 * docs/gst/tmpl/gststructure.sgml:
6452 * docs/gst/tmpl/gstsystemclock.sgml:
6453 * docs/gst/tmpl/gsttaglist.sgml:
6454 * docs/gst/tmpl/gsttagsetter.sgml:
6455 * docs/gst/tmpl/gsttrace.sgml:
6456 * docs/gst/tmpl/gsttrashstack.sgml:
6457 * docs/gst/tmpl/gsttypefind.sgml:
6458 * docs/gst/tmpl/gsttypefindfactory.sgml:
6459 * docs/gst/tmpl/gsttypes.sgml:
6460 * docs/gst/tmpl/gsturihandler.sgml:
6461 * docs/gst/tmpl/gsturitype.sgml:
6462 * docs/gst/tmpl/gstutils.sgml:
6463 * docs/gst/tmpl/gstvalue.sgml:
6464 * docs/gst/tmpl/gstversion.sgml:
6465 * docs/gst/tmpl/gstxml.sgml:
6466 * docs/libs/tmpl/gstcontrol.sgml:
6467 * docs/libs/tmpl/gstdataprotocol.sgml:
6468 * docs/libs/tmpl/gstdparam.sgml:
6469 * docs/libs/tmpl/gstdplinint.sgml:
6470 * docs/libs/tmpl/gstdpman.sgml:
6471 * docs/libs/tmpl/gstdpsmooth.sgml:
6472 * docs/libs/tmpl/gstgetbits.sgml:
6473 * docs/libs/tmpl/gstunitconvert.sgml:
6474 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6475 (gst_push_src_base_init), (gst_push_src_class_init),
6476 (gst_push_src_init), (gst_push_src_create):
6477 * gst/base/gstpushsrc.h:
6478 * gst/elements/gstelements.c:
6479 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6480 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6481 (gst_fake_sink_init), (gst_fake_sink_set_property),
6482 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6483 (gst_fake_sink_event), (gst_fake_sink_preroll),
6484 (gst_fake_sink_render), (gst_fake_sink_change_state):
6485 * gst/elements/gstfakesink.h:
6486 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6487 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6488 (gst_fake_src_base_init), (gst_fake_src_class_init),
6489 (gst_fake_src_init), (gst_fake_src_event_handler),
6490 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6491 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6492 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6493 (gst_fake_src_create_buffer), (gst_fake_src_create),
6494 (gst_fake_src_start), (gst_fake_src_stop):
6495 * gst/elements/gstfakesrc.h:
6496 * gst/elements/gstfilesink.c: (_do_init),
6497 (gst_file_sink_base_init), (gst_file_sink_class_init),
6498 (gst_file_sink_init), (gst_file_sink_dispose),
6499 (gst_file_sink_set_location), (gst_file_sink_set_property),
6500 (gst_file_sink_get_property), (gst_file_sink_open_file),
6501 (gst_file_sink_close_file), (gst_file_sink_query),
6502 (gst_file_sink_event), (gst_file_sink_render),
6503 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6504 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6505 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6506 * gst/elements/gstfilesink.h:
6507 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6508 (gst_file_src_class_init), (gst_file_src_init),
6509 (gst_file_src_finalize), (gst_file_src_set_location),
6510 (gst_file_src_set_property), (gst_file_src_get_property),
6511 (gst_file_src_map_region), (gst_file_src_map_small_region),
6512 (gst_file_src_create_mmap), (gst_file_src_create_read),
6513 (gst_file_src_create), (gst_file_src_is_seekable),
6514 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6515 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6516 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6517 (gst_file_src_uri_handler_init):
6518 * gst/elements/gstfilesrc.h:
6519 more autistic cleanliness in functions/names/defines
6521 2005-07-13 Andy Wingo <wingo@pobox.com>
6523 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6524 source couldn't negotiate.
6526 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6530 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6531 function. I am channeling Hades. Put your boots on suckers!!!
6533 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6535 * testsuite/caps/Makefile.am:
6536 * testsuite/caps/value_compare.c:
6537 * testsuite/caps/value_intersect.c:
6538 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6539 move two testsuite apps over to the check dir
6541 2005-07-12 Wim Taymans <wim@fluendo.com>
6543 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6544 Added more debug info in the negotiate process.
6547 Prepare for segment playback.
6549 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6555 * tools/gst-launch.c: (main):
6556 NULL pipeline on errors.
6558 2005-07-12 Andy Wingo <wingo@pobox.com>
6560 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6561 not it comes from a malloc region. Make sure our copy gets freed.
6563 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6565 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6566 * check/gst/gstmessage.c: (GST_START_TEST):
6567 * check/gst/gststructure.c: (GST_START_TEST),
6568 (gst_structure_suite), (main):
6570 * gst/gstelement.c: (gst_element_message_full):
6571 clean up GError and debug string now that they get copied
6572 * gst/gstmessage.c: (gst_message_new_error),
6573 (gst_message_new_warning), (gst_message_parse_error),
6574 (gst_message_parse_warning):
6575 use GST_TYPE_G_ERROR for structure_new, and take copies of
6576 arguments, so that we don't mess up refcounting
6578 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6580 * check/Makefile.am:
6581 add per-test valgrind targets
6582 * check/gst-libs/gdp.c: (GST_START_TEST),
6583 (gst_data_protocol_suite), (main):
6586 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6588 * check/Makefile.am:
6589 instate more valgrindable tests
6590 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6591 (GST_START_TEST), (fakesrc_suite):
6592 * check/gst/gstpad.c: (GST_START_TEST):
6593 * check/gst/gststructure.c: (GST_START_TEST):
6595 * docs/gst/tmpl/gstminiobject.sgml:
6596 * gst/gstpad.c: (gst_pad_finalize):
6597 fix the static mutex leak
6599 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6601 * check/Makefile.am:
6602 add two more tests for valgrinding
6603 * check/gst/gstvalue.c: (GST_START_TEST):
6604 test refcount of deserialized buffer, found a leak
6605 * docs/gst/gstreamer-docs.sgml:
6606 * docs/gst/gstreamer-sections.txt:
6607 * docs/gst/gstreamer.types:
6608 * docs/gst/tmpl/gstminiobject.sgml:
6609 add miniobject to docs
6610 * gst/gstminiobject.c:
6612 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6613 (gst_string_unwrap):
6614 fix a hard-to-find invalid write for one of the tests
6615 fix a leak for deserialized buffers
6617 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6619 * docs/pwg/advanced-events.xml:
6620 * docs/pwg/advanced-request.xml:
6621 * docs/pwg/advanced-scheduling.xml:
6622 * docs/pwg/appendix-porting.xml:
6623 * docs/pwg/building-boiler.xml:
6624 * docs/pwg/intro-preface.xml:
6625 * docs/pwg/other-ntoone.xml:
6626 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6627 of example code and explanation for pad activation, loop() and
6628 getrange() functions and a bit more. Remove old comments pointing
6630 * examples/pwg/Makefile.am:
6631 Add loop/getrange examples.
6633 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6636 check for valgrind binary + some fixes
6638 valgrind suppressions for the tests
6639 * check/Makefile.am:
6640 add a valgrind: target that valgrinds the unit tests
6641 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6642 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6643 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6644 * check/gst/gstghostpad.c:
6646 * check/gst/gstdata.c:
6648 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6649 (thread_unref), (gst_mini_object_suite), (main):
6651 * gst/gst.c: (gst_deinit):
6653 add a method to clean up.
6654 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6655 (gst_system_clock_obtain):
6656 allow for disposing the system clock.
6657 * tools/gst-launch.c: (main):
6660 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6662 * docs/gst/tmpl/gstbasesrc.sgml:
6663 * docs/gst/tmpl/gstfakesrc.sgml:
6664 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6665 (gst_base_src_init), (gst_base_src_set_property),
6666 (gst_base_src_get_property), (gst_base_src_get_range),
6667 (gst_base_src_start):
6668 * gst/base/gstbasesrc.h:
6669 add num-buffers property
6670 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6671 (gst_fakesrc_init), (gst_fakesrc_set_property),
6672 (gst_fakesrc_get_property), (gst_fakesrc_create),
6673 (gst_fakesrc_start):
6674 remove num-buffers property
6676 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6678 * docs/gst/gstreamer-sections.txt:
6679 * docs/gst/tmpl/gstbasesink.sgml:
6680 * docs/gst/tmpl/gstbasesrc.sgml:
6681 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6682 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6683 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6684 (gst_base_sink_set_property), (gst_base_sink_get_property),
6685 (gst_base_sink_handle_object), (gst_base_sink_event),
6686 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6687 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6688 (gst_base_sink_loop), (gst_base_sink_deactivate),
6689 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6690 (gst_base_sink_change_state):
6691 * gst/base/gstbasesink.h:
6692 * gst/base/gstbasesrc.h:
6693 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6694 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6695 (gst_filesink_init):
6696 more macro splitting
6698 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6700 * gst/gstelement.c: (gst_element_get_bus):
6702 * tools/gst-launch.c: (check_intr), (event_loop):
6705 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6707 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6710 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6712 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6713 (gst_base_src_finalize):
6714 add finalize method and clean up properly
6715 * gst/gstpipeline.c: (gst_pipeline_dispose):
6718 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6720 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6722 add more things to check
6723 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6727 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6729 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6730 (GST_START_TEST), (fakesrc_suite):
6731 * check/gst-libs/gdp.c: (GST_START_TEST):
6732 * check/gst/gst.c: (GST_START_TEST):
6733 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6734 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6735 * check/gst/gstbus.c: (GST_START_TEST):
6736 * check/gst/gstcaps.c: (GST_START_TEST):
6737 * check/gst/gstdata.c: (GST_START_TEST):
6738 * check/gst/gstelement.c: (GST_START_TEST):
6739 * check/gst/gstghostpad.c: (GST_START_TEST):
6740 * check/gst/gstiterator.c: (GST_START_TEST):
6741 * check/gst/gstmessage.c: (GST_START_TEST):
6742 * check/gst/gstobject.c: (GST_START_TEST):
6743 * check/gst/gstpad.c: (GST_START_TEST):
6744 * check/gst/gststructure.c: (GST_START_TEST):
6745 * check/gst/gstsystemclock.c: (GST_START_TEST),
6746 (gst_systemclock_suite):
6747 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6748 * check/gst/gstvalue.c: (GST_START_TEST):
6749 * check/pipelines/cleanup.c: (GST_START_TEST):
6750 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6751 * check/states/sinks.c: (GST_START_TEST):
6752 * check/gstcheck.c: (gst_check_init):
6754 add debugging category
6755 use GST_START_TEST now, so we add a debug line
6757 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6759 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6760 add test for state change message on a bin
6761 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6763 * gst/gstbin.c: (gst_bin_init):
6764 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6765 * gst/gstelement.c: (gst_element_post_message),
6766 (gst_element_set_state):
6767 * gst/gstelementfactory.c: (gst_element_factory_create):
6768 * gst/gstmessage.c: (gst_message_new):
6769 * gst/gstscheduler.c:
6770 various debugging additions and cleanups
6772 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6774 * check/Makefile.am:
6775 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6777 adding tests for elements
6778 * gst/gstelement.c: (gst_element_dispose):
6780 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6782 * gst/registries/gstlibxmlregistry.c: (load_feature):
6783 plug more leaks. A simple gst_init() now is leakfree, yay.
6785 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6787 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6788 (gst_xml_registry_load):
6789 plug another memleak
6791 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6794 use GST_SET_ERROR_CFLAGS
6796 change to ERROR_CFLAGS
6798 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6801 make GST_ERROR_CFLAGS overridable and re-enable Werror
6803 add a note about error CFLAGS
6804 * docs/gst/tmpl/gstfakesrc.sgml:
6805 * gst/elements/gstfakesrc.c:
6806 comment out some unused code
6807 * gst/gst.c: (split_and_iterate):
6808 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6812 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6814 * common/Makefile.am:
6815 * common/gtk-doc.mak:
6816 * docs/gst/Makefile.am:
6817 factor out gtk-doc.mak
6819 2005-07-07 Wim Taymans <wim@fluendo.com>
6821 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6822 (gst_thread_scheduler_dispose):
6823 Unlock the STREAM_LOCK completely.
6825 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6827 * check/Makefile.am:
6828 * check/elements/.cvsignore:
6829 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6830 (START_TEST), (fakesrc_suite), (main):
6831 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6832 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6833 (gst_fakesrc_create), (gst_fakesrc_start):
6834 * gst/elements/gstfakesrc.h:
6835 adding a first element test
6837 2005-07-07 Andy Wingo <wingo@pobox.com>
6839 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6842 2005-07-07 Wim Taymans <wim@fluendo.com>
6848 2005-07-07 Wim Taymans <wim@fluendo.com>
6850 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6851 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6852 Allow subclasses to implement their own negotiation.
6854 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6856 * docs/design/part-gstbin.txt:
6857 * docs/design/part-gstpipeline.txt:
6858 Update design notes to reflect the movement of
6859 responsibility for bus handling from GstPipeline to
6862 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6865 Remove unnecessary queue2/3/4 examples.
6867 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6869 * examples/Makefile.am:
6870 * examples/helloworld/helloworld.c: (event_loop), (main):
6871 * examples/queue/queue.c: (event_loop), (main):
6872 * examples/queue2/queue2.c: (main):
6873 Update a couple of the examples to work again.
6875 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6876 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6877 Spelling corrections and extra debug.
6879 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6880 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6881 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6883 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6884 (gst_pipeline_change_state):
6885 * gst/gstpipeline.h:
6886 Move the bus handler for children to the GstBin, and create a
6887 separate bus for receiving messages from children to the one the
6888 bus sends 'upwards' on.
6890 2005-07-06 Wim Taymans <wim@fluendo.com>
6893 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6894 (gst_base_sink_handle_object), (gst_base_sink_loop),
6895 (gst_base_sink_change_state):
6896 * gst/base/gstbasesink.h:
6897 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6898 (gst_base_src_init), (gst_base_src_setcaps),
6899 (gst_base_src_getcaps), (gst_base_src_loop),
6900 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6901 (gst_base_src_start), (gst_base_src_change_state):
6902 * gst/base/gstbasesrc.h:
6903 Make basesrc negotiate.
6904 Handle the case where preroll fails in basesink.
6907 2005-07-06 Wim Taymans <wim@fluendo.com>
6909 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6910 Implement the fixate function.
6911 Clean up acceptcaps.
6913 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6915 * docs/pwg/building-filterfactory.xml:
6917 Remove never-written filter-factory chapter; I'll add the various
6918 base classes to part 4 ("other element types") later on.
6920 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6922 * docs/pwg/advanced-negotiation.xml:
6923 * docs/pwg/building-boiler.xml:
6924 * docs/pwg/building-pads.xml:
6926 * examples/pwg/Makefile.am:
6927 Add a chapter on caps negotiation, simplify the original code
6928 samples a bit w.r.t. caps negotiation, add link to the advanced
6929 section. Add a bunch of examples showing different use cases of
6930 different types of caps negotiation. Upstream renegotiation isn't
6931 fully documented yet since nobody knows how that works.
6933 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6935 * check/gst/gstpad.c:
6937 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6938 if pad has no parent, return NULL as list of internal links
6940 2005-07-05 Andy Wingo <wingo@pobox.com>
6942 * gst/elements/gstfilesrc.c:
6943 * gst/elements/gstfakesrc.c:
6944 * gst/base/gstpushsrc.c:
6945 * gst/base/gstbasesrc.h:
6946 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6948 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6951 better report generation target (lcov needs a patch)
6953 2005-07-05 Andy Wingo <wingo@pobox.com>
6955 * gst/elements, testsuite: Null if we got it...
6957 2005-07-05 Wim Taymans <wim@fluendo.com>
6960 * libs/gst/dataprotocol/Makefile.am:
6961 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6962 * libs/gst/dataprotocol/dataprotocol.h:
6963 * pkgconfig/Makefile.am:
6964 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6965 * pkgconfig/gstreamer-dataprotocol.pc.in:
6966 Ported dataprotol to 0.9.
6967 Added pkgconfig files.
6969 2005-07-05 Andy Wingo <wingo@pobox.com>
6971 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6972 Default to returning TRUE for the case when tranform_caps returns
6973 a fixed caps, like for identity or volume.
6975 * check/gst/gstbus.c (pound_bus_with_messages):
6976 * check/gst/gstmessage.c (START_TEST):
6977 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6980 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6981 logic weaks here: always run transform_caps, trying passthrough
6982 operation only if the original caps intersects with the transform.
6984 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6985 source and sink caps.
6987 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6988 Intersect the peer caps with the pad template before going into
6990 (gst_base_transform_transform_caps): More debugging.
6992 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6995 2005-07-04 Edward Hervey <edward@fluendo.com>
6999 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7002 2005-07-04 Andy Wingo <wingo@pobox.com>
7004 * check/gst/gstpad.c: Only set explicit caps on pads.
7006 2005-07-01 Andy Wingo <wingo@pobox.com>
7008 * tests/network-clock.scm: Commentary update.
7010 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7011 Didn't really make sense, not implementable with basetransform,
7013 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7014 attempt at implementing the sync property, needs an unlock method.
7016 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7017 New func, by default returns the same caps (the identity
7019 (gst_base_transform_getcaps): Uses transform_caps to return
7021 (gst_base_transform_setcaps): Complicated logic to get caps on
7022 both pads, even if they are different, and to call set_caps once
7023 for every time both pads get their caps set.
7024 (gst_base_transform_handle_buffer): Give the ref to the transform
7025 function. Allows in-place modification of the buffer.
7027 * gst/base/gstbasetransform.h (transform_caps): New class method.
7028 Given caps on one side, what can I do on the other.
7029 (set_caps): Take two caps, one for each side of the element.
7032 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7033 caps in place. This is safe because we can check the mutability of
7034 the caps, and a good idea because fixate functions are just called
7035 as a matter of last resort. (Not actually implemented.)
7036 (gst_pad_set_caps): If the caps we're setting is actually the same
7037 as the existing pad caps, just update the pointer without calling
7038 setcaps. Assert that caps is either NULL or fixed, as per the
7041 * gst/gstghostpad.c: Update for fixate changes.
7043 2005-07-02 Andy Wingo <wingo@pobox.com>
7046 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7047 two refcounts makes it immutable, which is enough. Doc more.
7049 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7051 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7052 Put the mini_object into GValue as a mini_object,
7053 not a gpointer, since that's how we declared
7056 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7058 * examples/pwg/Makefile.am:
7061 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7063 * docs/pwg/building-testapp.xml:
7065 * examples/pwg/Makefile.am:
7068 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7071 * examples/Makefile.am:
7072 * examples/pwg/Makefile.am:
7073 * examples/pwg/extract.pl:
7074 Enable building the PWG examples.
7075 * docs/pwg/advanced-interfaces.xml:
7076 Add URI interface stub.
7077 * docs/pwg/advanced-types.xml:
7078 * docs/pwg/other-autoplugger.xml:
7079 * docs/pwg/appendix-porting.xml:
7081 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7082 * docs/pwg/building-boiler.xml:
7083 * docs/pwg/building-chainfn.xml:
7084 * docs/pwg/building-pads.xml:
7085 * docs/pwg/building-props.xml:
7086 * docs/pwg/building-state.xml:
7087 * docs/pwg/building-testapp.xml:
7088 Update the building-*.xml parts for 0.9 changes. All examples
7089 code blocks compile in examples/pwg/*.
7091 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7093 * docs/manual/advanced-autoplugging.xml:
7094 * docs/manual/appendix-checklist.xml:
7095 * docs/manual/appendix-integration.xml:
7096 * docs/manual/highlevel-components.xml:
7097 Fix playbin/decodebin examples, update docs a bit, mention bus
7098 instead of signals in various places, mention kmplayer and
7099 kaffeine since they have a working GStreamer backend in the KDE
7102 2005-06-30 Wim Taymans <wim@fluendo.com>
7105 * docs/design/draft-ghostpads.txt:
7106 * docs/design/draft-push-pull.txt:
7107 * docs/design/draft-query.txt:
7108 * docs/design/part-TODO.txt:
7109 * docs/design/part-query.txt:
7110 Added CHANGES-0.9 doc, updated status of other docs.
7115 2005-06-30 Wim Taymans <wim@fluendo.com>
7117 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7118 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7119 (gst_base_sink_change_state):
7120 * gst/base/gstbasesink.h:
7121 Some tweaks, only EOS and a buffer complete a preroll.
7123 2005-06-30 Andy Wingo <wingo@pobox.com>
7125 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7126 activate_push down to the internal pad as well.
7128 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7130 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7132 * gst/gsttaginterface.c:
7133 Some documentation fixes (#307394 and #307397).
7135 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7137 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7139 * gst/gstvalue.c: (gst_value_intersect_list):
7140 Fix memleak (#309125).
7142 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7144 * docs/manual/advanced-dataaccess.xml:
7145 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7146 * docs/manual/basics-pads.xml:
7147 Add reference for filtered caps to above chapter.
7149 2005-06-30 Wim Taymans <wim@fluendo.com>
7151 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7152 (gst_bin_change_state):
7154 Lame attempt at making the state change function a bit
7157 2005-06-30 Wim Taymans <wim@fluendo.com>
7159 * docs/design/part-clocks.txt:
7160 * docs/design/part-element-sink.txt:
7161 * docs/design/part-events.txt:
7162 * docs/design/part-preroll.txt:
7163 * docs/design/part-states.txt:
7164 Some more tweeks and additions to the docs.
7166 2005-06-30 Wim Taymans <wim@fluendo.com>
7168 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7169 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7170 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7171 (gst_pad_check_pull_range), (gst_pad_get_range),
7172 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7174 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7175 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7176 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7177 (gst_pad_remove_buffer_probe):
7178 Removed atomic operations, use existing LOCK.
7179 Move exception handling out of main code path.
7181 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7183 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7184 (silly_return_true_function), (gst_pad_class_init),
7185 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7186 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7187 (gst_pad_send_event):
7188 Fix accumulator, add default value by using _emitv() instead
7189 of _emit() for signal emission.
7191 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7193 * docs/manual/advanced-dataaccess.xml:
7194 * examples/manual/Makefile.am:
7196 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7199 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7201 * gst/elements/gstfilesink.c: (gst_filesink_render):
7202 Simplify code so that we don't have to handle short
7203 writes and return GST_FLOW_ERROR if an error occured.
7205 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7207 * docs/gst/gstreamer-docs.sgml:
7210 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7212 * docs/gst/gstreamer-sections.txt:
7213 * docs/gst/tmpl/gstpad.sgml:
7214 * docs/gst/tmpl/gstprobe.sgml:
7216 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7217 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7218 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7219 (gst_pad_push_event), (gst_pad_send_event):
7221 * gst/gstutils.c: (gst_pad_add_data_probe),
7222 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7223 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7224 (gst_pad_remove_buffer_probe):
7226 Remove old probes, add new g-signal-based probes and some utility
7229 2005-06-29 Edward Hervey <edward@fluendo.com>
7231 * gst/gstelementfactory.c:
7234 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7235 the definition to the header file.
7237 2005-06-29 Andy Wingo <wingo@pobox.com>
7239 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7240 plugins from the source directory.
7242 2005-06-29 Wim Taymans <wim@fluendo.com>
7244 * docs/gst/tmpl/gstbuffer.sgml:
7245 * docs/gst/tmpl/gstclock.sgml:
7246 Some fixings for blantently wrong text.
7248 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7250 * check/Makefile.am:
7251 * gst/gst.c: (add_path_func), (init_pre):
7252 * gst/gstregistry.c: (gst_registry_add_path):
7253 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7254 only scan the GST_PLUGIN_PATH locations, and not add
7257 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7259 * docs/gst/gstreamer-sections.txt:
7260 * docs/gst/tmpl/gstbasesrc.sgml:
7267 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7269 * docs/manual/advanced-autoplugging.xml:
7270 Fix autoplugging example.
7272 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7274 * docs/manual/advanced-autoplugging.xml:
7275 * docs/manual/mime-world.fig:
7276 Try to get autoplugging working, fix type detection. Fix text
7277 in hello-world image.
7279 2005-06-29 Wim Taymans <wim@fluendo.com>
7281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7282 (gst_base_sink_change_state):
7286 map SIGNAL and BROADCAST to the right function.
7289 Remove redundant braces.
7291 * gst/gstpad.c: (gst_pad_set_caps):
7292 Don't call setcaps function when reseting caps to NULL.
7294 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7295 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7296 (gst_system_clock_id_unschedule):
7297 Use BROADCAST as this is what we do.
7299 2005-06-29 Wim Taymans <wim@fluendo.com>
7301 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7302 We are actually prerolling before commiting the state
7305 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7307 * docs/manual/advanced-clocks.xml:
7308 * docs/manual/advanced-interfaces.xml:
7309 * docs/manual/advanced-metadata.xml:
7310 * docs/manual/advanced-position.xml:
7311 * docs/manual/advanced-schedulers.xml:
7312 * docs/manual/advanced-threads.xml:
7313 * docs/manual/appendix-porting.xml:
7314 * docs/manual/basics-bins.xml:
7315 * docs/manual/basics-bus.xml:
7316 * docs/manual/basics-elements.xml:
7317 * docs/manual/basics-helloworld.xml:
7318 * docs/manual/basics-pads.xml:
7319 * docs/manual/highlevel-components.xml:
7320 * docs/manual/manual.xml:
7321 * docs/manual/thread.fig:
7322 Update (until threads/scheduling) Application Development Manual;
7323 remove GstThread, add GstBus, add simple porting checklist, add
7324 documentation for tag writing, clocks, make all examples until this
7325 part compile and run.
7326 * examples/manual/Makefile.am:
7327 Update from changes to Application Development Manual; add bus
7328 example, remove thread example.
7330 2005-06-28 Wim Taymans <wim@fluendo.com>
7332 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7333 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7334 (gst_bus_source_dispatch):
7335 Add debugging messages.
7336 Make internal methods static.
7337 Handle the case where the bus is flushed in the handler.
7339 * gst/gstelement.c: (gst_element_get_bus):
7340 Fix refcount in _get_bus();
7342 * gst/gstpipeline.c: (gst_pipeline_change_state),
7343 (gst_pipeline_get_clock_func):
7344 Clock refcounting fixes.
7345 Handle the case where preroll timed out more gracefully.
7347 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7348 Clean up the internal thread in dispose. This is needed
7349 for subclasses that actually get disposed.
7351 * gst/schedulers/threadscheduler.c:
7352 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7353 (gst_thread_scheduler_dispose):
7354 Free thread pool in dispose.
7356 2005-06-28 Andy Wingo <wingo@pobox.com>
7358 * tests/network-clock-utils.scm (debug, print-event): New utils.
7360 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7361 (*packet-loss*): Unified loss probability.
7362 (network-time): Report out-of-band events.
7364 * tests/plot-data: Add support for out-of-band events. Hack it
7365 into this script instead of passing it down the pipe; should fix
7368 2005-06-28 Wim Taymans <wim@fluendo.com>
7370 * docs/gst/gstreamer.types:
7371 * docs/gst/tmpl/gstbasesrc.sgml:
7372 * docs/gst/tmpl/gstpad.sgml:
7375 2005-06-28 Wim Taymans <wim@fluendo.com>
7377 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7378 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7379 (gst_proxy_pad_do_fixatecaps):
7380 Correctly proxy the check_pull_range function.
7382 2005-06-28 Andy Wingo <wingo@pobox.com>
7384 * tests/network-clock.scm: Removed need for slib.
7386 2005-06-28 Wim Taymans <wim@fluendo.com>
7388 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7389 (gst_basesink_preroll_queue_flush):
7390 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7391 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7392 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7393 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7394 (gst_proxy_pad_set_property):
7397 * gst/gstqueue.c: (gst_queue_init):
7398 The deprecated pad loop function is removed now.
7400 2005-06-28 Andy Wingo <wingo@pobox.com>
7402 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7403 New parameters, simulate network packet loss.
7405 * tests/network-clock-utils.scm: Initialize the RNG.
7407 2005-06-28 Wim Taymans <wim@fluendo.com>
7409 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7410 (gst_basesink_event), (gst_basesink_deactivate):
7411 Flushing the preroll queue always needs to unlock the waiters.
7413 2005-06-28 Edward Hervey <edward@fluendo.com>
7415 * gst/gstpipeline.c: (gst_pipeline_send_event):
7416 Wheen a seek was successful on a pipeline, set the stream_time to the
7417 seek offset in order to have a synchronized stream_time.
7419 2005-06-28 Wim Taymans <wim@fluendo.com>
7421 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7422 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7423 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7424 (gst_proxy_pad_do_fixatecaps):
7425 Call wrapper function instead of just calling the function
7426 pointers. This takes care of any locking and whatmore.
7428 2005-06-28 Wim Taymans <wim@fluendo.com>
7430 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7431 (gst_pad_pull_range):
7433 CONNECTED -> LINKED.
7435 2005-06-28 Andy Wingo <wingo@pobox.com>
7437 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7438 source-munging commit!!!
7440 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7441 (gst_object_sink): Take gpointer arguments, not GstObject --
7442 avoids casts. Like GLib.
7444 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7447 2005-06-27 Andy Wingo <wingo@pobox.com>
7449 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7452 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7453 returns a sorted copy of the trace list.
7454 (gst_alloc_trace_print_live): New API, only prints traces with
7455 live objects. Sort the list.
7456 (gst_alloc_trace_print_all): Sort the list.
7457 (gst_alloc_trace_print): Align columns.
7459 * gst/elements/gstttypefindelement.c:
7460 * gst/elements/gsttee.c:
7461 * gst/base/gstbasesrc.c:
7462 * gst/base/gstbasesink.c:
7463 * gst/base/gstbasetransform.c:
7464 * gst/gstqueue.c: Adapt for pad activation changes.
7466 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7468 (gst_pipeline_dispose): Drop ref on sched.
7470 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7471 (gst_pad_activate_default): Push mode by default.
7472 (pre_activate_switch, post_activate_switch): New stubs, things to
7473 do before and after switching activation modes on pads.
7474 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7475 the pad's activate function to choose which mode to activate.
7476 Shortcut on deactivation and call the right function directly.
7477 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7479 (gst_pad_activate_push): New API, same for push mode.
7480 (gst_pad_set_activate_function)
7481 (gst_pad_set_activatepull_function)
7482 (gst_pad_set_activatepush_function): Setters for new API.
7484 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7485 Trace all miniobjects.
7486 (gst_mini_object_make_writable): Unref the arg if we copy, like
7487 gst_caps_make_writable.
7489 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7491 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7492 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7493 Adapt for new pad API.
7495 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7498 * gst/gstelement.c (gst_element_iterate_src_pads)
7499 (gst_element_iterate_sink_pads): New API functions.
7501 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7502 should fold into gstiterator.c in some form.
7503 (gst_element_pads_activate): Simplified via use of fold and
7504 delegation of decisions to gstpad->activate.
7506 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7509 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7510 class once in init, like gstmessage. Didn't run into this issue
7511 but it seems correct. Don't initialize a trace, gstminiobject does
7514 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7515 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7517 (assert_live_count): New util function, uses alloc traces to check
7520 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7521 To be modified when unlink drops the internal pad.
7523 2005-06-27 Wim Taymans <wim@fluendo.com>
7525 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7526 (gst_bin_change_state):
7527 Cleanup the get_state() function a little, make sure it
7528 iterates the same set of elements.
7529 Added stub iterate_state_order().
7531 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7533 * docs/gst/gstreamer-docs.sgml:
7534 * docs/gst/gstreamer-sections.txt:
7535 * docs/gst/gstreamer.types:
7536 * docs/gst/tmpl/gstbasesink.sgml:
7537 * docs/gst/tmpl/gstbasesrc.sgml:
7538 * docs/gst/tmpl/gstbasetransform.sgml:
7539 * docs/gst/tmpl/gstelement.sgml:
7540 * docs/gst/tmpl/gstiterator.sgml:
7541 * gst/base/gstbasesrc.c:
7542 * gst/base/gstbasesrc.h:
7543 * gst/base/gstbasetransform.h:
7545 * gst/gstiterator.h:
7546 adding basetransform and iterator docs
7548 2005-06-27 Andy Wingo <wingo@pobox.com>
7550 * docs/design/part-activation.txt: Notes on how activation should
7551 work -- not quite implemented yet.
7553 2005-06-25 Wim Taymans <wim@fluendo.com>
7555 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7556 At least get the chain function correct, needs more
7559 2005-06-25 Wim Taymans <wim@fluendo.com>
7561 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7562 (gst_basesink_handle_object), (gst_basesink_event),
7563 (gst_basesink_do_sync), (gst_basesink_handle_event),
7564 (gst_basesink_change_state):
7566 Right, two problems here: ghostpads don't take locks and
7567 glib _rec_mutex_lock_full() with depth==0 still locks.
7568 Catch illegal locking and g_warn them.
7570 2005-06-25 Wim Taymans <wim@fluendo.com>
7572 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7573 Have to check for completion now...
7575 2005-06-25 Wim Taymans <wim@fluendo.com>
7577 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7578 (gst_basesink_handle_object), (gst_basesink_event),
7579 (gst_basesink_do_sync), (gst_basesink_handle_event),
7580 (gst_basesink_change_state):
7582 Unlock STREAM_LOCK whatever the recursion was.
7584 2005-06-25 Wim Taymans <wim@fluendo.com>
7586 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7587 (gst_basesink_preroll_queue_empty),
7588 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7589 (gst_basesink_event), (gst_basesink_do_sync),
7590 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7591 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7592 (gst_basesink_change_state):
7593 Reworked the base sink, handle event and buffer serialisation
7594 correctly and removed possible deadlock.
7595 Handle EOS correctly.
7597 2005-06-25 Wim Taymans <wim@fluendo.com>
7599 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7600 (gst_pipeline_change_state):
7601 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7602 Allow elements to post EOS in the state change function.
7603 Fix up -launch, make it exit the poll loop when the
7604 pipeline actually changed state.
7605 Fix up warning parsing in -launch.
7607 2005-06-25 Wim Taymans <wim@fluendo.com>
7609 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7610 (gst_tee_sink_activate):
7611 Core takes STREAM_LOCK for us now.
7613 2005-06-25 Wim Taymans <wim@fluendo.com>
7615 * gst/gstelement.c: (gst_element_get_state_func),
7616 (gst_element_set_state):
7618 * gst/gstmessage.c: (gst_message_parse_error),
7619 (gst_message_parse_warning):
7620 Keep track of current target state while performing a state
7621 change so that subclasses can do something interesting.
7622 Fix parsing of warning/error messages when GError is NULL.
7624 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7626 * docs/gst/Makefile.am:
7627 * docs/gst/gstreamer-docs.sgml:
7628 * docs/gst/gstreamer-sections.txt:
7629 * docs/gst/gstreamer.types:
7630 * docs/gst/tmpl/gstbasesink.sgml:
7631 * docs/gst/tmpl/gstbasesrc.sgml:
7632 * docs/gst/tmpl/gstbin.sgml:
7633 * docs/gst/tmpl/gstcompat.sgml:
7634 * docs/gst/tmpl/gstfakesink.sgml:
7635 * docs/gst/tmpl/gstfakesrc.sgml:
7636 * docs/gst/tmpl/gstfilesink.sgml:
7637 * docs/gst/tmpl/gstfilesrc.sgml:
7638 * docs/gst/tmpl/gstindex.sgml:
7639 * docs/manual/appendix-quotes.xml:
7640 * gst/base/gstbasesrc.h:
7641 * gst/elements/gstfakesrc.h:
7643 start pulling in base classes and elements in our docs
7645 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7647 * docs/gst/Makefile.am:
7648 * docs/libs/Makefile.am:
7649 fixed make distcheck with gtk-doc 1.3
7651 2005-06-23 Wim Taymans <wim@fluendo.com>
7653 * gst/gstelement.c: (gst_element_get_state_func),
7654 (gst_element_set_state), (gst_element_change_state):
7655 When the state did not change, also report NO_PREROLL
7658 2005-06-23 Wim Taymans <wim@fluendo.com>
7660 * gst/gstpad.c: (gst_pad_event_default):
7661 * gst/gstqueue.c: (gst_queue_loop):
7662 No unsafe task pausing please.
7664 2005-06-23 Wim Taymans <wim@fluendo.com>
7666 * gst/schedulers/threadscheduler.c:
7667 (gst_thread_scheduler_task_start),
7668 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7669 Ref the task before pushing it on the threadpool. This
7670 makes sure that we have a ref when the threadfunction is
7673 2005-06-23 Andy Wingo <wingo@pobox.com>
7675 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7676 offset is greater than the file's size.
7678 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7679 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7680 * gst/gstobject.c (gst_object_class_init): Make the class lock
7681 recursive. Wim won't let me drop deep_notify. Decodebin works
7684 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7685 internal pad, and hacks accordingly. Doesn't do it on the target
7686 pad because we change its caps. Probably catches all cases of
7688 (gst_ghost_pad_set_property): Connect to notify::caps as
7691 * tests/network-clock.scm (plot-simulation): Pipe data to the
7692 elite python skript.
7694 * tests/network-clock-utils.scm (define-parameter): New macro,
7695 defines a parameter that can be set via the command line.
7696 (set-parameter!, parse-parameter-arguments): Command line args
7699 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7702 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7704 * gst/elements/gsttypefindelement.c:
7705 (gst_type_find_element_handle_event):
7706 Don't restart typefinding on a discont.
7707 * gst/gstelement.c: (gst_element_set_state):
7709 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7710 Allow changing mode of an active pad.
7712 * gst/registries/gstlibxmlregistry.c: (load_feature):
7713 Don't cast a static pad template to a normal pad template.
7715 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7717 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7718 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7719 remove gst_strtoll completely, since it didn't actually do
7720 anything more than what g_ascii_strtoull already does.
7721 check for range errors when deserializing
7722 do a cast for the unsigned cases; but further fixing needs
7723 a decision on what the interpretation of "(int)" and
7724 deserialization should be for values that fall outside the
7725 type's boundaries (ie, refuse, or interpret as casting)
7727 2005-06-23 Wim Taymans <wim@fluendo.com>
7729 * check/Makefile.am:
7730 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7731 * docs/design/part-live-source.txt:
7732 * docs/design/part-states.txt:
7733 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7734 (gst_basesrc_set_live), (gst_basesrc_is_live),
7735 (gst_basesrc_get_range), (gst_basesrc_activate),
7736 (gst_basesrc_change_state):
7737 * gst/base/gstbasesrc.h:
7738 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7739 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7740 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7741 * gst/gstelement.c: (gst_element_get_state_func),
7742 (gst_element_set_state):
7745 * tools/gst-launch.c: (event_loop), (main):
7746 Added support for live sources and other elements that
7748 Updated design docs, added live-source design doc.
7749 Implemented live source functionality in basesrc
7750 Fix error condition in _bin_get_state()
7751 Implement live source handling in -launch.
7752 Added check for live sources.
7753 Fixed case in GstBin where elements were changed state
7757 2005-06-23 Andy Wingo <wingo@pobox.com>
7759 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7762 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7763 gst_caps_replace takes care of this for us.
7765 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7766 gst_pad_set_caps on the target, not just its setcaps() function.
7768 * tests/network-clock.scm:
7769 * tests/network-clock-utils.scm: A network clock simulator.
7770 Something of an algorithmic testbed before doing something in C.
7772 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7774 * check/Makefile.am:
7775 * check/gst/capslist.h:
7776 copy over from 0.8, and add two with bitmasks specified with
7778 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7779 add test to parse everything from capslist.h
7780 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7782 add test for structure deserialization
7783 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7784 add tests for deserialization of strings to int types
7785 * gst/gststructure.c: (gst_structure_nth_field_name):
7786 * gst/gststructure.h:
7787 add a way to get the name of a field referenced by index
7788 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7789 instead of checking if the resulting long long lies between
7790 min and max, we check if the long long would fit into
7791 a number of bytes for the final type.
7792 This fixes cases where a string represents 2^32 - 1, which
7793 when cast to int would be the (valid) -1, but is bigger than
7796 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7798 * gst/parse/grammar.y:
7799 add a log line for type deserialization
7801 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7803 * check/gst/gstvalue.c: (START_TEST):
7804 * gst/gstvalue.c: (gst_value_deserialize):
7805 return long long, not int, so gint64 deserialization actually
7806 works. Is there any flag that makes the compiler check this ?
7809 2005-06-22 Wim Taymans <wim@fluendo.com>
7812 Added convenience macros for setting buffers in GValue.
7814 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7816 * check/gst/.cvsignore:
7817 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7818 add a test deserializing int64, and comment part out because
7821 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7823 * check/Makefile.am:
7824 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7825 * testsuite/Makefile.am:
7826 * testsuite/caps/Makefile.am:
7827 * testsuite/caps/value_serialize.c:
7828 * testsuite/test_gst_init.c:
7829 move a value_serialize test over
7831 2005-06-20 Wim Taymans <wim@fluendo.com>
7836 * gst/gstvalue.c: (gst_value_compare_buffer),
7837 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7838 (gst_value_compare_flags), (gst_value_serialize_flags),
7839 (gst_value_deserialize_flags), (_gst_value_initialize):
7840 Fix serialisation of buffers, they are not boxed types anymore
7842 2005-06-20 Wim Taymans <wim@fluendo.com>
7844 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7845 Testcase to show error in buffer-on-caps serialisation.
7847 2005-06-20 Andy Wingo <wingo@pobox.com>
7849 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7850 will be adding to later.
7852 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7853 if its socks fill with rocks.
7854 (gst_system_clock_obtain): Set the name on object construction.
7855 Avoid double-checked locking.
7857 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7859 * gst/gsturi.c: (gst_element_make_from_uri):
7860 Fix potential endless loop.
7862 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7864 * check/Makefile.am:
7866 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7868 move over from testsuite dir and clean up
7871 * testsuite/Makefile.am:
7872 * testsuite/tags/.cvsignore:
7873 * testsuite/tags/Makefile.am:
7874 * testsuite/tags/merge.c:
7875 remove testsuite/tags
7877 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7879 * docs/gst/gstreamer-sections.txt:
7880 * docs/gst/tmpl/gstenumtypes.sgml:
7881 * win32/gstenumtypes.c:
7882 clean up documentation build a little
7884 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7887 add macros for checking refcounts on objects and caps
7888 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7889 add some more unit tests
7890 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7891 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7892 fix leaked refcounts (I hope :)) so unittest works
7896 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7898 * configure.ac: back to HEAD
7900 === release 0.9.1 ===
7902 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7908 2005-06-17 Andy Wingo <wingo@pobox.com>
7910 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7911 assert; it's always possible that the pad gets deactivated in
7912 between the checks in gstpad.c and the implementation. Rely on
7913 finish_preroll() to return a FLUSHING or similar instead of on the
7916 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7917 clock and post an EOS message if we come out of finish_preroll in
7920 2005-06-16 David Schleef <ds@schleef.org>
7922 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7923 (gst_capsfilter_set_property): Allow NULL as possible value
7924 for filter_caps property, indicating GST_CAPS_ANY.
7926 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7928 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7930 * gst/schedulers/Makefile.am:
7932 * gstreamer.spec.in:
7935 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7937 * gstreamer.spec.in:
7940 2005-06-08 Andy Wingo <wingo@pobox.com>
7942 * gst/gstutils.c: RPAD fixes all around.
7943 (gst_element_link_pads): Refcounting fixes.
7945 * tools/gst-inspect.c:
7946 * tools/gst-xmlinspect.c:
7948 * gst/base/gsttypefindhelper.c:
7949 * gst/base/gstbasesink.c:
7950 * gst/gstqueue.c: RPAD fixes.
7952 * gst/gstghostpad.h:
7953 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7954 pads. The tricky thing is they provide both source and sink
7955 interfaces, since they proxy the internal pad for the external
7956 pad, and vice versa. Implement with lower-level ProxyPad objects,
7957 with the interior proxy pad as a child of the exterior ghost pad.
7958 Should write a doc on this.
7960 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7961 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7964 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7965 pads are real pads. No ghost pads in this file. Not documenting
7966 the myriad s/RPAD/PAD/ and REALIZE fixes.
7967 (gst_pad_class_init): Add properties for "direction" and
7968 "template". Both are construct-only, so they can't change during
7969 the life of the pad. Fixes properly deriving from GstPad.
7970 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7971 derived objects, just set properties when creating the objects via
7973 (gst_pad_get_parent): Implement as a function, return NULL if the
7974 parent is not an element.
7975 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7976 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7978 * gst/gstobject.c (gst_object_class_init): Make name a construct
7979 property. Don't set it in the object init.
7981 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7982 with UNKNOWN direction.
7983 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7984 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7985 (gst_element_remove_pad): Remove ghost-pad special cases.
7986 (gst_element_pads_activate): Remove rpad cruft.
7988 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7989 catch the pad's-parent-not-an-element case.
7991 * gst/gst.h: Include gstghostpad.h.
7993 * gst/gst.c (init_post): No more real, ghost pads.
7995 * gst/Makefile.am: Add gstghostpad.[ch].
7997 * check/Makefile.am:
7998 * check/gst/gstbin.c:
7999 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8000 into a bin creates ghost pads, and that the refcounts are right.
8001 Partly moved from gstbin.c.
8003 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8005 * check/gst-libs/.cvsignore:
8006 * check/gst/.cvsignore:
8007 * check/pipelines/.cvsignore:
8009 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8010 (START_TEST), (cleanup_suite), (main):
8011 add some tests related to cleanup after running pipelines
8013 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8015 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8016 add a testsuite for GstBuffer
8018 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8020 * gst/gstminiobject.h:
8021 add defines for accessing the refcount
8023 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8025 * Makefile.am: added support for html unit test coverage reports
8027 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8029 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8030 Free existing caps if the capsfilter changes. Add a FIXME about
8031 setting those caps on the pads.
8033 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8034 Before adding a ghost pad to a parent bin, check that there isn't
8035 already one for the element on the bin. Prevents infinite recursion
8036 when using decodebin in parse pipelines. Andy says he'll rewrite the
8037 way this works anyway, so ignore the hack.
8039 2005-06-02 Andy Wingo <wingo@pobox.com>
8041 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8042 file size, pass it on to the type find helper.
8044 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8045 segment_start and segment_end properly according to the seek
8046 method. Segment_end is still a bit flaky because offset can be
8047 negative for CUR and END cases, but it takes -1 as an "unset"
8050 2005-06-02 Wim Taymans <wim@fluendo.com>
8052 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8053 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8054 (gst_basesink_activate):
8055 * gst/base/gstbasesink.h:
8056 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8057 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8058 (gst_pad_query), (gst_pad_start_task):
8060 * gst/gstqueue.c: (gst_queue_bufferalloc),
8061 (gst_queue_handle_sink_event), (gst_queue_chain):
8062 Bufferalloc: return GstFlowReturn to more accuratly report
8063 why allocation failed.
8065 2005-06-02 Wim Taymans <wim@fluendo.com>
8067 * gst/gstpipeline.c: (gst_pipeline_send_event):
8068 Take snapshot of state without blocking.
8070 2005-06-02 Wim Taymans <wim@fluendo.com>
8072 * docs/design/part-TODO.txt:
8073 * docs/design/part-caps.txt:
8074 * docs/design/part-clocks.txt:
8075 * docs/design/part-negotiation.txt:
8076 * docs/design/part-preroll.txt:
8079 2005-05-30 Wim Taymans <wim@fluendo.com>
8081 * gst/elements/gstidentity.c: (gst_identity_event),
8082 (gst_identity_transform), (gst_identity_get_property):
8083 Protect last_message property as it is accessed from
8086 2005-05-30 Wim Taymans <wim@fluendo.com>
8088 * gst/gstelement.c: (gst_element_init),
8089 (gst_element_pads_activate), (gst_element_change_state):
8090 Slicker pad activation code.
8092 2005-05-30 Wim Taymans <wim@fluendo.com>
8096 * gst/gstelementfactory.h:
8098 Move elementfactory methods to separate .h file.
8100 2005-05-30 Wim Taymans <wim@fluendo.com>
8102 * docs/design/part-overview.txt:
8103 * gst/gstsystemclock.h:
8104 Small typo fixes, doc updates.
8106 2005-05-30 Wim Taymans <wim@fluendo.com>
8108 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8109 (init_popt_callback):
8110 Remove cpu-opt flag.
8112 2005-05-30 Wim Taymans <wim@fluendo.com>
8114 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8115 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8117 Avoid typechecking in places where not needed.
8118 Added accessor for malloc_data.
8120 2005-05-30 Wim Taymans <wim@fluendo.com>
8122 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8123 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8124 (gst_pad_configure_sink), (gst_pad_configure_src),
8125 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8126 (gst_pad_start_task):
8127 Propagate errors from _set_caps() in configure_src/sink
8128 functions instead of returning TRUE.
8129 FLUSH events can travel up and downstream
8132 2005-05-30 Wim Taymans <wim@fluendo.com>
8134 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8135 (gst_basesink_activate):
8136 Handle EOS in preroll.
8138 2005-05-30 Wim Taymans <wim@fluendo.com>
8140 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8141 (gst_queue_loop), (gst_queue_handle_src_event):
8142 Remove old pieces of code
8143 Flushing the queue in an upstream event is a very bad idea.
8145 2005-05-26 Andy Wingo <wingo@pobox.com>
8147 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8148 gst_value_set_mini_object so as to add a ref on the object (which
8149 will be removed when the value is unset).
8151 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8152 arg type in ::handoff.
8154 * gst/gstelement.c (gst_element_change_state): Also deactivate
8155 pads in READY->NULL, just in case the element didn't make it to
8156 PAUSED. Wingo tested, Wim approved.
8158 2005-05-26 Wim Taymans <wim@fluendo.com>
8160 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8161 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8162 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8163 A flushing pad cannot be used to alloc_buffer from.
8165 2005-05-26 Wim Taymans <wim@fluendo.com>
8167 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8168 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8169 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8170 (gst_bus_create_watch), (gst_bus_add_watch_full):
8172 Implement a real GSource and use g_main_context_wakeup() to
8173 signal new messages instead of the socketpair.
8175 2005-05-25 Wim Taymans <wim@fluendo.com>
8177 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8178 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8179 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8180 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8181 (gst_pad_send_event), (gst_pad_start_task):
8182 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8183 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8184 (gst_queue_sink_activate), (gst_queue_src_activate),
8185 (gst_queue_change_state):
8187 Fix state changes for non sinks. We now change sinks, then elements
8188 with unconnected srcpads, then the rest.
8189 More efficient queue unlocking in flush and state changes.
8190 Set the pad activate mode even if it does not have an activate
8193 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8195 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8196 Don't go in pull mode for non-seekable sources.
8197 * gst/elements/gsttypefindelement.h:
8198 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8199 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8200 (free_entry), (stop_typefinding),
8201 (gst_type_find_element_handle_event), (find_peek),
8202 (gst_type_find_element_chain), (do_pull_typefind),
8203 (gst_type_find_element_change_state):
8204 Allow typefinding (w/o seeking) in push-mode, simplified version
8206 * gst/gstutils.c: (gst_buffer_join):
8208 gst_buffer_join() from 0.8.
8210 2005-05-25 Wim Taymans <wim@fluendo.com>
8212 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8213 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8214 (gst_pad_send_event), (gst_pad_start_task):
8215 Disable attempt at mode switching until it is figured out.
8217 2005-05-25 Wim Taymans <wim@fluendo.com>
8219 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8220 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8221 (gst_basesink_finish_preroll), (gst_basesink_chain),
8222 (gst_basesink_loop), (gst_basesink_activate),
8223 (gst_basesink_change_state):
8224 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8225 (gst_basesrc_get_range), (gst_basesrc_loop),
8226 (gst_basesrc_activate):
8227 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8228 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8229 (gst_real_pad_init), (gst_real_pad_set_property),
8230 (gst_real_pad_get_property), (gst_pad_set_active),
8231 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8232 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8233 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8234 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8235 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8236 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8237 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8238 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8239 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8240 (gst_pad_stop_task):
8242 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8243 (gst_queue_loop), (gst_queue_src_activate):
8244 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8245 (gst_task_get_state):
8247 * gst/schedulers/threadscheduler.c:
8248 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8249 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8251 Remove ACTIVE pad flag, use FLUSHING everywhere
8252 Added _pad_chain(), _pad_get_range() to call chain/getrange
8254 Add locks around IS_FLUSHING when reading.
8255 Take STREAM lock in chain(), get_range() functions so plugins
8256 don't need to take it anymore.
8260 2005-05-25 Wim Taymans <wim@fluendo.com>
8262 * tools/gst-launch.c: (event_loop):
8263 Unref message after using its contents instead of
8266 2005-05-24 Wim Taymans <wim@fluendo.com>
8268 * docs/design/draft-ghostpads.txt:
8269 * docs/design/draft-push-pull.txt:
8270 * docs/design/draft-query.txt:
8271 * docs/design/part-overview.txt:
8272 Docs updates, added general overview doc.
8274 2005-05-21 David Schleef <ds@schleef.org>
8276 * docs/gst/tmpl/old/GstBin.sgml:
8277 * docs/gst/tmpl/old/GstBuffer.sgml:
8278 * docs/gst/tmpl/old/GstCaps.sgml:
8279 * docs/gst/tmpl/old/GstClock.sgml:
8280 * docs/gst/tmpl/old/GstCompat.sgml:
8281 * docs/gst/tmpl/old/GstData.sgml:
8282 * docs/gst/tmpl/old/GstElement.sgml:
8283 * docs/gst/tmpl/old/GstEvent.sgml:
8284 * docs/gst/tmpl/old/GstIndex.sgml:
8285 * docs/gst/tmpl/old/GstStructure.sgml:
8286 * docs/gst/tmpl/old/GstTag.sgml:
8287 * docs/gst/tmpl/old/cothreads.sgml:
8288 * docs/gst/tmpl/old/cothreads_compat.sgml:
8289 * docs/gst/tmpl/old/gettext.sgml:
8290 * docs/gst/tmpl/old/gobject2gtk.sgml:
8291 * docs/gst/tmpl/old/grammar.tab.sgml:
8292 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8293 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8294 * docs/gst/tmpl/old/gst_private.sgml:
8295 * docs/gst/tmpl/old/gstaggregator.sgml:
8296 * docs/gst/tmpl/old/gstarch.sgml:
8297 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8298 * docs/gst/tmpl/old/gstbufferstore.sgml:
8299 * docs/gst/tmpl/old/gstdata_private.sgml:
8300 * docs/gst/tmpl/old/gstdisksink.sgml:
8301 * docs/gst/tmpl/old/gstdisksrc.sgml:
8302 * docs/gst/tmpl/old/gstelementfactory.sgml:
8303 * docs/gst/tmpl/old/gstextratypes.sgml:
8304 * docs/gst/tmpl/old/gstfakesink.sgml:
8305 * docs/gst/tmpl/old/gstfakesrc.sgml:
8306 * docs/gst/tmpl/old/gstfdsink.sgml:
8307 * docs/gst/tmpl/old/gstfdsrc.sgml:
8308 * docs/gst/tmpl/old/gstfilesink.sgml:
8309 * docs/gst/tmpl/old/gstfilesrc.sgml:
8310 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8311 * docs/gst/tmpl/old/gstidentity.sgml:
8312 * docs/gst/tmpl/old/gstindexfactory.sgml:
8313 * docs/gst/tmpl/old/gstmarshal.sgml:
8314 * docs/gst/tmpl/old/gstmd5sink.sgml:
8315 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8316 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8317 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8318 * docs/gst/tmpl/old/gstpipefilter.sgml:
8319 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8320 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8321 * docs/gst/tmpl/old/gstshaper.sgml:
8322 * docs/gst/tmpl/old/gstspider.sgml:
8323 * docs/gst/tmpl/old/gstspideridentity.sgml:
8324 * docs/gst/tmpl/old/gststatistics.sgml:
8325 * docs/gst/tmpl/old/gsttee.sgml:
8326 * docs/gst/tmpl/old/gsttimecache.sgml:
8327 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8328 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8329 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8330 * docs/gst/tmpl/old/types.sgml:
8331 I didn't intend to add these or check them in.
8333 2005-05-19 David Schleef <ds@schleef.org>
8335 * configure.ac: Use -no-common everywhere. In a sane world, it
8336 would be the default in libtool, because without it, you can't
8337 build DLLs on Windows.
8338 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8339 * docs/gst/gstreamer-sections.txt:
8340 * docs/gst/tmpl/gstcpu.sgml:
8341 * docs/gst/tmpl/gstdata.sgml:
8342 * docs/gst/tmpl/gstthread.sgml:
8344 2005-05-19 David Schleef <ds@schleef.org>
8346 * gst/gstminiobject.c: (gst_value_set_mini_object),
8347 (gst_value_take_mini_object), (gst_value_get_mini_object):
8348 * gst/gstminiobject.h: Add GValue set/get functions.
8350 2005-05-19 Wim Taymans <wim@fluendo.com>
8352 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8353 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8354 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8356 * gst/gstbus.c: (gst_bus_post):
8357 * gst/gstelement.c: (gst_element_get_random_pad):
8358 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8359 Make subbufer unref the parent in finalize.
8360 some more debugging info.
8363 2005-05-19 Wim Taymans <wim@fluendo.com>
8365 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8366 (gst_basesink_init), (gst_basesink_finalize),
8367 (gst_basesink_activate), (gst_basesink_change_state):
8368 Don't free preroll queue too early.
8370 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8374 Hi, I'm outdated. Please shoot me.
8376 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8378 * gst/gstpipeline.c: (gst_pipeline_send_event):
8379 Do not access variables after they have been deleted.
8381 2005-05-19 Wim Taymans <wim@fluendo.com>
8383 * tools/gst-inspect.c: (print_plugin_features):
8384 A plugin feature does unfortunatly not use the
8387 2005-05-18 Wim Taymans <wim@fluendo.com>
8389 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8390 Port _span() functions to new subbuffers.
8392 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8394 * gst/gstbin.c: (gst_bin_add_func):
8395 Fix clock settery in bins when adding kids after the clock has
8398 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8400 * gst/elements/gstidentity.c: (gst_identity_class_init):
8401 Workaround until signals support GstMiniObject.
8403 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8406 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8408 2005-05-18 Wim Taymans <wim@fluendo.com>
8410 * gst/base/Makefile.am:
8411 * gst/base/gstadapter.c: (gst_adapter_base_init),
8412 (gst_adapter_class_init), (gst_adapter_init),
8413 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8414 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8415 (gst_adapter_flush), (gst_adapter_available),
8416 (gst_adapter_available_fast):
8417 * gst/base/gstadapter.h:
8418 Ported and added adapter to the base classes.
8420 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8424 Make sure the class is reffed/unreffed once before threads can be
8425 used. Fixes #304551.
8427 2005-05-17 Wim Taymans <wim@fluendo.com>
8429 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8430 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8431 * gst/gstminiobject.c: (gst_mini_object_get_type),
8432 (gst_mini_object_free):
8433 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8434 (gst_pad_push), (gst_pad_push_event):
8435 * gst/gstqueue.c: (gst_queue_change_state):
8436 Don't queue buffers in basesink when we are flushing.
8437 Unref buffer when flushing in basesink.
8438 Flush queue when going to READY
8439 Unref buffer when _push() returns an error.
8440 Don't free MiniObject instance when refcount is incremented
8441 in _finalize() so that we can recover objects.
8443 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8445 * docs/manual/advanced-schedulers.xml:
8446 * docs/manual/appendix-checklist.xml:
8447 * docs/pwg/advanced-clock.xml:
8448 * docs/pwg/advanced-interfaces.xml:
8449 * docs/pwg/advanced-request.xml:
8450 * docs/pwg/advanced-types.xml:
8451 * docs/pwg/intro-preface.xml:
8452 * examples/plugins/example.c: (gst_example_get_type),
8453 (gst_example_class_init), (gst_example_chain),
8454 (gst_example_set_property), (gst_example_get_property),
8455 (gst_example_change_state), (plugin_init):
8456 * examples/plugins/example.h:
8459 2005-05-17 Wim Taymans <wim@fluendo.com>
8461 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8462 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8463 * gst/gstqueue.c: (gst_queue_change_state):
8464 Clear queue when going to READY.
8465 Remove IN_SETCAPS flag too.
8467 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8469 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8470 Remove implicit cast from gboolean to GstElementStateReturn;
8471 make sure we still return failure in paused => ready case if
8472 the parent class fails to change state and our own stop
8475 2005-05-17 Wim Taymans <wim@fluendo.com>
8477 * tools/gst-launch.c: (event_loop):
8478 Message was unreffed too soon.
8480 2005-05-16 Andy Wingo <wingo@pobox.com>
8482 * gst/gstbin.c (sink_iterator_filter): Err... um...
8484 * check/gst/gstbin.c (test_ghost_pads): New test for the
8485 ghosting-if-elements-not-in-same-bin behavior.
8487 2005-05-16 David Schleef <ds@schleef.org>
8489 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8490 accessing refcount directly.
8492 2005-05-15 David Schleef <ds@schleef.org>
8494 * check/Makefile.am: remove GstData checks
8495 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8496 * gst/Makefile.am: add miniobject, remove data
8497 * gst/gst.h: add miniobject, remove data
8498 * gst/gstdata.c: remove
8499 * gst/gstdata.h: remove
8500 * gst/gstdata_private.h: remove
8501 * gst/gsttypes.h: remove GstEvent and GstMessage
8502 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8503 * gst/gstmarshal.list: change BOXED -> OBJECT
8505 Implement GstMiniObject.
8506 * gst/gstminiobject.c:
8507 * gst/gstminiobject.h:
8509 Modify to be subclasses of GstMiniObject.
8510 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8511 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8512 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8513 (gst_subbuffer_get_type), (gst_subbuffer_init),
8514 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8517 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8518 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8519 (_gst_event_copy), (gst_event_new):
8521 * gst/gstmessage.c: (_gst_message_initialize),
8522 (gst_message_get_type), (gst_message_class_init),
8523 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8524 (gst_message_new), (gst_message_new_error),
8525 (gst_message_new_warning), (gst_message_new_tag),
8526 (gst_message_new_state_changed), (gst_message_new_application):
8528 * gst/gstprobe.c: (gst_probe_perform),
8529 (gst_probe_dispatcher_dispatch):
8531 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8532 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8533 (_gst_query_copy), (gst_query_new):
8535 Update elements for GstData -> GstMiniObject changes
8537 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8538 (gst_queue_chain), (gst_queue_loop):
8539 * gst/elements/gstbufferstore.c:
8540 (gst_buffer_store_add_buffer_func),
8541 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8542 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8543 (gst_fakesink_render):
8544 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8545 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8546 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8547 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8548 (gst_filesrc_create_read):
8549 * gst/elements/gstidentity.c: (gst_identity_class_init):
8550 * gst/elements/gsttypefindelement.c:
8551 (gst_type_find_element_src_event), (free_entry_buffers),
8552 (gst_type_find_element_handle_event):
8553 * libs/gst/dataprotocol/dataprotocol.c:
8554 (gst_dp_header_from_buffer):
8555 * libs/gst/dataprotocol/dataprotocol.h:
8556 * libs/gst/dataprotocol/dp-private.h:
8558 2005-05-15 David Schleef <ds@schleef.org>
8560 * gst/elements/gstelements.c: Don't include headers that were
8563 2005-05-15 David Schleef <ds@schleef.org>
8565 * gst/elements/Makefile.am: Remove some elements that don't
8566 need to be in the core (or even exist at all).
8567 * gst/elements/gstaggregator.c:
8568 * gst/elements/gstaggregator.h:
8569 * gst/elements/gstmd5sink.c:
8570 * gst/elements/gstmd5sink.h:
8571 * gst/elements/gstmultifilesrc.c:
8572 * gst/elements/gstmultifilesrc.h:
8573 * gst/elements/gstpipefilter.c:
8574 * gst/elements/gstpipefilter.h:
8575 * gst/elements/gstshaper.c:
8576 * gst/elements/gstshaper.h:
8577 * gst/elements/gststatistics.c:
8578 * gst/elements/gststatistics.h:
8579 * po/POTFILES.in: Remove above files.
8581 2005-05-14 Andy Wingo <wingo@pobox.com>
8583 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8584 so as to get the refs right.
8585 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8586 unreffing objects that don't pass the filter.
8588 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8589 gst_element_set_bus.
8590 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8591 normal cases, this will destroy the bus.
8593 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8596 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8599 2005-05-13 Andy Wingo <wingo@pobox.com>
8601 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8602 gst_pad_link, call pad_link_maybe_ghosting,
8603 (pad_link_maybe_ghosting): Links pads, making sure that the
8604 elements being linked are in the same bin.
8605 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8606 Helpers for pad_link_maybe_ghosting.
8608 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8611 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8613 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8615 * docs/design/part-element-source.txt:
8618 2005-05-12 Wim Taymans <wim@fluendo.com>
8620 * gst/base/gstbasesink.c: (gst_basesink_init),
8621 (gst_basesink_activate):
8622 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8623 (gst_basesrc_is_seekable):
8624 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8625 (bin_element_is_sink), (gst_bin_change_state):
8626 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8628 Identify sinks by their flag to avoid overly complicated
8630 Do state changes even for elements not reachable from the
8632 BaseSink is a sink now :)
8633 Some more debugging info in the basesrc.
8636 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8638 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8639 Implement _query on a bin, similar to _send_event.
8641 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8643 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8644 Discont event offset format should be GST_FORMAT_BYTES,
8645 not GST_FORMAT_TIME.
8647 2005-05-12 Wim Taymans <wim@fluendo.com>
8649 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8650 Same fix as Ronald's but without the signal.
8652 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8654 * gst/gstutils.c: (gst_element_query_position):
8655 No, an element is not a pad.
8657 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8659 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8660 (gst_bin_get_state):
8661 If a child is removed from a bin while we remove the child from
8662 the bin and while we're retrieving its state, signal this to the
8663 get_state function so we abort the wait (instead of waiting for
8664 a timeout) and can immediately re-iterate over all other elements.
8666 2005-05-12 Wim Taymans <wim@fluendo.com>
8668 * gst/base/Makefile.am:
8669 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8670 (gst_basesrc_start):
8671 * gst/base/gstbasesrc.h:
8672 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8673 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8674 (gst_pushsrc_init), (gst_pushsrc_create):
8675 * gst/base/gstpushsrc.h:
8676 Added is_seekable to BaseSrc
8677 Added simple PushSrc.
8679 2005-05-11 Wim Taymans <wim@fluendo.com>
8681 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8682 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8683 (gst_element_link_pads), (gst_element_query_position),
8684 (gst_element_query_convert), (intersect_caps_func),
8685 (gst_pad_query_position), (gst_pad_query_convert):
8686 Fix refcounting in utils function.
8687 No point in trying to activate a pad when it's added, it could
8688 be added from the state change function and then we deadlock, the
8689 element has to decide what to do.
8691 2005-05-10 Andy Wingo <wingo@pobox.com>
8693 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8694 *all* the arguments.
8696 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8697 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8698 lock (according to the docs -- if this is wrong change the docs).
8700 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8701 flush messages in the NULL state.
8703 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8704 message immediately and return.
8705 (gst_bus_set_flushing): New function. If a bus is flushing, it
8706 flushes out any queued messages and immediately unrefs new
8707 messages. This is so when an element goes to NULL, all of the
8708 unhandled messages coming from it can be freed, and their
8709 references to the element dropped. In other words: message source
8710 ref considered harmful :P
8712 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8713 we're finished with it.
8715 * gst/gstmessage.c (gst_message_new_state_changed):
8717 2005-05-10 Wim Taymans <wim@fluendo.com>
8719 * gst/gstvalue.c: (gst_value_compare_flags),
8720 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8721 (_gst_value_initialize):
8722 Added flags serialize/deserialize/compare code.
8724 2005-05-09 Andy Wingo <wingo@pobox.com>
8726 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8727 Intersect the peer's caps with our caps.
8729 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8731 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8732 * gst/elements/gsttypefindelement.c: (find_peek):
8733 Handle negative offsets better. Fixes decodebin.
8735 2005-05-09 Wim Taymans <wim@fluendo.com>
8737 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8738 (gst_base_transform_event):
8739 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8740 Implement accept_caps.
8741 Fix silly lock/unlock mismatch in base class.
8743 2005-05-09 Wim Taymans <wim@fluendo.com>
8745 * docs/design/draft-push-pull.txt:
8746 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8747 * gst/elements/gstfilesink.c: (gst_filesink_init),
8748 (gst_filesink_query):
8749 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8750 (gst_type_find_handle_src_query), (find_element_get_length):
8751 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8755 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8756 (gst_real_pad_get_caps_unlocked),
8757 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8758 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8759 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8760 (gst_real_pad_dispose), (gst_real_pad_finalize),
8761 (gst_pad_load_and_link), (gst_pad_save_thyself),
8762 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8763 (gst_pad_check_pull_range), (gst_pad_pull_range),
8764 (gst_pad_template_get_type), (gst_pad_template_class_init),
8765 (gst_pad_template_init), (gst_pad_template_dispose),
8766 (name_is_valid), (gst_static_pad_template_get),
8767 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8768 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8769 (gst_pad_get_element_private), (gst_pad_start_task),
8770 (gst_pad_pause_task), (gst_pad_stop_task),
8771 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8772 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8773 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8774 (gst_ghost_pad_new):
8776 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8777 (gst_query_new_position), (gst_query_set_position),
8778 (gst_query_parse_position), (gst_query_new_convert),
8779 (gst_query_set_convert), (gst_query_parse_convert):
8781 * gst/gstqueryutils.c:
8782 * gst/gstqueryutils.h:
8783 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8784 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8785 (gst_queue_handle_src_query):
8786 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8787 (gst_element_query_position), (gst_element_query_convert),
8788 (intersect_caps_func), (gst_pad_query_position),
8789 (gst_pad_query_convert):
8791 * tools/gst-inspect.c: (print_pad_info):
8792 * tools/gst-xmlinspect.c: (print_element_info):
8793 Remove old query functions. Ported old code.
8794 Added position/convert helper functions to gstutils.
8795 Reordered gstpad.c code, grouping relevant things.
8796 Remove gst_message_new(), always need to speficy a specific
8800 2005-05-09 Andy Wingo <wingo@pobox.com>
8802 * gst/gstiterator.h: Add some includes.
8804 * gst/gstqueryutils.h: Include more headers.
8807 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8808 some uses of gst_pad_query.
8810 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8811 NULL out parameters.
8812 (gst_query_new_position): New proc, allocates a new position
8815 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8816 gstqueryutils.c to the build.
8818 * gst/gststructure.c (gst_structure_set_valist): Implement with
8819 the generic G_VALUE_COLLECT.
8821 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8823 * gst/Makefile.am: (gst_headers):
8824 Added gstqueryutils.h to the list of headers to install, that was
8825 a 'nachty' move wingo :)
8827 2005-05-06 Andy Wingo <wingo@pobox.com>
8830 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8831 GstData, init a memchunk.
8832 (standard_definitions): Add a few query types, deprecate a few.
8833 (gst_query_get_type): New proc.
8834 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8836 (gst_query_new_application, gst_query_get_structure): New public
8839 * docs/design/draft-query.txt: Removed LINKS from the query types,
8840 because all the rest can be dispatched to other pads -- seemed
8841 ugly to have a query that couldn't be dispatched. internal_links
8842 is fine as a pad method.
8844 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8845 in gstpad.c, but maintain binary compatibility for the moment.
8846 Will fix before 0.9 is out.
8848 * gst/gstqueryutils.c:
8849 * gst/gstqueryutils.h: New files, implement 3 methods for each
8850 query type: parse_query, parse_response, and set. Probably need an
8853 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8855 * gst/elements/gstfilesink.c (gst_filesink_query2):
8856 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8857 query_types, and formats methods.
8859 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8860 (gst_pad_set_query2_function): New functions.
8861 (gst_real_pad_init): Set query2_default as the default query2
8862 function. Basically just dispatches to internally linked pads.
8866 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8867 without using the atomic operations. Only one thread can possibly
8868 be accessing the data at this point. Changed so as to avoid
8869 gst_atomic operations.
8871 2005-05-06 Wim Taymans <wim@fluendo.com>
8873 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8874 Also set caps if we use the fallback buffer alloc.
8876 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8878 * docs/gst/Makefile.am:
8879 * docs/gst/gstreamer-docs.sgml:
8880 * docs/gst/gstreamer-sections.txt:
8881 * docs/gst/tmpl/gstatomic.sgml:
8882 * docs/gst/tmpl/gstmemchunk.sgml:
8883 * testsuite/elements/struct_i386.h:
8884 * win32/GStreamer.vcproj:
8886 Purge GstAtomic stuff from docs and win32 makefiles as well
8888 2005-05-06 Wim Taymans <wim@fluendo.com>
8890 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8891 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8892 * gst/gstpad.c: (gst_pad_peer_get_caps):
8893 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8894 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8895 (gst_queue_src_activate), (gst_queue_change_state):
8897 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8898 (intersect_caps_func):
8899 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8900 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8901 Some fixes for the peer_get_caps() change.
8903 2005-05-06 Wim Taymans <wim@fluendo.com>
8905 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8906 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8907 (gst_basesink_activate):
8908 Actually do something with error codes returned from the push
8911 2005-05-06 Wim Taymans <wim@fluendo.com>
8913 * docs/design/part-element-sink.txt:
8914 * docs/design/part-element-source.txt:
8915 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8916 (gst_basesink_event), (gst_basesink_activate):
8917 * gst/base/gstbasesink.h:
8918 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8919 (gst_basesrc_activate):
8920 * gst/base/gstbasesrc.h:
8921 * gst/gstelement.c: (gst_element_pads_activate):
8922 Some more documentation.
8923 Fixed scheduling decision in _pads_activate().
8925 2005-05-05 Andy Wingo <wingo@pobox.com>
8927 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8930 2005-05-05 Wim Taymans <wim@fluendo.com>
8932 * gst/base/Makefile.am:
8933 * gst/base/gstbasesink.h:
8934 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8935 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8936 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8937 (gst_collectpads_class_init), (gst_collectpads_init),
8938 (gst_collectpads_finalize), (gst_collectpads_new),
8939 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8940 (find_pad), (gst_collectpads_remove_pad),
8941 (gst_collectpads_is_active), (gst_collectpads_collect),
8942 (gst_collectpads_collect_range), (gst_collectpads_start),
8943 (gst_collectpads_stop), (gst_collectpads_peek),
8944 (gst_collectpads_pop), (gst_collectpads_available),
8945 (gst_collectpads_read), (gst_collectpads_flush),
8946 (gst_collectpads_chain):
8947 * gst/base/gstcollectpads.h:
8948 * gst/elements/Makefile.am:
8949 * gst/elements/gstelements.c:
8950 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8951 (gst_fakesink_get_times), (gst_fakesink_event),
8952 (gst_fakesink_preroll), (gst_fakesink_render):
8953 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8954 (gst_filesink_init), (gst_filesink_set_location),
8955 (gst_filesink_open_file), (gst_filesink_close_file),
8956 (gst_filesink_pad_query), (gst_filesink_event),
8957 (gst_filesink_render), (gst_filesink_change_state):
8958 * gst/elements/gstfilesink.h:
8959 Added object to help in making collect pad based elements.
8961 Make event function in sink baseclass return gboolean.
8963 2005-05-05 Wim Taymans <wim@fluendo.com>
8965 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8966 (gst_bin_get_by_name):
8968 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8969 (gst_clock_finalize):
8970 * gst/gstdata.c: (gst_data_replace):
8972 * gst/gstelement.c: (gst_element_request_pad),
8973 (gst_element_pads_activate):
8974 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8976 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8977 (gst_pad_set_checkgetrange_function),
8978 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8979 (gst_pad_check_pull_range), (gst_pad_pull_range),
8980 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8981 (gst_pad_pause_task), (gst_pad_stop_task):
8982 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8983 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8984 Fix name lookup in GstBin.
8985 Added _data_replace() function and _buffer_replace()
8986 Use finalize method to clean up clock.
8987 Fix refcounting on request pads.
8988 Fix pad schedule mode error.
8989 Some more object refcounting debug info,
8992 2005-05-04 Andy Wingo <wingo@pobox.com>
8994 * check/Makefile.am:
8995 * docs/gst/tmpl/gstatomic.sgml:
8996 * docs/gst/tmpl/gstplugin.sgml:
8997 * gst/base/gstbasesink.c: (gst_basesink_activate):
8998 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8999 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9000 (gst_basesrc_query), (gst_basesrc_set_property),
9001 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9002 (gst_basesrc_activate):
9003 * gst/base/gstbasesrc.h:
9004 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9005 (gst_base_transform_src_activate):
9006 * gst/elements/gstelements.c:
9007 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9008 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9009 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9010 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9011 (gst_type_find_element_checkgetrange),
9012 (gst_type_find_element_activate):
9013 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9014 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9015 (gst_caps_load_thyself):
9016 * gst/gstelement.c: (gst_element_pads_activate),
9017 (gst_element_save_thyself), (gst_element_restore_thyself):
9018 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9019 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9021 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9022 (gst_xml_parse_file), (gst_xml_parse_memory),
9023 (gst_xml_get_element), (gst_xml_make_element):
9024 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9025 (_file_index_id_save_xml), (gst_file_index_commit):
9026 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9027 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9029 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9030 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9031 * tools/gst-complete.c: (main):
9032 * tools/gst-compprep.c: (main):
9033 * tools/gst-inspect.c: (print_element_properties_info):
9034 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9035 * tools/gst-xmlinspect.c: (print_element_properties):
9038 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9040 * gst/gstplugin.c: (gst_plugin_check_module),
9041 (gst_plugin_check_file), (gst_plugin_load_file):
9042 apply patch from #172526 to make register work on MacOSX
9044 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9046 * docs/gst/tmpl/gstconfig.sgml:
9047 * gst/gstconfig.h.in:
9048 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9049 * testsuite/debug/printf_extension.c: (main):
9050 Do not use GST_PTR_FORMAT on pointers to types with
9051 sizeof < sizeof(gpointer). Fixes test on 64-bit
9052 * testsuite/elements/property.h:
9053 use correct printf format
9055 2005-05-02 Wim Taymans <wim@fluendo.com>
9057 * docs/design/draft-push-pull.txt:
9058 * docs/design/draft-query.txt:
9059 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9060 (gst_basesrc_start):
9061 Added draft for new query API.
9062 Added draft for better selecting scheduling methods.
9063 Make basesrc ignore length if the subclass does not support
9066 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9069 possible fixes for automake-1.5 - _LIBADD is reserved
9071 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9073 * docs/faq/Makefile.am:
9074 * docs/manual/Makefile.am:
9076 * docs/pwg/Makefile.am:
9078 possible fixes for automake-1.5
9080 2005-04-28 Wim Taymans <wim@fluendo.com>
9082 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9083 (gst_basesink_pad_getcaps), (gst_basesink_init),
9084 (gst_basesink_do_sync):
9085 * gst/gstclock.c: (gst_clock_entry_new):
9086 * gst/gstevent.c: (gst_event_discont_get_value):
9087 * gst/gstpipeline.c: (pipeline_bus_handler),
9088 (gst_pipeline_change_state):
9089 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9090 Better debugging of clocking info.
9091 Allow NULL values when getting discont values.
9093 2005-04-27 Wim Taymans <wim@fluendo.com>
9095 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9096 * check/gst/gstpad.c: (gst_pad_suite):
9097 Increase timeout for checks.
9099 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9101 * check/Makefile.am:
9102 fix the broken rule for cleanup. Apparently this rule is
9103 only needed on FC2, so maybe this warrants further autotool
9106 2005-04-26 Wim Taymans <wim@fluendo.com>
9108 * gst/gsttrashstack.h:
9109 Ooohh. a nasty one! After having a failed pop() from the stack,
9110 it's possible that the stack is empty. In that case, don't
9111 follow the NULL pointer.
9113 2005-04-25 Wim Taymans <wim@fluendo.com>
9115 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9116 (gst_pad_set_checkgetrange_function),
9117 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9118 (gst_pad_check_pull_range), (gst_pad_pull_range),
9119 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9120 (gst_pad_pause_task), (gst_pad_stop_task):
9121 * gst/gstplugin.c: (gst_plugin_load):
9123 Remove gst_library_load as it does more harm than good with
9124 the new g_module flags.
9125 Revert bogus caps template check in pad linking, pad caps
9126 are important when linking not the template, which is more
9127 general than the current caps.
9129 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9131 * gst/autoplug/.cvsignore:
9132 * gst/autoplug/Makefile.am:
9133 * gst/autoplug/gstsearchfuncs.c:
9134 * gst/autoplug/gstsearchfuncs.h:
9135 * gst/autoplug/gstspider.c:
9136 * gst/autoplug/gstspider.h:
9137 * gst/autoplug/gstspideridentity.c:
9138 * gst/autoplug/gstspideridentity.h:
9139 * gst/autoplug/spidertest.c:
9142 2005-04-25 Wim Taymans <wim@fluendo.com>
9144 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9145 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9146 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9147 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9149 Added stubs for unimplemented functions.
9151 2005-04-24 David Schleef <ds@schleef.org>
9153 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9156 2005-04-24 David Schleef <ds@schleef.org>
9158 Convert everything from GstAtomicInt to g_atomic_int_*, and
9163 * gst/gstatomic_impl.h:
9171 * gst/gstdata_private.h:
9178 * gst/gststructure.c:
9179 * gst/gststructure.h:
9180 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9183 2005-04-24 David Schleef <ds@schleef.org>
9185 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9186 make the regressions tests work. Remove some code that is no
9188 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9189 Disable warning for pads without templates.
9191 2005-04-24 David Schleef <ds@schleef.org>
9193 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9194 functions that handle filtered links.
9195 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9197 * gst/gstutils.c: Fix/remove utility functions that handle
9200 * gst/gstvalue.c: Add serialization/deserialization of caps
9201 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9202 requires fixing so that the filter caps notation creates
9203 a capsfilter element and sets the filter_caps property. I
9204 think everyone probably wants to keep the shorthand notation.
9205 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9206 * docs/gst/tmpl/gstpad.sgml:
9208 * gst/elements/gstelements.c: Register capsfilter element.
9209 * gst/Makefile.am: fix spacing
9210 * docs/random/ds/0.9-suggested-changes: random
9212 2005-04-23 David Schleef <ds@schleef.org>
9214 * gst/elements/Makefile.am:
9215 * gst/elements/gstcapsfilter.c: New element that acts like an
9216 identity, but filters caps. Will eventually replace filtered
9217 caps in pad linking.
9218 * gst/gstutils.c: (gst_element_create_all_pads): New function
9219 to create all the ALWAYS pads that are registered with an
9220 element class. This functionality should eventually be
9221 merged in with GstElement initialization.
9223 * testsuite/trigger/README: part of trigger test code that should
9224 have been checked in a long time ago.
9226 2005-04-23 David Schleef <ds@schleef.org>
9228 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9229 needed with new versions of libtool (nobody will confirm this),
9230 and hard to carry around.
9231 * gst/autoplug/Makefile.am:
9232 * gst/base/Makefile.am:
9233 * gst/elements/Makefile.am:
9234 * gst/indexers/Makefile.am:
9235 * gst/schedulers/Makefile.am:
9236 * libs/gst/bytestream/Makefile.am:
9237 * libs/gst/control/Makefile.am:
9238 * libs/gst/dataprotocol/Makefile.am:
9239 * libs/gst/getbits/Makefile.am:
9241 2005-04-21 Wim Taymans <wim@fluendo.com>
9243 * docs/design/draft-push-pull.txt:
9244 * docs/design/part-MT-refcounting.txt:
9245 * docs/design/part-TODO.txt:
9246 * docs/design/part-caps.txt:
9247 * docs/design/part-events.txt:
9248 * docs/design/part-gstbus.txt:
9249 * docs/design/part-gstpipeline.txt:
9250 * docs/design/part-messages.txt:
9251 * docs/design/part-push-pull.txt:
9252 * docs/design/part-query.txt:
9255 2005-04-21 Wim Taymans <wim@fluendo.com>
9257 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9258 (gst_message_new), (gst_message_new_error),
9259 (gst_message_new_warning), (gst_message_new_tag),
9260 (gst_message_new_state_changed), (gst_message_new_application),
9261 (gst_message_get_structure):
9263 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9264 (gst_structure_copy_conditional):
9265 Use parent refcount in GstMessage to ensure GstStructure
9267 Cleaned up headers a bit.
9270 2005-04-20 Wim Taymans <wim@fluendo.com>
9272 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9273 (gst_basesink_pad_getcaps), (gst_basesink_init),
9274 (gst_basesink_chain_unlocked):
9275 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9276 (gst_type_find_helper):
9277 * gst/elements/gsttypefindelement.c:
9278 (gst_type_find_element_have_type), (gst_type_find_element_init),
9279 (stop_typefinding), (gst_type_find_element_handle_event),
9280 (find_suggest), (gst_type_find_element_chain),
9281 (gst_type_find_element_checkgetrange),
9282 (gst_type_find_element_getrange), (do_typefind),
9283 (gst_type_find_element_activate):
9284 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9285 (gst_buffer_default_free), (gst_buffer_default_copy),
9286 (gst_buffer_set_caps):
9287 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9289 * gst/gstmessage.c: (gst_message_new),
9290 (gst_message_new_state_changed):
9291 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9292 (gst_pad_set_checkgetrange_function),
9293 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9294 (gst_pad_set_caps), (gst_pad_check_pull_range),
9295 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9297 * gst/gsttypefind.c: (gst_type_find_register):
9298 Make gst_caps_replace() work like other _replace() functions.
9299 Use _caps_replace() where possible.
9300 Make sure _message_new() initialises its field.
9301 Add gst_static_pad_template_get_caps()
9304 2005-04-18 Andy Wingo <wingo@pobox.com>
9306 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9307 on the peer, not the pad. I think that was a typo. Pass an extra
9308 arg to see if random access is possible. Activate the pads as
9309 PULL_RANGE if possible.
9311 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9313 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9314 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9317 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9319 * docs/faq/using.xml:
9320 Add note on gstreamer-properties (#154996).
9322 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9324 * docs/random/bbb/optional-properties:
9325 Some analysis on optional properties.
9327 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9329 * docs/gst/tmpl/gstelementfactory.sgml:
9331 * gst/gstelementfactory.c: (gst_element_factory_init),
9332 (gst_element_factory_cleanup), (gst_element_register),
9333 (__gst_element_factory_add_static_pad_template),
9334 (gst_element_factory_get_static_pad_templates),
9335 (gst_element_factory_can_src_caps),
9336 (gst_element_factory_can_sink_caps):
9337 * gst/registries/Makefile.am:
9338 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9339 (gst_xml_registry_class_init), (gst_xml_registry_init),
9340 (gst_xml_registry_new), (gst_xml_registry_set_property),
9341 (gst_xml_registry_get_property), (get_time), (make_dir),
9342 (gst_xml_registry_get_perms_func),
9343 (plugin_times_older_than_recurse), (plugin_times_older_than),
9344 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9345 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9346 (add_to_char_array), (read_string), (read_uint), (read_enum),
9347 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9348 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9349 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9350 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9351 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9352 (gst_xml_registry_rebuild):
9353 * gst/registries/gstlibxmlregistry.h:
9354 * tools/gst-compprep.c: (main):
9355 * tools/gst-inspect.c: (print_pad_templates_info):
9356 * tools/gst-xmlinspect.c: (print_element_info):
9357 Use libxml2 for registry parsing, use staticpadtemplates in
9358 elementfactories. Makes gst_init() +/- 10x faster.
9360 2005-04-12 Wim Taymans <wim@fluendo.com>
9362 * gst/base/Makefile.am:
9363 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9364 (gst_basesink_pad_getcaps), (gst_basesink_init),
9365 (gst_basesink_event), (gst_basesink_change_state):
9366 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9367 (gst_basesrc_init), (gst_basesrc_query),
9368 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9369 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9370 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9371 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9372 (gst_basesrc_stop), (gst_basesrc_activate),
9373 (gst_basesrc_change_state):
9374 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9375 (helper_find_suggest), (gst_type_find_helper):
9376 * gst/base/gsttypefindhelper.h:
9377 * gst/elements/Makefile.am:
9378 * gst/elements/gstelements.c:
9379 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9380 (gst_fakesink_get_times), (gst_fakesink_event),
9381 (gst_fakesink_preroll), (gst_fakesink_render):
9382 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9383 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9384 (gst_fakesrc_get_property), (gst_fakesrc_create),
9385 (gst_fakesrc_start), (gst_fakesrc_stop):
9386 * gst/elements/gstfakesrc.h:
9387 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9388 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9389 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9390 (gst_filesrc_create_read), (gst_filesrc_create),
9391 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9392 (gst_filesrc_start):
9393 * gst/elements/gsttypefindelement.c:
9394 (gst_type_find_element_have_type), (gst_type_find_element_init),
9395 (start_typefinding), (stop_typefinding), (push_buffer_store),
9396 (gst_type_find_element_handle_event),
9397 (gst_type_find_element_chain),
9398 (gst_type_find_element_checkgetrange),
9399 (gst_type_find_element_getrange), (do_typefind),
9400 (gst_type_find_element_activate),
9401 (gst_type_find_element_change_state):
9402 * gst/elements/gsttypefindelement.h:
9403 * gst/gstpipeline.c: (pipeline_bus_handler):
9404 Added typefind helper.
9405 Small preroll fix in the base sink.
9406 Disable typefind code in basesrc.
9407 Crude port of typefindelement.
9411 2005-04-11 Wim Taymans <wim@fluendo.com>
9413 * check/gst/gstbus.c: (gstbus_suite):
9414 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9416 Fix up the timeout so that the test does not fail.
9418 2005-04-06 Wim Taymans <wim@fluendo.com>
9421 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9422 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9423 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9424 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9425 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9426 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9427 (gst_basesrc_stop), (gst_basesrc_activate),
9428 (gst_basesrc_change_state), (basesrc_find_peek),
9429 (basesrc_find_suggest), (gst_basesrc_type_find):
9430 * gst/base/gstbasesrc.h:
9431 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9432 (gst_filesrc_class_init), (gst_filesrc_init),
9433 (gst_filesrc_finalize), (gst_filesrc_set_location),
9434 (gst_filesrc_set_property), (gst_filesrc_get_property),
9435 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9436 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9437 (gst_filesrc_create_read), (gst_filesrc_create),
9438 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9439 * gst/elements/gstfilesrc.h:
9440 * gst/gstelement.c: (gst_element_get_state_func),
9441 (gst_element_lost_state), (gst_element_pads_activate):
9442 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9443 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9444 (gst_pad_pull_range):
9446 More work on the generic source base class, implement seeking,
9448 Make filesrc extend the base source class.
9449 Added gst_pad_set_checkgetrange_function to GstPad.
9451 2005-04-06 Andy Wingo <wingo@pobox.com>
9453 * pkgconfig/gstreamer-base.pc.in:
9454 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9456 * pkgconfig/Makefile.am:
9457 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9459 2005-04-04 Wim Taymans <wim@fluendo.com>
9461 * gst/base/Makefile.am:
9463 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9464 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9465 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9466 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9467 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9468 (gst_basesrc_base_init), (gst_basesrc_class_init),
9469 (gst_basesrc_init), (gst_basesrc_get_formats),
9470 (gst_basesrc_get_query_types), (gst_basesrc_query),
9471 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9472 (gst_basesrc_set_property), (gst_basesrc_get_property),
9473 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9474 (gst_basesrc_loop), (gst_basesrc_activate),
9475 (gst_basesrc_change_state):
9476 * gst/base/gstbasesrc.h:
9477 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9478 (gst_fakesrc_class_init), (gst_fakesrc_init),
9479 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9480 (gst_fakesrc_get_property), (gst_fakesrc_create):
9481 * gst/elements/gstfakesrc.h:
9482 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9483 (gst_filesrc_open_file), (gst_filesrc_loop),
9484 (gst_filesrc_activate), (filesrc_find_peek),
9485 (gst_filesrc_type_find):
9486 Made base source class, make fakesrc extend it.
9487 Add comments to basesink class.
9488 Some filesrc cleanup.
9490 2005-03-31 David Schleef <ds@schleef.org>
9492 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9493 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9494 expected to link against libgstreamer.
9495 * gst/base/Makefile.am: link against libgstreamer
9496 * gst/elements/Makefile.am: same
9498 2005-03-31 Andy Wingo <wingo@pobox.com>
9500 * tests/instantiate/Makefile.am:
9501 * tests/instantiate/caps.c: Add test to test speed of caps copy
9504 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9505 GMemChunk to be fair.
9507 * gst/gsttrashstack.h: Remove warning about using the fallback
9508 trash stack implementation, it's still faster than malloc.
9510 2005-03-30 Andy Wingo <wingo@pobox.com>
9512 * tests/complexity.c: Add a copyright.
9514 2005-03-31 Wim Taymans <wim@fluendo.com>
9516 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9517 (gst_base_transform_class_init), (gst_base_transform_init),
9518 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9519 (gst_base_transform_get_property),
9520 (gst_base_transform_sink_activate),
9521 (gst_base_transform_src_activate),
9522 (gst_base_transform_change_state):
9523 * gst/base/gstbasetransform.h:
9524 * gst/elements/gstidentity.c: (gst_identity_class_init),
9525 (gst_identity_event), (gst_identity_check_perfect),
9526 (gst_identity_transform), (gst_identity_start),
9527 (gst_identity_stop):
9528 Added start/stop methods to transform base class so subclasses
9529 don't need to deal with state changes even.
9531 2005-03-31 Wim Taymans <wim@fluendo.com>
9533 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9534 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9536 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9537 (gst_pad_pull_range):
9538 Added rate to the discont event to prepare for variable speed
9539 and reverse playback.
9541 2005-03-29 David Schleef <ds@schleef.org>
9544 * testsuite/trigger/Makefile.am:
9545 * testsuite/trigger/trigger.c: A little example program to show
9546 how trigger-based elements can work.
9548 2005-03-29 Wim Taymans <wim@fluendo.com>
9550 * gst/base/Makefile.am:
9552 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9553 (gst_basesink_base_init), (gst_basesink_class_init),
9554 (gst_basesink_pad_getcaps), (gst_basesink_init),
9555 (gst_basesink_activate), (gst_basesink_change_state):
9556 * gst/base/gstbasesink.h:
9557 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9558 (gst_base_transform_base_init), (gst_base_transform_finalize),
9559 (gst_base_transform_class_init), (gst_base_transform_init),
9560 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9561 (gst_base_transform_event), (gst_base_transform_getrange),
9562 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9563 (gst_base_transform_set_property),
9564 (gst_base_transform_get_property),
9565 (gst_base_transform_sink_activate),
9566 (gst_base_transform_src_activate),
9567 (gst_base_transform_change_state):
9568 * gst/base/gstbasetransform.h:
9569 * gst/elements/gstidentity.c: (gst_identity_finalize),
9570 (gst_identity_class_init), (gst_identity_init),
9571 (gst_identity_event), (gst_identity_check_perfect),
9572 (gst_identity_transform), (gst_identity_set_property),
9573 (gst_identity_get_property), (gst_identity_change_state):
9574 * gst/elements/gstidentity.h:
9575 * gst/gstelement.c: (gst_element_get_state_func),
9576 (gst_element_lost_state), (gst_element_pads_activate):
9577 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9578 (gst_pad_check_pull_range), (gst_pad_pull_range):
9580 Simplify pad activation.
9581 Added function to check if pull_range can be performed.
9582 Error out when pulling inactive or flushing pads.
9583 Removed const from refcounted types as it does not make sense.
9584 Simplify pad templates in basesink
9585 Added base class for simple 1-to-1 transforms.
9586 Make identity subclass the base transform.
9588 2005-03-29 Andy Wingo <wingo@pobox.com>
9590 * docs/libs/gstreamer-libs-overrides.txt:
9591 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9592 really don't understand what's going on, but like whatever. I want
9595 * docs/gst/Makefile.am:
9596 * docs/libs/Makefile.am: Dist the overrides files.
9598 * check/Makefile.am (clean-local): Remove .libs directories.
9600 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9601 elements to EXTRA_DIST, so po/ files are happy.
9603 * po/POTFILES.in: Er, remove it here.
9605 * po/POTFILES: Remove gstspider.c.
9607 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9609 * docs/libs/gstreamer-libs-docs.sgml:
9610 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9613 * tests/complexity.c (main): Set the length of the preroll queue
9614 on the sinks to prevent a lockup.
9616 * libs/gst/dataprotocol/Makefile.am:
9617 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9618 the same as the one in check/gst-libs/gdp.c.
9620 * po/, docs/gst/: Commit automatic changes to docs and po files.
9622 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9623 the versioned libgstbase.
9625 * check/Makefile.am: Depend on an unversioned gst-register, seems
9626 to make autoconf happier.
9628 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9630 2005-03-28 Wim Taymans <wim@fluendo.com>
9633 * docs/design/part-gstelement.txt:
9634 * docs/design/part-negotiation.txt:
9635 * docs/design/part-preroll.txt:
9636 * docs/design/part-scheduling.txt:
9637 * docs/design/part-states.txt:
9639 * gst/base/Makefile.am:
9641 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9642 (gst_basesink_base_init), (gst_basesink_class_init),
9643 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9644 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9645 (gst_basesink_set_pad_functions),
9646 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9647 (gst_basesink_set_property), (gst_basesink_get_property),
9648 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9649 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9650 (gst_basesink_preroll_queue_push),
9651 (gst_basesink_preroll_queue_empty),
9652 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9653 (gst_basesink_event), (gst_basesink_get_times),
9654 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9655 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9656 (gst_basesink_loop), (gst_basesink_activate),
9657 (gst_basesink_change_state):
9658 * gst/base/gstbasesink.h:
9659 * gst/elements/Makefile.am:
9660 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9661 (gst_fakesink_class_init), (gst_fakesink_init),
9662 (gst_fakesink_set_property), (gst_fakesink_get_property),
9663 (gst_fakesink_get_times), (gst_fakesink_event),
9664 (gst_fakesink_preroll), (gst_fakesink_render),
9665 (gst_fakesink_change_state):
9666 * gst/elements/gstfakesink.h:
9667 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9668 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9669 * gst/gstelement.c: (gst_element_add_pad),
9670 (gst_element_get_state_func), (gst_element_abort_state),
9671 (gst_element_commit_state), (gst_element_lost_state),
9672 (gst_element_set_state), (gst_element_pads_activate):
9673 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9674 * gst/gstpipeline.c: (gst_pipeline_send_event),
9675 (gst_pipeline_change_state):
9676 Added state change code.
9678 Added sink base class, make fakesink extend the base class.
9679 Small cleanups in GstPipeline.
9681 2005-03-26 David Schleef <ds@schleef.org>
9683 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9684 is broken and should be implemented in a different library.
9685 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9686 * gst/gst.h: remove gstcpu.h
9687 * gst/gstcpu.c: remove
9688 * gst/gstcpu.h: remove
9689 * gst/Makefile.am.future: Remove this file. It's ancient.
9691 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9693 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9694 (gst_bin_send_event):
9695 Add default event/set_manager handlers. The set_manager handler
9696 takes care that the manager is distributed over kids that were
9697 already in the bin before the manager was set. The event handler
9698 is a utility virtual function that sends the event over all sinks,
9699 so that gst_element_send_event (bin, event); has the expected
9701 * gst/gstpad.c: (gst_pad_event_default):
9702 Re-install default event handling for discontinuities, so that
9703 seeking works without requiring hacks in applications or extra
9705 * gst/gstpipeline.c: (gst_pipeline_class_init),
9706 (gst_pipeline_send_event):
9707 Half hack, half utility: set a pipeline to PAUSED for seek events,
9708 since that is the only way we can guarantee a/v sync. Means that
9709 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9710 and it "just works".
9712 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9714 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9715 Lock/unlock mismatch.
9717 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9719 * docs/faq/gst-uninstalled:
9720 add gst-plugins-base
9721 * docs/gst/Makefile.am:
9722 don't error out until docs are fixed
9723 * docs/gst/gstreamer.types:
9726 2005-03-22 Wim Taymans <wim@fluendo.com>
9728 * check/Makefile.am:
9729 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9730 * gst/gststructure.c: (gst_structure_set_valist),
9731 (gst_structure_copy_conditional):
9732 Activated more tests.
9734 Added G_TYPE_POINTER to GstStructure.
9737 2005-03-22 Wim Taymans <wim@fluendo.com>
9739 * docs/design/part-TODO.txt:
9740 * docs/design/part-events.txt:
9741 * docs/design/part-gstbin.txt:
9742 * docs/design/part-gstbus.txt:
9743 * docs/design/part-gstpipeline.txt:
9744 * docs/design/part-messages.txt:
9749 2005-03-21 Wim Taymans <wim@fluendo.com>
9751 * gst/gstbus.c: (gst_bus_post):
9752 Fix copy-and-paste error.
9754 2005-03-21 Wim Taymans <wim@fluendo.com>
9756 * check/Makefile.am:
9758 * gst/elements/Makefile.am:
9759 * gst/elements/gstelements.c:
9760 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9761 (gst_fakesink_event), (gst_fakesink_chain):
9762 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9763 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9764 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9765 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9766 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9767 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9768 (gst_fakesrc_loop), (gst_fakesrc_activate),
9769 (gst_fakesrc_change_state):
9770 * gst/elements/gstfakesrc.h:
9771 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9772 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9773 (gst_filesrc_open_file), (gst_filesrc_loop),
9774 (gst_filesrc_activate), (gst_filesrc_change_state),
9775 (filesrc_find_peek), (filesrc_find_suggest),
9776 (gst_filesrc_type_find):
9777 * gst/elements/gstidentity.c: (gst_identity_finalize),
9778 (gst_identity_class_init), (gst_identity_init),
9779 (gst_identity_proxy_getcaps), (identity_queue_push),
9780 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9781 (gst_identity_getrange), (gst_identity_chain),
9782 (gst_identity_sink_loop), (gst_identity_src_loop),
9783 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9784 (gst_identity_set_property), (gst_identity_get_property),
9785 (gst_identity_change_state):
9786 * gst/elements/gstidentity.h:
9787 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9788 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9789 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9790 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9791 (gst_tee_sink_activate):
9792 * gst/elements/gsttee.h:
9793 * gst/gst.c: (gst_register_core_elements), (init_post):
9795 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9796 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9797 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9798 (gst_bin_change_state):
9800 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9801 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9802 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9803 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9804 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9805 (bus_watch_callback), (bus_watch_destroy),
9806 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9807 (poll_timeout), (gst_bus_poll):
9811 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9812 (gst_element_post_message), (gst_element_message_full),
9813 (gst_element_get_state_func), (gst_element_get_state),
9814 (gst_element_abort_state), (gst_element_commit_state),
9815 (gst_element_lost_state), (gst_element_set_state),
9816 (gst_element_pads_activate), (gst_element_change_state),
9817 (gst_element_dispose), (gst_element_set_manager_func),
9818 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9819 (gst_element_set_manager), (gst_element_get_manager),
9820 (gst_element_set_bus), (gst_element_get_bus),
9821 (gst_element_set_scheduler), (gst_element_get_scheduler):
9823 * gst/gstevent.c: (gst_event_new_segment_seek),
9824 (gst_event_new_flush):
9826 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9827 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9828 (gst_message_new_eos), (gst_message_new_error),
9829 (gst_message_new_warning), (gst_message_new_tag),
9830 (gst_message_new_state_changed), (gst_message_new_application),
9831 (gst_message_get_structure), (gst_message_parse_tag),
9832 (gst_message_parse_state_changed), (gst_message_parse_error),
9833 (gst_message_parse_warning):
9835 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9836 (gst_real_pad_set_property), (gst_pad_set_active),
9837 (gst_pad_is_active), (gst_pad_set_blocked_async),
9838 (gst_pad_set_blocked), (gst_pad_is_blocked),
9839 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9840 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9841 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9842 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9843 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9844 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9845 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9846 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9847 (gst_pad_set_caps), (gst_pad_configure_sink),
9848 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9849 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9850 (gst_real_pad_dispose), (gst_real_pad_finalize),
9851 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9852 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9853 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9855 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9856 (pipeline_bus_handler), (gst_pipeline_change_state),
9857 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9858 * gst/gstpipeline.h:
9860 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9861 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9862 (gst_queue_link_src), (gst_queue_bufferalloc),
9863 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9864 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9865 (gst_queue_loop), (gst_queue_handle_src_event),
9866 (gst_queue_handle_src_query), (gst_queue_src_activate),
9867 (gst_queue_change_state):
9869 * gst/gstscheduler.c: (gst_scheduler_init),
9870 (gst_scheduler_dispose), (gst_scheduler_create_task),
9871 (gst_scheduler_factory_create):
9872 * gst/gstscheduler.h:
9873 * gst/gststructure.c: (gst_structure_get_type),
9874 (gst_structure_copy_conditional):
9875 * gst/gststructure.h:
9876 * gst/gsttaginterface.h:
9877 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9878 (gst_task_init), (gst_task_dispose), (gst_task_create),
9879 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9885 * gst/schedulers/Makefile.am:
9886 * gst/schedulers/cothreads_compat.h:
9887 * gst/schedulers/entryscheduler.c:
9888 * gst/schedulers/faircothreads.c:
9889 * gst/schedulers/faircothreads.h:
9890 * gst/schedulers/fairscheduler.c:
9891 * gst/schedulers/gstbasicscheduler.c:
9892 * gst/schedulers/gstoptimalscheduler.c:
9893 * gst/schedulers/gthread-cothreads.h:
9894 * gst/schedulers/threadscheduler.c:
9895 (gst_thread_scheduler_task_get_type),
9896 (gst_thread_scheduler_task_class_init),
9897 (gst_thread_scheduler_task_init),
9898 (gst_thread_scheduler_task_start),
9899 (gst_thread_scheduler_task_stop),
9900 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9901 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9902 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9903 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9905 * libs/gst/Makefile.am:
9906 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9907 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9908 (gst_file_pad_parent_set):
9909 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9910 (gst_dp_event_from_packet):
9911 * tests/complexity.c: (main):
9912 * tests/mass_elements.c: (main):
9913 * testsuite/states/locked.c: (message_received), (main):
9914 * testsuite/states/parent.c: (main):
9915 * tools/gst-inspect.c: (print_element_flag_info),
9916 (print_implementation_info), (print_pad_info):
9917 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9919 * tools/gst-md5sum.c: (event_loop), (main):
9920 * tools/gst-typefind.c: (main):
9921 * tools/gst-xmlinspect.c: (print_element_info):
9923 Added GstBus for mainloop integration.
9924 Added GstMessage for sending notifications on the bus.
9925 Added GstTask as an abstraction for pipeline entry points.
9928 Simplified GstQueue for multithreaded core.
9929 Made _link threadsafe, removed old capsnego.
9930 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9931 Added pad blocking functions.
9932 Reworked scheduling functions in GstPad to prepare for
9933 scheduling updates soon.
9934 Moved events out of data stream.
9935 Simplified GstEvent types.
9936 Added return values to push/pull.
9937 Removed clocking from GstElement.
9938 Added prototypes for state change function for next merge.
9939 Removed iterate from bins and state change management.
9940 Fixed some elements, disabled others for now.
9941 Fixed -inspect and -launch.
9942 Added check for GstBus.
9944 2005-03-10 Wim Taymans <wim@fluendo.com>
9946 * docs/design/part-MT-refcounting.txt:
9947 * docs/design/part-clocks.txt:
9948 * docs/design/part-gstelement.txt:
9949 * docs/design/part-gstobject.txt:
9950 * docs/design/part-standards.txt:
9951 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9952 (gst_bin_remove_func), (gst_bin_remove):
9956 * testsuite/clock/clock1.c: (main):
9957 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9959 * testsuite/dlopen/loadgst.c: (do_test):
9960 * testsuite/refcounting/bin.c: (add_remove_test1),
9961 (add_remove_test2), (main):
9962 * testsuite/refcounting/element.c: (main):
9963 * testsuite/refcounting/element_pad.c: (main):
9964 * testsuite/refcounting/pad.c: (main):
9965 * tools/gst-launch.c: (sigint_handler_sighandler):
9966 * tools/gst-typefind.c: (main):
9968 Added doc about clock.
9969 removed gst_bin_iterate_recurse_up(), marked methods
9971 Fix more testsuites.
9973 2005-03-09 Wim Taymans <wim@fluendo.com>
9975 * gst/gstpad.c: (gst_pad_get_direction),
9976 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9977 (gst_pad_collect_valist):
9978 * testsuite/bins/interface.c: (main):
9979 * testsuite/caps/audioscale.c: (test_caps):
9980 * testsuite/caps/caps.c: (test1), (test2), (test3):
9981 * testsuite/caps/deserialize.c: (main):
9982 * testsuite/caps/enumcaps.c: (main):
9983 * testsuite/caps/filtercaps.c: (main):
9984 * testsuite/caps/intersect2.c: (main):
9985 * testsuite/caps/random.c: (main):
9986 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9987 * testsuite/caps/sets.c: (check_caps):
9988 * testsuite/caps/simplify.c: (check_caps), (main):
9989 * testsuite/caps/subtract.c: (check_caps):
9990 Fix _pad_get_direction wrt ghostpads.
9993 2005-03-09 Wim Taymans <wim@fluendo.com>
9995 * check/Makefile.am:
9996 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9997 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9998 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9999 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10000 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10001 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10002 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10003 (bin_element_is_sink), (gst_bin_iterate_sinks),
10004 (gst_bin_iterate_all_by_interface):
10006 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10007 (gst_element_change_state), (gst_element_dispose),
10008 (gst_element_finalize), (gst_element_set_loop_function):
10009 * gst/gstelement.h:
10010 * gst/gstiterator.c: (find_custom_fold_func):
10011 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10012 (gst_pad_collectv), (gst_pad_collect_valist),
10013 (gst_pad_template_new):
10014 * gst/gstpipeline.c: (gst_pipeline_class_init),
10015 (gst_pipeline_dispose), (gst_pipeline_set_property),
10016 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10017 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10018 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10020 * gst/schedulers/entryscheduler.c:
10021 * gst/schedulers/gstbasicscheduler.c:
10022 (gst_basic_scheduler_cothreaded_chain),
10023 (gst_basic_scheduler_chain_add_element):
10024 * testsuite/bins/interface.c: (main):
10026 Added GstSystemClock test.
10027 Implemented clock distribution code in GstBin.
10028 Implemented iterate sinks method for future use.
10029 Rearranged gstelement.h
10030 Fix GstIterator comparison bug.
10031 Moved some code to GstPipeline, mostly clocking related.
10033 2005-03-09 Wim Taymans <wim@fluendo.com>
10036 * gst/gst_private.h:
10037 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10038 (gst_bin_remove_func), (gst_bin_remove),
10039 (gst_bin_get_by_name_recurse_up):
10040 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10041 (gst_clock_id_compare_func), (gst_clock_id_wait),
10042 (gst_clock_id_wait_async), (gst_clock_init),
10043 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10044 * gst/gstelement.h:
10045 * gst/gstinfo.c: (_gst_debug_init):
10047 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10048 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10050 Bump version number, we're now 0.9.0
10051 Add future debugging category.
10052 Fix NULL _unref() in _get_by_name_recurse_up
10053 Rearrange gstpad.h.
10056 2005-03-08 Wim Taymans <wim@fluendo.com>
10058 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10059 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10060 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10061 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10062 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10063 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10064 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10065 * gst/elements/gstidentity.c: (gst_identity_class_init):
10066 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10067 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10068 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10069 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10070 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10072 * gst/gstelement.c: (gst_element_class_init),
10073 (gst_element_base_class_init), (gst_element_init),
10074 (gst_element_get_random_pad), (gst_element_wait_state_change),
10075 (gst_element_change_state), (gst_element_dispose),
10076 (gst_element_finalize), (gst_element_set_loop_function):
10077 * gst/gstelement.h:
10078 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10079 * gst/gstthread.c: (gst_thread_class_init),
10080 (gst_thread_release_children_locks), (gst_thread_change_state):
10081 * gst/schedulers/gstbasicscheduler.c:
10082 (gst_basic_scheduler_loopfunc_wrapper),
10083 (gst_basic_scheduler_chain_wrapper),
10084 (gst_basic_scheduler_src_wrapper),
10085 (gst_basic_scheduler_remove_element):
10086 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10087 Remove threadsafe properties. Fix elements because GObject
10088 complains when installing a property before declaring a
10089 set/get_property handler.
10090 Rearrange gstelement.h file, use STATE macros for state locks.
10091 Free mutexes in the finalize method instead of dispose.
10093 2005-03-08 Wim Taymans <wim@fluendo.com>
10095 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10096 * gst/gstthread.c: (gst_thread_release_children_locks):
10097 Added parentage check.
10098 Fix build og GstThread again.
10100 2005-03-08 Wim Taymans <wim@fluendo.com>
10102 * docs/design/part-MT-refcounting.txt:
10103 * docs/design/part-conventions.txt:
10104 * docs/design/part-gstobject.txt:
10105 * docs/design/part-relations.txt:
10106 * docs/design/part-standards.txt:
10107 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10108 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10109 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10110 (gst_bin_iterate_all_by_interface):
10113 * gst/gstelement.c: (gst_element_class_init),
10114 (gst_element_change_state), (gst_element_set_loop_function):
10115 * gst/gstelement.h:
10116 * gst/gstiterator.c:
10117 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10118 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10119 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10120 (gst_object_set_parent), (gst_object_unparent),
10121 (gst_object_check_uniqueness):
10123 Docs updates, clean up some headers.
10125 2005-03-07 Wim Taymans <wim@fluendo.com>
10127 * check/.cvsignore:
10128 * check/Makefile.am:
10129 * check/gst-libs/.cvsignore:
10130 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10131 * check/gst/.cvsignore:
10132 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10133 (START_TEST), (gstbus_suite), (main):
10134 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10135 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10136 (gst_data_suite), (main):
10137 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10138 (add_fold_func), (gstiterator_suite), (main):
10139 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10140 (thread_name_object), (thread_name_object_default),
10141 (gst_object_name_compare), (gst_object_suite), (main):
10142 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10143 (gst_pad_suite), (main):
10144 * check/gstcheck.c: (gst_check_log_message_func),
10145 (gst_check_log_critical_func), (gst_check_init):
10146 * check/gstcheck.h:
10147 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10148 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10151 2005-03-07 Wim Taymans <wim@fluendo.com>
10153 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10154 (gst_list_iterator_next), (gst_list_iterator_resync),
10155 (gst_list_iterator_free), (gst_iterator_new_list),
10156 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10157 (gst_iterator_free), (gst_iterator_push), (filter_next),
10158 (filter_resync), (filter_uninit), (filter_free),
10159 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10160 (gst_iterator_foreach), (find_custom_fold_func),
10161 (gst_iterator_find_custom):
10162 * gst/gstiterator.h:
10163 Added missing files.
10165 2005-03-07 Wim Taymans <wim@fluendo.com>
10169 * docs/design/part-MT-refcounting.txt:
10170 * docs/design/part-conventions.txt:
10171 * docs/design/part-gstobject.txt:
10172 * docs/design/part-relations.txt:
10173 * examples/mixer/mixer.c: (main):
10174 * examples/thread/thread.c: (eos), (main):
10176 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10177 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10178 (gst_spider_plug_from_srcpad):
10179 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10180 (gst_spider_identity_change_state),
10181 (gst_spider_identity_sink_loop_type_finding):
10182 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10183 * gst/elements/gstidentity.c: (gst_identity_init):
10184 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10185 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10186 * gst/elements/gsttypefindelement.c: (free_entry):
10189 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10190 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10191 (gst_bin_set_index), (gst_bin_set_element_sched),
10192 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10193 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10194 (gst_bin_iterate_elements), (iterate_child_recurse),
10195 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10196 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10197 (compare_interface), (gst_bin_get_by_interface),
10198 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10200 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10201 (gst_buffer_default_free), (gst_buffer_default_copy),
10202 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10203 (gst_buffer_create_sub):
10205 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10206 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10207 (gst_caps_unref), (gst_static_caps_get),
10208 (gst_caps_remove_and_get_structure), (gst_caps_append),
10209 (gst_caps_append_structure), (gst_caps_remove_structure),
10210 (gst_caps_copy_nth), (gst_caps_set_simple),
10211 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10212 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10213 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10214 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10215 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10216 (gst_caps_structure_figure_out_union),
10217 (gst_caps_switch_structures), (gst_caps_do_simplify),
10218 (gst_caps_replace), (gst_caps_from_string),
10219 (gst_caps_copy_conditional):
10221 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10222 (_gst_clock_id_free), (gst_clock_id_unref),
10223 (gst_clock_id_compare_func), (gst_clock_id_wait),
10224 (gst_clock_id_wait_async), (gst_clock_class_init),
10225 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10226 (gst_clock_get_time), (gst_clock_set_time_adjust),
10227 (gst_clock_set_property), (gst_clock_get_property):
10230 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10231 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10233 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10234 (gst_element_requires_clock), (gst_element_provides_clock),
10235 (gst_element_set_clock), (gst_element_clock_wait),
10236 (gst_element_wait), (gst_element_set_time_delay),
10237 (gst_element_is_indexable), (gst_element_add_pad),
10238 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10239 (pad_compare_name), (gst_element_get_static_pad),
10240 (gst_element_request_pad), (gst_element_get_request_pad),
10241 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10242 (gst_element_class_get_pad_template_list),
10243 (gst_element_class_get_pad_template), (gst_element_error_func),
10244 (gst_element_get_random_pad), (gst_element_get_event_masks),
10245 (gst_element_send_event), (gst_element_seek),
10246 (gst_element_get_query_types), (gst_element_query),
10247 (gst_element_get_formats), (gst_element_convert),
10248 (gst_element_is_locked_state), (gst_element_set_locked_state),
10249 (gst_element_sync_state_with_parent), (gst_element_change_state),
10250 (gst_element_finalize), (gst_element_yield),
10251 (gst_element_interrupt), (gst_element_set_scheduler),
10252 (gst_element_get_scheduler), (gst_element_set_loop_function):
10253 * gst/gstelement.h:
10255 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10256 (gst_format_get_by_nick), (gst_format_get_details),
10257 (gst_format_iterate_definitions):
10259 * gst/gstindex.c: (gst_index_gtype_resolver):
10262 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10263 (gst_mem_chunk_free):
10264 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10265 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10266 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10267 (gst_object_dispatch_properties_changed),
10268 (gst_object_set_name_default), (gst_object_set_name),
10269 (gst_object_get_name), (gst_object_set_name_prefix),
10270 (gst_object_get_name_prefix), (gst_object_set_parent),
10271 (gst_object_get_parent), (gst_object_unparent),
10272 (gst_object_check_uniqueness), (gst_object_save_thyself),
10273 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10274 (gst_object_set_property), (gst_object_get_property),
10275 (gst_object_get_path_string):
10277 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10278 (gst_real_pad_init), (gst_real_pad_get_property),
10279 (gst_pad_custom_new), (gst_pad_get_direction),
10280 (gst_pad_set_active), (gst_pad_is_active),
10281 (gst_pad_set_event_function), (gst_pad_is_linked),
10282 (gst_pad_link_free), (gst_pad_link_intersect),
10283 (gst_pad_link_fixate), (gst_pad_set_caps),
10284 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10285 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10286 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10287 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10288 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10289 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10290 (gst_pad_realize), (gst_pad_get_allowed_caps),
10291 (gst_real_pad_dispose), (gst_real_pad_finalize),
10292 (gst_pad_collectv), (gst_pad_collect_valist),
10293 (gst_pad_template_dispose), (gst_pad_template_new),
10294 (gst_pad_get_internal_links):
10296 * gst/gstpipeline.c: (gst_pipeline_dispose),
10297 (gst_pipeline_change_state):
10298 * gst/gstpipeline.h:
10300 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10301 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10302 * gst/gstpluginfeature.h:
10303 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10304 * gst/gstquery.c: (_gst_query_type_initialize),
10305 (gst_query_type_register), (gst_query_type_get_by_nick),
10306 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10308 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10309 * gst/gstscheduler.c: (gst_scheduler_add_element),
10310 (gst_scheduler_factory_create):
10311 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10312 (gst_structure_free), (gst_structure_set_name),
10313 (gst_structure_id_set_value), (gst_structure_set_value),
10314 (gst_structure_set_valist), (gst_structure_remove_field),
10315 (gst_structure_remove_fields),
10316 (gst_structure_remove_fields_valist),
10317 (gst_structure_remove_all_fields), (gst_structure_foreach),
10318 (gst_structure_map_in_place),
10319 (gst_caps_structure_fixate_field_nearest_int),
10320 (gst_caps_structure_fixate_field_nearest_double):
10321 * gst/gststructure.h:
10322 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10323 (gst_system_clock_init), (gst_system_clock_dispose),
10324 (gst_system_clock_async_thread),
10325 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10326 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10327 * gst/gstsystemclock.h:
10328 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10329 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10330 * gst/gsttaginterface.c:
10331 * gst/gstthread.c: (gst_thread_dispose),
10332 (gst_thread_release_children_locks), (gst_thread_change_state),
10333 (gst_thread_main_loop):
10334 * gst/gsttrashstack.h:
10335 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10337 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10338 (gst_element_request_pad), (gst_element_get_pad_from_template),
10339 (gst_element_request_compatible_pad),
10340 (gst_element_get_compatible_pad_filtered),
10341 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10342 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10343 (gst_element_link_many), (gst_element_link),
10344 (gst_element_link_pads), (gst_element_unlink_pads),
10345 (gst_element_unlink_many), (gst_element_unlink),
10346 (gst_pad_can_link_filtered), (gst_pad_can_link),
10347 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10348 (gst_object_default_error), (gst_bin_add_many),
10349 (gst_bin_remove_many), (gst_element_populate_std_props),
10350 (gst_element_class_install_std_props), (gst_buffer_merge),
10351 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10352 (link_fold_func), (gst_pad_proxy_setcaps):
10354 * gst/gstvalue.c: (gst_value_deserialize_string):
10355 * gst/parse/grammar.y:
10356 * gst/schedulers/gstbasicscheduler.c:
10357 (gst_basic_scheduler_cothreaded_chain),
10358 (gst_basic_scheduler_chain_recursive_add),
10359 (gst_basic_scheduler_pad_link):
10360 * gst/schedulers/gstoptimalscheduler.c:
10361 (get_group_schedule_function),
10362 (gst_opt_scheduler_state_transition),
10363 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10364 * libs/gst/bytestream/bytestream.c:
10365 * libs/gst/dataprotocol/dataprotocol.c:
10366 (gst_dp_header_from_buffer):
10369 * tests/threadstate/threadstate2.c: (eos):
10370 * tools/gst-compprep.c: (main):
10371 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10372 (print_pad_info), (print_children_info):
10373 * tools/gst-launch.c: (idle_func), (main):
10374 * tools/gst-md5sum.c: (idle_func), (main):
10375 * tools/gst-xmlinspect.c: (print_element_info):
10376 First THREADED backport attempt, focusing on adding locks and
10377 making sure the API is threadsafe. Needs more work. More docs
10380 2005-02-24 Andy Wingo <wingo@pobox.com>
10382 * tests/bench-complexity.scm:
10383 * tests/complexity.gnuplot: New files, good for running complexity
10386 * tests/Makefile.am:
10387 * tests/complexity.c: New test, sets up N elements, at each level
10388 teeing into M streams per element. Eeeenteresting.
10390 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10391 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10392 running bench-mass_elements.scm.
10394 * tests/bench-mass_elements.scm: New script, runs mass_elements
10395 for various numbers of identities, outputting the results to a
10396 file. Requires guile 1.6. Just for testing.
10398 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10400 * gst/schedulers/fairscheduler.c:
10401 compile with debug disabled
10403 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10406 hunting season on 0.9 is now OPEN