1 2005-11-09 Wim Taymans <wim@fluendo.com>
10 2005-11-09 Wim Taymans <wim@fluendo.com>
16 2005-11-09 Wim Taymans <wim@fluendo.com>
18 * docs/gst/gstreamer-sections.txt:
19 Moved the message async delivery private lock and cond
20 to the private section.
26 2005-11-09 Edward Hervey <edward@fluendo.com>
28 * docs/gst/gstreamer-sections.txt:
31 Document GstURIHandler
33 2005-11-09 Wim Taymans <wim@fluendo.com>
35 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
36 (gst_iterator_find_custom):
40 2005-11-09 Wim Taymans <wim@fluendo.com>
43 Document another field.
49 2005-11-09 Wim Taymans <wim@fluendo.com>
54 2005-11-09 Wim Taymans <wim@fluendo.com>
56 * docs/gst/gstreamer-sections.txt:
57 Added some new macros.
64 2005-11-09 Wim Taymans <wim@fluendo.com>
66 * docs/design/part-TODO.txt:
67 Some more items for the TODO
73 2005-11-09 Andy Wingo <wingo@pobox.com>
75 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
76 to work on something else now tho...
78 * gst/base/gstadapter.c: More adapter docs.
80 * gst/elements/gstfilesink.c (gst_file_sink_start)
81 (gst_file_sink_stop): New functions, replace the state change
83 (gst_file_sink_class_init): Hook up the start and stop functions.
84 (gst_file_sink_base_init): Don't set the state change handler any
85 more. It was a bit ugly too, being set from here...
86 (gst_file_sink_get_property, gst_file_sink_set_property):
88 (gst_file_sink_set_location): More robust check that doesn't call
91 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
93 * gst/base/gstbasetransform.c: (gst_base_transform_event):
94 Hold STREAM_LOCK while pushing newsegment or tag events as well.
96 2005-11-08 Wim Taymans <wim@fluendo.com>
98 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
99 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
100 (gst_base_sink_chain), (gst_base_sink_change_state):
101 * gst/base/gstbasesink.h:
102 * gst/base/gstbasesrc.h:
105 Avoid excessive typechecking in macros.
107 * gst/gstminiobject.c: (gst_mini_object_get_type),
108 (gst_mini_object_init), (gst_mini_object_new),
109 (gst_mini_object_free):
110 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
111 (gst_object_finalize):
112 Remove cruft code, optimize alloc_trace.
114 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
116 * docs/faq/gst-uninstalled:
117 fix up PS1 for systems that try to reset it
119 2005-11-07 Wim Taymans <wim@fluendo.com>
121 * gst/base/gstbasesrc.c: (gst_base_src_init),
122 (gst_base_src_get_range):
123 Set the segment_end to -1 initially. Fixed typefind.
125 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
127 * gst/base/gstadapter.c:
128 Debug category should be 'adapter', not 'GstAdapter'.
130 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
131 (gst_collectpads_class_init), (gst_collectpads_init),
132 (gst_collectpads_peek), (gst_collectpads_pop),
133 (gst_collectpads_event), (gst_collectpads_chain):
134 Add debug category and some debugging output. Use boilerplate
135 macros. Remove some extraneous words from docs.
137 2005-11-05 Andy Wingo <wingo@pobox.com>
139 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
142 2005-11-04 Stefan Kost <ensonic@users.sf.net>
144 * docs/gst/gstreamer-sections.txt:
147 * gst/gstminiobject.h:
152 2005-11-04 Wim Taymans <wim@fluendo.com>
154 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
155 Small update to stop at the configured segment_end
158 2005-11-04 Stefan Kost <ensonic@users.sf.net>
164 2005-11-04 Edward Hervey <edward@fluendo.com>
166 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
167 Check if we are doing a segment seek and have arrived at the
170 2005-11-04 Wim Taymans <wim@fluendo.com>
172 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
173 Don't leak a mutex unlock in case of an error.
178 2005-11-04 Wim Taymans <wim@fluendo.com>
180 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
182 Get the context to wake up only once.
184 2005-11-03 Wim Taymans <wim@fluendo.com>
186 * check/states/sinks.c: (GST_START_TEST):
187 Uncomment fixed check.
189 * docs/design/part-TODO.txt:
192 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
193 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
194 (gst_base_sink_get_position):
195 If we are going to PLAYING, post the right pending state
196 when we post the intermediate paused message.
198 * gst/gstelement.c: (gst_element_continue_state),
199 (gst_element_set_state_func), (gst_element_change_state):
200 Don't post state changes that were between the same state
203 2005-11-03 Stefan Kost <ensonic@users.sf.net>
205 * docs/gst/gstreamer-sections.txt:
208 * gst/gstminiobject.h:
211 more docs and doc style fixes
213 2005-11-03 Stefan Kost <ensonic@users.sf.net>
215 * docs/gst/gstreamer-sections.txt:
217 * gst/gstminiobject.c:
220 2005-11-03 Andy Wingo <wingo@pobox.com>
222 * check/states/sinks.c (test_livesrc_sink): Add checks that the
223 state-changed messages actually have the right order and the right
226 2005-11-03 Wim Taymans <wim@fluendo.com>
228 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
229 Added some more checks. Specifically the case where NO_PREROLL
230 elements are in the pipeline.
232 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
233 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
234 (gst_base_sink_get_position):
235 Post READY->PAUSED state change messages too.
236 Fix bug where VOID was posted as pending state...
238 * gst/gstbin.c: (gst_bin_recalc_state):
239 use _element_continue_state() to continue the state change.
241 * gst/gstelement.c: (gst_element_continue_state),
242 (gst_element_commit_state), (gst_element_set_state_func),
243 (gst_element_change_state), (gst_element_change_state_func):
244 Lots of state change cleanups, assign the STATE_RETURN in
245 a new continue_state() function that also propagates the
246 last return value from a state change to the app.
247 Update some debug statements with proper category.
249 2005-11-03 Wim Taymans <wim@fluendo.com>
251 * docs/design/part-events.txt:
252 * docs/design/part-gstpipeline.txt:
253 * docs/design/part-messages.txt:
254 * docs/design/part-overview.txt:
255 * docs/design/part-seeking.txt:
256 * docs/design/part-states.txt:
257 * docs/design/part-trickmodes.txt:
258 * docs/manual/advanced-position.xml:
262 People think !! is ugly, this looks better.
264 * gst/gstpad.c: (gst_pad_set_blocked_async):
265 Remove !! since it's fixed elsewhere now.
267 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
269 * gst/gstminiobject.h:
271 Add !! to _FLAG_IS_SET macros to make the result boolean.
273 2005-11-03 Edward Hervey <edward@fluendo.com>
275 * gst/gstpad.c: (gst_pad_set_blocked_async):
276 comparing a flag and a gboolean rarely returns coherent results...
277 Added two characters (!!) to make that work correctly.
279 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
281 * gst/gstbus.c: (gst_bus_class_init):
284 * gst/gstqueue.c: (gst_queue_loop):
285 Don't assume a miniobject that isn't a buffer is an
286 event (it could be that there is a refcounting
287 problem somewhere and the pointer is stale and
288 refers to an already destroyed miniobject).
290 2005-11-03 Julien MOUTTE <julien@moutte.net>
292 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
294 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
296 * docs/manual/advanced-position.xml:
297 Update seek example and explanations to current 0.9 API.
299 * gst/elements/gsttypefindelement.c:
300 (gst_type_find_element_activate):
301 Remove FIXME comment now that the found caps
304 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
306 * gst/gstregistryxml.c: (load_feature):
307 Add another GST_STR_NULL instance
309 2005-11-02 Edward Hervey <edward@fluendo.com>
311 * gst/gstpad.c: (handle_pad_block):
312 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
314 2005-11-02 Wim Taymans <wim@fluendo.com>
319 * gst/gstelement.c: (gst_element_commit_state):
323 Mention that the returned element is reffed in the docs.
325 2005-11-02 Wim Taymans <wim@fluendo.com>
327 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
328 (gst_pad_push), (gst_pad_push_event):
329 Unlock blocked pads when they are flushed.
331 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
334 * docs/gst/gstreamer-sections.txt:
337 * gst/gstregistry.c: (gst_registry_scan_path_level):
338 fix for a nasty little missed situation where an installed plug-in
339 which was in the cache did not get overridden by an uninstalled one
340 which was earlier in the plugin path because the newly created plugin
341 for the uninstalled one (not in the registry) didn't get its
342 ->registered set to TRUE
344 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
346 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
347 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
348 (gst_collectpads_is_active), (gst_collectpads_collect),
349 (gst_collectpads_collect_range), (gst_collectpads_start),
350 (gst_collectpads_stop), (gst_collectpads_peek),
351 (gst_collectpads_pop), (gst_collectpads_available),
352 (gst_collectpads_read), (gst_collectpads_flush):
353 Guard public API with assertions.
356 Fix docs for gst_pad_set_link_function().
358 2005-11-02 Johan Dahlin <johan@gnome.org>
360 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
361 Unref found_caps after we used it.
363 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
365 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
366 Don't try to ref NULL.
368 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
370 * win32/common/config.h.in:
371 provide a GST_FUNCTION that just gives a string for now
373 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
375 * win32/common/gstenumtypes.c: (register_gst_object_flags),
376 (gst_object_flags_get_type), (register_gst_bin_flags),
377 (gst_bin_flags_get_type), (register_gst_buffer_flag),
378 (gst_buffer_flag_get_type), (register_gst_bus_flags),
379 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
380 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
381 (gst_clock_return_get_type), (register_gst_clock_entry_type),
382 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
383 (gst_clock_flags_get_type), (register_gst_state),
384 (gst_state_get_type), (register_gst_state_change_return),
385 (gst_state_change_return_get_type), (register_gst_state_change),
386 (gst_state_change_get_type), (register_gst_element_flags),
387 (gst_element_flags_get_type), (register_gst_core_error),
388 (gst_core_error_get_type), (register_gst_library_error),
389 (gst_library_error_get_type), (register_gst_resource_error),
390 (gst_resource_error_get_type), (register_gst_stream_error),
391 (gst_stream_error_get_type), (register_gst_event_type),
392 (gst_event_type_get_type), (register_gst_seek_type),
393 (gst_seek_type_get_type), (register_gst_seek_flags),
394 (gst_seek_flags_get_type), (register_gst_format),
395 (gst_format_get_type), (register_gst_index_certainty),
396 (gst_index_certainty_get_type), (register_gst_index_entry_type),
397 (gst_index_entry_type_get_type),
398 (register_gst_index_lookup_method),
399 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
400 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
401 (gst_index_resolver_method_get_type), (register_gst_index_flags),
402 (gst_index_flags_get_type), (register_gst_debug_level),
403 (gst_debug_level_get_type), (register_gst_debug_color_flags),
404 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
405 (gst_iterator_result_get_type), (register_gst_iterator_item),
406 (gst_iterator_item_get_type), (register_gst_message_type),
407 (gst_message_type_get_type), (register_gst_mini_object_flags),
408 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
409 (gst_pad_link_return_get_type), (register_gst_flow_return),
410 (gst_flow_return_get_type), (register_gst_activate_mode),
411 (gst_activate_mode_get_type), (register_gst_pad_direction),
412 (gst_pad_direction_get_type), (register_gst_pad_flags),
413 (gst_pad_flags_get_type), (register_gst_pad_presence),
414 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
415 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
416 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
417 (gst_plugin_error_get_type), (register_gst_plugin_flags),
418 (gst_plugin_flags_get_type), (register_gst_rank),
419 (gst_rank_get_type), (register_gst_query_type),
420 (gst_query_type_get_type), (register_gst_tag_merge_mode),
421 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
422 (gst_tag_flag_get_type), (register_gst_task_state),
423 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
424 (gst_alloc_trace_flags_get_type),
425 (register_gst_type_find_probability),
426 (gst_type_find_probability_get_type), (register_gst_uri_type),
427 (gst_uri_type_get_type), (register_gst_parse_error),
428 (gst_parse_error_get_type):
429 * win32/common/gstversion.h:
432 2005-11-01 Luca Ognibene <luogni@tin.it>
435 fix docs. popt is dead, long live GOption.
437 2005-10-31 Wim Taymans <wim@fluendo.com>
442 2005-10-31 Andy Wingo <wingo@pobox.com>
446 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
448 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
449 need to serialize property notifications on GLib 2.8. GLib 2.6 has
450 the possibility of deadlocks here if code calling notify() or
451 set() has a lock that can be taken in another notify handler (ABBA
452 with class lock and e.g. python GIL state lock).
454 2005-10-28 Julien MOUTTE <julien@moutte.net>
456 * gst/gstbus.c: Doc updates.
458 2005-10-28 Wim Taymans <wim@fluendo.com>
460 * docs/design/part-TODO.txt:
462 * gst/gstsystemclock.c:
463 * gst/gstsystemclock.h:
466 2005-10-28 Edward Hervey <edward@fluendo.com>
468 * docs/gst/gstreamer-docs.sgml:
469 * docs/gst/gstreamer-sections.txt:
470 the GstURIType documentation page is private, it only defines GstURIType
471 which should be defined in the GstURIHandler page
473 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
475 * gst/gstbin.c: (gst_bin_class_init):
478 Documentation updates.
480 2005-10-28 Wim Taymans <wim@fluendo.com>
482 * docs/gst/gstreamer-sections.txt:
485 Documented the clocks.
487 2005-10-28 Stefan Kost <ensonic@users.sf.net>
489 * docs/gst/gstreamer-sections.txt:
490 move some macros to private sections
491 * gst/gstminiobject.c:
492 * gst/gstminiobject.h:
493 add descriptions provided by ds and some more
495 mark macro as to be removed
497 2005-10-28 Wim Taymans <wim@fluendo.com>
499 * docs/design/part-TODO.txt:
502 * gst/gstiterator.c: (gst_iterator_fold),
503 (gst_iterator_find_custom):
507 2005-10-28 Wim Taymans <wim@fluendo.com>
509 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
510 (gst_base_transform_init):
513 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
514 An EOS event marks the queue as completely filled.
516 2005-10-27 Wim Taymans <wim@fluendo.com>
518 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
519 (gst_base_sink_do_sync), (gst_base_sink_get_position):
522 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
523 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
524 (gst_base_transform_event), (gst_base_transform_getrange),
525 (gst_base_transform_chain):
526 * gst/base/gstbasetransform.h:
528 Protect transform and concurrent buffer alloc with a new lock.
529 Try not to break ABI/API.
531 2005-10-27 Wim Taymans <wim@fluendo.com>
533 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
534 (gst_base_src_init), (gst_base_src_query),
535 (gst_base_src_default_newsegment),
536 (gst_base_src_configure_segment), (gst_base_src_do_seek),
537 (gst_base_src_send_event), (gst_base_src_event_handler),
538 (gst_base_src_pad_get_range), (gst_base_src_loop),
539 (gst_base_src_unlock), (gst_base_src_default_negotiate),
540 (gst_base_src_start), (gst_base_src_deactivate),
541 (gst_base_src_activate_push), (gst_base_src_change_state):
542 Move some stuff around and cleanup things.
544 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
546 * gst/base/gstbasesrc.c: (gst_base_src_query):
547 Add missing break statements.
549 2005-10-27 Wim Taymans <wim@fluendo.com>
551 * check/gst/gstbin.c: (GST_START_TEST):
552 An extra refcount is taken in basesrc.
554 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
555 (gst_base_src_get_range), (gst_base_src_pad_get_range),
557 Small cleanups, check for flushing after being unlocked from the
558 LIVE_LOCK. take refcounts correctly (not yet everywhere).
559 Don't send out EOS when going to READY.
561 2005-10-27 Wim Taymans <wim@fluendo.com>
563 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
564 (gst_base_sink_get_position):
567 * gst/gstbin.c: (message_check), (bin_replace_message),
568 (bin_remove_messages), (is_eos), (gst_bin_add_func),
569 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
570 (bin_query_duration_init), (bin_query_duration_fold),
571 (bin_query_duration_done), (bin_query_generic_fold),
573 * tools/gst-launch.c: (main):
576 2005-10-26 Stefan Kost <ensonic@users.sf.net>
578 * examples/controller/audio-example.c: (main):
579 * examples/queue/queue.c: (event_loop):
580 * gst/base/gstbasetransform.h:
581 * gst/gstelement.c: (gst_element_send_event):
583 * gst/gstpad.c: (gst_pad_send_event):
586 changing log priority in error situations
588 2005-10-25 Wim Taymans <wim@fluendo.com>
590 * gst/gstbin.c: (message_check), (bin_replace_message),
591 (bin_remove_messages), (is_eos), (gst_bin_add_func),
592 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
593 (bin_query_duration_init), (bin_query_duration_fold),
594 (bin_query_duration_done), (bin_query_generic_fold),
596 Some doc and debug updates.
597 Cache previously requested query DURATION for speed. invalidate
598 cached duration if element posts a DURATION message.
600 2005-10-25 Wim Taymans <wim@fluendo.com>
602 * docs/design/part-TODO.txt:
605 * gst/gstbin.c: (message_check), (bin_replace_message),
606 (bin_remove_messages), (is_eos), (gst_bin_add_func),
607 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
608 (bin_query_duration_init), (bin_query_duration_fold),
609 (bin_query_duration_done), (bin_query_generic_fold),
611 Handle SEGMENT_START/DONE messages correctly.
612 More evolved query algorithm that handles duration queries
615 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
616 (gst_element_get_state_func), (gst_element_abort_state),
617 (gst_element_commit_state), (gst_element_lost_state):
623 2005-10-25 Wim Taymans <wim@fluendo.com>
625 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
626 Don't use invalid stream_time.
628 * gst/gstevent.c: (gst_event_new_newsegment):
629 stream_time in newsegment cannot be undefined.
631 2005-10-24 Wim Taymans <wim@fluendo.com>
636 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
638 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
640 2005-10-24 Stefan Kost <ensonic@users.sf.net>
642 * docs/libs/tmpl/gstdparam.sgml:
643 * docs/libs/tmpl/gstdplinint.sgml:
644 * docs/libs/tmpl/gstdpman.sgml:
645 * docs/libs/tmpl/gstdpsmooth.sgml:
646 * docs/libs/tmpl/gstunitconvert.sgml:
649 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
654 === release 0.9.4 ===
656 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
659 releasing 0.9.4, "Tyrannosaurus Rex"
661 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
663 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
664 (gst_file_sink_get_current_offset):
665 Use fseeko() and ftello() if available. When falling back on
666 lseek() to get the current offset, fflush() first to make sure
667 everything is up-to-date and we get the right offset.
669 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
671 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
672 * gst/base/gstbasesrc.c: (gst_base_src_loop):
673 * gst/gsterror.c: (_gst_stream_errors_init):
675 * gst/gstqueue.c: (gst_queue_loop):
677 remove prematurely added error category and clean up the instances
679 2005-10-21 Wim Taymans <wim@fluendo.com>
681 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
682 (gst_base_sink_get_position), (gst_base_sink_query),
683 (gst_base_sink_change_state):
684 Simply set the right flag when going to playing, that's all
685 we need to do instead of calling a function inside the object
686 lock (that could take the lock as well and deadlock)
688 2005-10-21 Wim Taymans <wim@fluendo.com>
690 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
692 Don't warn, the peer element knows what to do best when
693 the seek failed, it might try something else.
695 2005-10-21 Wim Taymans <wim@fluendo.com>
697 * gst/base/gstbasesrc.c: (gst_base_src_init),
698 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
701 2005-10-21 Wim Taymans <wim@fluendo.com>
703 * docs/design/part-segments.txt:
706 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
707 Correctly set caps, even on the subbufer.
709 2005-10-21 Wim Taymans <wim@fluendo.com>
711 * docs/gst/gstreamer-docs.sgml:
712 * docs/gst/gstreamer-sections.txt:
719 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
723 And 2% more doc coverage.
725 2005-10-21 Andy Wingo <wingo@pobox.com>
727 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
730 2005-10-20 Wim Taymans <wim@fluendo.com>
732 * gst/gsterror.c: (gst_error_get_message):
735 * gst/gststructure.c:
740 2005-10-20 Wim Taymans <wim@fluendo.com>
745 Another 1% more coverage.
747 2005-10-20 Wim Taymans <wim@fluendo.com>
749 * docs/gst/gstreamer-sections.txt:
750 * gst/gstelement.c: (gst_element_get_state_func),
751 (gst_element_abort_state), (gst_element_commit_state),
752 (gst_element_lost_state):
754 * gst/gstquery.c: (gst_query_set_position),
755 (gst_query_parse_position), (gst_query_set_duration),
756 (gst_query_parse_duration), (gst_query_new_convert):
758 Yay! 1% more docs coverage.
760 2005-10-20 Wim Taymans <wim@fluendo.com>
763 * gst/gstquery.c: (gst_query_set_position),
764 (gst_query_parse_position), (gst_query_set_duration),
765 (gst_query_parse_duration), (gst_query_new_convert):
767 * gst/gstutils.c: (gst_element_query_convert):
769 Docs and consistency fixes.
771 2005-10-20 Wim Taymans <wim@fluendo.com>
777 2005-10-20 Wim Taymans <wim@fluendo.com>
779 * gst/gstbin.c: (message_check), (bin_replace_message),
780 (bin_remove_messages), (is_eos), (gst_bin_add_func),
781 (update_degree), (gst_bin_sort_iterator_next),
782 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
783 Reworked the message handling a bit, cache the messages instead of
784 only the senders. alows us to do more in the future.
786 2005-10-20 Wim Taymans <wim@fluendo.com>
788 * docs/design/part-TODO.txt:
791 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
792 (gst_base_sink_query):
793 Don't use clock time to report position when in EOS.
795 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
797 * tools/gst-inspect.c: (print_interfaces),
798 (print_element_properties_info), (print_element_info):
799 Fix interface output with gst-inspect -a; don't print
800 newlines after double/float properties.
802 2005-10-20 Wim Taymans <wim@fluendo.com>
804 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
805 (gst_base_sink_query):
806 Speed up current position calculation.
808 * gst/base/gstbasesrc.c: (gst_base_src_query),
809 (gst_base_src_default_newsegment):
810 Correctly set stream position in newsegment.
812 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
813 (update_degree), (gst_bin_sort_iterator_next),
814 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
815 * gst/gstmessage.c: (gst_message_new_custom):
816 Clean up debugging info
818 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
819 (gst_queue_loop), (gst_queue_handle_src_query):
822 2005-10-19 Wim Taymans <wim@fluendo.com>
824 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
825 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
826 Fix query handling again.
828 2005-10-19 Wim Taymans <wim@fluendo.com>
830 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
831 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
832 * gst/base/gstbasesrc.c: (gst_base_src_query):
833 * gst/elements/gstfilesink.c: (gst_file_sink_query):
834 * gst/elements/gsttypefindelement.c:
835 (gst_type_find_handle_src_query), (find_element_get_length),
836 (gst_type_find_element_activate):
839 * gst/gstquery.c: (gst_query_new_position),
840 (gst_query_set_position), (gst_query_parse_position),
841 (gst_query_new_duration), (gst_query_set_duration),
842 (gst_query_parse_duration), (gst_query_set_segment),
843 (gst_query_parse_segment):
845 Bundling query position/duration is not a good idea since duration
846 does not change much and we don't want to recalculate it for every
847 position query, so they are separated again..
848 Base value in segment query is not needed.
850 * gst/gstqueue.c: (gst_queue_handle_src_query):
851 * gst/gstutils.c: (gst_element_query_position),
852 (gst_element_query_duration), (gst_pad_query_position),
853 (gst_pad_query_duration):
855 Updates for query API change.
856 Added some docs here and there.
858 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
860 * check/gst/gstbin.c: (GST_START_TEST):
861 * check/gst/gstghostpad.c: (GST_START_TEST):
862 * check/pipelines/cleanup.c: (GST_START_TEST):
863 wait on thread to die so we can check refcount correctly
865 2005-10-18 Wim Taymans <wim@fluendo.com>
867 * check/pipelines/stress.c: (GST_START_TEST):
868 Make check a little more time consuming.
870 2005-10-18 Wim Taymans <wim@fluendo.com>
873 * check/pipelines/stress.c: (GST_START_TEST),
874 (simple_launch_lines_suite), (main):
875 Small state change torture test.
877 * docs/design/part-states.txt:
878 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
879 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
880 (gst_base_sink_change_state):
881 Never take state lock from streaming thread, clean up ugly
882 hacks. Unfortunatly core does not yet support nice ways to
885 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
887 Start state recalc if a STATE_DIRTY message is posted, but only
890 * gst/gstelement.c: (gst_element_sync_state_with_parent),
891 (gst_element_get_state_func), (gst_element_abort_state),
892 (gst_element_commit_state), (gst_element_lost_state),
893 (gst_element_set_state_func), (gst_element_change_state):
895 State variables are now protected with the LOCK, the state
896 lock is only used to serialize _set_state().
898 2005-10-18 Wim Taymans <wim@fluendo.com>
900 * check/gst/gstbin.c: (GST_START_TEST):
901 * check/gst/gstmessage.c: (GST_START_TEST):
902 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
903 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
905 * gst/gstelement.c: (gst_element_abort_state),
906 (gst_element_commit_state), (gst_element_lost_state):
907 * gst/gstmessage.c: (gst_message_new_state_changed),
908 (gst_message_new_state_dirty), (gst_message_new_segment_start),
909 (gst_message_new_segment_done), (gst_message_new_duration),
910 (gst_message_parse_state_changed),
911 (gst_message_parse_segment_start),
912 (gst_message_parse_segment_done), (gst_message_parse_duration):
914 * tools/gst-launch.c: (event_loop):
915 Seriously, this is better than a previous commit as we only need
916 to notify the fact that an element changed state in a streaming
917 thread, marking the state of the parents dirty, hence the
918 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
921 2005-10-18 Wim Taymans <wim@fluendo.com>
923 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
924 (gst_bin_recalc_func):
925 * gst/gstelement.c: (gst_element_set_clock),
926 (gst_element_abort_state), (gst_element_lost_state):
927 Cleanups, prepare for state change fixes.
929 2005-10-18 Wim Taymans <wim@fluendo.com>
932 * gst/gstelement.c: (gst_element_class_init),
933 (gst_element_set_state), (gst_element_set_state_func):
936 GThreadPool in GstBinClass to monitor async state changes.
937 state_cookie in GstElement to detect concurrent gst/set state.
938 set_state is now virtual too in case a very complicated element
939 has to be constructed.
941 2005-10-18 Wim Taymans <wim@fluendo.com>
943 * check/gst/gstbin.c: (GST_START_TEST):
944 * check/gst/gstmessage.c: (GST_START_TEST):
945 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
946 * gst/gstbin.c: (bin_bus_handler):
947 * gst/gstelement.c: (gst_element_commit_state),
948 (gst_element_lost_state):
949 * gst/gstmessage.c: (gst_message_new_state_changed),
950 (gst_message_new_segment_start), (gst_message_new_segment_done),
951 (gst_message_new_duration), (gst_message_parse_state_changed),
952 (gst_message_parse_segment_start),
953 (gst_message_parse_segment_done), (gst_message_parse_duration):
955 * tools/gst-launch.c: (event_loop):
956 Make messages future proof.
957 state-change gets a flag if it was a message comming from the
959 segment-start/stop can also be specified in other formats.
960 A message to notify an app that a pipeline changed playback
962 Also fix a GstMessage leak in -launch
964 2005-10-18 Andy Wingo <wingo@pobox.com>
966 * gst/gstelement.c (gst_element_dispose): More helpful message.
968 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
970 * gst/gstregistry.c: (gst_registry_scan_path_level):
971 unref a plug-in we get that was already initialized
973 2005-10-18 Stefan Kost <ensonic@users.sf.net>
975 * docs/gst/gstreamer-sections.txt:
976 * docs/libs/gstreamer-libs-sections.txt:
981 2005-10-17 Andy Wingo <wingo@pobox.com>
983 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
986 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
988 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
990 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
991 (gst_element_get_state_func): Better debug message.
992 (gst_element_commit_state): s/INFO/DEBUG/.
993 (gst_element_lost_state, gst_element_change_state):
995 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
996 (gst_message_new_custom): s/INFO/LOG/.
998 2005-10-17 Michael Smith <msmith@fluendo.com>
1000 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1001 Check if end time is valid using end time, not start time.
1003 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1005 * check/gst-libs/controller.c: (GST_START_TEST),
1006 (gst_controller_suite):
1007 * libs/gst/controller/gstcontroller.c:
1008 (gst_controlled_property_set_interpolation_mode):
1009 * libs/gst/controller/gstcontroller.h:
1010 * libs/gst/controller/gstinterpolation.c:
1011 * testsuite/controller/.cvsignore:
1012 * testsuite/controller/Makefile.am:
1013 * testsuite/controller/interpolator.c:
1014 merge controller testsuites
1016 remove mem-chunk from docs
1018 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1020 * gst/gstmemchunk.c:
1021 * gst/gstmemchunk.h:
1022 * gst/gsttrashstack.c:
1023 * gst/gsttrashstack.h:
1024 out. get out. you're fired. to the Attic !
1026 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1028 * gst/gstcaps.c: (gst_caps_intersect):
1029 fix signedness issues in a (hopefully) correct way
1030 * gst/gstelement.c: (gst_element_pads_activate):
1032 * gst/gstobject.c: (gst_object_set_parent):
1035 2005-10-17 Julien MOUTTE <julien@moutte.net>
1037 * gst/gstvalue.h: Fix prototypes.
1039 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1041 * docs/gst/gstreamer-sections.txt:
1042 * gst/gst.c: (gst_version_string):
1044 * gst/gstversion.h.in:
1045 * win32/common/libgstreamer.def:
1046 add gst_version_string ()
1048 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1052 * gst/gst.c: (init_post):
1053 * win32/common/config.h.in:
1055 * gst/gstcaps.c: (gst_caps_intersect):
1056 use gint64, the range could be bigger than a guint
1058 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1061 document potential problem in 2038
1063 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1065 * gst/gstcaps.c: (gst_caps_intersect):
1066 Fix guint j diving under 0
1068 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1071 * win32/common/config.h:
1072 * win32/common/config.h.in:
1073 check for process.h, declares getpid() on Windows
1075 include process.h if we have it
1076 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1077 * gst/gstmemchunk.h:
1078 fix signedness issues
1079 * win32/common/libgstreamer.def:
1082 2005-10-16 Julien MOUTTE <julien@moutte.net>
1084 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1085 fix. Because of unsigned ints, caps intersection was going nuts and
1086 trying to access structures with G_MAXUINT index. That fixes
1087 videotestsrc ! ffmpegcolorspace ! fakesink
1088 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1091 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1094 use the gettext macro
1095 * gst/elements/gstelements.c:
1097 * gst/indexers/gstindexers.c:
1098 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1099 * win32/common/config.h:
1101 * win32/common/config.h.in:
1102 add the template to generate config.h
1103 * win32/common/gstenumtypes.c:
1104 * win32/common/gstversion.h:
1107 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1109 * gst/gst.c: (gst_version):
1110 * gst/gstversion.h.in:
1113 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1116 Oops, add missing closing bracket.
1118 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1121 use common m4's for argument checking
1123 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1125 * docs/gst/gstreamer-sections.txt:
1127 Add GST_EVENT_TYPE_NAME() macro.
1129 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1132 * gst/gstpluginfeature.c:
1134 privatize more symbols
1136 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1139 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1140 everything that uses GStreamer API should have the includes
1142 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1144 * docs/gst/gstreamer-sections.txt:
1145 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1147 give each value a _get_type, removes the DATA exports
1149 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1153 remove _gst_registry_auto_load, not used anymore
1154 * gst/gstbin.c: (gst_bin_get_type):
1156 * gst/gstelement.c: (gst_element_get_type):
1158 * gst/gstobject.c: (gst_object_get_type):
1160 * gst/gstpad.c: (gst_pad_get_type):
1162 make _get_type functions similar, fixes data export from library
1164 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1167 correctly make conditionals
1168 * gst/elements/Makefile.am:
1169 * gst/elements/gstelements.c:
1170 fix typo causing fdsrc not to build
1172 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1174 * testsuite/Makefile.am:
1175 * testsuite/bytestream/.cvsignore:
1176 * testsuite/bytestream/Makefile.am:
1177 * testsuite/bytestream/filepadsink.c:
1178 * testsuite/bytestream/gstbstest.c:
1179 * testsuite/bytestream/test1.c:
1180 * testsuite/bytestream/testfile1:
1181 * testsuite/caps/normalisation.c:
1182 * testsuite/caps/random.c: (main):
1183 * testsuite/cleanup/.cvsignore:
1184 * testsuite/cleanup/Makefile.am:
1185 * testsuite/cleanup/cleanup1.c:
1186 * testsuite/cleanup/cleanup2.c:
1187 * testsuite/cleanup/cleanup3.c:
1188 * testsuite/cleanup/cleanup4.c:
1189 * testsuite/cleanup/cleanup5.c:
1190 * testsuite/controller/interpolator.c:
1191 * testsuite/debug/printf_extension.c: (main):
1192 * testsuite/elements/tee.c:
1193 * testsuite/negotiation/.cvsignore:
1194 * testsuite/negotiation/Makefile.am:
1195 * testsuite/negotiation/pad_link.c:
1196 * testsuite/pad/Makefile.am:
1197 * testsuite/pad/chainnopull.c:
1198 * testsuite/pad/getnopush.c:
1199 * testsuite/pad/link.c:
1200 * testsuite/refcounting/sched.c: (create_pipeline):
1201 * testsuite/registry/Makefile.am:
1202 * testsuite/registry/gst-print-formats.c:
1203 * testsuite/schedulers/.cvsignore:
1204 * testsuite/schedulers/142183-2.c:
1205 * testsuite/schedulers/142183.c:
1206 * testsuite/schedulers/143777-2.c:
1207 * testsuite/schedulers/143777.c:
1208 * testsuite/schedulers/147713.c:
1209 * testsuite/schedulers/147819.c:
1210 * testsuite/schedulers/147894-2.c:
1211 * testsuite/schedulers/147894.c:
1212 * testsuite/schedulers/Makefile.am:
1213 * testsuite/schedulers/group_link.c:
1214 * testsuite/schedulers/queue_link.c:
1215 * testsuite/schedulers/relink.c:
1216 * testsuite/schedulers/unlink.c:
1217 * testsuite/schedulers/unref.c:
1218 * testsuite/schedulers/useless_iteration.c:
1219 * testsuite/states/bin.c:
1220 clean out/remove some stuff from the testsuite directories
1222 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1225 check for some headers
1226 * gst/elements/Makefile.am:
1227 * gst/elements/gstelements.c:
1228 don't compile fdsrc without sys/socket.h
1229 * gst/indexers/Makefile.am:
1230 * gst/indexers/gstindexers.c: (plugin_init):
1231 don't compile fileindex without mmap
1233 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1240 * check/Makefile.am:
1241 * docs/gst/Makefile.am:
1242 * examples/helloworld/Makefile.am:
1244 * gst/base/Makefile.am:
1245 * gst/check/Makefile.am:
1246 * gst/elements/Makefile.am:
1247 * gst/indexers/Makefile.am:
1248 * gst/parse/Makefile.am:
1249 * libs/gst/controller/Makefile.am:
1250 * libs/gst/dataprotocol/Makefile.am:
1251 * examples/helloworld/helloworld.c: (event_loop):
1252 compile fixes, though it's not being compiled currently
1254 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1256 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1257 Add some simple tests for the new taglist date API.
1259 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1261 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1262 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1263 Beautify 'last-message' output: print 'none' for buffer timestamps
1264 and durations if none is set; improve alignment with next messages.
1266 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1268 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1269 * gst/gstpluginfeature.h:
1270 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1271 * gst/gstregistry.h:
1272 * docs/gst/gstreamer-sections.txt:
1273 Add new API to check plugin feature version requirements.
1275 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1276 Some basic tests for the above.
1278 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1280 * gst/gststructure.c: (gst_structure_to_string):
1281 guard against NULL printf - happens when for example
1282 a message structure with GstClock gets serialized
1284 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1286 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1287 Fix presumable copy'n'pasto.
1289 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1291 * gst/elements/gstfakesrc.h:
1292 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1293 * gst/elements/gsttypefindelement.c:
1295 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1296 I wonder if this could actually write +2GB files before
1298 2005-10-13 Andy Wingo <wingo@pobox.com>
1300 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1301 Fix Timmeke Waymans bug.
1302 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1303 string of the proper length to gst_caps_from_string. There's a
1304 potential for, before this fix, that this could cause someone
1305 connecting over the network to cause a segfault if the payload is
1308 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1310 * docs/design/draft-push-pull.txt:
1311 * docs/design/part-overview.txt:
1312 * docs/random/TODO-pre-0.9:
1313 * docs/random/old/ChangeLog.gstreamer:
1314 * gst/base/gstpushsrc.c:
1318 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1320 * gst/glib-compat.c: (gst_flags_get_first_value):
1321 * gst/glib-compat.h:
1322 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1323 (gst_value_compare_double), (gst_value_serialize_flags):
1324 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1327 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1329 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1330 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1332 * tools/gst-launch.c: (event_loop):
1333 print out clock nicely
1335 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1337 * docs/gst/gstreamer-sections.txt:
1339 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1340 (gst_tag_list_get_date_index):
1341 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1342 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1344 2005-10-13 Julien MOUTTE <julien@moutte.net>
1346 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1347 (gst_collectpads_chain):
1348 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1351 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1353 * docs/gst/gstreamer-sections.txt:
1356 * tools/gst-inspect.c: (main):
1357 * tools/gst-launch.c: (main):
1358 * tools/gst-run.c: (main):
1359 * tools/gst-xmlinspect.c: (main):
1360 fix GOption context leaks
1363 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1367 * win32/common/config.h:
1369 * win32/vs6/grammar.dsp:
1370 * win32/vs6/libgstelements.dsp:
1371 * win32/vs6/libgstreamer.dsp:
1374 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1376 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1377 * gst/base/gstbasesrc.c: (gst_base_src_query):
1378 fix more guint64<->gdouble conversions
1380 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1383 add win32-update target
1384 * win32/common/gstconfig.h:
1385 * win32/common/gstenumtypes.c:
1386 * win32/common/gstenumtypes.h:
1387 * win32/common/gstversion.h:
1388 add files that visual studio can't generate
1390 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1393 add a win32-update target
1396 2005-10-12 Wim Taymans <wim@fluendo.com>
1398 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1399 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1400 * gst/gstelement.c: (gst_element_commit_state),
1401 (gst_element_set_state):
1402 Protect flags with proper lock.
1403 unref provided cached clock in dispose.
1405 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1408 * gst/gstminiobject.h:
1410 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1411 removed unused flags from miniobject
1414 2005-10-12 Wim Taymans <wim@fluendo.com>
1416 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1417 (gst_file_sink_event), (gst_file_sink_render):
1418 Flush before seeking.
1420 2005-10-12 Andy Wingo <wingo@pobox.com>
1422 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1423 always been the case.
1425 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1427 * check/gst/gstbin.c: (GST_START_TEST):
1428 * docs/gst/gstreamer-sections.txt:
1429 * gst/base/gstbasesink.c: (gst_base_sink_init):
1430 * gst/base/gstbasesrc.c: (gst_base_src_init),
1431 (gst_base_src_get_range), (gst_base_src_check_get_range),
1432 (gst_base_src_start), (gst_base_src_stop):
1433 * gst/base/gstbasesrc.h:
1434 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1435 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1436 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1440 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1442 * gst/gstelement.c: (gst_element_is_locked_state),
1443 (gst_element_set_locked_state), (gst_element_commit_state),
1444 (gst_element_set_state):
1446 * gst/gstindex.c: (gst_index_init):
1448 * gst/gstminiobject.h:
1449 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1450 (gst_object_set_parent):
1452 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1453 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1455 * gst/gstpadtemplate.h:
1456 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1457 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1458 * gst/gstpipeline.h:
1459 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1460 (gst_file_index_commit):
1461 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1462 * testsuite/pad/link.c: (gst_test_src_init),
1463 (gst_test_filter_init), (gst_test_sink_init):
1464 * testsuite/states/locked.c: (main):
1465 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1466 moved bitshift from macro to enum definition
1468 2005-10-12 Wim Taymans <wim@fluendo.com>
1470 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1471 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1472 (gst_file_sink_render):
1473 Some more debugging info.
1475 2005-10-12 Wim Taymans <wim@fluendo.com>
1477 * docs/design/part-states.txt:
1478 * tools/gst-launch.c: (main):
1480 Revert non-intentional change.
1482 2005-10-12 Wim Taymans <wim@fluendo.com>
1484 * check/gst/gstbin.c: (GST_START_TEST):
1485 * check/gst/gstelement.c: (GST_START_TEST):
1486 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1487 * check/gst/gstghostpad.c: (GST_START_TEST):
1488 * check/gst/gstpipeline.c: (GST_START_TEST):
1489 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1490 * check/states/sinks.c: (GST_START_TEST):
1491 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1492 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1493 (gst_bin_remove_func), (gst_bin_get_state_func),
1494 (gst_bin_recalc_state), (gst_bin_change_state_func),
1496 * gst/gstelement.c: (gst_element_get_state_func),
1497 (gst_element_get_state), (gst_element_abort_state),
1498 (gst_element_commit_state), (gst_element_set_state),
1499 (gst_element_change_state), (gst_element_change_state_func):
1501 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1502 (gst_pipeline_provide_clock_func):
1503 * gst/gstutils.c: (gst_element_link_pads_filtered):
1504 * tools/gst-launch.c: (main):
1505 * tools/gst-typefind.c: (main):
1506 Use GstClockTime in _get_state() instead of GTimeVal.
1507 Remove old code in gstutils.c
1509 2005-10-12 Andy Wingo <wingo@pobox.com>
1511 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1514 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1515 there is no task. Shouldn't affect any code, as nothing in our
1516 plugins checks this return value.
1517 (gst_pad_stop_task): Also take the stream lock if the pad has no
1520 2005-10-12 Wim Taymans <wim@fluendo.com>
1522 * gst/gstpad.c: (pre_activate), (post_activate),
1523 (gst_pad_activate_pull), (gst_pad_activate_push):
1524 Cleanup activation code. Reset old state if
1527 2005-10-12 Wim Taymans <wim@fluendo.com>
1529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1530 (gst_base_sink_change_state):
1531 No need to prerol after receiving EOS.
1533 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1534 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1535 * gst/elements/gstidentity.c: (gst_identity_event):
1536 Print events more verbosely.
1538 2005-10-12 Wim Taymans <wim@fluendo.com>
1540 * check/Makefile.am:
1541 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1542 * check/states/sinks2.c:
1543 Moved sinks2 testcode in sinks check.
1545 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1546 (gst_bin_remove_func), (gst_bin_recalc_state),
1547 (gst_bin_change_state_func), (bin_bus_handler):
1548 Fix potential race condition when _get_state() iterated over an
1549 ASYNC element right before it posted a state completion.
1552 Do proper cast here.
1554 * gst/gstevent.c: (gst_event_new_newsegment),
1555 (gst_event_parse_newsegment):
1556 A playback rate of 0.0 is not allowed.
1558 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1560 * win32/common/config.h:
1561 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1562 (_trewinddir), (_ttelldir), (_tseekdir):
1563 * win32/common/dirent.h:
1564 * win32/common/gtchar.h:
1565 * win32/common/libgstbase.def:
1566 * win32/common/libgstreamer.def:
1567 * win32/vs6/grammar.dsp:
1568 * win32/vs6/gst_inspect.dsp:
1569 * win32/vs6/gst_launch.dsp:
1570 * win32/vs6/gstreamer.dsw:
1571 * win32/vs6/libgstbase.dsp:
1572 * win32/vs6/libgstelements.dsp:
1573 * win32/vs6/libgstreamer.dsp:
1574 Visual Studio 6 project files, and a new common directory.
1577 2005-10-11 Wim Taymans <wim@fluendo.com>
1579 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1580 (gst_base_sink_do_sync), (gst_base_sink_query),
1581 (gst_base_sink_change_state):
1582 * gst/base/gstbasesink.h:
1583 Correctly parse newsegment info.
1585 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1587 * gst/gst.c: (init_post):
1588 split plugin paths correctly
1590 2005-10-11 Wim Taymans <wim@fluendo.com>
1592 * check/gst/gstevent.c: (GST_START_TEST):
1593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1594 (gst_base_sink_change_state):
1595 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1596 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1597 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1598 * gst/gstevent.c: (gst_event_new_newsegment),
1599 (gst_event_parse_newsegment):
1601 Added extra flag to newsegment for future API freeze.
1602 Updated check and base elements.
1604 2005-10-11 Julien MOUTTE <julien@moutte.net>
1606 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1607 (gst_collectpads_add_pad), (gst_collectpads_pop),
1608 (gst_collectpads_event), (gst_collectpads_chain):
1609 * gst/base/gstcollectpads.h: Handle EOS correctly.
1611 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1613 * tools/gst-launch.c: (main):
1614 more null protecting
1616 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1618 * gst/gst-i18n-lib.h:
1619 check for ENABLE_NLS, not GETTEXT_PACKAGE
1620 * gst/gstregistry.c: (gst_registry_add_plugin),
1621 (gst_registry_scan_path_level),
1622 (_gst_registry_remove_cache_plugins):
1623 protect possibly NULL strings
1624 * gst/parse/types.h:
1625 config.h already included before
1626 * tools/gst-inspect.c: (main):
1627 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1628 check for ENABLE_NLS, not GETTEXT_PACKAGE
1629 * tools/gst-launch.c: (main):
1630 check for ENABLE_NLS, not GETTEXT_PACKAGE
1632 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1635 if we don't have glib, fail before testing 2.8
1636 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1637 fix a leak, should fix plugins-base testsuite
1639 2005-10-11 Andy Wingo <wingo@pobox.com>
1641 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1642 take the mode we're going to as an arg. Go head and set the mode
1643 and flushing flags now, so that if the activate function starts a
1644 thread all the flags will be in the right state.
1645 (post_activate): Renamed also. Just handle making sure streaming
1646 finishes for the deactivation case, and setting the deactivated
1648 (gst_pad_set_active): Complain loudly if deactivation fails.
1649 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1650 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1651 remove the terrible hack.
1653 2005-10-11 Wim Taymans <wim@fluendo.com>
1655 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1656 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1657 (gst_bin_recalc_state), (gst_bin_change_state_func),
1658 (gst_bin_dispose), (bin_bus_handler):
1660 Prepare to make current EOS message queue more generic.
1663 * gst/gstevent.c: (gst_event_new_newsegment),
1664 (gst_event_parse_newsegment):
1666 Rename base to stream_time.
1671 2005-10-11 Wim Taymans <wim@fluendo.com>
1673 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1674 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1675 (gst_bin_change_state_func), (bin_bus_handler):
1677 Work on proper clock selection.
1679 2005-10-11 Edward Hervey <edward@fluendo.com>
1681 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1682 * libs/gst/controller/gstcontroller.h:
1683 Added GList* version of _remove_properties() in order to be able to wrap
1686 2005-10-11 Wim Taymans <wim@fluendo.com>
1688 * docs/design/part-states.txt:
1691 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1692 (gst_bin_change_state_func), (bin_bus_handler):
1693 Doc updates. Don't distribute the same clock over and over again.
1699 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1700 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1701 (gst_pad_send_event):
1703 Make probe emission threadsafe again.
1704 Register quarks and move _get_name() from utils.
1707 * gst/gstpipeline.c: (gst_pipeline_class_init),
1708 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1709 Only redistribute the clock of it changed.
1711 * gst/gstsystemclock.h:
1716 Moved the _flow_get_name() to GstPad.
1718 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1720 * check/gst-libs/gdp.c: (GST_START_TEST):
1721 * check/gst/gstcaps.c: (GST_START_TEST):
1722 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1723 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1724 (gst_dp_packet_from_caps):
1725 fix more valgrind warnings before turning up the heat
1727 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1729 * gst/parse/grammar.y:
1730 some cleanup before the hacking
1732 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1734 * gst/base/gstbasesrc.c: (gst_base_src_query):
1736 * gst/gstutils.c: (gst_guint64_to_gdouble),
1737 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1739 externalize, basesrc uses it
1740 obviously the implementation needs testing
1742 2005-10-10 Wim Taymans <wim@fluendo.com>
1744 * tests/sched/Makefile.am:
1745 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1746 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1748 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1750 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1751 apparently converting from guint64 to double is not implemented
1754 2005-10-10 Wim Taymans <wim@fluendo.com>
1756 * check/Makefile.am:
1757 * check/generic/states.c: (GST_START_TEST):
1758 * check/gst/gstbin.c: (GST_START_TEST):
1759 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1760 * check/states/sinks.c: (GST_START_TEST):
1761 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1763 Check fixes, use API as stated in design docs, remove hacks.
1765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1766 (gst_base_sink_change_state):
1767 Catch stopping our task while we're shutting down.
1769 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1770 (gst_bin_remove_func), (gst_bin_get_state_func),
1771 (gst_bin_recalc_state), (gst_bin_change_state_func),
1774 * gst/gstelement.c: (gst_element_init),
1775 (gst_element_get_state_func), (gst_element_abort_state),
1776 (gst_element_commit_state), (gst_element_lost_state),
1777 (gst_element_set_state), (gst_element_change_state),
1778 (gst_element_change_state_func):
1780 New state change algorithm (see #318116)
1782 * gst/gstpipeline.c: (gst_pipeline_class_init),
1783 (gst_pipeline_init), (gst_pipeline_set_property),
1784 (gst_pipeline_get_property), (do_pipeline_seek),
1785 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1786 * gst/gstpipeline.h:
1787 Remove crude state change hacks.
1792 * tools/gst-launch.c: (main):
1793 Fixes for state change. Needs some more work to fully use the
1796 2005-10-10 Andy Wingo <wingo@pobox.com>
1798 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1800 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1801 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1804 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1806 * gst/gstiterator.c: (gst_iterator_new):
1807 Fix my previous commit: GTypes passed to gst_iterator_new()
1808 can be fundamental types.
1810 2005-10-10 Wim Taymans <wim@fluendo.com>
1812 * gst/gstelement.c: (gst_element_iterate_pad_list),
1813 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1814 (gst_element_iterate_sink_pads):
1815 Use src/sink pads lists for the respective iterators instead
1818 2005-10-10 Andy Wingo <wingo@pobox.com>
1820 Merged in popt removal + GOption addition patch from Ronald, bug
1823 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1824 GstElement macros around, remove popt-related symbols, add goption
1827 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1829 * docs/gst/Makefile.am:
1830 * docs/libs/Makefile.am: No POPT_CFLAGS.
1832 * examples/manual/Makefile.am:
1833 * docs/manual/basics-init.xml: Doc updates with an example.
1835 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1836 (gst_init), (parse_one_option), (parse_goption_arg):
1837 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1838 bit of hand merging and debugging to get the GOption stuff working
1841 * tests/Makefile.am:
1842 * tools/Makefile.am:
1843 * tools/gst-inspect.c: (main):
1844 * tools/gst-launch.c: (main):
1845 * tools/gst-run.c: (main):
1846 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1848 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1850 * gst/gstiterator.c: (gst_iterator_new):
1851 Add assertions to make sure passed GType is likely to really
1852 be a GType (as the compiler won't catch it if the size and
1853 GType arguments get mixed up, see #318447).
1855 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1857 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1859 * gst/gstbin.c: (gst_bin_iterate_sorted):
1860 Pass GType and size arguments to gst_iterator_new() in the right
1861 order (maybe we should make _new() take the GType as first argument
1862 just like _new_list()?) (#318447).
1865 2005-10-10 Wim Taymans <wim@fluendo.com>
1867 * gst/gstelement.c: (gst_element_finalize):
1868 And free the GStaticRecMutex too
1870 2005-10-10 Andy Wingo <wingo@pobox.com>
1872 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1873 Allocate and free the mutex properly.
1875 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1877 (GstElement): The state_lock is now recursive. Rebuild your
1878 plugins, suckers. Old macros adapted.
1880 * docs/gst/gstreamer-sections.txt: Doc updates.
1883 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1884 (g_static_rec_cond_wait): Ported from state changes patch, while
1885 we wait on bug #317802 to be solved in a well-distributed GLib.
1887 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1888 gst_element_change_state, variable name changes.
1889 (gst_element_change_state): Split out of gst_element_set_state in
1890 preparation for the state change merge. Doesn't pay attention to
1891 the 'transition' argument.
1892 (gst_element_set_state): Updates, hopefully purely cosmetic.
1893 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1895 (gst_element_get_state_func): Renamed from get_state, cosmetic
1898 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1900 * gst/elements/gstelements.c:
1901 * win32/GStreamer.vcproj:
1903 * win32/dirent.c: (_tseekdir):
1904 * win32/gst-inspect.vcproj:
1905 * win32/gst-launch.vcproj:
1906 * win32/gstconfig.h:
1907 * win32/gstelements.vcproj:
1908 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1909 * win32/gstreamer.def:
1911 updates for the win32 build (patch from Sebastien Moutte)
1913 2005-10-10 Andy Wingo <wingo@pobox.com>
1915 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1916 gst_bin_get_state, cleaned up (but no logic changes).
1917 (bin_element_is_sink): Comment updates.
1918 (sink_iterator_filter): Remove needless cast.
1919 (gst_bin_iterate_sinks): Doc update.
1920 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1921 cleaned up (but no logic changes).
1923 * check/states/sinks.c (test_src_sink): Cleanups from the state
1925 (test_livesrc_sink): Sync on the state.
1927 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1928 the state change patch.
1930 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1933 * check/gst/gstbin.c: Merge in some style fixes and additional
1934 checks from Wim's state change patch.
1936 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1938 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1939 (gst_type_find_helper):
1940 Check whether we have the requested data already in our list of
1941 cached buffers before pulling a new buffer; also make the buffer
1942 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1944 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1949 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1950 don't use long long, it's not portable. Replacing with
1951 gint64 seems to work; let's hope no skeletons fall out of the closet.
1953 2005-10-10 Andy Wingo <wingo@pobox.com>
1955 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1957 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1959 * docs/gst/gstreamer-sections.txt:
1964 * gst/gstmessage.c: (gst_message_parse_state_changed):
1967 more docs, fix compilation
1969 2005-10-09 Philippe Khalaf <burger@speedy.org>
1971 Fixed a few forgotten variables on previous commit
1973 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1975 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1976 Fix evil typefind crasher: getrange() might return a short
1977 buffer at the end of a file, but gst_type_find_peek() must
1978 either return the full data as requested or NULL, but
1979 never a short buffer.
1981 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1983 * gst/gstmessage.c: (gst_message_new_state_changed),
1984 (gst_message_parse_state_changed):
1986 don't use "new", it's a C++ keyword
1988 2005-10-08 Wim Taymans <wim@fluendo.com>
1990 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1991 * gst/gstelement.c: (gst_element_post_message):
1992 * gst/gstpipeline.c: (gst_pipeline_change_state):
1993 Small docs and debug updates.
1995 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1997 * docs/gst/gstreamer-sections.txt:
1998 * gst/gstelementfactory.c:
2003 2005-10-08 Wim Taymans <wim@fluendo.com>
2005 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2006 (gst_bin_dispose), (bin_bus_handler):
2007 Fix typos, add comments.
2008 Clear EOS list when going to PAUSED from any direction and do it
2009 in a threadsafe way.
2010 Get base time in a threadsafe way too.
2011 Fix confusing debug in the change_state function.
2012 Various other small cleanups.
2014 * gst/gstelement.c: (gst_element_post_message):
2015 Fix very verbose bus posting code.
2017 * gst/gstpipeline.c: (gst_pipeline_class_init),
2018 (gst_pipeline_set_property), (gst_pipeline_get_property),
2019 (gst_pipeline_change_state):
2020 Small ARG_ -> PROP_ cleanup
2022 2005-10-08 Wim Taymans <wim@fluendo.com>
2024 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2025 Do a less CPU demanding EOS check because we can.
2027 2005-10-08 Wim Taymans <wim@fluendo.com>
2029 * libs/gst/dataprotocol/dataprotocol.c:
2030 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2031 (gst_dp_packet_from_event):
2032 * libs/gst/dataprotocol/dataprotocol.h:
2033 * libs/gst/dataprotocol/dp-private.h:
2034 It's about time we bump the version number.
2035 Since event types don't fit in the guint8 anymore describing
2036 the payload type, make payload type 16 bits wide.
2038 2005-10-08 Wim Taymans <wim@fluendo.com>
2040 * docs/design/part-TODO.txt:
2041 * docs/design/part-clocks.txt:
2042 * docs/design/part-events.txt:
2043 * docs/design/part-gstbin.txt:
2044 * docs/design/part-gstelement.txt:
2045 * docs/design/part-gstpipeline.txt:
2046 * docs/design/part-live-source.txt:
2047 * docs/design/part-messages.txt:
2048 * docs/design/part-overview.txt:
2049 * docs/design/part-states.txt:
2052 2005-10-08 Wim Taymans <wim@fluendo.com>
2056 Fix event quark registration.
2057 Add some space between events so we can insert them in the
2060 2005-10-08 Wim Taymans <wim@fluendo.com>
2062 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2063 (gst_base_sink_handle_buffer):
2070 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2071 (gst_queue_set_property), (gst_queue_get_property):
2073 Remove old unused properties.
2075 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2076 * docs/gst/gstreamer-sections.txt:
2079 * gst/gstminiobject.c:
2080 * gst/gstminiobject.h:
2084 lots of new docs and doc fixes
2086 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2088 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2090 * gst/gstregistry.c: (gst_registry_lookup_locked),
2091 (gst_registry_scan_path_level):
2092 * gst/gstregistryxml.c: (load_plugin):
2093 Only ever load one plugin for a given plugin basename.
2094 This ensures correct overriding of GST_PLUGIN_PATH over
2095 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2096 system installed plugins.
2098 2005-10-08 Wim Taymans <wim@fluendo.com>
2100 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2101 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2102 Prepare for doing QOS.
2104 2005-10-08 Wim Taymans <wim@fluendo.com>
2106 * check/gst/gstbin.c: (GST_START_TEST):
2107 * check/pipelines/cleanup.c: (GST_START_TEST):
2108 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2109 Allow new clock message too.
2111 2005-10-08 Wim Taymans <wim@fluendo.com>
2113 * gst/gstmessage.c: (gst_message_new_error),
2114 (gst_message_new_warning), (gst_message_new_tag),
2115 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2116 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2117 (gst_message_new_segment_start), (gst_message_new_segment_done),
2118 (gst_message_parse_state_changed),
2119 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2120 (gst_message_parse_new_clock):
2122 Also carry the clock in question.
2124 2005-10-08 Wim Taymans <wim@fluendo.com>
2126 * gst/gstmessage.c: (gst_message_new_custom),
2127 (gst_message_new_eos), (gst_message_new_error),
2128 (gst_message_new_warning), (gst_message_new_tag),
2129 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2130 (gst_message_new_new_clock), (gst_message_new_segment_start),
2131 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2132 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2135 Added clock related messages.
2137 * gst/gstpipeline.c: (gst_pipeline_change_state):
2138 Post message when the clock changed.
2140 * tools/gst-launch.c: (event_loop):
2143 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2145 * tools/gst-inspect.c: (print_element_properties_info):
2146 Can't pass NULL strings to g_print() on windows.
2148 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2151 * docs/gst/Makefile.am:
2152 * docs/gst/gstreamer-docs.sgml:
2153 * docs/gst/running.xml:
2154 * docs/version.entities.in:
2155 add a chapter on running GStreamer.
2156 document GST_DEBUG and GST_PLUGIN* env vars
2158 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2163 remove PLUGINS_BUILDDIR stuff
2164 * gst/gst.c: (init_post):
2165 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2167 remove, it was condescending and not needed
2169 2005-10-08 Wim Taymans <wim@fluendo.com>
2171 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2172 (gst_base_sink_handle_object), (gst_base_sink_event),
2173 (gst_base_sink_wait), (gst_base_sink_handle_event),
2174 (gst_base_sink_change_state):
2175 * gst/base/gstbasesink.h:
2176 Repost EOS message while going to PLAYING if still EOS.
2177 Make sure that when receiving a FLUSH_START we don't attempt
2178 to sync on the clock anymore.
2180 2005-10-08 Wim Taymans <wim@fluendo.com>
2182 * tools/gst-launch.c: (event_loop):
2183 Better message printout.
2185 2005-10-08 Wim Taymans <wim@fluendo.com>
2187 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2188 (gst_bin_child_proxy_get_children_count):
2189 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2190 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2191 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2192 (gst_child_proxy_set_valist):
2193 * gst/parse/grammar.y:
2194 Make ChildProxy threadsafe and fix mem leaks.
2196 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2198 * gst/gst.c: (init_post):
2199 debug the GST_PLUGIN_ env vars
2201 2005-10-08 Wim Taymans <wim@fluendo.com>
2203 * check/gst/gstbin.c: (GST_START_TEST):
2204 * check/gst/gstmessage.c: (GST_START_TEST):
2205 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2206 * gst/gstelement.c: (gst_element_commit_state),
2207 (gst_element_lost_state):
2208 * gst/gstmessage.c: (gst_message_new_state_changed),
2209 (gst_message_parse_state_changed):
2211 * tools/gst-launch.c: (event_loop):
2212 Added extra field to STATE_CHANGE message with the pending
2213 state, which will be different from the new state soon.
2215 2005-10-08 Wim Taymans <wim@fluendo.com>
2217 * gst/gstbus.c: (gst_bus_pop):
2219 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2220 Small cleanups and doc updates.
2222 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2224 * gst/gst.c: (init_pre):
2225 * gst/gstbin.c: (gst_bin_add_func):
2226 log distributing clocks and base time
2227 * gst/gstregistry.c: (gst_registry_add_plugin),
2228 (gst_registry_scan_path_level), (gst_registry_scan_path):
2229 clean up the debugging output a little
2230 * gst/gstutils.c: (gst_element_state_get_name):
2231 warn about a memleak (I've actually seen this be used, though
2232 it was probably a bug)
2234 2005-10-07 Wim Taymans <wim@fluendo.com>
2236 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2237 (gst_base_src_init), (gst_base_src_default_newsegment),
2238 (gst_base_src_newsegment), (gst_base_src_do_seek),
2239 (gst_base_src_loop), (gst_base_src_start):
2240 * gst/base/gstbasesrc.h:
2241 Make the newsegment event customizable by subclasses.
2243 2005-10-07 Wim Taymans <wim@fluendo.com>
2245 * gst/gstevent.c: (gst_event_new_buffersize),
2246 (gst_event_parse_buffersize):
2248 New event for future idea.
2250 2005-10-07 Andy Wingo <wingo@pobox.com>
2252 * gst/gstelement.c (gst_element_post_message): Doc update.
2254 * docs/gst/gstreamer-sections.txt: Update.
2256 * gst/gstmessage.c (gst_message_new_application): Made into a
2257 function like honest API calls.
2258 (gst_message_new_element): New message type.
2260 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2262 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2263 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2266 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2267 NO_PREROLL from gst_element_change_state to fall through.
2269 2005-10-07 Wim Taymans <wim@fluendo.com>
2271 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2272 (gst_ghost_pad_do_activate_push):
2273 Activating a ghostpad with no internal pad in push mode
2276 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2279 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2280 Fixes compilation on Windows.
2282 2005-10-07 Michael Smith <msmith@fluendo.com>
2284 * tools/gst-inspect.c:
2285 Print out feature and plugin count at the end when printing out
2288 2005-10-04 Michael Smith <msmith@fluendo.com>
2290 * gst/gsterror.c: (_gst_stream_errors_init):
2291 Add another error string used in a few existing plugins.
2294 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2295 * tools/gst-inspect.c: (print_element_info):
2296 When a feature disappears from a plugin (and the feature exists in
2297 the cached registry file), things went horribly wrong. This isn't a
2298 complete fix, we should actually be removing the 'missing' features
2299 from the features list when we load the actual plugin. That's not
2302 2005-10-04 Johan Dahlin <johan@gnome.org>
2304 * check/gst/gstiterator.c: (GST_START_TEST):
2305 * gst/gstbin.c: (gst_bin_iterate_elements),
2306 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2307 * gst/gstelement.c: (gst_element_iterate_pads):
2308 * gst/gstformat.c: (gst_format_iterate_definitions):
2309 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2310 (gst_iterator_new_list), (gst_iterator_filter):
2311 * gst/gstiterator.h:
2312 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2313 Add a GType to GstIterator, update callsites and tests.
2315 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2317 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2318 give events a chance to be handled by event probes when the pad
2321 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2323 * gst/gstevent.c: (gst_event_type_get_name),
2324 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2326 add string representations for event types
2328 2005-10-06 Wim Taymans <wim@fluendo.com>
2330 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2331 Don't use NULL pointers.
2333 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2335 * gst/gst_private.h:
2339 * gst/gstpluginfeature.c:
2340 widen the debug category in output to fit the biggest one we have
2341 add a bus category and use it
2342 play with the colors
2343 fix up some categories
2345 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2347 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2348 add push activation of sink ghost pads.
2349 Andye, please verify
2351 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2353 * gst/gstutils.c: (gst_element_link_pads):
2354 fix a bug in the case where neither element has a pad
2355 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2356 add a test for that case
2358 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2360 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2361 emit have-data before checking for peers. This allows
2362 for probe handlers to connect elements. This helps autopluggers.
2363 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2365 add six checks, linked/unlinked with no/true/false probe
2367 2005-10-04 Wim Taymans <wim@fluendo.com>
2369 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2370 (gst_fake_sink_event), (gst_fake_sink_preroll),
2371 (gst_fake_sink_render), (gst_fake_sink_change_state):
2372 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2373 (gst_fake_src_get_property), (gst_fake_src_create),
2374 (gst_fake_src_stop):
2375 * gst/elements/gstidentity.c: (gst_identity_stop):
2376 Protect last_message with lock.
2378 2005-10-04 Edward Hervey <edward@fluendo.com>
2381 Added precision in the comments for GST_FORMAT_DEFAULT
2383 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2385 * tools/gst-launch.c: (main):
2386 Don't try to run erroneous pipelines.
2388 2005-10-04 Julien MOUTTE <julien@moutte.net>
2390 * gst/gstbus.c: We don't need this header.
2392 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2397 === release 0.9.3 ===
2399 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2403 Releasing 0.9.3, "Unregistered"
2405 2005-10-03 Andy Wingo <wingo@pobox.com>
2407 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2408 whereby calling a pad's activatepush() function can start a thread
2409 that starts to push or pull before the pad gets the FLUSHING flag
2410 unset. Hack around it by holding the stream lock until the flag is
2411 set. Need to replace this with a proper solution. Together with
2412 the ghost pad fixes, this fixes mp3 playing/tagreading.
2414 * docs/design/part-gstghostpad.txt: Add a note about activation of
2415 proxy pads outside of ghost pads.
2417 * gst/gstghostpad.c: Implement the ghost pad activation design.
2419 2005-10-02 Andy Wingo <wingo@pobox.com>
2421 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2422 It is volatile, after all.
2424 * docs/design/part-gstghostpad.txt: Flesh out activation with
2427 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2430 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2433 Fix (unused) AM_CONDITIONAL tests.
2435 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2437 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2439 * gst/gstutils.c: (gst_pad_query_convert):
2440 Add assertion that makes sure src_val is >=0, just like
2441 gst_query_new_convert() has. (#315895)
2443 2005-09-30 Edward Hervey <edward@fluendo.com>
2445 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2446 Let's not iterate pads we're not interested in, it avoids getting
2447 sky-high refcounts on sinkpad.
2449 2005-09-30 Wim Taymans <wim@fluendo.com>
2451 * gst/gstelement.c: (gst_element_set_state),
2452 (gst_element_change_state):
2453 Small tweak, element in ASYNC remains ASYNC.
2455 2005-09-30 Wim Taymans <wim@fluendo.com>
2457 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2458 Only error is an error.
2460 * gst/gstbin.c: (gst_bin_change_state):
2463 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2464 Also call pad_block in pad alloc.
2466 * gst/gstutils.c: (gst_flow_get_name):
2469 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2471 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2472 (gst_base_src_get_range):
2473 Fix documentation typos. Add some more debug info.
2475 2005-09-29 David Schleef <ds@schleef.org>
2477 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2478 more end-user friendly.
2479 * tools/gst-inspect.c: (main): Check if command-line argument is
2480 a file and attempt to load that file as a plugin.
2482 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2484 * check/gst/gstbin.c:
2485 * check/states/sinks.c:
2486 fix tests for the new warning
2487 * check/gst/gstpipeline.c:
2488 add a test for pipeline and bus interaction
2490 elements should be NULL if they get disposed; add a warning if not
2492 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2495 for 2.6 refcounting, make debug log more correct by printing
2496 the actual refcounts at the time of swap (Wim)
2498 2005-09-29 Andy Wingo <wingo@pobox.com>
2500 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2501 removes signal watches previously added via
2502 gst_bus_add_signal_watch.
2503 (gst_bus_add_signal_watch): Don't return the source id, just store
2504 it on the bus if there wasn't an id already.
2506 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2507 add_signal_watch and remove_signal_watch.
2509 2005-09-29 Edward Hervey <edward@fluendo.com>
2511 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2512 Better if we actually iterate the list :)
2514 2005-09-29 Wim Taymans <wim@fluendo.com>
2516 * check/gst/gstbin.c: (GST_START_TEST):
2517 Change for new bus API.
2519 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2520 (send_messages), (GST_START_TEST), (gstbus_suite):
2521 Change for new bus signal API.
2523 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2524 (gst_bus_source_prepare), (gst_bus_source_check),
2525 (gst_bus_create_watch), (gst_bus_add_watch_full),
2526 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2527 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2529 Remove support for multiple GSources operating on different
2530 message types as it is too complex and unneeded when using
2532 Added support for receiving signals from the bus.
2534 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2536 * docs/libs/tmpl/gstdataprotocol.sgml:
2537 * docs/manual/advanced-dataaccess.xml:
2538 * gst/elements/gstcapsfilter.c:
2540 rename filter-caps to caps property
2542 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2544 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2545 More robust fraction string parsing.
2547 * docs/pwg/appendix-porting.xml:
2548 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2550 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2552 * gst/gstcaps.c: (gst_caps_do_simplify):
2553 Thou shalt not free a structure and then continue using it
2554 in the next loop iteration.
2556 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2558 Add test case for caps simplification.
2560 2005-09-29 Wim Taymans <wim@fluendo.com>
2562 * check/gst/gstbin.c: (GST_START_TEST):
2565 2005-09-29 Wim Taymans <wim@fluendo.com>
2567 * check/gst/gstbin.c: (GST_START_TEST):
2570 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2571 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2572 (find_element), (gst_bin_sort_iterator_next),
2573 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2574 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2575 (gst_bin_change_state), (gst_bin_dispose):
2576 A bin does not have a bus, it gets the bus from the parent.
2578 * gst/gstelement.c: (gst_element_requires_clock),
2579 (gst_element_provides_clock), (gst_element_is_indexable),
2580 (gst_element_is_locked_state), (gst_element_change_state),
2581 (gst_element_set_bus_func):
2584 * gst/gstpipeline.c: (gst_pipeline_class_init),
2585 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2586 The pipeline provides a bus.
2588 2005-09-28 Johan Dahlin <johan@gnome.org>
2590 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2591 gst_structure_get_enum instead of gst_structure_get_int
2593 * gst/gststructure.c (gst_structure_get_enum): Impl.
2595 * gst/gststructure.h (gst_structure_get_enum): Add
2597 * docs/gst/gstreamer-sections.txt: Ditto
2599 * gst/gstmessage.c (gst_message_new_state_changed): Use
2600 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2601 which does introspection.
2602 Reviewed by Christian Schaller
2604 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2606 * gst/gstinfo.c: (gst_debug_log_default):
2607 don't do dummy g_strdup()s
2608 * libs/gst/controller/gstcontroller.c:
2609 (on_object_controlled_property_changed),
2610 (gst_controlled_property_new), (gst_controller_new_valist),
2611 (gst_controller_new_list),
2612 (gst_controller_remove_properties_valist), (gst_controller_set),
2613 (gst_controller_get), (gst_controller_sync_values),
2614 (gst_controller_get_value_array), (_gst_controller_class_init),
2615 (gst_controller_get_type):
2616 * libs/gst/controller/gstcontroller.h:
2617 * libs/gst/controller/gstinterpolation.c:
2618 (gst_controlled_property_find_timed_value_node):
2619 convert // to /**/ comments
2621 2005-09-28 Wim Taymans <wim@fluendo.com>
2623 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2624 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2625 (gst_bus_sync_signal_handler):
2627 Added async-message and sync-message signals to the bus.
2628 Added helper BusFunc to emit signals for all posted messages.
2630 * gst/gstmessage.c: (gst_message_type_get_name),
2631 (gst_message_type_to_quark), (gst_message_get_type):
2633 Register quarks for message names.
2635 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2637 * docs/libs/gstreamer-libs-sections.txt:
2638 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2639 (gst_controller_new_list):
2640 * libs/gst/controller/gstcontroller.h:
2641 added another constructor for language bindings
2643 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2645 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2649 * gst/gstinfo.c: (_gst_debug_init):
2650 slightly more readable color for refcount debugging
2652 2005-09-28 Wim Taymans <wim@fluendo.com>
2654 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2655 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2656 (find_element), (gst_bin_sort_iterator_next),
2657 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2658 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2659 (gst_bin_change_state), (gst_bin_dispose):
2660 Small doc fixes. get_clock -> provide_clock.
2662 * gst/gstelement.c: (gst_element_class_init),
2663 (gst_element_provides_clock), (gst_element_provide_clock),
2664 (gst_element_get_clock), (gst_element_commit_state),
2665 (gst_element_lost_state):
2667 Make get/set_clock() symetric. Add provide_clock vmethod since
2668 that is actually what this function does.
2670 * gst/gstpipeline.c: (gst_pipeline_class_init),
2671 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2672 (gst_pipeline_get_clock):
2673 get_clock -> provide_clock.
2675 2005-09-28 Andy Wingo <wingo@pobox.com>
2677 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2678 lieu of real docs...
2680 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2682 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2684 * gst/elements/gstcapsfilter.c:
2685 * gst/elements/gstfakesink.c:
2686 * gst/elements/gstfakesrc.c:
2687 * gst/elements/gstfdsink.c:
2688 * gst/elements/gstfdsrc.c:
2689 * gst/elements/gstfilesink.c:
2690 * gst/elements/gstfilesrc.c:
2691 * gst/elements/gstidentity.c:
2692 * gst/elements/gsttee.c:
2693 * gst/elements/gsttypefindelement.c:
2694 Make element details static.
2696 2005-09-28 Wim Taymans <wim@fluendo.com>
2698 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2699 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2700 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2701 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2702 (gst_bin_change_state), (gst_bin_dispose):
2703 Some documentation updates.
2704 Clean up dispose handlers.
2706 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2707 * gst/gstpad.c: (gst_pad_dispose):
2708 Clean up dispose handler.
2710 * gst/gstpipeline.c: (gst_pipeline_change_state):
2711 Removed spurious UNLOCK.
2713 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2715 * docs/gst/gstreamer-sections.txt:
2716 * gst/base/gstbasesrc.h:
2721 * gst/gstpipeline.c:
2722 * gst/gstpipeline.h:
2725 added two new functions to the docs
2726 documents all undocumented GstXXXFlags
2727 completed some incomplete docs
2729 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2731 * gst/gstbin.c: (gst_bin_dispose):
2732 * gst/gstelement.c: (gst_element_dispose):
2733 remove now useless and leaky resurrection code in dispose
2734 * gst/base/gstbasesrc.c: (gst_base_src_init):
2735 * gst/gstelementfactory.c: (gst_element_factory_create):
2736 * gst/gstobject.c: (gst_object_set_parent):
2739 2005-09-27 Wim Taymans <wim@fluendo.com>
2741 * docs/design/part-TODO.txt:
2744 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2745 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2746 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2747 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2748 (gst_bin_change_state):
2750 Remove element variable, we keep element info in the iterator now.
2752 2005-09-27 Andy Wingo <wingo@pobox.com>
2754 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2757 2005-09-27 Wim Taymans <wim@fluendo.com>
2759 * check/gst/gstbin.c: (GST_START_TEST):
2760 Enable check that works now.
2762 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2763 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2764 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2765 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2766 (gst_bin_change_state):
2768 Redid the state change algorithm using a topological sort algo.
2769 Handles all cases correctly.
2770 Exposed iterator for state change order.
2773 Temp storage for state changes. Need to get rid of this soon.
2775 2005-09-27 Wim Taymans <wim@fluendo.com>
2777 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2778 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2779 (link_fold_func), (gst_pad_proxy_setcaps):
2780 Leak fixes, the fold functions need to unref the passed object and
2781 _get_parent_*() returns ref to parent.
2783 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2785 * check/gst/gstbuffer.c: (test_make_writable):
2786 Plug leak in test case and fix 'make check-valgrind'
2788 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2790 * gst/gstbuffer.c: (gst_subbuffer_init):
2791 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2792 works correctly in all circumstances (we could have just copied
2793 the parent buffer's readonly flag, but conceptually it seems
2794 cleaner to mark all subbuffers as read-only). (based on patch
2795 by Alessandro Decina, #314710).
2797 * check/gst/gstbuffer.c: (create_read_only_buffer),
2798 (test_make_writable), (test_subbuffer_make_writable),
2800 Add some tests for gst_buffer_make_writable().
2802 2005-09-27 Wim Taymans <wim@fluendo.com>
2804 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2805 use gst_object_has_ancestor().
2807 * gst/gstobject.c: (gst_object_has_ancestor):
2809 gst_object_has_ancestor() copied from gstbin.c as it is a
2812 * tests/instantiate/create.c: (create_all_elements):
2813 * tests/lat.c: (handoff_src), (handoff_sink):
2814 * tests/sched/runxml.c: (main):
2815 * tests/seeking/seeking1.c: (main):
2816 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2818 Fix compilation of some tests.
2820 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2823 Remove comment. GST_TYPE_G_ERROR is here to stay,
2824 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2827 2005-09-26 Wim Taymans <wim@fluendo.com>
2829 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2830 Added check that shows error in state change order.
2832 2005-09-26 Wim Taymans <wim@fluendo.com>
2834 * gst/gstbin.c: (gst_bin_change_state):
2835 Make state change function use 3 queues again, we were
2836 adding elements in the wrong order.
2838 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2841 * gst/gstpad.c: (gst_pad_dispose):
2842 Added some debug info first.
2844 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2846 * docs/design/draft-push-pull.txt:
2847 * docs/design/part-events.txt:
2848 * docs/design/part-overview.txt:
2849 * docs/design/part-scheduling.txt:
2850 Replace all _pull_region() with _pull_range()
2852 2005-09-26 Andy Wingo <wingo@pobox.com>
2854 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2856 * check/gst-libs/controller.c: Update for controller api change.
2859 * tests/Makefile.am:
2860 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2861 over by GLib bug 118439.
2863 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2864 routines to a function.
2866 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2868 * libs/gst/controller/gsthelper.c:
2869 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2870 (gst_object_sync_values): Renamed from sink_values. Ugh.
2872 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2874 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2875 Renamed from controller_key, as it is exported.
2877 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2879 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2884 * gst/gstpadtemplate.h:
2887 * gst/gstqueryutils.c:
2888 * gst/gstqueryutils.h:
2889 remove queryutils headers after moving the two used functions
2890 to gstquery. also fixes build problem for gstsiddec
2892 2005-09-26 Michael Smith <msmith@fluendo.com>
2894 * tools/gst-launch.1.in:
2895 Correct documentation in manpage of debug syntax
2897 2005-09-26 Wim Taymans <wim@fluendo.com>
2899 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2900 (gst_base_src_is_seekable), (gst_base_src_change_state):
2901 Some more debugging info.
2903 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2905 * docs/gst/gstreamer-sections.txt:
2906 * gst/base/gstbasetransform.h:
2910 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2912 * docs/gst/.cvsignore:
2913 * docs/gst/tmpl/.cvsignore:
2914 * docs/gst/tmpl/gstpipeline.sgml:
2915 * docs/gst/tmpl/gstplugin.sgml:
2916 * gst/gstpipeline.c:
2919 inlined the last two docs files
2920 removed the tmpl directory from cvs (no more conflicts here!)
2922 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2924 * docs/gst/gstreamer-sections.txt:
2925 * docs/gst/tmpl/.cvsignore:
2926 * docs/gst/tmpl/gstpad.sgml:
2927 * docs/gst/tmpl/gstpadtemplate.sgml:
2929 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2930 (gst_pad_finalize), (gst_pad_set_pad_template):
2932 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2933 (gst_pad_template_class_init), (gst_pad_template_init),
2934 (gst_pad_template_dispose), (name_is_valid),
2935 (gst_static_pad_template_get), (gst_pad_template_new),
2936 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2937 (gst_pad_template_pad_created):
2938 * gst/gstpadtemplate.h:
2939 inlined two more docs
2940 factored gstpadtemplate out of gstpad
2942 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2944 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2945 (test_children_state_change_order_semi_sink):
2946 Fix test case: we can't rely on a fixed state change order when
2947 going from READY => PAUSED because the sink might commit its
2948 new state first when the first buffer created by the source
2949 reaches the sink before the source has finished its change state.
2950 (Test case still fails at times, see #316856, comment 5 onwards)
2952 2005-09-24 Wim Taymans <wim@fluendo.com>
2954 * docs/design/part-events.txt:
2955 * docs/design/part-gstbus.txt:
2956 * docs/design/part-gstpipeline.txt:
2957 * docs/design/part-messages.txt:
2958 * docs/design/part-overview.txt:
2959 * docs/design/part-segments.txt:
2966 * gst/gstiterator.c:
2967 Various documentation updates.
2969 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2972 Well, that's embarassing. Luckily we weren't using
2973 GST_CLOCK_DIFF anywhere.
2975 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2977 * common/gtk-doc.mak:
2978 don't fail on building XML, FC4 slave shows a bunch of doc
2979 missing bits that I don't get
2981 * gst/gstpipeline.c:
2982 * gst/gststructure.c:
2985 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2987 * docs/design/part-gstbin.txt:
2988 * docs/design/part-gstbus.txt:
2990 Add blurb about how the bus goes into flushing mode and
2991 drops all messages when its bin goes from READY into NULL
2994 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2996 * docs/gst/gstreamer-sections.txt:
2997 * gst/gststructure.c: (gst_structure_get_clock_time):
2998 * gst/gststructure.h:
2999 add a method to get a GstClockTime out of a structure
3001 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3003 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3004 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3005 Added test to check state change order in bins (can still be made
3006 to fail here under heavy disk load; bails out with 'Push on pad
3007 fakesink:sink0, but it was not activated in push mode').
3009 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3010 Fix state change order when there is only a semi sink (#316856)
3012 * gst/gstbus.c: (gst_bus_class_init):
3013 Use _class_peek_parent(), not _class_ref(); fix docs to say
3014 'default main context' instead of 'mainloop' where that is
3017 * gst/gstelement.c: (gst_element_commit_state),
3018 (gst_element_set_state):
3019 Fix typos in debug messages
3021 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3024 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3025 * gst/gstpluginfeature.c:
3028 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3029 change an assert into an error until it gets fixed properly
3031 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3033 * docs/gst/gstreamer-sections.txt:
3034 * docs/gst/tmpl/.cvsignore:
3035 * docs/gst/tmpl/gstelement.sgml:
3036 * docs/gst/tmpl/gstinfo.sgml:
3037 * docs/gst/tmpl/gstobject.sgml:
3042 * gst/gstobject.c: (gst_object_class_init):
3044 inlined 3 more biiiig doc files and added some missing docs on the fly
3046 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3048 * check/gst/.cvsignore:
3049 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3050 * gst/gstregistryxml.c: (load_plugin),
3051 (gst_registry_xml_save_plugin):
3052 put back source in registry. add checks for find_plugin.
3053 * testsuite/states/bin.c: (assert_state), (empty_bin),
3054 (test_adding_one_element), (main):
3055 * testsuite/states/locked.c: (main):
3056 some compile/run fixes
3058 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3060 * check/gst/gstvalue.c: (GST_START_TEST):
3061 fix leaks in the test itself
3063 2005-09-22 Wim Taymans <wim@fluendo.com>
3065 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3066 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3067 (gst_base_sink_query):
3068 Prepare for more accurate position reporting and query
3071 * gst/gstelement.c: (gst_element_send_event),
3072 (gst_element_set_state):
3075 2005-09-22 Wim Taymans <wim@fluendo.com>
3077 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3078 (gst_query_parse_segment):
3081 Add segment query for future use.
3083 2005-09-22 Wim Taymans <wim@fluendo.com>
3085 * gst/gstbin.c: (gst_bin_add_func):
3086 Some more debug info.
3088 * gst/gstelement.c: (gst_element_send_event):
3092 Don't know how flags got broken.
3097 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3099 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3100 Add simplistic test suite for GST_TYPE_DATE serialisation and
3103 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3105 * docs/gst/gstreamer-sections.txt:
3106 * gst/gststructure.c: (gst_structure_set_valist),
3107 (gst_structure_get_date):
3108 * gst/gststructure.h:
3109 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3110 (gst_date_copy), (gst_value_compare_date),
3111 (gst_value_serialize_date), (gst_value_deserialize_date),
3112 (gst_value_transform_date_string),
3113 (gst_value_transform_string_date), (_gst_value_initialize):
3115 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3116 bunch of utility functions along with a hack that checks that
3117 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3118 is required. Part of the grand scheme in #170777.
3120 2005-09-22 Andy Wingo <wingo@pobox.com>
3122 * gst/gstconfig.h.in: Psych out gtk-doc.
3124 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3126 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3128 * tools/gst-inspect.c (print_element_list): Plug some
3129 inconsequential leaks.
3131 * gst/gstregistry.c (gst_registry_get_default): Doc.
3133 * check/gst/gstplugin.c:
3134 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3135 * gst/gstelementfactory.c (gst_element_factory_create):
3136 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3139 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3140 (gst_plugin_feature_load): Doc, don't eat refs.
3142 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3143 (gst_plugin_list_free): Doc.
3144 (gst_plugin_load_file): Doc updates.
3146 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3147 accessors returning refcounted objects, return a ref.
3149 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3150 accessor for caps. IDEMPOTENCE. Oh yes.
3152 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3154 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3156 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3157 (_gst_debug_register_funcptr):
3158 Add mutex to serialise access to the hash table with
3159 the function pointer => function name string mapping;
3160 make that hash table static scope (#316809).
3162 * gst/registries/.cvsignore:
3163 Remove left-over file.
3165 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3167 * docs/pwg/appendix-porting.xml:
3168 And something about newsegment events and caps-on-buffers to
3169 the porting guide (feel free to improve).
3171 2005-09-21 Andy Wingo <wingo@pobox.com>
3173 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3174 data and event probes on the same pad.
3175 (test_buffer_probe_once): Test that removing probes from within
3176 the probe functions works.
3178 2005-09-21 Andy Wingo <wingo@pobox.com>
3180 * check/gst/gstutils.c: New file.
3181 (test_buffer_probe_n_times): A simple buffer probe test. More to
3184 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3185 have-data::buffer, not have-data.
3186 (gst_pad_add_event_probe): Likewise for have-data::event.
3187 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3188 peer' isn't quite right yet though.
3189 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3190 (gst_pad_remove_data_probe): Change to take the guint handler_id
3191 as their arg, not the function+data, which is more glib-like.
3193 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3194 the signal emission to indicate if the data is a buffer or an
3196 (gst_pad_get_type): Initialize buffer and event quarks.
3197 (gst_pad_class_init): have-data is now a detailed signal, yes it
3200 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3202 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3203 * gst/gstutils.c: (gst_util_set_value_from_string),
3204 (gst_util_set_object_arg):
3205 Don't put functional code in g_return_if_fail() or
3206 g_return_val_if_fail() statements, otherwise things will
3207 break when G_DISABLE_CHECKS is defined during compilation.
3209 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3211 * docs/gst/tmpl/.cvsignore:
3212 * docs/gst/tmpl/gstvalue.sgml:
3215 inlied another one and added some obvious docs
3217 2005-09-21 Wim Taymans <wim@fluendo.com>
3219 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3220 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3221 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3222 (gst_fdsrc_get_property), (gst_fdsrc_create):
3223 * gst/elements/gstfdsrc.h:
3224 Properly implement fdsrc. Removed signal and timeout,
3225 better implemented somewhere else.
3227 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3229 * docs/gst/tmpl/.cvsignore:
3230 * docs/gst/tmpl/gstimplementsinterface.sgml:
3231 * gst/gstinterface.c:
3234 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3236 * docs/gst/gstreamer-sections.txt:
3237 * docs/gst/tmpl/.cvsignore:
3238 * docs/gst/tmpl/gstenumtypes.sgml:
3239 remove obsolete doc file
3241 2005-09-21 David Schleef <ds@schleef.org>
3243 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3244 little beer, fix a little leak.
3246 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3248 * docs/gst/gstreamer-docs.sgml:
3249 * docs/gst/gstreamer-sections.txt:
3250 * docs/gst/tmpl/.cvsignore:
3255 * gst/gstindex.c: (gst_index_class_init):
3257 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3258 (gst_index_factory_class_init), (gst_index_factory_init),
3259 (gst_index_factory_finalize), (gst_index_factory_new),
3260 (gst_index_factory_destroy), (gst_index_factory_find),
3261 (gst_index_factory_create), (gst_index_factory_make):
3262 * gst/gstindexfactory.h:
3263 * gst/gstpluginfeature.c:
3264 * gst/gstpluginfeature.h:
3265 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3266 more docs inlined, splitted gstindex.{c,h}
3268 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3270 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3273 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3275 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3276 Set sync to FALSE by default.
3278 2005-09-20 Wim Taymans <wim@fluendo.com>
3280 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3281 (gst_base_sink_init):
3282 Make sync property settable from subclass.
3284 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3285 (gst_fake_sink_change_state):
3286 Set sync to FALSE by default.
3288 2005-09-20 Wim Taymans <wim@fluendo.com>
3290 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3291 * tools/gst-launch.c: (main):
3292 The timeout handler should have lower priority than the source
3293 so we don't timeout before popping a message with 0 timeout.
3294 Dump error messages after failed state change.
3296 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3298 * tools/gst-inspect.c: (print_element_properties_info):
3301 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3303 * check/gst/gstevent.c:
3304 * gst/elements/gstfakesink.c:
3305 * gst/elements/gstfakesink.h:
3306 remove the sync property from fakesink.
3307 has the side effect of setting sync TRUE
3308 for fakesink, which is a change. Anyone who knows how
3309 to fix this nicely in a GObject-y way, feel free.
3311 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3313 * docs/gst/gstreamer-docs.sgml:
3314 remove probe refsection
3316 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3318 * check/Makefile.am:
3319 disable valgrinding the controller test again
3320 * docs/gst/gstreamer-sections.txt:
3321 update for api-changes
3323 2005-09-20 Wim Taymans <wim@fluendo.com>
3325 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3326 (gst_base_sink_set_property), (gst_base_sink_get_property),
3327 (gst_base_sink_do_sync):
3328 * gst/base/gstbasesink.h:
3329 Added sync property to basesink to disable clock sync.
3331 2005-09-20 Andy Wingo <wingo@pobox.com>
3333 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3334 eating the caller's refcount.
3336 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3337 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3340 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3341 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3342 of GLib 2.8 public, so we can know which refcount to check in
3345 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3346 (gst_object_init): Only set the gst refcount if we're going ahead
3347 with the refcount hack.
3349 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3351 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3352 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3353 more leaks plumbed, added more debug-logging
3357 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3360 remove include of gstmemchunk.h
3362 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3364 * gst/gstclock.c: (_gst_clock_id_free):
3365 Commit from the Political Party For More Atomic CVS Commits,
3366 so that people don't waste too much of their day fishing
3367 out obvious leaks out of massive commits.
3368 Oh, and fix a pretty damn obvious leak in the memchunk
3371 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3373 * check/Makefile.am:
3374 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3375 plug mem-leak, re-add to valgrindable tests
3377 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3380 unbreak the build for those who have chronic arthritis
3381 and typing "make check" is just too taxing on the hands
3383 2005-09-20 Andy Wingo <wingo@pobox.com>
3385 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3386 really want it out, you should fix plugins at the same time.
3388 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3391 * docs/gst/gstreamer-sections.txt:
3393 added missing symbols to api docs
3394 disable ref-count hack if we have glib >= 2.8
3396 2005-09-19 David Schleef <ds@schleef.org>
3398 * docs/gst/Makefile.am: Ignore a few more internal headers
3399 * docs/gst/gstreamer-docs.sgml: Remove old sections
3400 * docs/gst/gstreamer-sections.txt: Remove old sections
3401 * docs/gst/tmpl/gstobject.sgml: update
3402 * docs/gst/tmpl/gstplugin.sgml: update
3403 * docs/gst/tmpl/gstpluginfeature.sgml: update
3404 * docs/random/ds/0.9-suggested-changes: update.
3405 * gst/Makefile.am: remove memchunk and trashstack, since they're
3407 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3408 * gst/gst.h: don't include some headers
3409 * gst/gstchildproxy.c: add gstmarshal.h
3410 * gst/gstclock.c: Don't use memchunks
3411 * gst/gstminiobject.c: Add some docs
3412 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3413 * gst/gstobject.h: same
3414 * gst/gstplugin.c: include gstmacros.h
3415 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3416 * gst/gstquery.c: don't use memchunks
3417 * gst/gstregistry.c: rename gst_registry_deinit()
3418 * gst/gstregistry.h: same
3420 2005-09-19 David Schleef <ds@schleef.org>
3422 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3423 * docs/libs/gstreamer-libs-sections.txt:
3424 * docs/libs/tmpl/gstgetbits.sgml:
3425 * docs/libs/tmpl/gstputbits.sgml:
3427 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3429 * win32/gstenumtypes.c:
3430 * win32/gstenumtypes.h:
3433 2005-09-19 Wim Taymans <wim@fluendo.com>
3435 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3436 Automatically PAUSE and RESUME a pipeline when a flushing seek
3439 2005-09-19 Andy Wingo <wingo@pobox.com>
3441 * gst/gstregistry.h: Spacing fixen.
3443 2005-09-19 Wim Taymans <wim@fluendo.com>
3445 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3446 Handle state change failure more correctly.
3448 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3450 * check/Makefile.am:
3451 * check/pipelines/cleanup.c: (run_pipeline):
3452 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3454 enable cleanup again after fixing the leak
3456 some more info on docs
3458 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3460 * check/Makefile.am:
3461 re-enable tests now that leaks are plugged
3463 * check/gst/gstbin.c:
3464 * check/gst/gstpipeline.c:
3465 add some more tests while fixing leaks
3467 make sure binaries are uptodate when valgrinding/gdbing
3469 * gst/gstelementfactory.c:
3470 remove a ref too many, and add a FIXME for when we get
3471 round to disposing of classes
3473 fix the refcounting when loading a plugin from a file and
3474 the code pretends that the pointer is the same even though
3475 of course it can change
3476 * gst/gstpluginfeature.c:
3477 unref plugins marked cached (a bit confusing as a name)
3478 as the docs state should be done
3479 various doc additions to explain refcounting
3480 * gst/gstregistry.c:
3481 * gst/gstregistryxml.c:
3484 2005-09-19 Wim Taymans <wim@fluendo.com>
3486 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3487 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3488 (send_messages), (GST_START_TEST), (gstbus_suite):
3489 * check/gst/gstpipeline.c: (GST_START_TEST):
3490 * check/pipelines/cleanup.c: (run_pipeline):
3491 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3493 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3494 (gst_bus_source_check), (gst_bus_source_dispatch),
3495 (gst_bus_create_watch), (gst_bus_add_watch_full),
3496 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3498 * tools/gst-launch.c: (event_loop):
3499 * tools/gst-md5sum.c: (event_loop):
3500 GstBusHandler -> GstBusFunc, return value has the same meaning as
3501 any other GSource (FALSE == remove source).
3502 _add_watch() and _add_watch_full() now take a MessageType mask to
3503 only handle specific types of messages.
3504 _poll() returns the GstMessage instead of the message type to avoid
3506 _have_pending() takes a MessageType mask now too.
3507 Added testsuite for multiple bus watches.
3508 Fix testsuites and applications for new bus API.
3510 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3512 * check/Makefile.am:
3513 mark a bunch of the tests as to fix until we fix them
3515 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3518 use GST_PLUGIN settings for valgrind tests as well, so we're
3519 valgrinding the correct thing
3520 * gst/gst.c: (init_post):
3523 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3525 * gst/gst.c: (init_post), (gst_deinit):
3526 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3527 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3528 * gst/gstindex.c: (gst_index_factory_class_init),
3529 (gst_index_factory_finalize):
3530 * gst/gstobject.c: (gst_object_dispose):
3531 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3532 (gst_plugin_load_file), (gst_plugin_desc_free):
3533 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3534 (gst_plugin_feature_finalize):
3535 * gst/gstregistry.c: (gst_registry_class_init),
3536 (gst_registry_init), (gst_registry_finalize),
3537 (gst_registry_get_default), (gst_registry_deinit):
3538 * gst/gstregistry.h:
3539 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3540 various cleanups and memleak plugging. make valgrind is happy now.
3542 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3545 add a check-valgrind target
3547 2005-09-18 David Schleef <ds@schleef.org>
3549 * tools/gst-inspect.c: Revert the GOption code.
3551 2005-09-17 David Schleef <ds@schleef.org>
3553 * check/Makefile.am: Fix environment variables.
3554 * check/gst/gstplugin.c: Fix for API changes.
3555 * tools/gst-inspect.c: Fix for API changes.
3556 * tools/gst-xmlinspect.c: Fix for API changes.
3557 * gst/gstelementfactory.c:
3560 * gst/gstpluginfeature.c:
3561 * gst/gstpluginfeature.h:
3562 * gst/gstregistry.c:
3563 * gst/gstregistry.h:
3564 * gst/gstregistryxml.c:
3565 * gst/gsttypefind.c:
3566 * gst/gsttypefindfactory.c:
3567 * gst/indexers/gstfileindex.c:
3568 * gst/indexers/gstmemindex.c:
3569 * gst/schedulers/Makefile.am:
3570 Change registry to keep track of both plugins and features,
3571 removing the feature tracking from plugins themselves.
3573 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3575 * check/Makefile.am:
3576 * tools/gst-register.1.in:
3579 2005-09-15 David Schleef <ds@schleef.org>
3581 * check/gst/gstplugin.c:
3582 * gst/gstelementfactory.c:
3584 * gst/gstpluginfeature.c:
3585 * gst/gstregistry.c:
3586 Getting tired of debugging. Disabled all the unreffing of
3587 plugins and features, which fixes the segfaults, but of
3588 course leaks like crazy. At least playbin works.
3590 2005-09-15 David Schleef <ds@schleef.org>
3592 * check/gst/gstplugin.c: (register_check_elements),
3593 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3595 * gst/elements/gsttypefindelement.c: Fix refcounting.
3596 * gst/gsttypefind.c:
3597 * gst/gsttypefindfactory.c:
3598 * gst/gsttypefindfactory.h:
3600 2005-09-15 David Schleef <ds@schleef.org>
3602 * gst/gstindex.c: get refcounting correct.
3603 * gst/gstregistry.c: Handle the case where a feature/plugin is
3606 2005-09-15 David Schleef <ds@schleef.org>
3608 * check/Makefile.am:
3609 * check/gst/gstplugin.c: Add test
3610 * gst/gstplugin.c: Fix problems noticed by testsuite
3612 * gst/gstregistry.c:
3613 * gst/gstregistry.h:
3615 2005-09-15 David Schleef <ds@schleef.org>
3617 * gst/gstplugin.c: Implement semi-decent recounting and locking
3618 in plugins and plugin features.
3620 * gst/gstpluginfeature.c:
3621 * gst/gstpluginfeature.h:
3622 * gst/gstregistry.c:
3624 2005-09-15 Michael Smith <msmith@fluendo.com>
3626 * gst/gstregistry.c: (gst_registry_get_feature_list):
3627 Implement this. Makes oggdemux work; decodebin still broken.
3629 2005-09-14 David Schleef <ds@schleef.org>
3631 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3633 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3634 * gst/check/Makefile.am:
3635 * libs/gst/controller/Makefile.am:
3636 * libs/gst/dataprotocol/Makefile.am:
3638 2005-09-14 David Schleef <ds@schleef.org>
3640 * configure.ac: Remove getbits library. Nothing uses it, and
3641 it should be in something like liboil if someone did want
3643 * libs/gst/Makefile.am:
3644 * libs/gst/getbits/Makefile.am:
3645 * libs/gst/getbits/gbtest.c:
3646 * libs/gst/getbits/getbits.c:
3647 * libs/gst/getbits/getbits.h:
3648 * libs/gst/getbits/gstgetbits_generic.c:
3649 * libs/gst/getbits/gstgetbits_i386.s:
3650 * libs/gst/getbits/gstgetbits_inl.h:
3652 2005-09-14 David Schleef <ds@schleef.org>
3654 * gst/Makefile.am: Dist glib-compat.h
3656 2005-09-14 David Schleef <ds@schleef.org>
3658 * configure.ac: Remove gst/registries, since it's no longer used.
3659 * gst/registries/Makefile.am:
3660 * gst/registries/gstlibxmlregistry.c:
3661 * gst/registries/gstlibxmlregistry.h:
3662 * gst/registries/gstxmlregistry.c:
3663 * gst/registries/gstxmlregistry.h:
3664 * gst/registries/registrytest.c:
3666 2005-09-14 David Schleef <ds@schleef.org>
3668 * gst/glib-compat.h:
3669 * gst/gstregistryxml.c:
3670 Convergence is near. Seriously.
3672 2005-09-14 David Schleef <ds@schleef.org>
3674 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3675 * gst/glib-compat.h:
3676 Attempt #4 to appease the buildbots.
3678 2005-09-14 David Schleef <ds@schleef.org>
3680 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3683 2005-09-14 David Schleef <ds@schleef.org>
3685 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3688 2005-09-14 David Schleef <ds@schleef.org>
3690 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3693 2005-09-14 David Schleef <ds@schleef.org>
3695 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3696 * gst/glib-compat.h: Add some functions that are in newer versions
3697 of glib than we care to require.
3698 * gst/gstregistryxml.c: Use them.
3700 2005-09-14 David Schleef <ds@schleef.org>
3702 * po/POTFILES.in: remove gst-register.c
3704 2005-09-14 David Schleef <ds@schleef.org>
3706 * docs/gst/gstreamer-docs.sgml:
3707 * docs/gst/gstreamer-sections.txt:
3708 * docs/gst/gstreamer.types:
3709 * docs/gst/tmpl/gstelement.sgml:
3710 * docs/gst/tmpl/gstplugin.sgml:
3711 * docs/gst/tmpl/gstpluginfeature.sgml:
3712 Documentation updates for registry changes.
3714 2005-09-14 David Schleef <ds@schleef.org>
3716 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3717 because we don't require glib-2.8.
3719 2005-09-14 David Schleef <ds@schleef.org>
3721 * gst/gstregistryxml.c: Added. Essentially moved out of the
3722 registries directory.
3724 2005-09-14 David Schleef <ds@schleef.org>
3726 * check/Makefile.am:
3727 * check/generic/states.c:
3731 * gst/gst_private.h:
3732 * gst/gstelementfactory.c:
3737 * gst/gstpluginfeature.c:
3738 * gst/gstpluginfeature.h:
3739 * gst/gstregistry.c:
3740 * gst/gstregistry.h:
3741 * gst/gstregistrypool.c: remove
3742 * gst/gstregistrypool.h: remove
3743 * gst/gsttypefind.c:
3744 * gst/gsttypefindfactory.c:
3746 * tools/Makefile.am:
3747 * tools/gst-compprep.c:
3748 * tools/gst-inspect.c:
3749 * tools/gst-register.c: remove
3750 * tools/gst-xmlinspect.c:
3751 Registry rewrite. Changes registry from being a file created
3752 by a tool into a simple cache file created automatically by
3753 libgstreamer. Removed gst-register (because it's no longer
3754 needed). Remove registry pools, because we only have one
3755 registry implementation (XML). Fix up other subsystems as
3758 2005-09-13 Michael Smith <msmith@fluendo.com>
3760 * gst/gstconfig.h.in:
3761 Don't Use windows linking attributes for MinGW. Fixes #316157
3763 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3765 * gst/gstutils.c: (set_state_async_thread_func),
3766 (gst_element_set_state_async):
3767 Apparently people think it's better if this function doesn't
3768 try to set the state to whatever state was asked for on the first
3769 call to this function for any object. Seriously.
3771 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3773 * check/gst/gstpipeline.c: (GST_START_TEST):
3774 * docs/gst/gstreamer-sections.txt:
3775 * gst/gstutils.c: (set_state_async_thread_func),
3776 (gst_element_set_state_async):
3778 add a "gst_element_set_state_async" method that
3779 sets the state and starts a thread to make sure the state
3780 change completes as best as it can
3782 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3784 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3785 codify design+behaviour in testsuite after discussion
3787 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3789 * docs/gst/tmpl/gstelement.sgml:
3790 * docs/manual/appendix-quotes.xml:
3792 * gst/gstelement.c: (gst_element_set_state):
3795 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3797 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3798 (gst_base_transform_prepare_output_buf),
3799 (gst_base_transform_handle_buffer):
3800 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3801 (gst_capsfilter_prepare_buf):
3802 Remove the requirement for sub-classes to call the parent
3803 implementation of prepare_output_buffer with a wrapper function.
3806 * gst/gsttagsetter.h:
3809 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3811 * docs/gst/gstreamer-sections.txt:
3814 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3816 * docs/gst/gstreamer-sections.txt:
3817 * docs/gst/tmpl/gstelement.sgml:
3818 * docs/gst/tmpl/gstplugin.sgml:
3819 * gst/gstminiobject.c:
3821 docs now stop throwing warnings
3823 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3825 * docs/gst/gstreamer-sections.txt:
3826 * docs/gst/gstreamer.types:
3827 * docs/gst/tmpl/gstpad.sgml:
3828 * docs/gst/tmpl/gsttypes.sgml:
3829 * gst/base/gstadapter.h:
3830 * gst/base/gstbasesink.h:
3831 * gst/base/gstbasesrc.h:
3841 * gst/gststructure.c:
3842 * gst/registries/gstlibxmlregistry.h:
3843 various documentation fixes
3845 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3847 * docs/gst/gstreamer-sections.txt:
3848 * docs/gst/tmpl/gstvalue.sgml:
3849 rearrange gstvalue section
3850 * gst/gstutils.c: (gst_element_state_get_name):
3852 * gst/gstvalue.c: (_gst_value_initialize):
3856 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3858 * check/gst-libs/controller.c:
3860 * gst/base/gstbasetransform.c:
3861 (gst_base_transform_default_prepare_buf),
3862 (gst_base_transform_handle_buffer):
3863 * gst/base/gstbasetransform.h:
3864 Some more basetransform changes and fixes to enable sub-classes
3865 that modify buffer metadata only.
3866 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3867 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3868 (gst_capsfilter_prepare_buf):
3869 If the output pad has fixed allowed caps and input buffers
3870 don't have any, set the fixed caps on outgoing buffers.
3872 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3873 * check/elements/identity.c: (GST_START_TEST):
3874 Make the error a little clearer when the test fails because
3875 identity made a copy of the buffer.
3876 * docs/gst/gstreamer-sections.txt:
3877 New symbols in gstbasetransform.h
3878 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3879 (gst_base_transform_init), (gst_base_transform_transform_size),
3880 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3881 (gst_base_transform_default_prepare_buf),
3882 (gst_base_transform_get_unit_size),
3883 (gst_base_transform_buffer_alloc),
3884 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3885 (gst_base_transform_change_state),
3886 (gst_base_transform_set_passthrough),
3887 (gst_base_transform_set_in_place),
3888 (gst_base_transform_is_in_place):
3889 * gst/base/gstbasetransform.h:
3890 Change BaseTransform to separate in_place operate from same_caps
3891 output. in_place implies that the element can perform the transform
3892 on incoming buffers in-place, even if the caps on the output are
3894 Sub-class elements can now implement special buffer allocation
3895 methods for outgoing buffers if they wish to.
3896 Big documentation addition.
3897 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3898 * gst/elements/gstelements.c:
3899 Changes for basetransform modifications.
3900 * gst/elements/Makefile.am:
3901 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3902 Compile fix. Extra debug output.
3904 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3906 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3908 add tests for valid pad naming
3909 * gst/check/gstcheck.c: (gst_check_log_message_func),
3910 (gst_check_log_critical_func):
3912 remove printing of code, it is fragile when the code contains
3913 % and the line number is enough info
3914 * gst/check/gstcheck.h:
3915 * gst/gstpad.c: (gst_pad_template_new):
3918 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3921 say what CHECK flags we use
3922 * docs/libs/gstreamer-libs.types:
3923 * libs/gst/controller/Makefile.am:
3924 * libs/gst/controller/gst-controller.c:
3925 * libs/gst/controller/gst-controller.h:
3926 * libs/gst/controller/gst-helper.c:
3927 * libs/gst/controller/gst-interpolation.c:
3928 * libs/gst/controller/gstcontroller.c:
3929 * libs/gst/controller/gsthelper.c:
3930 * libs/gst/controller/gstinterpolation.c:
3931 * tools/gst-inspect.c: (print_plugin_info):
3932 we don't use dashes in header names
3934 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3936 * check/Makefile.am:
3937 * check/gst/.cvsignore:
3938 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3939 (gst_pipeline_suite), (main):
3940 adding a test for pipelines and state changes
3941 * gst/gstutils.c: (get_state_func):
3943 * gstreamer.spec.in:
3946 2005-09-08 Michael Smith <msmith@fluendo.com>
3948 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3949 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3950 (gst_file_src_is_seekable), (gst_file_src_get_size),
3951 (gst_file_src_start):
3952 * gst/elements/gstfilesrc.h:
3953 Various fixes for unseekable, unmmapable, and non-normal files, so
3954 that fallback to read() rather than mmap() works.
3955 * gst/gstevent.c: (gst_event_new_newsegment):
3956 Allow newsegment events with segment_start == segment_end, as will
3957 correctly happen if you use filesrc on a zero-size file, for
3960 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3962 * gst/gstplugin.c: (gst_plugin_load_file):
3963 Call g_module_close when we don't load the module
3965 * gst/registries/gstlibxmlregistry.c:
3966 (gst_xml_registry_get_property):
3967 Port leak fix from 0.8
3969 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3971 * docs/gst/gstreamer-docs.sgml:
3972 * docs/gst/tmpl/.cvsignore:
3973 * docs/gst/tmpl/gsttrace.sgml:
3974 * docs/gst/tmpl/gsttrashstack.sgml:
3983 * gst/gsttaginterface.c:
3984 * gst/gsttaginterface.h:
3987 * gst/gsttagsetter.c:
3988 * gst/gsttagsetter.h:
3991 * gst/gsttrashstack.c:
3992 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3993 inlined docs for gsttrace, gsttrashstack
3995 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3998 * gst/elements/gstbufferstore.h:
3999 * gst/elements/gsttypefindelement.c:
4000 * gst/elements/gsttypefindelement.h:
4002 * gst/gsttypefind.c:
4003 * gst/gsttypefind.h:
4004 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4005 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4006 (gst_type_find_factory_dispose),
4007 (gst_type_find_factory_unload_thyself),
4008 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4009 (gst_type_find_factory_get_caps),
4010 (gst_type_find_factory_get_extensions),
4011 (gst_type_find_factory_call_function):
4012 * gst/gsttypefindfactory.h:
4013 * gst/registries/gstlibxmlregistry.c:
4014 * gst/registries/gstxmlregistry.c:
4015 splitted gsttypefind into gsttypefind, gsttypefindfactory
4017 2005-09-07 Andy Wingo <wingo@pobox.com>
4019 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4020 condition whereby the pad's task function is entered before the
4021 pad_mode variable was set.
4023 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4025 * gst/gstpad.c: (gst_pad_alloc_buffer):
4026 Catch misbehaving pad_alloc functions that don't
4027 set up caps and do it for them.
4029 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4031 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4033 * docs/gst/tmpl/.cvsignore:
4034 * docs/gst/tmpl/gstmemchunk.sgml:
4035 * docs/gst/tmpl/gstparse.sgml:
4036 * docs/gst/tmpl/gsttaglist.sgml:
4037 * docs/gst/tmpl/gsttagsetter.sgml:
4038 * docs/gst/tmpl/gsttypefind.sgml:
4039 * docs/gst/tmpl/gsttypefindfactory.sgml:
4040 * gst/gstmemchunk.c:
4043 * gst/gsttaginterface.c:
4044 * gst/gsttypefind.c:
4045 * gst/gsttypefind.h:
4048 === release 0.9.2 ===
4050 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4055 releasing 0.9.2, "South"
4057 2005-09-05 Andy Wingo <wingo@pobox.com>
4059 * gst/registries/gstxmlregistry.h:
4060 * gst/registries/gstxmlregistry.c: Um... resurrect...
4062 * gst/registries/gstxmlregistry.h:
4063 * gst/registries/gstxmlregistry.c: and update to newer API.
4064 Incidentally they should be a bit faster now that they don't have
4067 2005-09-05 Andy Wingo <wingo@pobox.com>
4069 * gst/registries/gstxmlregistry.h:
4070 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4071 replaced by the libxml registry a while back
4073 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4075 * docs/gst/tmpl/gstplugin.sgml:
4076 * gst/elements/gstelements.c:
4078 * gst/gstplugin.c: (gst_plugin_register_func),
4079 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4080 (gst_plugin_get_source):
4082 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4083 (gst_xml_registry_save_plugin):
4084 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4085 (gst_xml_registry_save_plugin):
4086 * tools/gst-inspect.c: (print_plugin_info):
4087 add a "source" plugin description field, to represent the source
4088 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4089 will set it to PACKAGE, which is automake's idea of the name of
4092 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4098 * docs/faq/Makefile.am:
4099 * docs/gst/tmpl/gstelement.sgml:
4100 * docs/gst/tmpl/gsttypes.sgml:
4101 * docs/htmlinstall.mak:
4102 * docs/manual/Makefile.am:
4103 * docs/pwg/Makefile.am:
4104 reorganize doc build a little
4105 split out docbook and gtk-doc stuff
4106 have two separate --enable's and enable them through autogen
4107 but disable by default in configure (to be similar to other
4109 * gstreamer.spec.in:
4110 clean up docs install
4130 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4132 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4135 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4136 (gst_fake_sink_change_state):
4137 Make state change function thread-safe.
4139 * gst/gstpad.c: (gst_pad_alloc_buffer):
4140 Set offset on generic buffer allocated by fallback.
4142 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4144 * docs/gst/gstreamer-sections.txt:
4145 * docs/gst/tmpl/gstelement.sgml:
4147 * libs/gst/controller/gst-controller.c:
4148 (gst_controlled_property_set_interpolation_mode),
4149 (gst_controlled_property_new),
4150 (gst_controller_find_controlled_property):
4151 run the wingo-magic script against the docs
4153 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4155 * docs/gst/gstreamer-docs.sgml:
4156 * docs/gst/gstreamer-sections.txt:
4157 * docs/gst/tmpl/.cvsignore:
4158 * docs/gst/tmpl/gstelementdetails.sgml:
4159 * docs/gst/tmpl/gstelementfactory.sgml:
4162 * gst/gstelementfactory.c:
4163 * gst/gstelementfactory.h:
4164 merged elementdetails docs into elementfactory docs
4167 2005-09-02 Andy Wingo <wingo@pobox.com>
4169 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4170 consider this enum an enum and not a flags.
4172 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4174 * docs/gst/gstreamer-docs.sgml:
4175 * docs/gst/tmpl/.cvsignore:
4176 * docs/gst/tmpl/gstghostpad.sgml:
4177 * docs/gst/tmpl/gstiterator.sgml:
4178 * docs/gst/tmpl/gstmacros.sgml:
4179 * docs/gst/tmpl/gstrealpad.sgml:
4180 * docs/gst/tmpl/gstregistry.sgml:
4181 * docs/gst/tmpl/gstregistrypool.sgml:
4182 * docs/gst/tmpl/gststructure.sgml:
4183 * docs/gst/tmpl/gstsystemclock.sgml:
4184 * docs/gst/tmpl/gsttrace.sgml:
4185 * gst/gstghostpad.c:
4187 * gst/gstmemchunk.c:
4188 * gst/gstmemchunk.h:
4190 * gst/gstregistry.c:
4191 * gst/gstregistrypool.c:
4192 * gst/gststructure.c:
4193 * gst/gstsystemclock.c:
4196 2005-09-02 Andy Wingo <wingo@pobox.com>
4198 * gst/gstelement.h (GstState): Renamed from GstElementState,
4199 changed to be a normal enum instead of flags.
4200 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4201 munged to be GST_STATE_CHANGE_*.
4202 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4203 work with the new state representation.
4204 (GstStateChange): New enumeration of possible state transitions.
4205 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4206 (GstElementClass::change_state): Pass the GstStateChange along as
4207 an argument. Helps language bindings, so they don't have to use
4208 tricky lock-needing macros like GST_STATE_CHANGE ().
4210 * scripts/update-states (file): New script. Run it on a file to
4211 update it for state naming and API changes. Updates files in
4214 * All files updated for the new API.
4216 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4218 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4219 * gst/gstutils.c: (gst_util_set_value_from_string),
4220 (gst_util_set_object_arg):
4221 fix a bunch of unchecked return values
4222 * tools/gst-complete.c: (main):
4223 * gstreamer.spec.in:
4226 2005-09-01 Wim Taymans <wim@fluendo.com>
4228 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4229 (gst_base_sink_event), (gst_base_sink_do_sync),
4230 (gst_base_sink_handle_event):
4231 * gst/base/gstbasesink.h:
4232 Handle newsegments more correctly.
4237 * gst/gstevent.c: (gst_event_new_newsegment):
4238 A newsegment cannot have a start_time of -1
4240 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4242 * win32/gstenumtypes.c:
4243 * win32/gstenumtypes.h:
4246 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4248 * libs/gst/controller/gst-controller.c:
4249 (gst_controlled_property_set_interpolation_mode),
4250 (gst_controlled_property_new):
4253 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4255 * docs/faq/gst-uninstalled:
4260 * gst/gstutils.c: (gst_element_link_filtered):
4262 add gst_element_link_filtered
4264 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4266 * docs/gst/gstreamer-docs.sgml:
4267 * docs/gst/gstreamer-sections.txt:
4268 * docs/gst/tmpl/.cvsignore:
4269 * docs/gst/tmpl/gsterror.sgml:
4270 * docs/gst/tmpl/gstfilter.sgml:
4271 * docs/gst/tmpl/gsturihandler.sgml:
4272 * docs/gst/tmpl/gsturitype.sgml:
4273 * docs/gst/tmpl/gstutils.sgml:
4274 * docs/gst/tmpl/gstxml.sgml:
4282 inlined more docs, fixed double id-ref
4284 2005-08-31 Wim Taymans <wim@fluendo.com>
4286 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4287 (gst_base_transform_handle_buffer):
4288 Passthrough elements don't need the caps as they don't care.
4290 2005-08-31 Wim Taymans <wim@fluendo.com>
4292 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4293 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4294 Don't leak refcounts on buffers.
4296 2005-08-31 Wim Taymans <wim@fluendo.com>
4298 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4299 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4300 (gst_base_transform_chain), (gst_base_transform_change_state):
4301 * gst/base/gstbasetransform.h:
4302 Handle the case where we are not negotiated more gracefully.
4304 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4306 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4307 (gst_file_src_map_region):
4308 Set READONLY flag on mmap'ed buffers, otherwise
4309 gst_buffer_make_writable() won't work properly (#314708).
4311 2005-08-31 Wim Taymans <wim@fluendo.com>
4313 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4314 passthrough elements can even do inplace on non writable
4315 buffers (as they don't touch them).
4317 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4319 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4320 (gst_test_mono_source_set_property),
4321 (gst_test_mono_source_class_init), (GST_START_TEST),
4322 (gst_controller_suite):
4323 more tests (hehe I have the most)
4325 describe popping messages whenusing mulltiple sources
4326 * libs/gst/controller/gst-controller.c:
4327 (gst_controlled_property_set_interpolation_mode),
4328 (gst_controlled_property_new):
4329 * libs/gst/controller/gst-controller.h:
4330 * libs/gst/controller/gst-interpolation.c:
4331 implement boolean properties
4333 2005-08-31 Wim Taymans <wim@fluendo.com>
4335 * gst/gstminiobject.c: (gst_mini_object_ref):
4336 Cannot assert that the refcount has to be positive
4337 since a disposed object can be resurrected.
4339 2005-08-31 Wim Taymans <wim@fluendo.com>
4341 * gst/gstpad.c: (gst_pad_init):
4342 Revert change, need to first fix badly behaving
4345 2005-08-30 Wim Taymans <wim@fluendo.com>
4347 * check/elements/fakesrc.c: (setup_fakesrc):
4348 * check/elements/identity.c: (setup_identity):
4349 Activate pads before using them.
4351 2005-08-30 Wim Taymans <wim@fluendo.com>
4353 * gst/base/gstadapter.c: (gst_adapter_flush):
4354 Flushing out 0 bytes is ok for this function.
4356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4357 no newsegment gives a warning and sets the start/stop to
4360 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4361 (gst_base_transform_set_passthrough):
4364 * gst/gstminiobject.c: (gst_mini_object_ref):
4365 Check refcount here too.
4367 * gst/gstpad.c: (gst_pad_init):
4368 Pads are initially flushing and refusing data.
4370 * gst/gstutils.c: (gst_element_link_pads_filtered):
4371 When adding a capsfilter element make sure it has the
4372 same state as the parent bin.
4374 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4376 * docs/gst/tmpl/.cvsignore:
4377 * docs/gst/tmpl/gstformat.sgml:
4378 * docs/gst/tmpl/gstversion.sgml:
4382 * gst/gstversion.h.in:
4383 more docs and two more inlined
4385 2005-08-30 Wim Taymans <wim@fluendo.com>
4387 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4388 Don't sync to clock.
4390 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4392 * docs/gst/gstreamer-sections.txt:
4393 ultral33t func10ns deserve to appear in the docs actually
4394 * docs/gst/tmpl/.cvsignore:
4395 * docs/gst/tmpl/gstcompat.sgml:
4396 * docs/gst/tmpl/gstconfig.sgml:
4397 * gst/check/gstcheck.c:
4399 * gst/gstconfig.h.in:
4402 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4404 * docs/gst/tmpl/.cvsignore:
4405 * docs/gst/tmpl/gstquery.sgml:
4406 * docs/gst/tmpl/gstutils.sgml:
4409 inlined and extended docs
4411 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4413 * check/gst-libs/controller.c: (GST_START_TEST),
4414 (gst_controller_suite):
4416 * docs/gst/tmpl/gstutils.sgml:
4417 * docs/libs/gstreamer-libs-sections.txt:
4418 * docs/libs/tmpl/gstdataprotocol.sgml:
4420 * examples/controller/audio-example.c: (main):
4421 controller example works now
4424 * tools/gst-inspect.c: (print_element_properties_info):
4425 show param spec flags
4427 2005-08-29 Andy Wingo <wingo@pobox.com>
4429 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4431 2005-08-28 Andy Wingo <wingo@pobox.com>
4433 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4434 as having two arguments instead of just one. Allows superclasses
4435 to access information on subclasses -- see the terrible for() loop
4436 in gtype.c:g_type_create_instance for the reason why. All callers
4439 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4441 * docs/design/part-messages.txt:
4443 * docs/gst/tmpl/.cvsignore:
4444 * docs/gst/tmpl/gstcaps.sgml:
4445 * docs/gst/tmpl/gstclock.sgml:
4452 added descriptions for bus and message
4453 inline caps and clock docs
4455 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4461 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4463 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4466 2005-08-26 Andy Wingo <wingo@pobox.com>
4468 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4469 element_set_state's return val.
4470 (test_2_elements): Add test that's been disabled for months.
4472 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4473 can-activate-pull properties.
4475 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4476 can-activate-pull properties. Implement is_seekable so fakesrc can
4477 operate in pull mode.
4479 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4481 (gst_base_sink_activate, gst_base_sink_activate_pull)
4482 (gst_base_sink_activate_push): Make activation mode choosing work.
4484 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4485 is right. Make pull mode work. Post an eos before pausing in pull
4487 (gst_base_sink_change_state): Pay attention to the core's
4488 change_state() return val.
4490 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4491 has-getrange properties. Cleanups.
4493 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4494 has_getrange and replace with can_activate_pull and
4497 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4498 locking comments. Remove has_loop, has_chain and replace with
4499 can_activate_pull and can_activate_push.
4501 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4504 * examples/Makefile.am:
4505 * examples/metadata/Makefile.am:
4506 * examples/metadata/read-metadata.c: (message_loop),
4507 (have_pad_handler), (make_pipeline), (print_tag), (main):
4508 Add metadata reading example that loops over a list of filenames,
4509 dumping any tags found.
4511 * gst/gstbus.c: (gst_bus_dispose):
4512 * gst/gstelement.c: (gst_element_dispose):
4513 Release a few potentially-held references in dispose.
4515 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4517 * docs/gst/tmpl/gstminiobject.sgml:
4518 do *not* add tmpl/*.sgml files to CVS!
4520 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4522 * libs/gst/bytestream/.cvsignore:
4523 * libs/gst/bytestream/Makefile.am:
4524 * libs/gst/bytestream/adapter.c:
4525 * libs/gst/bytestream/adapter.h:
4526 * libs/gst/bytestream/bytestream.c:
4527 * libs/gst/bytestream/bytestream.h:
4528 * libs/gst/bytestream/filepad.c:
4529 * libs/gst/bytestream/filepad.h:
4530 removing obsolete files
4532 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4534 * docs/gst/gstreamer-docs.sgml:
4535 * docs/libs/gstreamer-libs-docs.sgml:
4536 disabed additional index entries again, as this makes docs-gen just
4537 slow and they aren't useful yet
4538 * docs/libs/gstreamer-libs-sections.txt:
4539 little -section.txt cleanup for libs
4541 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4543 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4544 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4545 fix up some debugging
4546 (gst_base_transform_get_unit_size),
4547 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4548 (gst_base_transform_handle_buffer):
4549 * gst/base/gstbasetransform.h:
4550 handle and store timed NEWSEGMENT events so that subclasses that
4551 calculate time by counting samples have a segment_start time they
4552 need to add to their timestamps - see audioresample
4554 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4557 removed ';' from the end of macro defs
4558 * docs/gst/gstreamer-docs.sgml:
4559 * docs/gst/gstreamer-sections.txt:
4560 * docs/gst/tmpl/.cvsignore:
4562 * gst/gstelement.c: (gst_element_class_init),
4563 (gst_element_set_state), (activate_pads),
4564 (gst_element_save_thyself):
4565 * gst/gstevent.c: (gst_event_new_newsegment):
4567 * gst/gstiterator.c:
4568 * gst/gstiterator.h:
4571 * gst/gstutils.c: (gst_pad_query_convert):
4573 fixed parameter name mismatches between source, header and docs
4574 added some more docs, resolved the last batch of unused elements in
4575 docs (now someone needs to doc them)
4577 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4579 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4580 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4581 don't walk through the plugins backwards. Where is all this
4582 reversed logic coming from ?
4584 2005-08-25 Wim Taymans <wim@fluendo.com>
4586 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4587 (gst_base_transform_transform_size),
4588 (gst_base_transform_configure_caps),
4589 (gst_base_transform_get_unit_size),
4590 (gst_base_transform_buffer_alloc),
4591 (gst_base_transform_change_state):
4592 * gst/base/gstbasetransform.h:
4593 Cache caps unit_size.
4594 Make sure we cannot negotiate up and downstream at the
4597 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4599 * gst/gst.c: (init_pre), (init_post):
4600 register the installed plugin path after the env var
4601 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4602 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4603 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4604 directories, so the tests can prefer uninstalled over installed
4606 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4608 * gst/base/gstbasetransform.h:
4613 2005-08-25 Wim Taymans <wim@fluendo.com>
4615 * gst/gstbin.c: (bin_bus_handler):
4616 Be a bit more conservative about the posted message.
4618 * gst/gstbus.c: (gst_bus_post):
4619 Some cleanups, warn wrong return values.
4621 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4623 * check/gst/gstbin.c: (GST_START_TEST):
4624 * gst/gstbin.c: (bin_bus_handler):
4625 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4626 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4627 (gst_message_new_warning), (gst_message_new_tag),
4628 (gst_message_new_state_changed), (gst_message_new_segment_start),
4629 (gst_message_new_segment_done), (gst_message_new_custom):
4631 * tools/gst-launch.c: (event_loop):
4632 * tools/gst-md5sum.c: (event_loop):
4633 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4635 2005-08-25 Wim Taymans <wim@fluendo.com>
4637 * check/generic/states.c: (GST_START_TEST):
4638 Cleanup can be done at the end.
4640 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4641 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4642 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4643 Oh boy.. Thanks for finding this, Thomas.
4645 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4647 * docs/gst/gstreamer.types:
4650 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4652 * docs/gst/gstreamer-docs.sgml:
4653 * docs/gst/gstreamer-sections.txt:
4654 * docs/gst/tmpl/.cvsignore:
4656 * gst/gstiterator.c:
4658 * gst/registries/gstxmlregistry.h:
4659 added missing classes and symbols (123 more to go)
4660 removed removed symbols from section file
4661 fixed many doc-comments
4663 2005-08-24 Wim Taymans <wim@fluendo.com>
4665 * check/generic/states.c: (GST_START_TEST):
4666 Make sure all tasks are stopped.
4668 * check/gst/gstbin.c: (GST_START_TEST):
4669 Unref after usage for proper valgrinding.
4671 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4672 Really wait for the task to stop before destroying the
4675 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4676 (gst_queue_src_activate_push):
4677 Small cleanups. Don't stop the task when we did not start
4680 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4681 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4682 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4685 Protect the stream lock with the object lock.
4686 Disallow setting the stream lock when running.
4687 Add cleanup_all to wait for the threadpool to finish.
4688 Remove code to autoallocate a mutex if none was provided.
4689 Add _join() to wait for a task to stop.
4690 Protect the thread pool with a global lock.
4692 2005-08-24 Wim Taymans <wim@fluendo.com>
4694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4695 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4696 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4697 * gst/base/gstbasesink.h:
4698 Handle newsegment events correctly.
4699 Drop buffers out of the segment range.
4701 2005-08-22 Andy Wingo <wingo@pobox.com>
4703 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4704 macro, implements an interface and gstimplementsinterface for a
4707 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4709 * check/Makefile.am:
4710 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4711 add a test that does a bunch of state changes on elements
4712 needs some fixing for valgrind
4713 * check/states/sinks.c: (gst_object_suite):
4716 add prototype for gst_caps_is_equal_fixed
4718 * gst/gstregistrypool.c:
4721 2005-08-24 Andy Wingo <wingo@pobox.com>
4723 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4724 convert a negative value. Doesn't make much sense. Mostly this is
4725 here to force callers to ensure -1 maps to -1.
4727 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4729 * docs/pwg/advanced-types.xml:
4730 Well done to Michael for catching my deliberate introduction
4731 of this spelling mistake.
4732 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4734 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4735 unlink pads before removing the element from the bin.
4737 2005-08-24 Andy Wingo <wingo@pobox.com>
4739 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4740 the same thing as GST_DEBUG=*:4.
4741 (parse_debug_level, parse_debug_category): New helper parsers.
4743 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4745 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4746 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4747 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4748 (gst_base_transform_buffer_alloc),
4749 (gst_base_transform_handle_buffer):
4750 use gboolean return values and pointers to size so we can use the
4751 full GST_BUFFER_SIZE range (guint) for buffer sizes
4752 use GstPadDirection for transform_caps
4753 * gst/base/gstbasetransform.h:
4754 rename get_size to get_unit_size since that's what it is
4755 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4756 use GstPadDirection for transform_caps
4757 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4759 cleanup and debugging
4761 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4763 * gst/gstelement.c: (gst_element_class_init),
4764 (gst_element_set_state), (activate_pads),
4765 (gst_element_save_thyself):
4766 * tools/gst-compprep.c: (main):
4767 * tools/gst-inspect.c: (print_element_properties_info):
4768 * tools/gst-xmlinspect.c: (print_element_properties):
4769 Fixed long standing mem-leak
4771 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4773 * check/gst/gstbin.c: (GST_START_TEST):
4774 * gst/gstbin.c: (bin_bus_handler):
4775 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4776 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4777 (gst_message_new_warning), (gst_message_new_tag),
4778 (gst_message_new_state_changed), (gst_message_new_segment_start),
4779 (gst_message_new_segment_done), (gst_message_new_custom):
4781 * tools/gst-launch.c: (event_loop):
4782 * tools/gst-md5sum.c: (event_loop):
4783 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4784 that applications can sensibly post custom messages with references
4785 to their own objects.
4787 2005-08-24 Andy Wingo <wingo@pobox.com>
4789 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4792 2005-08-24 Wim Taymans <wim@fluendo.com>
4794 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4795 (gst_base_transform_transform_caps),
4796 (gst_base_transform_transform_size),
4797 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4798 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4799 (gst_base_transform_handle_buffer):
4800 * gst/base/gstbasetransform.h:
4801 Many fixes and new features added by Thomas. Can now also do
4802 transforms with variable sizes and a custom fixate_caps function.
4804 2005-08-24 Wim Taymans <wim@fluendo.com>
4806 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4810 Cast to ClockTime before formatting to time.
4815 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4817 * check/gst-libs/controller.c: (GST_START_TEST),
4818 (gst_controller_suite):
4819 * docs/gst/tmpl/gstcaps.sgml:
4820 * docs/gst/tmpl/gstghostpad.sgml:
4821 * docs/gst/tmpl/gstquery.sgml:
4822 * docs/gst/tmpl/gstutils.sgml:
4823 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4824 (gst_object_sink_values), (gst_object_get_value_arrays),
4825 (gst_object_get_value_array):
4826 gracefully handle helper method calls to objects that are not beeing
4827 controlled, added test case for that
4829 2005-08-23 Wim Taymans <wim@fluendo.com>
4831 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4832 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4833 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4834 (gst_event_parse_qos), (gst_event_new_seek),
4835 (gst_event_parse_seek):
4837 Some more debugging output and doc cleanups.
4839 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4840 Fix possible deadlock.
4842 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4844 * docs/gst/gstreamer-docs.sgml:
4845 * docs/gst/gstreamer-sections.txt:
4846 * docs/gst/gstreamer.types:
4847 * docs/gst/tmpl/.cvsignore:
4852 added 100 symbols from gstreamer-unused.txt to the right sections
4853 fixed more broken comments
4854 added GstBus to docs
4856 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4858 * docs/gst/gstreamer-sections.txt:
4859 * docs/gst/tmpl/.cvsignore:
4860 * docs/gst/tmpl/gstbin.sgml:
4861 * docs/gst/tmpl/gstbuffer.sgml:
4862 * gst/base/gstbasesrc.c:
4863 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4866 * tools/gst-launch.1.in:
4867 inlined more doc comments, added missing comments and fixed comments
4870 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4872 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4876 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4878 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4879 * gst/gststructure.h:
4880 add a fixate function for booleans; add a FIXME that these func
4881 names should probably be gst_structure_fixate_*
4883 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4885 * docs/gst/gstreamer-docs.sgml:
4886 * docs/gst/gstreamer-sections.txt:
4888 * gst/gstbin.c: (gst_bin_get_type),
4889 (gst_bin_child_proxy_get_child_by_index),
4890 (gst_bin_child_proxy_get_children_count),
4891 (gst_bin_child_proxy_init):
4892 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4893 (gst_child_proxy_get_child_by_index),
4894 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4895 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4896 (gst_child_proxy_get), (gst_child_proxy_set_property),
4897 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4898 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4899 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4900 * gst/gstchildproxy.h:
4901 * gst/parse/grammar.y:
4902 * tools/gst-inspect.c: (print_interfaces),
4903 (print_element_properties_info), (print_element_info):
4904 ported gstchildproxy over from 0.8
4905 ported gst-inspect fixes and enhancements over from 0.8
4907 2005-08-22 Wim Taymans <wim@fluendo.com>
4909 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4910 (gst_base_transform_handle_buffer):
4911 Also call the transform function if we have ANY caps.
4913 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4916 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4918 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4919 Don't pretend to handle seek events if the source is not seekable
4921 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4924 Remove extra parameter to debug output
4926 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4927 (gst_base_src_do_seek), (gst_base_src_activate_push):
4928 Fix seek event handling.
4930 * gst/gstpipeline.c: (gst_pipeline_change_state):
4931 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4932 (gst_queue_src_activate_push):
4933 Don't start the src pad task on FLUSH_STOP if the pad
4937 2005-08-22 Wim Taymans <wim@fluendo.com>
4939 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4940 Added check for gst_static_caps_get() refcounting.
4942 2005-08-22 Wim Taymans <wim@fluendo.com>
4944 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4945 Make _static_caps_get() refcounting sane.
4947 * gst/gstelement.c: (gst_element_set_state):
4948 Add g_return_val_if_fail() to protect against segfaults.
4950 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4952 * docs/gst/tmpl/gstevent.sgml:
4955 inlined remaining docs, added missing doc comments
4957 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4959 * check/gst/gstbin.c: (GST_START_TEST):
4960 since we don't know when preroll is done, use refcount range
4962 * gst/check/gstcheck.h:
4963 add macro for checking refcount range
4965 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4967 * check/Makefile.am:
4968 clean up environment for when registry gets built versus
4969 when actual tests are run; valgrind seems to not report
4970 leaks if GST_PLUGIN_PATH is set to some specific values
4971 * check/gst/gstbin.c: (GST_START_TEST):
4972 add more refcounting checks; maybe this exposes a
4975 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4976 * gst/check/gstcheck.h:
4977 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4978 (gst_bin_change_state):
4979 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4980 add/fix debugging/whitespace
4982 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4984 * check/gst/gstevent.c: (event_probe), (test_event),
4986 Er, don't call gst_bin_watch_for_state_change you idiot.
4988 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4990 * check/Makefile.am:
4991 Use CHECK_CFLAGS and CHECK_LIBS
4992 * check/gst/gstevent.c: (event_probe), (test_event),
4995 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4996 (gst_base_src_start), (gst_base_src_stop),
4997 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4998 (gst_base_src_change_state):
4999 Sprinkle gst_base_src_stop liberally around error paths to fix
5000 problems reusing a source after failed state changes.
5001 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5002 (helper_find_suggest), (gst_type_find_helper):
5003 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5005 * docs/gst/tmpl/gstevent.sgml:
5006 Migrate part of the docs from the SGML file. Wait for ensonic to
5007 tell me how I did it wrong ;)
5008 * tools/gst-typefind.c: (main):
5009 Extra robustness to state changes between files.
5011 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5013 * check/Makefile.am:
5014 don't valgrind the controller test - it's leaking - Stefan, HELP
5015 * gst/check/gstcheck.c: (gst_check_message_error),
5016 (gst_check_chain_func), (gst_check_setup_element),
5017 (gst_check_teardown_element), (gst_check_setup_src_pad),
5018 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5019 (gst_check_teardown_sink_pad):
5020 * gst/check/gstcheck.h:
5021 add a bunch of methods to set up elements, and src and sink pads
5022 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5023 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5028 whitespace/doc fixes
5030 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5033 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5034 be handled by the application and not always printed as well
5036 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5038 * check/Makefile.am:
5040 * gst/check/gstcheck.c: (gst_check_message_error):
5041 * gst/check/gstcheck.h:
5042 add a fail_unless_equals_int
5043 add fail_unless for error messages
5045 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5047 * check/Makefile.am:
5049 * common/Makefile.am:
5052 factor out some of the common stuff so we can use it
5054 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5056 * check/Makefile.am:
5057 * check/gst/gstiterator.c: (GST_START_TEST):
5058 * check/gst/gstsystemclock.c: (GST_START_TEST),
5059 (gst_systemclock_suite):
5060 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5064 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5066 * check/elements/.cvsignore:
5067 * check/elements/gstfakesrc.c:
5068 rename to name of element
5069 * check/elements/identity.c: (chain_func), (event_func),
5070 (setup_identity), (cleanup_identity), (GST_START_TEST),
5071 (identity_suite), (main):
5072 add a test for identity
5073 * check/Makefile.am:
5074 * pkgconfig/Makefile.am:
5075 * pkgconfig/gstreamer-check.pc.in:
5076 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5080 move the check stuff to a library that gets installed
5081 * check/gst-libs/controller.c: (GST_START_TEST):
5082 * check/gst-libs/gdp.c:
5083 * check/gst/gst.c: (GST_START_TEST):
5084 * check/gst/gstbin.c:
5085 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5086 * check/gst/gstbus.c:
5087 * check/gst/gstcaps.c: (GST_START_TEST):
5088 * check/gst/gstelement.c:
5089 * check/gst/gstghostpad.c:
5090 * check/gst/gstiterator.c:
5091 * check/gst/gstmessage.c:
5092 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5093 * check/gst/gstobject.c:
5094 * check/gst/gstpad.c: (GST_START_TEST):
5095 * check/gst/gststructure.c: (GST_START_TEST):
5096 * check/gst/gstsystemclock.c: (GST_START_TEST),
5097 (gst_systemclock_suite):
5098 * check/gst/gsttag.c: (gst_tag_suite):
5099 * check/gst/gstvalue.c:
5100 * check/pipelines/cleanup.c:
5101 * check/pipelines/simple_launch_lines.c:
5102 * check/states/sinks.c:
5103 change include statement
5105 * docs/gst/gstreamer-sections.txt:
5106 * docs/gst/tmpl/gstpad.sgml:
5107 document more pad stuff
5108 * gst/gstminiobject.c: (gst_mini_object_ref),
5109 (gst_mini_object_unref):
5112 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5114 * docs/gst/tmpl/gst.sgml:
5116 eliminate another tmpl file, fix spelling in the long-description
5118 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5120 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5121 (test_event), (timediff), (gstevents_suite):
5122 Should fix build on 64-bit arch's
5124 2005-08-18 Andy Wingo <wingo@pobox.com>
5126 Make sure that when a pipeline goes to PLAYING, that data has
5127 actually hit the sink.
5129 * check/states/sinks.c (test_sink): A sink that doesn't get any
5130 data shouldn't return SUCCESS for going to either PLAYING or
5131 PAUSED. Test also the return values on the way back down.
5133 * gst/gstelement.c (gst_element_set_state): When changing the
5134 state of an element currently changing state asynchronously, go to
5135 lost-state after commiting the pending state. Makes future calls
5136 to get_state continue to return ASYNC.
5138 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5139 ASYNC when going to PLAYING if we still don't have preroll, as can
5140 happen with live sources.
5142 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5144 * docs/pwg/advanced-types.xml:
5145 Hack long paragraph into 2 chunks as a workaround for buggy
5146 jadetex version in sid and breezy that loops infinitely and
5149 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5151 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5152 (test_event), (timediff), (gstevents_suite):
5153 Provide more error margin in clock measurements to allow for
5154 g_get_current_time inaccuracies.
5156 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5158 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5159 (test_event), (timediff), (gstevents_suite):
5160 Fix error message output so I might be able to tell why the
5161 test works here but fails on the build farm.
5163 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5165 * check/Makefile.am:
5166 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5167 (test_event), (timediff), (gstevents_suite), (main):
5170 * docs/design/part-seeking.txt:
5173 * docs/gst/tmpl/gstevent.sgml:
5174 * docs/gst/tmpl/gstfakesrc.sgml:
5177 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5178 Treat a buffer-without-newsegment the same as a receiving
5179 a newsegment not in time format, and disable syncing to the clock
5182 * gst/gstbus.c: (gst_bus_set_sync_handler):
5183 Assert if anyone tries to replace the existing sync_handler for bus,
5184 as only the owner should be setting it.
5187 Have a fixed set of custom event enums with events identified by
5188 their structure name (as in 0.8), rather than a free-for-all
5189 allowing collisions between enum values from different plugins.
5191 * gst/gstpad.c: (gst_pad_class_init):
5194 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5195 Handle out-of-band downstream events from the sending thread.
5197 2005-08-17 Andy Wingo <wingo@pobox.com>
5199 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5200 play-timeout==0 to mean no timeout at all. In that case, don't
5201 bother with a get_state or a warning, just return directly, even
5204 * gst/base/gstbasetransform.c: Debug changes.
5207 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5208 ensure bins post state change messages. A bit of a hack but I can't
5209 think of a way to avoid it.
5211 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5213 2005-08-16 Andy Wingo <wingo@pobox.com>
5215 * gst/base/gstadapter.h:
5216 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5217 peek() but you own the data. Not terribly efficient atm.
5219 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5221 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5222 (gst_element_found_tags):
5224 Add two utility functions for tag handling.
5226 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5228 * docs/manual/advanced-dataaccess.xml:
5229 * docs/manual/basics-helloworld.xml:
5230 Fix docs to use _bin_add() before _link(), which fixes the examples
5231 with recent core versions (reported by Madhan Raj M
5232 <raj_madan@rediffmail.com>, #313199).
5234 2005-08-16 Wim Taymans <wim@fluendo.com>
5236 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5237 Added subtract checks.
5239 * docs/design/part-events.txt:
5240 Some more docs about newsegment
5242 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5245 * gst/gstcaps.c: (gst_caps_to_string):
5246 Add comments, cleanups.
5248 * gst/gstelement.c: (gst_element_save_thyself):
5251 * gst/gstvalue.c: (gst_value_collect_int_range),
5252 (gst_string_unwrap), (gst_value_union_int_int_range),
5253 (gst_value_union_int_range_int_range),
5254 (gst_value_intersect_int_int_range),
5255 (gst_value_intersect_int_range_int_range),
5256 (gst_value_intersect_double_double_range),
5257 (gst_value_intersect_double_range_double_range),
5258 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5259 (gst_value_subtract_int_range_int),
5260 (gst_value_subtract_double_range_double),
5261 (gst_value_subtract_double_range_double_range),
5262 (gst_value_subtract_from_list), (gst_value_subtract_list),
5263 (gst_value_can_compare), (gst_value_compare_fraction):
5264 Cleanups, add comments, remove unneeded asserts.
5266 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5268 * tools/gst-launch.c: (event_loop):
5269 don't convert NULL structures to strings
5271 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5273 * docs/gst/gstreamer-sections.txt:
5274 made some defines private
5275 * docs/gst/tmpl/gstconfig.sgml:
5276 * docs/gst/tmpl/gstqueue.sgml:
5277 * docs/gst/tmpl/gsttaglist.sgml:
5278 * docs/gst/tmpl/gsttypes.sgml:
5279 * docs/gst/tmpl/gstutils.sgml:
5280 * docs/pwg/appendix-porting.xml:
5281 * gst/base/gstbasesink.h:
5282 * gst/base/gstbasesrc.c:
5283 * gst/base/gstbasesrc.h:
5284 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5285 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5286 * gst/gstelement.c: (gst_element_class_init):
5287 * gst/gstpad.c: (gst_pad_class_init):
5288 * gst/gstqueue.c: (gst_queue_class_init):
5289 * gst/gstxml.c: (gst_xml_class_init):
5290 documented all undocumented signal inline
5291 * libs/gst/controller/gst-controller.h:
5294 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5296 * docs/pwg/appendix-porting.xml:
5297 Document _set_link_function -> _set_setcaps_function.
5299 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5301 * check/Makefile.am:
5302 add a .check target for running the check
5303 * check/gst-libs/controller.c: (GST_START_TEST):
5305 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5306 complete checks for gstbuffer; would be nice if I could get the
5307 gcov stuff to work so I can see if I actually completed gstbuffer.c
5309 add ASSERT_BUFFER_REFCOUNT
5311 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5313 * docs/gst/gstreamer-sections.txt:
5314 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5316 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5317 spew out a warning if a tag that is already registered
5318 is re-registered, unless it is re-registered with a
5319 different type (#308438).
5321 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5323 * docs/pwg/appendix-porting.xml:
5324 * docs/pwg/building-state.xml:
5325 Add some paragraphs about state changes in 0.9 to the PWG
5326 and the porting guide, in particular about the new meaning
5327 of GST_STATE_PAUSED and how to write state change functions
5328 with concurrent access by multiple threads in mind.
5330 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5332 * docs/gst/gstreamer-docs.sgml:
5333 * docs/libs/gstreamer-libs-docs.sgml:
5334 added deprecation and since indexes
5335 * libs/gst/controller/gst-controller.c:
5336 * libs/gst/controller/gst-helper.c:
5340 2005-08-11 Wim Taymans <wim@fluendo.com>
5342 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5343 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5344 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5345 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5346 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5347 (gst_ghost_pad_set_target):
5348 Actually implement (re)setting the target on a ghostpad
5349 as described in the docs.
5351 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5353 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5354 Check whether GST_DEBUG_NO_COLOR environment variable is
5355 set and disable coloured debug output if that is the case.
5357 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5359 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5360 (gst_type_find_helper):
5361 The memory returned by gst_type_find_peek() needs to
5362 stay valid until the end of a typefind function, and
5363 typefind functions may keep results from different
5364 offsets around, so we can't just unref the buffer from
5365 the previous _peek(), but have to save all buffers
5366 returned by _peek() until typefinding is done and only
5369 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5371 * docs/gst/gstreamer-sections.txt:
5373 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5375 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5377 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5378 Fix a pretty good memleak.
5380 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5382 * gst/gstiterator.h:
5383 Fix wrong include and 'make distcheck'.
5385 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5387 * gst/gstbin.c: (bin_bus_handler):
5388 Use gst_element_post_message() instead.
5390 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5392 * gst/base/gstadapter.h:
5393 * gst/base/gstbasesink.h:
5394 * gst/base/gstbasesrc.h:
5395 * gst/base/gstbasetransform.h:
5396 * gst/base/gstcollectpads.h:
5397 * gst/base/gstpushsrc.h:
5398 * gst/gstiterator.h:
5399 Add padding to our base elements' class and instance structs and
5400 to GstIterator (you will need to rebuild all plugins and apps!)
5402 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5404 * gst/gstbin.c: (bin_bus_handler):
5405 Make default message forwarding from child->bus to bin->bus
5406 threadsafe and make it not emit warnings if the parent has no bus.
5408 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5410 * gst/gstelement.c: (activate_pads):
5411 On paused->ready, set pad->caps to NULL, as is the documented
5412 behaviour in this state change. Fixes playback of series of
5413 media files when visualization is enabled in Totem.
5415 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5417 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5418 Allow NULL as filter-caps (which means "any").
5420 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5422 * docs/libs/gstreamer-libs-sections.txt:
5423 * libs/gst/controller/gst-controller.c:
5424 * libs/gst/controller/gst-controller.h:
5425 * libs/gst/controller/gst-helper.c:
5426 adding more entries to the docs and fix small doc-bugs
5428 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5430 * docs/gst/gstreamer-docs.sgml:
5431 * docs/gst/gstreamer-sections.txt:
5432 * docs/gst/gstreamer.types:
5433 * docs/gst/tmpl/gstbasesink.sgml:
5434 * docs/gst/tmpl/gstbasesrc.sgml:
5435 * docs/gst/tmpl/gstbasetransform.sgml:
5436 * docs/gst/tmpl/gstfakesrc.sgml:
5437 * gst/base/gstcollectpads.c:
5438 * gst/base/gstcollectpads.h:
5439 * libs/gst/controller/gst-controller.c:
5440 * libs/gst/controller/gst-controller.h:
5441 * libs/gst/controller/gst-helper.c:
5442 * libs/gst/controller/gst-interpolation.c:
5443 * libs/gst/controller/lib.c:
5444 added long/short desc for controller docs
5445 added collectpads base class docs
5446 added correct includes to base-class docs
5448 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5450 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5451 (gst_test_mono_source_set_property),
5452 (gst_test_mono_source_class_init), (GST_START_TEST),
5453 (gst_controller_suite):
5454 * docs/gst/gstreamer-docs.sgml:
5455 * docs/gst/gstreamer-sections.txt:
5456 * docs/gst/gstreamer.types:
5457 * docs/libs/gstreamer-libs-docs.sgml:
5458 * docs/libs/gstreamer-libs-sections.txt:
5459 * gst/base/gstadapter.c:
5460 * libs/gst/controller/gst-controller.c:
5461 (gst_controlled_property_new), (gst_controlled_property_free),
5462 (gst_controller_new_valist),
5463 (gst_controller_remove_properties_valist),
5464 (gst_controller_sink_values), (_gst_controller_finalize):
5465 * libs/gst/controller/gst-controller.h:
5466 * libs/gst/controller/gst-helper.c:
5467 (gst_object_control_properties), (gst_object_uncontrol_properties),
5468 (gst_object_get_controller), (gst_object_set_controller),
5469 (gst_object_sink_values), (gst_object_get_value_arrays),
5470 (gst_object_get_value_array):
5471 more tests (and fixes) for the controller
5472 more docs for the controller
5473 integrated companies docs for the adapter
5475 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5477 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5478 (GST_START_TEST), (fakesrc_suite):
5479 add tests for sizetype
5481 2005-08-04 Andy Wingo <wingo@pobox.com>
5483 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5484 fixes buffer_alloc proxying among other things.
5486 * gst/base/gstbasetransform.c:
5487 * gst/base/gstbasetransform.h:
5488 Revert patch to gstbasetransform from 7-28 removing
5491 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5492 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5493 Semantics changed, should return not the size of the output buffer
5494 but the byte size of a buffer with a given caps.
5496 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5498 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5499 out) are not the pad caps until setcaps finishes.
5500 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5501 not-in-place case as well. Deal with changing from in-place to
5502 not-in-place within calling pad_alloc_buffer. Still a bit
5503 concerned about the overhead here...
5505 2005-08-03 Andy Wingo <wingo@pobox.com>
5507 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5508 fixating is an error.
5510 2005-08-04 Edward Hervey <edward@fluendo.com>
5512 * gst/base/gstadapter.h:
5513 Added gst_adapter_get_type() to the header
5515 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5517 * check/Makefile.am:
5518 * check/gst-libs/controller.c:
5519 * libs/gst/controller/gst-controller.c:
5520 (gst_controller_new_valist):
5521 added check test suite for the controller
5522 * gst/base/gstpushsrc.c:
5525 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5527 * docs/gst/Makefile.am:
5528 * docs/gst/gstreamer-docs.sgml:
5529 * docs/gst/gstreamer-sections.txt:
5530 * docs/gst/gstreamer.types:
5531 * docs/gst/tmpl/gstfakesrc.sgml:
5533 * gst/base/gstbasesink.c:
5534 * gst/base/gstbasesink.h:
5535 * gst/base/gstbasesrc.c:
5536 * gst/base/gstbasesrc.h:
5537 * gst/base/gstbasetransform.c:
5538 * gst/base/gstpushsrc.c:
5539 * gst/base/gstpushsrc.h:
5540 add short/long description docs to base classes
5541 add pushsrc to the docs
5542 remove consolidated doc fragments
5544 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5547 * docs/libs/Makefile.am:
5548 * docs/libs/gstreamer-libs-docs.sgml:
5549 * docs/libs/gstreamer-libs-sections.txt:
5550 * docs/libs/gstreamer-libs.types:
5551 * examples/Makefile.am:
5552 * examples/controller/.cvsignore:
5553 * examples/controller/Makefile.am:
5554 * examples/controller/audio-example.c: (main):
5555 * libs/gst/Makefile.am:
5556 * libs/gst/controller/.cvsignore:
5557 * libs/gst/controller/Makefile.am:
5558 * libs/gst/controller/gst-controller.c:
5559 (on_object_controlled_property_changed), (gst_timed_value_compare),
5560 (gst_timed_value_find),
5561 (gst_controlled_property_set_interpolation_mode),
5562 (gst_controlled_property_new), (gst_controlled_property_free),
5563 (gst_controller_find_controlled_property),
5564 (gst_controller_new_valist), (gst_controller_new),
5565 (gst_controller_remove_properties_valist),
5566 (gst_controller_remove_properties), (gst_controller_set),
5567 (gst_controller_set_from_list), (gst_controller_unset),
5568 (gst_controller_get), (gst_controller_get_all),
5569 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5570 (gst_controller_get_value_array),
5571 (gst_controller_set_interpolation_mode),
5572 (_gst_controller_finalize), (_gst_controller_init),
5573 (_gst_controller_class_init), (gst_controller_get_type):
5574 * libs/gst/controller/gst-controller.h:
5575 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5576 (g_object_uncontrol_properties), (g_object_get_controller),
5577 (g_object_set_controller), (g_object_sink_values),
5578 (g_object_get_value_arrays), (g_object_get_value_array):
5579 * libs/gst/controller/gst-interpolation.c:
5580 (gst_controlled_property_find_timed_value_node),
5581 (interpolate_none_get), (interpolate_trigger_get),
5582 (interpolate_trigger_get_value_array):
5583 * libs/gst/controller/lib.c: (gst_controller_init):
5584 * pkgconfig/Makefile.am:
5585 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5586 * pkgconfig/gstreamer-control.pc.in:
5587 * testsuite/Makefile.am:
5588 * testsuite/controller/.cvsignore:
5589 * testsuite/controller/Makefile.am:
5590 * testsuite/controller/interpolator.c: (main):
5591 added controller code
5592 removed dparam pc files
5594 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5595 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5596 (gst_collectpads_stop):
5597 Broadcast the condition when shutting down, to make sure we wake all
5598 threads up. Shut down pads on finalize, for safety.
5600 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5601 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5602 (gst_base_transform_handle_buffer),
5603 (gst_base_transform_change_state):
5604 Handle PAUSED->READY->PAUSED transition after negotiation
5606 * gst/gstmessage.c: (gst_message_init):
5607 Extra piece of debug for new messages.
5609 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5612 * docs/gst/tmpl/gstbasesrc.sgml:
5613 * docs/gst/tmpl/gstelement.sgml:
5614 * docs/gst/tmpl/gstevent.sgml:
5615 * docs/gst/tmpl/gstfakesrc.sgml:
5616 * docs/gst/tmpl/gstformat.sgml:
5617 * docs/gst/tmpl/gstghostpad.sgml:
5618 * docs/gst/tmpl/gstpad.sgml:
5619 * docs/gst/tmpl/gstquery.sgml:
5620 * docs/gst/tmpl/gststructure.sgml:
5621 * docs/gst/tmpl/gsttaglist.sgml:
5622 * docs/gst/tmpl/gstvalue.sgml:
5623 * docs/libs/gstreamer-libs-docs.sgml:
5624 * docs/libs/gstreamer-libs-sections.txt:
5625 * docs/libs/gstreamer-libs.types:
5626 * libs/gst/Makefile.am:
5627 * libs/gst/control/.cvsignore:
5628 * libs/gst/control/Makefile.am:
5629 * libs/gst/control/control.c:
5630 * libs/gst/control/control.h:
5631 * libs/gst/control/dparam.c:
5632 * libs/gst/control/dparam.h:
5633 * libs/gst/control/dparam_smooth.c:
5634 * libs/gst/control/dparam_smooth.h:
5635 * libs/gst/control/dparamcommon.h:
5636 * libs/gst/control/dparammanager.c:
5637 * libs/gst/control/dparammanager.h:
5638 * libs/gst/control/dplinearinterp.c:
5639 * libs/gst/control/dplinearinterp.h:
5640 * libs/gst/control/unitconvert.c:
5641 * libs/gst/control/unitconvert.h:
5642 * testsuite/Makefile.am:
5643 * testsuite/dynparams/.cvsignore:
5644 * testsuite/dynparams/Makefile.am:
5645 * testsuite/dynparams/dparamstest.c:
5646 * tools/Makefile.am:
5647 * tools/gst-inspect.c: (print_element_info), (main):
5648 * tools/gst-xmlinspect.c: (print_element_info), (main):
5649 deactivate and remove dparams (libgstcontrol)
5651 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5653 * gst/elements/gsttypefindelement.c:
5654 (gst_type_find_element_have_type), (gst_type_find_element_init),
5655 (stop_typefinding), (gst_type_find_element_handle_event),
5656 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5657 * gst/elements/gsttypefindelement.h:
5658 Set caps on all outgoing buffers, not just the first one.
5660 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5662 * gst/elements/gsttypefindelement.c:
5663 (gst_type_find_element_have_type),
5664 (gst_type_find_element_check_set_buffer_caps),
5665 (gst_type_find_element_init), (stop_typefinding),
5666 (gst_type_find_element_handle_event),
5667 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5668 * gst/elements/gsttypefindelement.h:
5669 Set caps on first outgoing buffer when we've found the type.
5671 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5673 * docs/gst/gstreamer-docs.sgml:
5674 * docs/gst/gstreamer-sections.txt:
5675 * docs/gst/tmpl/gstscheduler.sgml:
5676 * docs/gst/tmpl/gstschedulerfactory.sgml:
5677 Remove some old cruft from docs.
5679 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5682 Fix inline docs for GstPadLinkReturn.
5684 * gst/gststructure.c: (gst_structure_has_name):
5685 * gst/gststructure.h:
5686 * docs/gst/gstreamer-sections.txt:
5687 New API: gst_structure_has_name().
5689 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5692 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5693 and _LARGEFILE_SOURCE in config.h as required. Do not
5694 export those flags in our .pc files any longer (#142209).
5696 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5698 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5699 (gst_file_sink_do_seek), (gst_file_sink_event),
5700 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5701 Redo seek/tell calls with large file support in mind; add some
5702 debugging messages; add log message that tells us when large
5703 file support is unavailable or not enabled for some reason.
5705 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5706 Add log message that tells us when large file support
5707 is unavailable or not enabled for some reason.
5709 2005-07-29 Wim Taymans <wim@fluendo.com>
5711 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5712 Added test for removing an element with ghostpad from a bin.
5713 Fixed test as current implementation does the right thing.
5715 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5716 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5717 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5718 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5719 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5720 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5721 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5722 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5723 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5724 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5725 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5726 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5727 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5728 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5729 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5730 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5731 * gst/gstghostpad.h:
5732 Clean up ghostpads, remove properties for internal stuff.
5735 Prepare for switching targets, not all use cases work yet.
5737 2005-07-29 Wim Taymans <wim@fluendo.com>
5739 * docs/design/part-gstghostpad.txt:
5742 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5743 (gst_bin_remove_func):
5744 Unlinking pads while holding the bin LOCK is not a good
5747 * gst/gstpad.c: (gst_pad_class_init),
5748 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5749 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5750 No prob setting template after creating the pad.
5752 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5754 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5755 (gst_bus_peek), (gst_bus_source_dispatch),
5756 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5757 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5758 gst_bus_poll may be called from other threads. Handle
5759 this nicely by not making poll_data disappear off the
5760 stack once gst_bus_poll returns.
5761 gst_bus_peek now increments the refcount on the returned
5764 2005-07-29 Wim Taymans <wim@fluendo.com>
5766 * docs/design/part-gstghostpad.txt:
5767 Overview of current GhostPad datastructures and use
5768 cases for changing the target.
5770 2005-07-28 Wim Taymans <wim@fluendo.com>
5772 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5773 Added checks for hierarchy consistency whan adding linked
5776 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5777 Added check to test element scheduling without bin/pipeline.
5779 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5780 First add elements to bin, then link.
5782 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5783 (gst_bin_remove_func):
5784 Unlink pads from elements added/removed from bin to maintain
5785 hierarchy consistency.
5787 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5789 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5790 (gst_base_transform_handle_buffer):
5791 * gst/base/gstbasetransform.h:
5792 Remove broken delay_configure (fixes renegotiation of software
5793 scaling pipelines); remove some leftover printf()s.
5795 2005-07-28 Wim Taymans <wim@fluendo.com>
5797 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5798 Added some more tests for wrong hierarchy
5800 * docs/design/part-overview.txt:
5803 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5806 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5807 (gst_element_dispose):
5810 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5811 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5812 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5813 (gst_pad_set_caps), (gst_pad_send_event):
5814 Check for correct hierarchy when linking pads. Moving to
5815 strict requirement for ghostpads when linking elements in
5819 Clean ups. Added WRONG_HIERARCHY return value.
5821 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5823 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5824 Better debug if no transform is possible.
5826 2005-07-27 Wim Taymans <wim@fluendo.com>
5828 * docs/random/wtay/network-transp:
5831 2005-07-27 Wim Taymans <wim@fluendo.com>
5833 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5834 (gst_dp_event_from_packet):
5835 Fix serialization of seek events.
5837 2005-07-27 Wim Taymans <wim@fluendo.com>
5839 * check/gst-libs/gdp.c: (GST_START_TEST):
5840 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5841 Fix compilation and fix event serialization.
5843 2005-07-27 Wim Taymans <wim@fluendo.com>
5846 * docs/design/part-TODO.txt:
5847 * docs/design/part-events.txt:
5850 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5851 (gst_base_sink_event), (gst_base_sink_do_sync),
5852 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5853 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5854 (gst_base_src_do_seek), (gst_base_src_event_handler),
5855 (gst_base_src_loop):
5856 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5857 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5858 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5859 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5860 (gst_base_transform_set_passthrough),
5861 (gst_base_transform_is_passthrough):
5862 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5863 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5869 * gst/gstelement.c: (gst_element_seek):
5871 Update gst_element_seek.
5873 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5874 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5875 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5876 (gst_event_new_eos), (gst_event_new_newsegment),
5877 (gst_event_parse_newsegment), (gst_event_new_tag),
5878 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5879 (gst_event_parse_qos), (gst_event_new_seek),
5880 (gst_event_parse_seek), (gst_event_new_navigation):
5882 Make GstEvent use GstStructure. Add parsing code, make sure the
5883 API is sufficiently generic.
5884 Mark possible directions of events and serialization.
5886 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5887 (_gst_message_copy), (gst_message_new_segment_start),
5888 (gst_message_new_segment_done), (gst_message_new_custom),
5889 (gst_message_parse_segment_start),
5890 (gst_message_parse_segment_done):
5893 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5894 (gst_pad_set_caps), (gst_pad_send_event):
5895 Update for new events.
5896 Catch events sent in wrong directions.
5898 * gst/gstqueue.c: (gst_queue_link_src),
5899 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5900 (gst_queue_handle_src_query):
5905 Remove event code from this file.
5907 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5908 (gst_dp_event_from_packet):
5911 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5913 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5914 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5915 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5916 Make debugging actually useful.
5918 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5920 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5921 (gst_pad_fixate_caps):
5922 Implement default fixation once again, so that gst_pad_fixate()
5923 actually does anything at all. This probably needs to be some
5924 sort of a last resort, and use profile-based fixation first, but
5925 since that doesn't exist yet, this is the best we have. Fixes
5926 visualization in Totem.
5928 2005-07-22 Wim Taymans <wim@fluendo.com>
5930 * docs/design/part-events.txt:
5933 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5934 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5935 (gst_base_sink_activate_pull):
5938 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5939 (gst_fake_src_create):
5940 Fix handoff marshall.
5942 * gst/elements/gstidentity.c: (gst_identity_class_init),
5943 (gst_identity_transform_ip):
5944 We're a real inplace element.
5946 * gst/gstbus.c: (gst_bus_post):
5947 Added some comments.
5949 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5950 * tests/muxing/case1.c: (main):
5951 * tests/sched/dynamic-pipeline.c: (main):
5952 * tests/sched/interrupt1.c: (main):
5953 * tests/sched/interrupt2.c: (main):
5954 * tests/sched/interrupt3.c: (main):
5955 * tests/sched/runxml.c: (main):
5956 * tests/sched/sched-stress.c: (main):
5957 * tests/seeking/seeking1.c: (event_received), (main):
5958 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5960 * tests/threadstate/threadstate3.c: (main):
5961 * tests/threadstate/threadstate4.c: (main):
5962 * tests/threadstate/threadstate5.c: (main):
5965 2005-07-21 Wim Taymans <wim@fluendo.com>
5967 * docs/design/part-seeking.txt:
5968 Some small additions.
5970 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5971 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5972 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5973 * gst/base/gstbasesink.h:
5974 discont values are gint64, handle the math correctly.
5976 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5977 Make the basesrc report error if the source pad is not linked.
5979 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5980 (gst_queue_loop), (gst_queue_handle_src_query),
5981 (gst_queue_src_activate_push):
5982 Make queue collect data even if the srcpad is not linked.
5983 Start pushing out data as soon as it is linked.
5985 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5987 Added gst_flow_get_name() to ease error reporting.
5989 2005-07-20 Wim Taymans <wim@fluendo.com>
5991 * gst/gstmessage.c: (gst_message_new_segment_start),
5992 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5993 (gst_message_parse_segment_done):
5995 Added a bunch of messages for advanced seeking.
5997 * gst/parse/grammar.y:
5998 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5999 (gst_dpman_state_changed):
6000 Fix some new-pad -> pad-added signals
6002 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6004 * docs/manual/appendix-porting.xml:
6005 * docs/pwg/appendix-porting.xml:
6006 Document new-pad/state-change signal renames and the FixedList
6009 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6011 * docs/manual/advanced-autoplugging.xml:
6012 * docs/manual/basics-helloworld.xml:
6013 * docs/manual/basics-pads.xml:
6014 * docs/random/ds/0.9-suggested-changes:
6015 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6020 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6021 (gst_structure_parse_array), (gst_structure_parse_value):
6022 * gst/gstvalue.c: (gst_type_is_fixed),
6023 (gst_value_list_prepend_value), (gst_value_list_append_value),
6024 (gst_value_list_get_size), (gst_value_list_get_value),
6025 (gst_value_transform_array_string), (gst_value_serialize_array),
6026 (gst_value_deserialize_array), (gst_value_intersect_array),
6027 (gst_value_is_fixed), (_gst_value_initialize):
6029 GstElement::new-pad -> pad-added, GstElement::state-change ->
6030 state-changed, GstValueFixedList -> GstValueArray, add format and
6031 flags as their own arguments in gst_element_seek() (should improve
6032 "bindeability"), remove function generators since they don't work
6033 under a whole bunch of compilers (they were deprecated already
6036 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6038 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6039 (_gst_debug_register_funcptr):
6041 Fix illegal cast on some platforms (#309253).
6043 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6045 * gst/gstmessage.c: (gst_message_new_custom):
6047 Add _new_custom, make _new_application a macro to _new_custom.
6049 2005-07-20 Wim Taymans <wim@fluendo.com>
6051 * gst/base/gstbasesrc.c: (gst_base_src_init),
6052 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6053 * gst/base/gstbasesrc.h:
6054 Add a gboolean to decide when to push out a discont.
6056 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6057 (gst_queue_loop), (gst_queue_handle_src_query),
6058 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6059 (gst_queue_set_property), (gst_queue_get_property):
6062 * tests/threadstate/threadstate1.c: (main):
6063 Make a thread test compile and run... very silly..
6066 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6068 * docs/manual/appendix-porting.xml:
6069 Mention removal of libgstgconf-0.9.la and existence of gconf
6072 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6074 * docs/pwg/advanced-clock.xml:
6075 * docs/pwg/appendix-porting.xml:
6076 * docs/pwg/intro-preface.xml:
6077 * docs/pwg/other-base.xml:
6078 * docs/pwg/other-manager.xml:
6079 * docs/pwg/other-nton.xml:
6080 * docs/pwg/other-ntoone.xml:
6081 * docs/pwg/other-oneton.xml:
6083 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6084 demuxer), remove n-to-n (was never written), fix some code examples
6085 and links and update the porting section to include all this.
6087 2005-07-19 Wim Taymans <wim@fluendo.com>
6089 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6090 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6091 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6092 (gst_queue_src_activate_push), (gst_queue_change_state),
6093 (gst_queue_get_property):
6095 Propagate GstFlowReturn more intelligently upstream and output
6096 an ERROR/EOS when streaming stopped due to fatal error.
6098 2005-07-19 Wim Taymans <wim@fluendo.com>
6100 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6101 Don't block forever for the state change to complete, the
6102 pipeline already did with a sensible timeout.
6104 2005-07-19 Wim Taymans <wim@fluendo.com>
6106 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6107 Make sure we never call the create function is we
6110 2005-07-19 Andy Wingo <wingo@pobox.com>
6112 * gst/parse/parse.l: Attempt to solve bug #172815.
6114 2005-07-19 Wim Taymans <wim@fluendo.com>
6116 * docs/design/part-clocks.txt:
6117 * docs/design/part-events.txt:
6118 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6120 Only update the seeking values when we are not
6123 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6125 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6126 Oops, ignore the result of gst_pad_push_event here.
6128 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6130 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6131 (gst_base_src_activate_push):
6132 Send discont event from the loop function, as pads
6133 aren't activated yet in the activate_push handler.
6135 * gst/gstbin.c: (bin_bus_handler):
6136 Don't leak element name.
6138 2005-07-18 Andy Wingo <wingo@pobox.com>
6140 * configure.ac: Use AS_LIBTOOL_TAGS.
6142 2005-07-18 Wim Taymans <wim@fluendo.com>
6144 * docs/gst/gstreamer.types:
6145 Remove deleted types.
6147 2005-07-18 Wim Taymans <wim@fluendo.com>
6149 * check/elements/gstfakesrc.c: (GST_START_TEST):
6152 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6153 (init_popt_callback):
6155 * gst/gst_private.h:
6156 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6157 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6160 * gst/gstconfig.h.in:
6161 * gst/gstelement.c: (gst_element_class_init),
6162 (gst_element_set_base_time), (gst_element_get_base_time),
6163 (iterator_fold_with_resync), (gst_element_change_state),
6164 (gst_element_dispose), (gst_element_get_bus):
6166 * gst/gstelementfactory.h:
6167 * gst/gsterror.c: (_gst_core_errors_init):
6170 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6172 * gst/gstinfo.c: (_gst_debug_init):
6173 * gst/gstmessage.c: (_gst_message_copy):
6175 * gst/gstminiobject.h:
6178 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6179 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6182 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6183 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6184 (gst_pipeline_get_last_stream_time):
6185 * gst/gstpipeline.h:
6186 * gst/gstpluginfeature.h:
6188 * gst/gstscheduler.c:
6189 * gst/gstscheduler.h:
6190 * gst/gststructure.h:
6191 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6192 (gst_task_finalize), (gst_task_func), (gst_task_create),
6193 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6194 (gst_task_stop), (gst_task_pause):
6196 * gst/gsttypefind.h:
6198 * gst/registries/gstlibxmlregistry.c: (load_feature),
6199 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6200 * gst/registries/gstxmlregistry.c:
6201 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6202 * gst/schedulers/threadscheduler.c:
6203 * libs/gst/control/dparammanager.h:
6204 * tools/gst-inspect.c: (print_element_list),
6205 (print_plugin_features), (print_element_features):
6206 * tools/gst-xmlinspect.c: (print_element_list),
6207 (print_plugin_info), (main):
6208 Removed plugable schedulers.
6209 Removed Scheduler/Manager from elements.
6210 Removed gsttypes.h, rearranged includes.
6211 Removed dependency pad<->element, element<>pipeline, and
6212 various others, fix includes.
6213 implement gst_pad_get_parent() with gst_object_get_parent()
6214 Make GstTask sefcontained.
6215 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6217 Fix endless loop in iterator_fold_with_resync.
6220 2005-07-18 Wim Taymans <wim@fluendo.com>
6226 2005-07-18 Wim Taymans <wim@fluendo.com>
6231 2005-07-18 Wim Taymans <wim@fluendo.com>
6237 2005-07-18 Wim Taymans <wim@fluendo.com>
6239 * docs/design/part-dynamic.txt:
6240 * docs/design/part-events.txt:
6241 * docs/design/part-seeking.txt:
6242 Some more docs in the works.
6244 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6245 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6246 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6247 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6248 (gst_base_transform_handle_buffer),
6249 (gst_base_transform_sink_activate_push),
6250 (gst_base_transform_src_activate_pull),
6251 (gst_base_transform_set_passthrough),
6252 (gst_base_transform_is_passthrough):
6255 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6258 * gst/gstevent.c: (gst_event_finalize):
6261 * gst/gstutils.c: (gst_element_unlink),
6262 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6263 (gst_pad_proxy_setcaps):
6265 Add _get_parent_element() to get a pads parent as an element.
6267 2005-07-18 Wim Taymans <wim@fluendo.com>
6269 * check/gst/gstbin.c: (GST_START_TEST):
6272 2005-07-18 Wim Taymans <wim@fluendo.com>
6274 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6275 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6276 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6277 (gst_base_sink_event), (gst_base_sink_do_sync),
6278 (gst_base_sink_chain), (gst_base_sink_loop),
6279 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6280 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6282 Fix logic for returning ASYNC when not prerolled.
6284 2005-07-18 Wim Taymans <wim@fluendo.com>
6286 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6287 Fix nasty refcount bug.
6289 2005-07-16 Philippe Khalaf <burger@speedy.org>
6291 * gst/elements/gstfdsrc.c:
6292 * gst/elements/gstfdsrc.h:
6293 * gst/elements/gstelements.c:
6294 * gst/elements/Makefile.am:
6295 Ported fdsrc to 0.9.
6297 2005-07-16 Wim Taymans <wim@fluendo.com>
6299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6300 (gst_base_sink_do_sync):
6303 2005-07-16 Wim Taymans <wim@fluendo.com>
6305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6306 (gst_base_sink_event), (gst_base_sink_get_times),
6307 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6308 * gst/base/gstbasesink.h:
6309 Store and use discont values when syncing buffers as described
6312 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6313 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6314 (gst_base_src_activate_push):
6315 Push discont event when starting.
6317 * gst/elements/gstidentity.c: (gst_identity_transform):
6320 * gst/gstbin.c: (gst_bin_change_state):
6321 Small cleanups in base_time distribution.
6323 * gst/gstelement.c: (gst_element_set_base_time),
6324 (gst_element_get_base_time), (gst_element_change_state):
6326 Added methods for the base_time of the element.
6329 * gst/gstpipeline.c: (gst_pipeline_send_event),
6330 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6331 (gst_pipeline_get_last_stream_time):
6332 * gst/gstpipeline.h:
6334 Handle seeking as described in design doc, remove stream_time
6336 Cleanups clock and stream_time selection code. Added accessors
6337 for the stream_time.
6340 2005-07-16 Andy Wingo <wingo@pobox.com>
6342 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6345 2005-07-16 Wim Taymans <wim@fluendo.com>
6347 * check/gst/gstbin.c: (GST_START_TEST):
6348 Make elements silent as the deep_notify refs the
6349 parent, which might make the test fail.
6351 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6352 Don't hold the lock for too long.
6354 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6356 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6357 Don't unref the caps we passed to gst_caps_make_writable() after
6358 passing them. gst_caps_make_writable() will do that for us.
6360 2005-07-15 Andy Wingo <wingo@pobox.com>
6362 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6365 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6366 own marshalling function for the handoff signal. Properly type the
6367 buffer as a buffer. Fixes some warnings. Should do a more general
6369 (gst_identity_class_init): Plug into the right marshaller.
6371 2005-07-15 Wim Taymans <wim@fluendo.com>
6373 * docs/design/part-TODO.txt:
6374 * docs/design/part-clocks.txt:
6375 * docs/design/part-element-sink.txt:
6376 * docs/design/part-events.txt:
6377 * docs/design/part-gstpipeline.txt:
6378 Updated docs, mostly DISCONT related.
6380 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6382 * docs/pwg/building-pads.xml:
6383 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6385 2005-07-15 Andy Wingo <wingo@pobox.com>
6387 * tools/gst-typefind.c: Update, add copyright block.
6389 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6390 Normalize and truncate caps before fixation.
6393 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6394 discards all but the first structure from its argument.
6396 2005-07-15 Wim Taymans <wim@fluendo.com>
6398 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6399 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6400 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6401 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6402 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6403 (gst_base_transform_chain), (gst_base_transform_change_state),
6404 (gst_base_transform_set_passthrough),
6405 (gst_base_transform_is_passthrough):
6406 * gst/base/gstbasetransform.h:
6407 Make passthrough work using the bufferpools.
6408 Changed API a bit, subclasses have to write into a buffer
6409 provided by the base class.
6410 More debug info in nego functions.
6412 * gst/elements/gstidentity.c: (gst_identity_init),
6413 (gst_identity_transform):
6414 Port to new base class.
6416 2005-07-15 Wim Taymans <wim@fluendo.com>
6418 * gst/gstmessage.c: (gst_message_new_state_changed):
6419 * tools/gst-launch.c: (event_loop), (main):
6420 Totally dump messages in -launch with the -m option.
6421 Fix message name for State messages,
6423 2005-07-14 Wim Taymans <wim@fluendo.com>
6425 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6426 Post error messages on errors.
6428 2005-07-14 Wim Taymans <wim@fluendo.com>
6430 * gst/gstcaps.c: (gst_caps_do_simplify):
6434 Define error for stream stopped.
6436 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6437 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6438 Do proper return values.
6440 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6441 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6442 (gst_pad_get_range):
6443 Better return values.
6446 Reorganise return values, add macro to check for fatal errors.
6448 * gst/gstqueue.c: (gst_queue_chain):
6449 Return proper GstFlowReturn values,
6451 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6453 * docs/gst/gstreamer-sections.txt:
6454 * docs/gst/gstreamer.types:
6455 * docs/gst/tmpl/gst.sgml:
6456 * docs/gst/tmpl/gstbasesink.sgml:
6457 * docs/gst/tmpl/gstbasesrc.sgml:
6458 * docs/gst/tmpl/gstbasetransform.sgml:
6459 * docs/gst/tmpl/gstbin.sgml:
6460 * docs/gst/tmpl/gstbuffer.sgml:
6461 * docs/gst/tmpl/gstcaps.sgml:
6462 * docs/gst/tmpl/gstclock.sgml:
6463 * docs/gst/tmpl/gstcompat.sgml:
6464 * docs/gst/tmpl/gstconfig.sgml:
6465 * docs/gst/tmpl/gstelement.sgml:
6466 * docs/gst/tmpl/gstelementdetails.sgml:
6467 * docs/gst/tmpl/gstelementfactory.sgml:
6468 * docs/gst/tmpl/gstenumtypes.sgml:
6469 * docs/gst/tmpl/gsterror.sgml:
6470 * docs/gst/tmpl/gstevent.sgml:
6471 * docs/gst/tmpl/gstfakesink.sgml:
6472 * docs/gst/tmpl/gstfakesrc.sgml:
6473 * docs/gst/tmpl/gstfilesink.sgml:
6474 * docs/gst/tmpl/gstfilesrc.sgml:
6475 * docs/gst/tmpl/gstfilter.sgml:
6476 * docs/gst/tmpl/gstformat.sgml:
6477 * docs/gst/tmpl/gstghostpad.sgml:
6478 * docs/gst/tmpl/gstimplementsinterface.sgml:
6479 * docs/gst/tmpl/gstindex.sgml:
6480 * docs/gst/tmpl/gstindexfactory.sgml:
6481 * docs/gst/tmpl/gstinfo.sgml:
6482 * docs/gst/tmpl/gstiterator.sgml:
6483 * docs/gst/tmpl/gstmacros.sgml:
6484 * docs/gst/tmpl/gstmemchunk.sgml:
6485 * docs/gst/tmpl/gstminiobject.sgml:
6486 * docs/gst/tmpl/gstobject.sgml:
6487 * docs/gst/tmpl/gstpad.sgml:
6488 * docs/gst/tmpl/gstpadtemplate.sgml:
6489 * docs/gst/tmpl/gstparse.sgml:
6490 * docs/gst/tmpl/gstpipeline.sgml:
6491 * docs/gst/tmpl/gstplugin.sgml:
6492 * docs/gst/tmpl/gstpluginfeature.sgml:
6493 * docs/gst/tmpl/gstquery.sgml:
6494 * docs/gst/tmpl/gstqueue.sgml:
6495 * docs/gst/tmpl/gstregistry.sgml:
6496 * docs/gst/tmpl/gstregistrypool.sgml:
6497 * docs/gst/tmpl/gstscheduler.sgml:
6498 * docs/gst/tmpl/gstschedulerfactory.sgml:
6499 * docs/gst/tmpl/gststructure.sgml:
6500 * docs/gst/tmpl/gstsystemclock.sgml:
6501 * docs/gst/tmpl/gsttaglist.sgml:
6502 * docs/gst/tmpl/gsttagsetter.sgml:
6503 * docs/gst/tmpl/gsttrace.sgml:
6504 * docs/gst/tmpl/gsttrashstack.sgml:
6505 * docs/gst/tmpl/gsttypefind.sgml:
6506 * docs/gst/tmpl/gsttypefindfactory.sgml:
6507 * docs/gst/tmpl/gsttypes.sgml:
6508 * docs/gst/tmpl/gsturihandler.sgml:
6509 * docs/gst/tmpl/gsturitype.sgml:
6510 * docs/gst/tmpl/gstutils.sgml:
6511 * docs/gst/tmpl/gstvalue.sgml:
6512 * docs/gst/tmpl/gstversion.sgml:
6513 * docs/gst/tmpl/gstxml.sgml:
6514 * docs/libs/tmpl/gstcontrol.sgml:
6515 * docs/libs/tmpl/gstdataprotocol.sgml:
6516 * docs/libs/tmpl/gstdparam.sgml:
6517 * docs/libs/tmpl/gstdplinint.sgml:
6518 * docs/libs/tmpl/gstdpman.sgml:
6519 * docs/libs/tmpl/gstdpsmooth.sgml:
6520 * docs/libs/tmpl/gstgetbits.sgml:
6521 * docs/libs/tmpl/gstunitconvert.sgml:
6522 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6523 (gst_push_src_base_init), (gst_push_src_class_init),
6524 (gst_push_src_init), (gst_push_src_create):
6525 * gst/base/gstpushsrc.h:
6526 * gst/elements/gstelements.c:
6527 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6528 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6529 (gst_fake_sink_init), (gst_fake_sink_set_property),
6530 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6531 (gst_fake_sink_event), (gst_fake_sink_preroll),
6532 (gst_fake_sink_render), (gst_fake_sink_change_state):
6533 * gst/elements/gstfakesink.h:
6534 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6535 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6536 (gst_fake_src_base_init), (gst_fake_src_class_init),
6537 (gst_fake_src_init), (gst_fake_src_event_handler),
6538 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6539 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6540 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6541 (gst_fake_src_create_buffer), (gst_fake_src_create),
6542 (gst_fake_src_start), (gst_fake_src_stop):
6543 * gst/elements/gstfakesrc.h:
6544 * gst/elements/gstfilesink.c: (_do_init),
6545 (gst_file_sink_base_init), (gst_file_sink_class_init),
6546 (gst_file_sink_init), (gst_file_sink_dispose),
6547 (gst_file_sink_set_location), (gst_file_sink_set_property),
6548 (gst_file_sink_get_property), (gst_file_sink_open_file),
6549 (gst_file_sink_close_file), (gst_file_sink_query),
6550 (gst_file_sink_event), (gst_file_sink_render),
6551 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6552 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6553 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6554 * gst/elements/gstfilesink.h:
6555 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6556 (gst_file_src_class_init), (gst_file_src_init),
6557 (gst_file_src_finalize), (gst_file_src_set_location),
6558 (gst_file_src_set_property), (gst_file_src_get_property),
6559 (gst_file_src_map_region), (gst_file_src_map_small_region),
6560 (gst_file_src_create_mmap), (gst_file_src_create_read),
6561 (gst_file_src_create), (gst_file_src_is_seekable),
6562 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6563 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6564 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6565 (gst_file_src_uri_handler_init):
6566 * gst/elements/gstfilesrc.h:
6567 more autistic cleanliness in functions/names/defines
6569 2005-07-13 Andy Wingo <wingo@pobox.com>
6571 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6572 source couldn't negotiate.
6574 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6578 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6579 function. I am channeling Hades. Put your boots on suckers!!!
6581 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6583 * testsuite/caps/Makefile.am:
6584 * testsuite/caps/value_compare.c:
6585 * testsuite/caps/value_intersect.c:
6586 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6587 move two testsuite apps over to the check dir
6589 2005-07-12 Wim Taymans <wim@fluendo.com>
6591 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6592 Added more debug info in the negotiate process.
6595 Prepare for segment playback.
6597 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6603 * tools/gst-launch.c: (main):
6604 NULL pipeline on errors.
6606 2005-07-12 Andy Wingo <wingo@pobox.com>
6608 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6609 not it comes from a malloc region. Make sure our copy gets freed.
6611 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6613 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6614 * check/gst/gstmessage.c: (GST_START_TEST):
6615 * check/gst/gststructure.c: (GST_START_TEST),
6616 (gst_structure_suite), (main):
6618 * gst/gstelement.c: (gst_element_message_full):
6619 clean up GError and debug string now that they get copied
6620 * gst/gstmessage.c: (gst_message_new_error),
6621 (gst_message_new_warning), (gst_message_parse_error),
6622 (gst_message_parse_warning):
6623 use GST_TYPE_G_ERROR for structure_new, and take copies of
6624 arguments, so that we don't mess up refcounting
6626 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6628 * check/Makefile.am:
6629 add per-test valgrind targets
6630 * check/gst-libs/gdp.c: (GST_START_TEST),
6631 (gst_data_protocol_suite), (main):
6634 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6636 * check/Makefile.am:
6637 instate more valgrindable tests
6638 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6639 (GST_START_TEST), (fakesrc_suite):
6640 * check/gst/gstpad.c: (GST_START_TEST):
6641 * check/gst/gststructure.c: (GST_START_TEST):
6643 * docs/gst/tmpl/gstminiobject.sgml:
6644 * gst/gstpad.c: (gst_pad_finalize):
6645 fix the static mutex leak
6647 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6649 * check/Makefile.am:
6650 add two more tests for valgrinding
6651 * check/gst/gstvalue.c: (GST_START_TEST):
6652 test refcount of deserialized buffer, found a leak
6653 * docs/gst/gstreamer-docs.sgml:
6654 * docs/gst/gstreamer-sections.txt:
6655 * docs/gst/gstreamer.types:
6656 * docs/gst/tmpl/gstminiobject.sgml:
6657 add miniobject to docs
6658 * gst/gstminiobject.c:
6660 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6661 (gst_string_unwrap):
6662 fix a hard-to-find invalid write for one of the tests
6663 fix a leak for deserialized buffers
6665 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6667 * docs/pwg/advanced-events.xml:
6668 * docs/pwg/advanced-request.xml:
6669 * docs/pwg/advanced-scheduling.xml:
6670 * docs/pwg/appendix-porting.xml:
6671 * docs/pwg/building-boiler.xml:
6672 * docs/pwg/intro-preface.xml:
6673 * docs/pwg/other-ntoone.xml:
6674 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6675 of example code and explanation for pad activation, loop() and
6676 getrange() functions and a bit more. Remove old comments pointing
6678 * examples/pwg/Makefile.am:
6679 Add loop/getrange examples.
6681 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6684 check for valgrind binary + some fixes
6686 valgrind suppressions for the tests
6687 * check/Makefile.am:
6688 add a valgrind: target that valgrinds the unit tests
6689 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6690 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6691 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6692 * check/gst/gstghostpad.c:
6694 * check/gst/gstdata.c:
6696 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6697 (thread_unref), (gst_mini_object_suite), (main):
6699 * gst/gst.c: (gst_deinit):
6701 add a method to clean up.
6702 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6703 (gst_system_clock_obtain):
6704 allow for disposing the system clock.
6705 * tools/gst-launch.c: (main):
6708 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6710 * docs/gst/tmpl/gstbasesrc.sgml:
6711 * docs/gst/tmpl/gstfakesrc.sgml:
6712 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6713 (gst_base_src_init), (gst_base_src_set_property),
6714 (gst_base_src_get_property), (gst_base_src_get_range),
6715 (gst_base_src_start):
6716 * gst/base/gstbasesrc.h:
6717 add num-buffers property
6718 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6719 (gst_fakesrc_init), (gst_fakesrc_set_property),
6720 (gst_fakesrc_get_property), (gst_fakesrc_create),
6721 (gst_fakesrc_start):
6722 remove num-buffers property
6724 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6726 * docs/gst/gstreamer-sections.txt:
6727 * docs/gst/tmpl/gstbasesink.sgml:
6728 * docs/gst/tmpl/gstbasesrc.sgml:
6729 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6730 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6731 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6732 (gst_base_sink_set_property), (gst_base_sink_get_property),
6733 (gst_base_sink_handle_object), (gst_base_sink_event),
6734 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6735 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6736 (gst_base_sink_loop), (gst_base_sink_deactivate),
6737 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6738 (gst_base_sink_change_state):
6739 * gst/base/gstbasesink.h:
6740 * gst/base/gstbasesrc.h:
6741 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6742 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6743 (gst_filesink_init):
6744 more macro splitting
6746 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6748 * gst/gstelement.c: (gst_element_get_bus):
6750 * tools/gst-launch.c: (check_intr), (event_loop):
6753 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6755 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6758 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6760 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6761 (gst_base_src_finalize):
6762 add finalize method and clean up properly
6763 * gst/gstpipeline.c: (gst_pipeline_dispose):
6766 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6768 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6770 add more things to check
6771 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6775 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6777 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6778 (GST_START_TEST), (fakesrc_suite):
6779 * check/gst-libs/gdp.c: (GST_START_TEST):
6780 * check/gst/gst.c: (GST_START_TEST):
6781 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6782 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6783 * check/gst/gstbus.c: (GST_START_TEST):
6784 * check/gst/gstcaps.c: (GST_START_TEST):
6785 * check/gst/gstdata.c: (GST_START_TEST):
6786 * check/gst/gstelement.c: (GST_START_TEST):
6787 * check/gst/gstghostpad.c: (GST_START_TEST):
6788 * check/gst/gstiterator.c: (GST_START_TEST):
6789 * check/gst/gstmessage.c: (GST_START_TEST):
6790 * check/gst/gstobject.c: (GST_START_TEST):
6791 * check/gst/gstpad.c: (GST_START_TEST):
6792 * check/gst/gststructure.c: (GST_START_TEST):
6793 * check/gst/gstsystemclock.c: (GST_START_TEST),
6794 (gst_systemclock_suite):
6795 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6796 * check/gst/gstvalue.c: (GST_START_TEST):
6797 * check/pipelines/cleanup.c: (GST_START_TEST):
6798 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6799 * check/states/sinks.c: (GST_START_TEST):
6800 * check/gstcheck.c: (gst_check_init):
6802 add debugging category
6803 use GST_START_TEST now, so we add a debug line
6805 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6807 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6808 add test for state change message on a bin
6809 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6811 * gst/gstbin.c: (gst_bin_init):
6812 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6813 * gst/gstelement.c: (gst_element_post_message),
6814 (gst_element_set_state):
6815 * gst/gstelementfactory.c: (gst_element_factory_create):
6816 * gst/gstmessage.c: (gst_message_new):
6817 * gst/gstscheduler.c:
6818 various debugging additions and cleanups
6820 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6822 * check/Makefile.am:
6823 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6825 adding tests for elements
6826 * gst/gstelement.c: (gst_element_dispose):
6828 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6830 * gst/registries/gstlibxmlregistry.c: (load_feature):
6831 plug more leaks. A simple gst_init() now is leakfree, yay.
6833 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6835 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6836 (gst_xml_registry_load):
6837 plug another memleak
6839 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6842 use GST_SET_ERROR_CFLAGS
6844 change to ERROR_CFLAGS
6846 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6849 make GST_ERROR_CFLAGS overridable and re-enable Werror
6851 add a note about error CFLAGS
6852 * docs/gst/tmpl/gstfakesrc.sgml:
6853 * gst/elements/gstfakesrc.c:
6854 comment out some unused code
6855 * gst/gst.c: (split_and_iterate):
6856 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6860 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6862 * common/Makefile.am:
6863 * common/gtk-doc.mak:
6864 * docs/gst/Makefile.am:
6865 factor out gtk-doc.mak
6867 2005-07-07 Wim Taymans <wim@fluendo.com>
6869 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6870 (gst_thread_scheduler_dispose):
6871 Unlock the STREAM_LOCK completely.
6873 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6875 * check/Makefile.am:
6876 * check/elements/.cvsignore:
6877 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6878 (START_TEST), (fakesrc_suite), (main):
6879 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6880 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6881 (gst_fakesrc_create), (gst_fakesrc_start):
6882 * gst/elements/gstfakesrc.h:
6883 adding a first element test
6885 2005-07-07 Andy Wingo <wingo@pobox.com>
6887 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6890 2005-07-07 Wim Taymans <wim@fluendo.com>
6896 2005-07-07 Wim Taymans <wim@fluendo.com>
6898 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6899 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6900 Allow subclasses to implement their own negotiation.
6902 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6904 * docs/design/part-gstbin.txt:
6905 * docs/design/part-gstpipeline.txt:
6906 Update design notes to reflect the movement of
6907 responsibility for bus handling from GstPipeline to
6910 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6913 Remove unnecessary queue2/3/4 examples.
6915 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6917 * examples/Makefile.am:
6918 * examples/helloworld/helloworld.c: (event_loop), (main):
6919 * examples/queue/queue.c: (event_loop), (main):
6920 * examples/queue2/queue2.c: (main):
6921 Update a couple of the examples to work again.
6923 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6924 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6925 Spelling corrections and extra debug.
6927 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6928 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6929 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6931 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6932 (gst_pipeline_change_state):
6933 * gst/gstpipeline.h:
6934 Move the bus handler for children to the GstBin, and create a
6935 separate bus for receiving messages from children to the one the
6936 bus sends 'upwards' on.
6938 2005-07-06 Wim Taymans <wim@fluendo.com>
6941 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6942 (gst_base_sink_handle_object), (gst_base_sink_loop),
6943 (gst_base_sink_change_state):
6944 * gst/base/gstbasesink.h:
6945 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6946 (gst_base_src_init), (gst_base_src_setcaps),
6947 (gst_base_src_getcaps), (gst_base_src_loop),
6948 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6949 (gst_base_src_start), (gst_base_src_change_state):
6950 * gst/base/gstbasesrc.h:
6951 Make basesrc negotiate.
6952 Handle the case where preroll fails in basesink.
6955 2005-07-06 Wim Taymans <wim@fluendo.com>
6957 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6958 Implement the fixate function.
6959 Clean up acceptcaps.
6961 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6963 * docs/pwg/building-filterfactory.xml:
6965 Remove never-written filter-factory chapter; I'll add the various
6966 base classes to part 4 ("other element types") later on.
6968 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6970 * docs/pwg/advanced-negotiation.xml:
6971 * docs/pwg/building-boiler.xml:
6972 * docs/pwg/building-pads.xml:
6974 * examples/pwg/Makefile.am:
6975 Add a chapter on caps negotiation, simplify the original code
6976 samples a bit w.r.t. caps negotiation, add link to the advanced
6977 section. Add a bunch of examples showing different use cases of
6978 different types of caps negotiation. Upstream renegotiation isn't
6979 fully documented yet since nobody knows how that works.
6981 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6983 * check/gst/gstpad.c:
6985 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6986 if pad has no parent, return NULL as list of internal links
6988 2005-07-05 Andy Wingo <wingo@pobox.com>
6990 * gst/elements/gstfilesrc.c:
6991 * gst/elements/gstfakesrc.c:
6992 * gst/base/gstpushsrc.c:
6993 * gst/base/gstbasesrc.h:
6994 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6996 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6999 better report generation target (lcov needs a patch)
7001 2005-07-05 Andy Wingo <wingo@pobox.com>
7003 * gst/elements, testsuite: Null if we got it...
7005 2005-07-05 Wim Taymans <wim@fluendo.com>
7008 * libs/gst/dataprotocol/Makefile.am:
7009 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7010 * libs/gst/dataprotocol/dataprotocol.h:
7011 * pkgconfig/Makefile.am:
7012 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7013 * pkgconfig/gstreamer-dataprotocol.pc.in:
7014 Ported dataprotol to 0.9.
7015 Added pkgconfig files.
7017 2005-07-05 Andy Wingo <wingo@pobox.com>
7019 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7020 Default to returning TRUE for the case when tranform_caps returns
7021 a fixed caps, like for identity or volume.
7023 * check/gst/gstbus.c (pound_bus_with_messages):
7024 * check/gst/gstmessage.c (START_TEST):
7025 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7028 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7029 logic weaks here: always run transform_caps, trying passthrough
7030 operation only if the original caps intersects with the transform.
7032 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7033 source and sink caps.
7035 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7036 Intersect the peer caps with the pad template before going into
7038 (gst_base_transform_transform_caps): More debugging.
7040 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7043 2005-07-04 Edward Hervey <edward@fluendo.com>
7047 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7050 2005-07-04 Andy Wingo <wingo@pobox.com>
7052 * check/gst/gstpad.c: Only set explicit caps on pads.
7054 2005-07-01 Andy Wingo <wingo@pobox.com>
7056 * tests/network-clock.scm: Commentary update.
7058 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7059 Didn't really make sense, not implementable with basetransform,
7061 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7062 attempt at implementing the sync property, needs an unlock method.
7064 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7065 New func, by default returns the same caps (the identity
7067 (gst_base_transform_getcaps): Uses transform_caps to return
7069 (gst_base_transform_setcaps): Complicated logic to get caps on
7070 both pads, even if they are different, and to call set_caps once
7071 for every time both pads get their caps set.
7072 (gst_base_transform_handle_buffer): Give the ref to the transform
7073 function. Allows in-place modification of the buffer.
7075 * gst/base/gstbasetransform.h (transform_caps): New class method.
7076 Given caps on one side, what can I do on the other.
7077 (set_caps): Take two caps, one for each side of the element.
7080 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7081 caps in place. This is safe because we can check the mutability of
7082 the caps, and a good idea because fixate functions are just called
7083 as a matter of last resort. (Not actually implemented.)
7084 (gst_pad_set_caps): If the caps we're setting is actually the same
7085 as the existing pad caps, just update the pointer without calling
7086 setcaps. Assert that caps is either NULL or fixed, as per the
7089 * gst/gstghostpad.c: Update for fixate changes.
7091 2005-07-02 Andy Wingo <wingo@pobox.com>
7094 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7095 two refcounts makes it immutable, which is enough. Doc more.
7097 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7099 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7100 Put the mini_object into GValue as a mini_object,
7101 not a gpointer, since that's how we declared
7104 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7106 * examples/pwg/Makefile.am:
7109 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7111 * docs/pwg/building-testapp.xml:
7113 * examples/pwg/Makefile.am:
7116 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7119 * examples/Makefile.am:
7120 * examples/pwg/Makefile.am:
7121 * examples/pwg/extract.pl:
7122 Enable building the PWG examples.
7123 * docs/pwg/advanced-interfaces.xml:
7124 Add URI interface stub.
7125 * docs/pwg/advanced-types.xml:
7126 * docs/pwg/other-autoplugger.xml:
7127 * docs/pwg/appendix-porting.xml:
7129 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7130 * docs/pwg/building-boiler.xml:
7131 * docs/pwg/building-chainfn.xml:
7132 * docs/pwg/building-pads.xml:
7133 * docs/pwg/building-props.xml:
7134 * docs/pwg/building-state.xml:
7135 * docs/pwg/building-testapp.xml:
7136 Update the building-*.xml parts for 0.9 changes. All examples
7137 code blocks compile in examples/pwg/*.
7139 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7141 * docs/manual/advanced-autoplugging.xml:
7142 * docs/manual/appendix-checklist.xml:
7143 * docs/manual/appendix-integration.xml:
7144 * docs/manual/highlevel-components.xml:
7145 Fix playbin/decodebin examples, update docs a bit, mention bus
7146 instead of signals in various places, mention kmplayer and
7147 kaffeine since they have a working GStreamer backend in the KDE
7150 2005-06-30 Wim Taymans <wim@fluendo.com>
7153 * docs/design/draft-ghostpads.txt:
7154 * docs/design/draft-push-pull.txt:
7155 * docs/design/draft-query.txt:
7156 * docs/design/part-TODO.txt:
7157 * docs/design/part-query.txt:
7158 Added CHANGES-0.9 doc, updated status of other docs.
7163 2005-06-30 Wim Taymans <wim@fluendo.com>
7165 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7166 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7167 (gst_base_sink_change_state):
7168 * gst/base/gstbasesink.h:
7169 Some tweaks, only EOS and a buffer complete a preroll.
7171 2005-06-30 Andy Wingo <wingo@pobox.com>
7173 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7174 activate_push down to the internal pad as well.
7176 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7178 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7180 * gst/gsttaginterface.c:
7181 Some documentation fixes (#307394 and #307397).
7183 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7185 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7187 * gst/gstvalue.c: (gst_value_intersect_list):
7188 Fix memleak (#309125).
7190 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7192 * docs/manual/advanced-dataaccess.xml:
7193 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7194 * docs/manual/basics-pads.xml:
7195 Add reference for filtered caps to above chapter.
7197 2005-06-30 Wim Taymans <wim@fluendo.com>
7199 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7200 (gst_bin_change_state):
7202 Lame attempt at making the state change function a bit
7205 2005-06-30 Wim Taymans <wim@fluendo.com>
7207 * docs/design/part-clocks.txt:
7208 * docs/design/part-element-sink.txt:
7209 * docs/design/part-events.txt:
7210 * docs/design/part-preroll.txt:
7211 * docs/design/part-states.txt:
7212 Some more tweeks and additions to the docs.
7214 2005-06-30 Wim Taymans <wim@fluendo.com>
7216 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7217 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7218 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7219 (gst_pad_check_pull_range), (gst_pad_get_range),
7220 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7222 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7223 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7224 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7225 (gst_pad_remove_buffer_probe):
7226 Removed atomic operations, use existing LOCK.
7227 Move exception handling out of main code path.
7229 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7231 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7232 (silly_return_true_function), (gst_pad_class_init),
7233 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7234 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7235 (gst_pad_send_event):
7236 Fix accumulator, add default value by using _emitv() instead
7237 of _emit() for signal emission.
7239 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7241 * docs/manual/advanced-dataaccess.xml:
7242 * examples/manual/Makefile.am:
7244 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7247 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7249 * gst/elements/gstfilesink.c: (gst_filesink_render):
7250 Simplify code so that we don't have to handle short
7251 writes and return GST_FLOW_ERROR if an error occured.
7253 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7255 * docs/gst/gstreamer-docs.sgml:
7258 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7260 * docs/gst/gstreamer-sections.txt:
7261 * docs/gst/tmpl/gstpad.sgml:
7262 * docs/gst/tmpl/gstprobe.sgml:
7264 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7265 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7266 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7267 (gst_pad_push_event), (gst_pad_send_event):
7269 * gst/gstutils.c: (gst_pad_add_data_probe),
7270 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7271 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7272 (gst_pad_remove_buffer_probe):
7274 Remove old probes, add new g-signal-based probes and some utility
7277 2005-06-29 Edward Hervey <edward@fluendo.com>
7279 * gst/gstelementfactory.c:
7282 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7283 the definition to the header file.
7285 2005-06-29 Andy Wingo <wingo@pobox.com>
7287 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7288 plugins from the source directory.
7290 2005-06-29 Wim Taymans <wim@fluendo.com>
7292 * docs/gst/tmpl/gstbuffer.sgml:
7293 * docs/gst/tmpl/gstclock.sgml:
7294 Some fixings for blantently wrong text.
7296 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7298 * check/Makefile.am:
7299 * gst/gst.c: (add_path_func), (init_pre):
7300 * gst/gstregistry.c: (gst_registry_add_path):
7301 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7302 only scan the GST_PLUGIN_PATH locations, and not add
7305 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7307 * docs/gst/gstreamer-sections.txt:
7308 * docs/gst/tmpl/gstbasesrc.sgml:
7315 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7317 * docs/manual/advanced-autoplugging.xml:
7318 Fix autoplugging example.
7320 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7322 * docs/manual/advanced-autoplugging.xml:
7323 * docs/manual/mime-world.fig:
7324 Try to get autoplugging working, fix type detection. Fix text
7325 in hello-world image.
7327 2005-06-29 Wim Taymans <wim@fluendo.com>
7329 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7330 (gst_base_sink_change_state):
7334 map SIGNAL and BROADCAST to the right function.
7337 Remove redundant braces.
7339 * gst/gstpad.c: (gst_pad_set_caps):
7340 Don't call setcaps function when reseting caps to NULL.
7342 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7343 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7344 (gst_system_clock_id_unschedule):
7345 Use BROADCAST as this is what we do.
7347 2005-06-29 Wim Taymans <wim@fluendo.com>
7349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7350 We are actually prerolling before commiting the state
7353 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7355 * docs/manual/advanced-clocks.xml:
7356 * docs/manual/advanced-interfaces.xml:
7357 * docs/manual/advanced-metadata.xml:
7358 * docs/manual/advanced-position.xml:
7359 * docs/manual/advanced-schedulers.xml:
7360 * docs/manual/advanced-threads.xml:
7361 * docs/manual/appendix-porting.xml:
7362 * docs/manual/basics-bins.xml:
7363 * docs/manual/basics-bus.xml:
7364 * docs/manual/basics-elements.xml:
7365 * docs/manual/basics-helloworld.xml:
7366 * docs/manual/basics-pads.xml:
7367 * docs/manual/highlevel-components.xml:
7368 * docs/manual/manual.xml:
7369 * docs/manual/thread.fig:
7370 Update (until threads/scheduling) Application Development Manual;
7371 remove GstThread, add GstBus, add simple porting checklist, add
7372 documentation for tag writing, clocks, make all examples until this
7373 part compile and run.
7374 * examples/manual/Makefile.am:
7375 Update from changes to Application Development Manual; add bus
7376 example, remove thread example.
7378 2005-06-28 Wim Taymans <wim@fluendo.com>
7380 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7381 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7382 (gst_bus_source_dispatch):
7383 Add debugging messages.
7384 Make internal methods static.
7385 Handle the case where the bus is flushed in the handler.
7387 * gst/gstelement.c: (gst_element_get_bus):
7388 Fix refcount in _get_bus();
7390 * gst/gstpipeline.c: (gst_pipeline_change_state),
7391 (gst_pipeline_get_clock_func):
7392 Clock refcounting fixes.
7393 Handle the case where preroll timed out more gracefully.
7395 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7396 Clean up the internal thread in dispose. This is needed
7397 for subclasses that actually get disposed.
7399 * gst/schedulers/threadscheduler.c:
7400 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7401 (gst_thread_scheduler_dispose):
7402 Free thread pool in dispose.
7404 2005-06-28 Andy Wingo <wingo@pobox.com>
7406 * tests/network-clock-utils.scm (debug, print-event): New utils.
7408 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7409 (*packet-loss*): Unified loss probability.
7410 (network-time): Report out-of-band events.
7412 * tests/plot-data: Add support for out-of-band events. Hack it
7413 into this script instead of passing it down the pipe; should fix
7416 2005-06-28 Wim Taymans <wim@fluendo.com>
7418 * docs/gst/gstreamer.types:
7419 * docs/gst/tmpl/gstbasesrc.sgml:
7420 * docs/gst/tmpl/gstpad.sgml:
7423 2005-06-28 Wim Taymans <wim@fluendo.com>
7425 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7426 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7427 (gst_proxy_pad_do_fixatecaps):
7428 Correctly proxy the check_pull_range function.
7430 2005-06-28 Andy Wingo <wingo@pobox.com>
7432 * tests/network-clock.scm: Removed need for slib.
7434 2005-06-28 Wim Taymans <wim@fluendo.com>
7436 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7437 (gst_basesink_preroll_queue_flush):
7438 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7439 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7440 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7441 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7442 (gst_proxy_pad_set_property):
7445 * gst/gstqueue.c: (gst_queue_init):
7446 The deprecated pad loop function is removed now.
7448 2005-06-28 Andy Wingo <wingo@pobox.com>
7450 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7451 New parameters, simulate network packet loss.
7453 * tests/network-clock-utils.scm: Initialize the RNG.
7455 2005-06-28 Wim Taymans <wim@fluendo.com>
7457 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7458 (gst_basesink_event), (gst_basesink_deactivate):
7459 Flushing the preroll queue always needs to unlock the waiters.
7461 2005-06-28 Edward Hervey <edward@fluendo.com>
7463 * gst/gstpipeline.c: (gst_pipeline_send_event):
7464 Wheen a seek was successful on a pipeline, set the stream_time to the
7465 seek offset in order to have a synchronized stream_time.
7467 2005-06-28 Wim Taymans <wim@fluendo.com>
7469 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7470 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7471 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7472 (gst_proxy_pad_do_fixatecaps):
7473 Call wrapper function instead of just calling the function
7474 pointers. This takes care of any locking and whatmore.
7476 2005-06-28 Wim Taymans <wim@fluendo.com>
7478 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7479 (gst_pad_pull_range):
7481 CONNECTED -> LINKED.
7483 2005-06-28 Andy Wingo <wingo@pobox.com>
7485 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7486 source-munging commit!!!
7488 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7489 (gst_object_sink): Take gpointer arguments, not GstObject --
7490 avoids casts. Like GLib.
7492 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7495 2005-06-27 Andy Wingo <wingo@pobox.com>
7497 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7500 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7501 returns a sorted copy of the trace list.
7502 (gst_alloc_trace_print_live): New API, only prints traces with
7503 live objects. Sort the list.
7504 (gst_alloc_trace_print_all): Sort the list.
7505 (gst_alloc_trace_print): Align columns.
7507 * gst/elements/gstttypefindelement.c:
7508 * gst/elements/gsttee.c:
7509 * gst/base/gstbasesrc.c:
7510 * gst/base/gstbasesink.c:
7511 * gst/base/gstbasetransform.c:
7512 * gst/gstqueue.c: Adapt for pad activation changes.
7514 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7516 (gst_pipeline_dispose): Drop ref on sched.
7518 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7519 (gst_pad_activate_default): Push mode by default.
7520 (pre_activate_switch, post_activate_switch): New stubs, things to
7521 do before and after switching activation modes on pads.
7522 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7523 the pad's activate function to choose which mode to activate.
7524 Shortcut on deactivation and call the right function directly.
7525 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7527 (gst_pad_activate_push): New API, same for push mode.
7528 (gst_pad_set_activate_function)
7529 (gst_pad_set_activatepull_function)
7530 (gst_pad_set_activatepush_function): Setters for new API.
7532 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7533 Trace all miniobjects.
7534 (gst_mini_object_make_writable): Unref the arg if we copy, like
7535 gst_caps_make_writable.
7537 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7539 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7540 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7541 Adapt for new pad API.
7543 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7546 * gst/gstelement.c (gst_element_iterate_src_pads)
7547 (gst_element_iterate_sink_pads): New API functions.
7549 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7550 should fold into gstiterator.c in some form.
7551 (gst_element_pads_activate): Simplified via use of fold and
7552 delegation of decisions to gstpad->activate.
7554 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7557 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7558 class once in init, like gstmessage. Didn't run into this issue
7559 but it seems correct. Don't initialize a trace, gstminiobject does
7562 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7563 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7565 (assert_live_count): New util function, uses alloc traces to check
7568 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7569 To be modified when unlink drops the internal pad.
7571 2005-06-27 Wim Taymans <wim@fluendo.com>
7573 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7574 (gst_bin_change_state):
7575 Cleanup the get_state() function a little, make sure it
7576 iterates the same set of elements.
7577 Added stub iterate_state_order().
7579 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7581 * docs/gst/gstreamer-docs.sgml:
7582 * docs/gst/gstreamer-sections.txt:
7583 * docs/gst/gstreamer.types:
7584 * docs/gst/tmpl/gstbasesink.sgml:
7585 * docs/gst/tmpl/gstbasesrc.sgml:
7586 * docs/gst/tmpl/gstbasetransform.sgml:
7587 * docs/gst/tmpl/gstelement.sgml:
7588 * docs/gst/tmpl/gstiterator.sgml:
7589 * gst/base/gstbasesrc.c:
7590 * gst/base/gstbasesrc.h:
7591 * gst/base/gstbasetransform.h:
7593 * gst/gstiterator.h:
7594 adding basetransform and iterator docs
7596 2005-06-27 Andy Wingo <wingo@pobox.com>
7598 * docs/design/part-activation.txt: Notes on how activation should
7599 work -- not quite implemented yet.
7601 2005-06-25 Wim Taymans <wim@fluendo.com>
7603 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7604 At least get the chain function correct, needs more
7607 2005-06-25 Wim Taymans <wim@fluendo.com>
7609 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7610 (gst_basesink_handle_object), (gst_basesink_event),
7611 (gst_basesink_do_sync), (gst_basesink_handle_event),
7612 (gst_basesink_change_state):
7614 Right, two problems here: ghostpads don't take locks and
7615 glib _rec_mutex_lock_full() with depth==0 still locks.
7616 Catch illegal locking and g_warn them.
7618 2005-06-25 Wim Taymans <wim@fluendo.com>
7620 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7621 Have to check for completion now...
7623 2005-06-25 Wim Taymans <wim@fluendo.com>
7625 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7626 (gst_basesink_handle_object), (gst_basesink_event),
7627 (gst_basesink_do_sync), (gst_basesink_handle_event),
7628 (gst_basesink_change_state):
7630 Unlock STREAM_LOCK whatever the recursion was.
7632 2005-06-25 Wim Taymans <wim@fluendo.com>
7634 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7635 (gst_basesink_preroll_queue_empty),
7636 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7637 (gst_basesink_event), (gst_basesink_do_sync),
7638 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7639 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7640 (gst_basesink_change_state):
7641 Reworked the base sink, handle event and buffer serialisation
7642 correctly and removed possible deadlock.
7643 Handle EOS correctly.
7645 2005-06-25 Wim Taymans <wim@fluendo.com>
7647 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7648 (gst_pipeline_change_state):
7649 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7650 Allow elements to post EOS in the state change function.
7651 Fix up -launch, make it exit the poll loop when the
7652 pipeline actually changed state.
7653 Fix up warning parsing in -launch.
7655 2005-06-25 Wim Taymans <wim@fluendo.com>
7657 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7658 (gst_tee_sink_activate):
7659 Core takes STREAM_LOCK for us now.
7661 2005-06-25 Wim Taymans <wim@fluendo.com>
7663 * gst/gstelement.c: (gst_element_get_state_func),
7664 (gst_element_set_state):
7666 * gst/gstmessage.c: (gst_message_parse_error),
7667 (gst_message_parse_warning):
7668 Keep track of current target state while performing a state
7669 change so that subclasses can do something interesting.
7670 Fix parsing of warning/error messages when GError is NULL.
7672 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7674 * docs/gst/Makefile.am:
7675 * docs/gst/gstreamer-docs.sgml:
7676 * docs/gst/gstreamer-sections.txt:
7677 * docs/gst/gstreamer.types:
7678 * docs/gst/tmpl/gstbasesink.sgml:
7679 * docs/gst/tmpl/gstbasesrc.sgml:
7680 * docs/gst/tmpl/gstbin.sgml:
7681 * docs/gst/tmpl/gstcompat.sgml:
7682 * docs/gst/tmpl/gstfakesink.sgml:
7683 * docs/gst/tmpl/gstfakesrc.sgml:
7684 * docs/gst/tmpl/gstfilesink.sgml:
7685 * docs/gst/tmpl/gstfilesrc.sgml:
7686 * docs/gst/tmpl/gstindex.sgml:
7687 * docs/manual/appendix-quotes.xml:
7688 * gst/base/gstbasesrc.h:
7689 * gst/elements/gstfakesrc.h:
7691 start pulling in base classes and elements in our docs
7693 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7695 * docs/gst/Makefile.am:
7696 * docs/libs/Makefile.am:
7697 fixed make distcheck with gtk-doc 1.3
7699 2005-06-23 Wim Taymans <wim@fluendo.com>
7701 * gst/gstelement.c: (gst_element_get_state_func),
7702 (gst_element_set_state), (gst_element_change_state):
7703 When the state did not change, also report NO_PREROLL
7706 2005-06-23 Wim Taymans <wim@fluendo.com>
7708 * gst/gstpad.c: (gst_pad_event_default):
7709 * gst/gstqueue.c: (gst_queue_loop):
7710 No unsafe task pausing please.
7712 2005-06-23 Wim Taymans <wim@fluendo.com>
7714 * gst/schedulers/threadscheduler.c:
7715 (gst_thread_scheduler_task_start),
7716 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7717 Ref the task before pushing it on the threadpool. This
7718 makes sure that we have a ref when the threadfunction is
7721 2005-06-23 Andy Wingo <wingo@pobox.com>
7723 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7724 offset is greater than the file's size.
7726 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7727 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7728 * gst/gstobject.c (gst_object_class_init): Make the class lock
7729 recursive. Wim won't let me drop deep_notify. Decodebin works
7732 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7733 internal pad, and hacks accordingly. Doesn't do it on the target
7734 pad because we change its caps. Probably catches all cases of
7736 (gst_ghost_pad_set_property): Connect to notify::caps as
7739 * tests/network-clock.scm (plot-simulation): Pipe data to the
7740 elite python skript.
7742 * tests/network-clock-utils.scm (define-parameter): New macro,
7743 defines a parameter that can be set via the command line.
7744 (set-parameter!, parse-parameter-arguments): Command line args
7747 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7750 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7752 * gst/elements/gsttypefindelement.c:
7753 (gst_type_find_element_handle_event):
7754 Don't restart typefinding on a discont.
7755 * gst/gstelement.c: (gst_element_set_state):
7757 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7758 Allow changing mode of an active pad.
7760 * gst/registries/gstlibxmlregistry.c: (load_feature):
7761 Don't cast a static pad template to a normal pad template.
7763 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7765 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7766 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7767 remove gst_strtoll completely, since it didn't actually do
7768 anything more than what g_ascii_strtoull already does.
7769 check for range errors when deserializing
7770 do a cast for the unsigned cases; but further fixing needs
7771 a decision on what the interpretation of "(int)" and
7772 deserialization should be for values that fall outside the
7773 type's boundaries (ie, refuse, or interpret as casting)
7775 2005-06-23 Wim Taymans <wim@fluendo.com>
7777 * check/Makefile.am:
7778 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7779 * docs/design/part-live-source.txt:
7780 * docs/design/part-states.txt:
7781 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7782 (gst_basesrc_set_live), (gst_basesrc_is_live),
7783 (gst_basesrc_get_range), (gst_basesrc_activate),
7784 (gst_basesrc_change_state):
7785 * gst/base/gstbasesrc.h:
7786 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7787 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7788 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7789 * gst/gstelement.c: (gst_element_get_state_func),
7790 (gst_element_set_state):
7793 * tools/gst-launch.c: (event_loop), (main):
7794 Added support for live sources and other elements that
7796 Updated design docs, added live-source design doc.
7797 Implemented live source functionality in basesrc
7798 Fix error condition in _bin_get_state()
7799 Implement live source handling in -launch.
7800 Added check for live sources.
7801 Fixed case in GstBin where elements were changed state
7805 2005-06-23 Andy Wingo <wingo@pobox.com>
7807 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7810 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7811 gst_caps_replace takes care of this for us.
7813 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7814 gst_pad_set_caps on the target, not just its setcaps() function.
7816 * tests/network-clock.scm:
7817 * tests/network-clock-utils.scm: A network clock simulator.
7818 Something of an algorithmic testbed before doing something in C.
7820 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7822 * check/Makefile.am:
7823 * check/gst/capslist.h:
7824 copy over from 0.8, and add two with bitmasks specified with
7826 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7827 add test to parse everything from capslist.h
7828 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7830 add test for structure deserialization
7831 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7832 add tests for deserialization of strings to int types
7833 * gst/gststructure.c: (gst_structure_nth_field_name):
7834 * gst/gststructure.h:
7835 add a way to get the name of a field referenced by index
7836 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7837 instead of checking if the resulting long long lies between
7838 min and max, we check if the long long would fit into
7839 a number of bytes for the final type.
7840 This fixes cases where a string represents 2^32 - 1, which
7841 when cast to int would be the (valid) -1, but is bigger than
7844 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7846 * gst/parse/grammar.y:
7847 add a log line for type deserialization
7849 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7851 * check/gst/gstvalue.c: (START_TEST):
7852 * gst/gstvalue.c: (gst_value_deserialize):
7853 return long long, not int, so gint64 deserialization actually
7854 works. Is there any flag that makes the compiler check this ?
7857 2005-06-22 Wim Taymans <wim@fluendo.com>
7860 Added convenience macros for setting buffers in GValue.
7862 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7864 * check/gst/.cvsignore:
7865 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7866 add a test deserializing int64, and comment part out because
7869 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7871 * check/Makefile.am:
7872 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7873 * testsuite/Makefile.am:
7874 * testsuite/caps/Makefile.am:
7875 * testsuite/caps/value_serialize.c:
7876 * testsuite/test_gst_init.c:
7877 move a value_serialize test over
7879 2005-06-20 Wim Taymans <wim@fluendo.com>
7884 * gst/gstvalue.c: (gst_value_compare_buffer),
7885 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7886 (gst_value_compare_flags), (gst_value_serialize_flags),
7887 (gst_value_deserialize_flags), (_gst_value_initialize):
7888 Fix serialisation of buffers, they are not boxed types anymore
7890 2005-06-20 Wim Taymans <wim@fluendo.com>
7892 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7893 Testcase to show error in buffer-on-caps serialisation.
7895 2005-06-20 Andy Wingo <wingo@pobox.com>
7897 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7898 will be adding to later.
7900 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7901 if its socks fill with rocks.
7902 (gst_system_clock_obtain): Set the name on object construction.
7903 Avoid double-checked locking.
7905 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7907 * gst/gsturi.c: (gst_element_make_from_uri):
7908 Fix potential endless loop.
7910 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7912 * check/Makefile.am:
7914 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7916 move over from testsuite dir and clean up
7919 * testsuite/Makefile.am:
7920 * testsuite/tags/.cvsignore:
7921 * testsuite/tags/Makefile.am:
7922 * testsuite/tags/merge.c:
7923 remove testsuite/tags
7925 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7927 * docs/gst/gstreamer-sections.txt:
7928 * docs/gst/tmpl/gstenumtypes.sgml:
7929 * win32/gstenumtypes.c:
7930 clean up documentation build a little
7932 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7935 add macros for checking refcounts on objects and caps
7936 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7937 add some more unit tests
7938 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7939 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7940 fix leaked refcounts (I hope :)) so unittest works
7944 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7946 * configure.ac: back to HEAD
7948 === release 0.9.1 ===
7950 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7956 2005-06-17 Andy Wingo <wingo@pobox.com>
7958 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7959 assert; it's always possible that the pad gets deactivated in
7960 between the checks in gstpad.c and the implementation. Rely on
7961 finish_preroll() to return a FLUSHING or similar instead of on the
7964 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7965 clock and post an EOS message if we come out of finish_preroll in
7968 2005-06-16 David Schleef <ds@schleef.org>
7970 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7971 (gst_capsfilter_set_property): Allow NULL as possible value
7972 for filter_caps property, indicating GST_CAPS_ANY.
7974 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7976 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7978 * gst/schedulers/Makefile.am:
7980 * gstreamer.spec.in:
7983 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7985 * gstreamer.spec.in:
7988 2005-06-08 Andy Wingo <wingo@pobox.com>
7990 * gst/gstutils.c: RPAD fixes all around.
7991 (gst_element_link_pads): Refcounting fixes.
7993 * tools/gst-inspect.c:
7994 * tools/gst-xmlinspect.c:
7996 * gst/base/gsttypefindhelper.c:
7997 * gst/base/gstbasesink.c:
7998 * gst/gstqueue.c: RPAD fixes.
8000 * gst/gstghostpad.h:
8001 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8002 pads. The tricky thing is they provide both source and sink
8003 interfaces, since they proxy the internal pad for the external
8004 pad, and vice versa. Implement with lower-level ProxyPad objects,
8005 with the interior proxy pad as a child of the exterior ghost pad.
8006 Should write a doc on this.
8008 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8009 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8012 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8013 pads are real pads. No ghost pads in this file. Not documenting
8014 the myriad s/RPAD/PAD/ and REALIZE fixes.
8015 (gst_pad_class_init): Add properties for "direction" and
8016 "template". Both are construct-only, so they can't change during
8017 the life of the pad. Fixes properly deriving from GstPad.
8018 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8019 derived objects, just set properties when creating the objects via
8021 (gst_pad_get_parent): Implement as a function, return NULL if the
8022 parent is not an element.
8023 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8024 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8026 * gst/gstobject.c (gst_object_class_init): Make name a construct
8027 property. Don't set it in the object init.
8029 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8030 with UNKNOWN direction.
8031 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8032 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8033 (gst_element_remove_pad): Remove ghost-pad special cases.
8034 (gst_element_pads_activate): Remove rpad cruft.
8036 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8037 catch the pad's-parent-not-an-element case.
8039 * gst/gst.h: Include gstghostpad.h.
8041 * gst/gst.c (init_post): No more real, ghost pads.
8043 * gst/Makefile.am: Add gstghostpad.[ch].
8045 * check/Makefile.am:
8046 * check/gst/gstbin.c:
8047 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8048 into a bin creates ghost pads, and that the refcounts are right.
8049 Partly moved from gstbin.c.
8051 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8053 * check/gst-libs/.cvsignore:
8054 * check/gst/.cvsignore:
8055 * check/pipelines/.cvsignore:
8057 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8058 (START_TEST), (cleanup_suite), (main):
8059 add some tests related to cleanup after running pipelines
8061 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8063 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8064 add a testsuite for GstBuffer
8066 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8068 * gst/gstminiobject.h:
8069 add defines for accessing the refcount
8071 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8073 * Makefile.am: added support for html unit test coverage reports
8075 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8077 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8078 Free existing caps if the capsfilter changes. Add a FIXME about
8079 setting those caps on the pads.
8081 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8082 Before adding a ghost pad to a parent bin, check that there isn't
8083 already one for the element on the bin. Prevents infinite recursion
8084 when using decodebin in parse pipelines. Andy says he'll rewrite the
8085 way this works anyway, so ignore the hack.
8087 2005-06-02 Andy Wingo <wingo@pobox.com>
8089 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8090 file size, pass it on to the type find helper.
8092 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8093 segment_start and segment_end properly according to the seek
8094 method. Segment_end is still a bit flaky because offset can be
8095 negative for CUR and END cases, but it takes -1 as an "unset"
8098 2005-06-02 Wim Taymans <wim@fluendo.com>
8100 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8101 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8102 (gst_basesink_activate):
8103 * gst/base/gstbasesink.h:
8104 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8105 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8106 (gst_pad_query), (gst_pad_start_task):
8108 * gst/gstqueue.c: (gst_queue_bufferalloc),
8109 (gst_queue_handle_sink_event), (gst_queue_chain):
8110 Bufferalloc: return GstFlowReturn to more accuratly report
8111 why allocation failed.
8113 2005-06-02 Wim Taymans <wim@fluendo.com>
8115 * gst/gstpipeline.c: (gst_pipeline_send_event):
8116 Take snapshot of state without blocking.
8118 2005-06-02 Wim Taymans <wim@fluendo.com>
8120 * docs/design/part-TODO.txt:
8121 * docs/design/part-caps.txt:
8122 * docs/design/part-clocks.txt:
8123 * docs/design/part-negotiation.txt:
8124 * docs/design/part-preroll.txt:
8127 2005-05-30 Wim Taymans <wim@fluendo.com>
8129 * gst/elements/gstidentity.c: (gst_identity_event),
8130 (gst_identity_transform), (gst_identity_get_property):
8131 Protect last_message property as it is accessed from
8134 2005-05-30 Wim Taymans <wim@fluendo.com>
8136 * gst/gstelement.c: (gst_element_init),
8137 (gst_element_pads_activate), (gst_element_change_state):
8138 Slicker pad activation code.
8140 2005-05-30 Wim Taymans <wim@fluendo.com>
8144 * gst/gstelementfactory.h:
8146 Move elementfactory methods to separate .h file.
8148 2005-05-30 Wim Taymans <wim@fluendo.com>
8150 * docs/design/part-overview.txt:
8151 * gst/gstsystemclock.h:
8152 Small typo fixes, doc updates.
8154 2005-05-30 Wim Taymans <wim@fluendo.com>
8156 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8157 (init_popt_callback):
8158 Remove cpu-opt flag.
8160 2005-05-30 Wim Taymans <wim@fluendo.com>
8162 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8163 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8165 Avoid typechecking in places where not needed.
8166 Added accessor for malloc_data.
8168 2005-05-30 Wim Taymans <wim@fluendo.com>
8170 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8171 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8172 (gst_pad_configure_sink), (gst_pad_configure_src),
8173 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8174 (gst_pad_start_task):
8175 Propagate errors from _set_caps() in configure_src/sink
8176 functions instead of returning TRUE.
8177 FLUSH events can travel up and downstream
8180 2005-05-30 Wim Taymans <wim@fluendo.com>
8182 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8183 (gst_basesink_activate):
8184 Handle EOS in preroll.
8186 2005-05-30 Wim Taymans <wim@fluendo.com>
8188 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8189 (gst_queue_loop), (gst_queue_handle_src_event):
8190 Remove old pieces of code
8191 Flushing the queue in an upstream event is a very bad idea.
8193 2005-05-26 Andy Wingo <wingo@pobox.com>
8195 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8196 gst_value_set_mini_object so as to add a ref on the object (which
8197 will be removed when the value is unset).
8199 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8200 arg type in ::handoff.
8202 * gst/gstelement.c (gst_element_change_state): Also deactivate
8203 pads in READY->NULL, just in case the element didn't make it to
8204 PAUSED. Wingo tested, Wim approved.
8206 2005-05-26 Wim Taymans <wim@fluendo.com>
8208 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8209 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8210 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8211 A flushing pad cannot be used to alloc_buffer from.
8213 2005-05-26 Wim Taymans <wim@fluendo.com>
8215 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8216 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8217 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8218 (gst_bus_create_watch), (gst_bus_add_watch_full):
8220 Implement a real GSource and use g_main_context_wakeup() to
8221 signal new messages instead of the socketpair.
8223 2005-05-25 Wim Taymans <wim@fluendo.com>
8225 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8226 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8227 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8228 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8229 (gst_pad_send_event), (gst_pad_start_task):
8230 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8231 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8232 (gst_queue_sink_activate), (gst_queue_src_activate),
8233 (gst_queue_change_state):
8235 Fix state changes for non sinks. We now change sinks, then elements
8236 with unconnected srcpads, then the rest.
8237 More efficient queue unlocking in flush and state changes.
8238 Set the pad activate mode even if it does not have an activate
8241 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8243 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8244 Don't go in pull mode for non-seekable sources.
8245 * gst/elements/gsttypefindelement.h:
8246 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8247 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8248 (free_entry), (stop_typefinding),
8249 (gst_type_find_element_handle_event), (find_peek),
8250 (gst_type_find_element_chain), (do_pull_typefind),
8251 (gst_type_find_element_change_state):
8252 Allow typefinding (w/o seeking) in push-mode, simplified version
8254 * gst/gstutils.c: (gst_buffer_join):
8256 gst_buffer_join() from 0.8.
8258 2005-05-25 Wim Taymans <wim@fluendo.com>
8260 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8261 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8262 (gst_pad_send_event), (gst_pad_start_task):
8263 Disable attempt at mode switching until it is figured out.
8265 2005-05-25 Wim Taymans <wim@fluendo.com>
8267 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8268 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8269 (gst_basesink_finish_preroll), (gst_basesink_chain),
8270 (gst_basesink_loop), (gst_basesink_activate),
8271 (gst_basesink_change_state):
8272 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8273 (gst_basesrc_get_range), (gst_basesrc_loop),
8274 (gst_basesrc_activate):
8275 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8276 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8277 (gst_real_pad_init), (gst_real_pad_set_property),
8278 (gst_real_pad_get_property), (gst_pad_set_active),
8279 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8280 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8281 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8282 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8283 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8284 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8285 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8286 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8287 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8288 (gst_pad_stop_task):
8290 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8291 (gst_queue_loop), (gst_queue_src_activate):
8292 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8293 (gst_task_get_state):
8295 * gst/schedulers/threadscheduler.c:
8296 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8297 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8299 Remove ACTIVE pad flag, use FLUSHING everywhere
8300 Added _pad_chain(), _pad_get_range() to call chain/getrange
8302 Add locks around IS_FLUSHING when reading.
8303 Take STREAM lock in chain(), get_range() functions so plugins
8304 don't need to take it anymore.
8308 2005-05-25 Wim Taymans <wim@fluendo.com>
8310 * tools/gst-launch.c: (event_loop):
8311 Unref message after using its contents instead of
8314 2005-05-24 Wim Taymans <wim@fluendo.com>
8316 * docs/design/draft-ghostpads.txt:
8317 * docs/design/draft-push-pull.txt:
8318 * docs/design/draft-query.txt:
8319 * docs/design/part-overview.txt:
8320 Docs updates, added general overview doc.
8322 2005-05-21 David Schleef <ds@schleef.org>
8324 * docs/gst/tmpl/old/GstBin.sgml:
8325 * docs/gst/tmpl/old/GstBuffer.sgml:
8326 * docs/gst/tmpl/old/GstCaps.sgml:
8327 * docs/gst/tmpl/old/GstClock.sgml:
8328 * docs/gst/tmpl/old/GstCompat.sgml:
8329 * docs/gst/tmpl/old/GstData.sgml:
8330 * docs/gst/tmpl/old/GstElement.sgml:
8331 * docs/gst/tmpl/old/GstEvent.sgml:
8332 * docs/gst/tmpl/old/GstIndex.sgml:
8333 * docs/gst/tmpl/old/GstStructure.sgml:
8334 * docs/gst/tmpl/old/GstTag.sgml:
8335 * docs/gst/tmpl/old/cothreads.sgml:
8336 * docs/gst/tmpl/old/cothreads_compat.sgml:
8337 * docs/gst/tmpl/old/gettext.sgml:
8338 * docs/gst/tmpl/old/gobject2gtk.sgml:
8339 * docs/gst/tmpl/old/grammar.tab.sgml:
8340 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8341 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8342 * docs/gst/tmpl/old/gst_private.sgml:
8343 * docs/gst/tmpl/old/gstaggregator.sgml:
8344 * docs/gst/tmpl/old/gstarch.sgml:
8345 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8346 * docs/gst/tmpl/old/gstbufferstore.sgml:
8347 * docs/gst/tmpl/old/gstdata_private.sgml:
8348 * docs/gst/tmpl/old/gstdisksink.sgml:
8349 * docs/gst/tmpl/old/gstdisksrc.sgml:
8350 * docs/gst/tmpl/old/gstelementfactory.sgml:
8351 * docs/gst/tmpl/old/gstextratypes.sgml:
8352 * docs/gst/tmpl/old/gstfakesink.sgml:
8353 * docs/gst/tmpl/old/gstfakesrc.sgml:
8354 * docs/gst/tmpl/old/gstfdsink.sgml:
8355 * docs/gst/tmpl/old/gstfdsrc.sgml:
8356 * docs/gst/tmpl/old/gstfilesink.sgml:
8357 * docs/gst/tmpl/old/gstfilesrc.sgml:
8358 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8359 * docs/gst/tmpl/old/gstidentity.sgml:
8360 * docs/gst/tmpl/old/gstindexfactory.sgml:
8361 * docs/gst/tmpl/old/gstmarshal.sgml:
8362 * docs/gst/tmpl/old/gstmd5sink.sgml:
8363 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8364 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8365 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8366 * docs/gst/tmpl/old/gstpipefilter.sgml:
8367 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8368 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8369 * docs/gst/tmpl/old/gstshaper.sgml:
8370 * docs/gst/tmpl/old/gstspider.sgml:
8371 * docs/gst/tmpl/old/gstspideridentity.sgml:
8372 * docs/gst/tmpl/old/gststatistics.sgml:
8373 * docs/gst/tmpl/old/gsttee.sgml:
8374 * docs/gst/tmpl/old/gsttimecache.sgml:
8375 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8376 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8377 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8378 * docs/gst/tmpl/old/types.sgml:
8379 I didn't intend to add these or check them in.
8381 2005-05-19 David Schleef <ds@schleef.org>
8383 * configure.ac: Use -no-common everywhere. In a sane world, it
8384 would be the default in libtool, because without it, you can't
8385 build DLLs on Windows.
8386 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8387 * docs/gst/gstreamer-sections.txt:
8388 * docs/gst/tmpl/gstcpu.sgml:
8389 * docs/gst/tmpl/gstdata.sgml:
8390 * docs/gst/tmpl/gstthread.sgml:
8392 2005-05-19 David Schleef <ds@schleef.org>
8394 * gst/gstminiobject.c: (gst_value_set_mini_object),
8395 (gst_value_take_mini_object), (gst_value_get_mini_object):
8396 * gst/gstminiobject.h: Add GValue set/get functions.
8398 2005-05-19 Wim Taymans <wim@fluendo.com>
8400 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8401 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8402 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8404 * gst/gstbus.c: (gst_bus_post):
8405 * gst/gstelement.c: (gst_element_get_random_pad):
8406 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8407 Make subbufer unref the parent in finalize.
8408 some more debugging info.
8411 2005-05-19 Wim Taymans <wim@fluendo.com>
8413 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8414 (gst_basesink_init), (gst_basesink_finalize),
8415 (gst_basesink_activate), (gst_basesink_change_state):
8416 Don't free preroll queue too early.
8418 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8422 Hi, I'm outdated. Please shoot me.
8424 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8426 * gst/gstpipeline.c: (gst_pipeline_send_event):
8427 Do not access variables after they have been deleted.
8429 2005-05-19 Wim Taymans <wim@fluendo.com>
8431 * tools/gst-inspect.c: (print_plugin_features):
8432 A plugin feature does unfortunatly not use the
8435 2005-05-18 Wim Taymans <wim@fluendo.com>
8437 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8438 Port _span() functions to new subbuffers.
8440 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8442 * gst/gstbin.c: (gst_bin_add_func):
8443 Fix clock settery in bins when adding kids after the clock has
8446 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8448 * gst/elements/gstidentity.c: (gst_identity_class_init):
8449 Workaround until signals support GstMiniObject.
8451 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8454 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8456 2005-05-18 Wim Taymans <wim@fluendo.com>
8458 * gst/base/Makefile.am:
8459 * gst/base/gstadapter.c: (gst_adapter_base_init),
8460 (gst_adapter_class_init), (gst_adapter_init),
8461 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8462 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8463 (gst_adapter_flush), (gst_adapter_available),
8464 (gst_adapter_available_fast):
8465 * gst/base/gstadapter.h:
8466 Ported and added adapter to the base classes.
8468 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8472 Make sure the class is reffed/unreffed once before threads can be
8473 used. Fixes #304551.
8475 2005-05-17 Wim Taymans <wim@fluendo.com>
8477 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8478 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8479 * gst/gstminiobject.c: (gst_mini_object_get_type),
8480 (gst_mini_object_free):
8481 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8482 (gst_pad_push), (gst_pad_push_event):
8483 * gst/gstqueue.c: (gst_queue_change_state):
8484 Don't queue buffers in basesink when we are flushing.
8485 Unref buffer when flushing in basesink.
8486 Flush queue when going to READY
8487 Unref buffer when _push() returns an error.
8488 Don't free MiniObject instance when refcount is incremented
8489 in _finalize() so that we can recover objects.
8491 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8493 * docs/manual/advanced-schedulers.xml:
8494 * docs/manual/appendix-checklist.xml:
8495 * docs/pwg/advanced-clock.xml:
8496 * docs/pwg/advanced-interfaces.xml:
8497 * docs/pwg/advanced-request.xml:
8498 * docs/pwg/advanced-types.xml:
8499 * docs/pwg/intro-preface.xml:
8500 * examples/plugins/example.c: (gst_example_get_type),
8501 (gst_example_class_init), (gst_example_chain),
8502 (gst_example_set_property), (gst_example_get_property),
8503 (gst_example_change_state), (plugin_init):
8504 * examples/plugins/example.h:
8507 2005-05-17 Wim Taymans <wim@fluendo.com>
8509 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8510 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8511 * gst/gstqueue.c: (gst_queue_change_state):
8512 Clear queue when going to READY.
8513 Remove IN_SETCAPS flag too.
8515 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8517 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8518 Remove implicit cast from gboolean to GstElementStateReturn;
8519 make sure we still return failure in paused => ready case if
8520 the parent class fails to change state and our own stop
8523 2005-05-17 Wim Taymans <wim@fluendo.com>
8525 * tools/gst-launch.c: (event_loop):
8526 Message was unreffed too soon.
8528 2005-05-16 Andy Wingo <wingo@pobox.com>
8530 * gst/gstbin.c (sink_iterator_filter): Err... um...
8532 * check/gst/gstbin.c (test_ghost_pads): New test for the
8533 ghosting-if-elements-not-in-same-bin behavior.
8535 2005-05-16 David Schleef <ds@schleef.org>
8537 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8538 accessing refcount directly.
8540 2005-05-15 David Schleef <ds@schleef.org>
8542 * check/Makefile.am: remove GstData checks
8543 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8544 * gst/Makefile.am: add miniobject, remove data
8545 * gst/gst.h: add miniobject, remove data
8546 * gst/gstdata.c: remove
8547 * gst/gstdata.h: remove
8548 * gst/gstdata_private.h: remove
8549 * gst/gsttypes.h: remove GstEvent and GstMessage
8550 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8551 * gst/gstmarshal.list: change BOXED -> OBJECT
8553 Implement GstMiniObject.
8554 * gst/gstminiobject.c:
8555 * gst/gstminiobject.h:
8557 Modify to be subclasses of GstMiniObject.
8558 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8559 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8560 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8561 (gst_subbuffer_get_type), (gst_subbuffer_init),
8562 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8565 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8566 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8567 (_gst_event_copy), (gst_event_new):
8569 * gst/gstmessage.c: (_gst_message_initialize),
8570 (gst_message_get_type), (gst_message_class_init),
8571 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8572 (gst_message_new), (gst_message_new_error),
8573 (gst_message_new_warning), (gst_message_new_tag),
8574 (gst_message_new_state_changed), (gst_message_new_application):
8576 * gst/gstprobe.c: (gst_probe_perform),
8577 (gst_probe_dispatcher_dispatch):
8579 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8580 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8581 (_gst_query_copy), (gst_query_new):
8583 Update elements for GstData -> GstMiniObject changes
8585 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8586 (gst_queue_chain), (gst_queue_loop):
8587 * gst/elements/gstbufferstore.c:
8588 (gst_buffer_store_add_buffer_func),
8589 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8590 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8591 (gst_fakesink_render):
8592 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8593 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8594 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8595 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8596 (gst_filesrc_create_read):
8597 * gst/elements/gstidentity.c: (gst_identity_class_init):
8598 * gst/elements/gsttypefindelement.c:
8599 (gst_type_find_element_src_event), (free_entry_buffers),
8600 (gst_type_find_element_handle_event):
8601 * libs/gst/dataprotocol/dataprotocol.c:
8602 (gst_dp_header_from_buffer):
8603 * libs/gst/dataprotocol/dataprotocol.h:
8604 * libs/gst/dataprotocol/dp-private.h:
8606 2005-05-15 David Schleef <ds@schleef.org>
8608 * gst/elements/gstelements.c: Don't include headers that were
8611 2005-05-15 David Schleef <ds@schleef.org>
8613 * gst/elements/Makefile.am: Remove some elements that don't
8614 need to be in the core (or even exist at all).
8615 * gst/elements/gstaggregator.c:
8616 * gst/elements/gstaggregator.h:
8617 * gst/elements/gstmd5sink.c:
8618 * gst/elements/gstmd5sink.h:
8619 * gst/elements/gstmultifilesrc.c:
8620 * gst/elements/gstmultifilesrc.h:
8621 * gst/elements/gstpipefilter.c:
8622 * gst/elements/gstpipefilter.h:
8623 * gst/elements/gstshaper.c:
8624 * gst/elements/gstshaper.h:
8625 * gst/elements/gststatistics.c:
8626 * gst/elements/gststatistics.h:
8627 * po/POTFILES.in: Remove above files.
8629 2005-05-14 Andy Wingo <wingo@pobox.com>
8631 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8632 so as to get the refs right.
8633 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8634 unreffing objects that don't pass the filter.
8636 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8637 gst_element_set_bus.
8638 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8639 normal cases, this will destroy the bus.
8641 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8644 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8647 2005-05-13 Andy Wingo <wingo@pobox.com>
8649 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8650 gst_pad_link, call pad_link_maybe_ghosting,
8651 (pad_link_maybe_ghosting): Links pads, making sure that the
8652 elements being linked are in the same bin.
8653 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8654 Helpers for pad_link_maybe_ghosting.
8656 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8659 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8661 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8663 * docs/design/part-element-source.txt:
8666 2005-05-12 Wim Taymans <wim@fluendo.com>
8668 * gst/base/gstbasesink.c: (gst_basesink_init),
8669 (gst_basesink_activate):
8670 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8671 (gst_basesrc_is_seekable):
8672 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8673 (bin_element_is_sink), (gst_bin_change_state):
8674 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8676 Identify sinks by their flag to avoid overly complicated
8678 Do state changes even for elements not reachable from the
8680 BaseSink is a sink now :)
8681 Some more debugging info in the basesrc.
8684 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8686 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8687 Implement _query on a bin, similar to _send_event.
8689 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8691 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8692 Discont event offset format should be GST_FORMAT_BYTES,
8693 not GST_FORMAT_TIME.
8695 2005-05-12 Wim Taymans <wim@fluendo.com>
8697 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8698 Same fix as Ronald's but without the signal.
8700 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8702 * gst/gstutils.c: (gst_element_query_position):
8703 No, an element is not a pad.
8705 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8707 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8708 (gst_bin_get_state):
8709 If a child is removed from a bin while we remove the child from
8710 the bin and while we're retrieving its state, signal this to the
8711 get_state function so we abort the wait (instead of waiting for
8712 a timeout) and can immediately re-iterate over all other elements.
8714 2005-05-12 Wim Taymans <wim@fluendo.com>
8716 * gst/base/Makefile.am:
8717 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8718 (gst_basesrc_start):
8719 * gst/base/gstbasesrc.h:
8720 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8721 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8722 (gst_pushsrc_init), (gst_pushsrc_create):
8723 * gst/base/gstpushsrc.h:
8724 Added is_seekable to BaseSrc
8725 Added simple PushSrc.
8727 2005-05-11 Wim Taymans <wim@fluendo.com>
8729 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8730 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8731 (gst_element_link_pads), (gst_element_query_position),
8732 (gst_element_query_convert), (intersect_caps_func),
8733 (gst_pad_query_position), (gst_pad_query_convert):
8734 Fix refcounting in utils function.
8735 No point in trying to activate a pad when it's added, it could
8736 be added from the state change function and then we deadlock, the
8737 element has to decide what to do.
8739 2005-05-10 Andy Wingo <wingo@pobox.com>
8741 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8742 *all* the arguments.
8744 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8745 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8746 lock (according to the docs -- if this is wrong change the docs).
8748 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8749 flush messages in the NULL state.
8751 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8752 message immediately and return.
8753 (gst_bus_set_flushing): New function. If a bus is flushing, it
8754 flushes out any queued messages and immediately unrefs new
8755 messages. This is so when an element goes to NULL, all of the
8756 unhandled messages coming from it can be freed, and their
8757 references to the element dropped. In other words: message source
8758 ref considered harmful :P
8760 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8761 we're finished with it.
8763 * gst/gstmessage.c (gst_message_new_state_changed):
8765 2005-05-10 Wim Taymans <wim@fluendo.com>
8767 * gst/gstvalue.c: (gst_value_compare_flags),
8768 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8769 (_gst_value_initialize):
8770 Added flags serialize/deserialize/compare code.
8772 2005-05-09 Andy Wingo <wingo@pobox.com>
8774 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8775 Intersect the peer's caps with our caps.
8777 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8779 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8780 * gst/elements/gsttypefindelement.c: (find_peek):
8781 Handle negative offsets better. Fixes decodebin.
8783 2005-05-09 Wim Taymans <wim@fluendo.com>
8785 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8786 (gst_base_transform_event):
8787 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8788 Implement accept_caps.
8789 Fix silly lock/unlock mismatch in base class.
8791 2005-05-09 Wim Taymans <wim@fluendo.com>
8793 * docs/design/draft-push-pull.txt:
8794 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8795 * gst/elements/gstfilesink.c: (gst_filesink_init),
8796 (gst_filesink_query):
8797 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8798 (gst_type_find_handle_src_query), (find_element_get_length):
8799 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8803 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8804 (gst_real_pad_get_caps_unlocked),
8805 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8806 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8807 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8808 (gst_real_pad_dispose), (gst_real_pad_finalize),
8809 (gst_pad_load_and_link), (gst_pad_save_thyself),
8810 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8811 (gst_pad_check_pull_range), (gst_pad_pull_range),
8812 (gst_pad_template_get_type), (gst_pad_template_class_init),
8813 (gst_pad_template_init), (gst_pad_template_dispose),
8814 (name_is_valid), (gst_static_pad_template_get),
8815 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8816 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8817 (gst_pad_get_element_private), (gst_pad_start_task),
8818 (gst_pad_pause_task), (gst_pad_stop_task),
8819 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8820 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8821 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8822 (gst_ghost_pad_new):
8824 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8825 (gst_query_new_position), (gst_query_set_position),
8826 (gst_query_parse_position), (gst_query_new_convert),
8827 (gst_query_set_convert), (gst_query_parse_convert):
8829 * gst/gstqueryutils.c:
8830 * gst/gstqueryutils.h:
8831 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8832 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8833 (gst_queue_handle_src_query):
8834 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8835 (gst_element_query_position), (gst_element_query_convert),
8836 (intersect_caps_func), (gst_pad_query_position),
8837 (gst_pad_query_convert):
8839 * tools/gst-inspect.c: (print_pad_info):
8840 * tools/gst-xmlinspect.c: (print_element_info):
8841 Remove old query functions. Ported old code.
8842 Added position/convert helper functions to gstutils.
8843 Reordered gstpad.c code, grouping relevant things.
8844 Remove gst_message_new(), always need to speficy a specific
8848 2005-05-09 Andy Wingo <wingo@pobox.com>
8850 * gst/gstiterator.h: Add some includes.
8852 * gst/gstqueryutils.h: Include more headers.
8855 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8856 some uses of gst_pad_query.
8858 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8859 NULL out parameters.
8860 (gst_query_new_position): New proc, allocates a new position
8863 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8864 gstqueryutils.c to the build.
8866 * gst/gststructure.c (gst_structure_set_valist): Implement with
8867 the generic G_VALUE_COLLECT.
8869 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8871 * gst/Makefile.am: (gst_headers):
8872 Added gstqueryutils.h to the list of headers to install, that was
8873 a 'nachty' move wingo :)
8875 2005-05-06 Andy Wingo <wingo@pobox.com>
8878 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8879 GstData, init a memchunk.
8880 (standard_definitions): Add a few query types, deprecate a few.
8881 (gst_query_get_type): New proc.
8882 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8884 (gst_query_new_application, gst_query_get_structure): New public
8887 * docs/design/draft-query.txt: Removed LINKS from the query types,
8888 because all the rest can be dispatched to other pads -- seemed
8889 ugly to have a query that couldn't be dispatched. internal_links
8890 is fine as a pad method.
8892 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8893 in gstpad.c, but maintain binary compatibility for the moment.
8894 Will fix before 0.9 is out.
8896 * gst/gstqueryutils.c:
8897 * gst/gstqueryutils.h: New files, implement 3 methods for each
8898 query type: parse_query, parse_response, and set. Probably need an
8901 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8903 * gst/elements/gstfilesink.c (gst_filesink_query2):
8904 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8905 query_types, and formats methods.
8907 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8908 (gst_pad_set_query2_function): New functions.
8909 (gst_real_pad_init): Set query2_default as the default query2
8910 function. Basically just dispatches to internally linked pads.
8914 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8915 without using the atomic operations. Only one thread can possibly
8916 be accessing the data at this point. Changed so as to avoid
8917 gst_atomic operations.
8919 2005-05-06 Wim Taymans <wim@fluendo.com>
8921 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8922 Also set caps if we use the fallback buffer alloc.
8924 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8926 * docs/gst/Makefile.am:
8927 * docs/gst/gstreamer-docs.sgml:
8928 * docs/gst/gstreamer-sections.txt:
8929 * docs/gst/tmpl/gstatomic.sgml:
8930 * docs/gst/tmpl/gstmemchunk.sgml:
8931 * testsuite/elements/struct_i386.h:
8932 * win32/GStreamer.vcproj:
8934 Purge GstAtomic stuff from docs and win32 makefiles as well
8936 2005-05-06 Wim Taymans <wim@fluendo.com>
8938 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8939 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8940 * gst/gstpad.c: (gst_pad_peer_get_caps):
8941 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8942 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8943 (gst_queue_src_activate), (gst_queue_change_state):
8945 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8946 (intersect_caps_func):
8947 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8948 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8949 Some fixes for the peer_get_caps() change.
8951 2005-05-06 Wim Taymans <wim@fluendo.com>
8953 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8954 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8955 (gst_basesink_activate):
8956 Actually do something with error codes returned from the push
8959 2005-05-06 Wim Taymans <wim@fluendo.com>
8961 * docs/design/part-element-sink.txt:
8962 * docs/design/part-element-source.txt:
8963 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8964 (gst_basesink_event), (gst_basesink_activate):
8965 * gst/base/gstbasesink.h:
8966 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8967 (gst_basesrc_activate):
8968 * gst/base/gstbasesrc.h:
8969 * gst/gstelement.c: (gst_element_pads_activate):
8970 Some more documentation.
8971 Fixed scheduling decision in _pads_activate().
8973 2005-05-05 Andy Wingo <wingo@pobox.com>
8975 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8978 2005-05-05 Wim Taymans <wim@fluendo.com>
8980 * gst/base/Makefile.am:
8981 * gst/base/gstbasesink.h:
8982 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8983 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8984 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8985 (gst_collectpads_class_init), (gst_collectpads_init),
8986 (gst_collectpads_finalize), (gst_collectpads_new),
8987 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8988 (find_pad), (gst_collectpads_remove_pad),
8989 (gst_collectpads_is_active), (gst_collectpads_collect),
8990 (gst_collectpads_collect_range), (gst_collectpads_start),
8991 (gst_collectpads_stop), (gst_collectpads_peek),
8992 (gst_collectpads_pop), (gst_collectpads_available),
8993 (gst_collectpads_read), (gst_collectpads_flush),
8994 (gst_collectpads_chain):
8995 * gst/base/gstcollectpads.h:
8996 * gst/elements/Makefile.am:
8997 * gst/elements/gstelements.c:
8998 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8999 (gst_fakesink_get_times), (gst_fakesink_event),
9000 (gst_fakesink_preroll), (gst_fakesink_render):
9001 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9002 (gst_filesink_init), (gst_filesink_set_location),
9003 (gst_filesink_open_file), (gst_filesink_close_file),
9004 (gst_filesink_pad_query), (gst_filesink_event),
9005 (gst_filesink_render), (gst_filesink_change_state):
9006 * gst/elements/gstfilesink.h:
9007 Added object to help in making collect pad based elements.
9009 Make event function in sink baseclass return gboolean.
9011 2005-05-05 Wim Taymans <wim@fluendo.com>
9013 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9014 (gst_bin_get_by_name):
9016 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9017 (gst_clock_finalize):
9018 * gst/gstdata.c: (gst_data_replace):
9020 * gst/gstelement.c: (gst_element_request_pad),
9021 (gst_element_pads_activate):
9022 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9024 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9025 (gst_pad_set_checkgetrange_function),
9026 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9027 (gst_pad_check_pull_range), (gst_pad_pull_range),
9028 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9029 (gst_pad_pause_task), (gst_pad_stop_task):
9030 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9031 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9032 Fix name lookup in GstBin.
9033 Added _data_replace() function and _buffer_replace()
9034 Use finalize method to clean up clock.
9035 Fix refcounting on request pads.
9036 Fix pad schedule mode error.
9037 Some more object refcounting debug info,
9040 2005-05-04 Andy Wingo <wingo@pobox.com>
9042 * check/Makefile.am:
9043 * docs/gst/tmpl/gstatomic.sgml:
9044 * docs/gst/tmpl/gstplugin.sgml:
9045 * gst/base/gstbasesink.c: (gst_basesink_activate):
9046 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9047 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9048 (gst_basesrc_query), (gst_basesrc_set_property),
9049 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9050 (gst_basesrc_activate):
9051 * gst/base/gstbasesrc.h:
9052 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9053 (gst_base_transform_src_activate):
9054 * gst/elements/gstelements.c:
9055 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9056 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9057 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9058 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9059 (gst_type_find_element_checkgetrange),
9060 (gst_type_find_element_activate):
9061 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9062 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9063 (gst_caps_load_thyself):
9064 * gst/gstelement.c: (gst_element_pads_activate),
9065 (gst_element_save_thyself), (gst_element_restore_thyself):
9066 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9067 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9069 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9070 (gst_xml_parse_file), (gst_xml_parse_memory),
9071 (gst_xml_get_element), (gst_xml_make_element):
9072 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9073 (_file_index_id_save_xml), (gst_file_index_commit):
9074 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9075 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9077 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9078 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9079 * tools/gst-complete.c: (main):
9080 * tools/gst-compprep.c: (main):
9081 * tools/gst-inspect.c: (print_element_properties_info):
9082 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9083 * tools/gst-xmlinspect.c: (print_element_properties):
9086 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9088 * gst/gstplugin.c: (gst_plugin_check_module),
9089 (gst_plugin_check_file), (gst_plugin_load_file):
9090 apply patch from #172526 to make register work on MacOSX
9092 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9094 * docs/gst/tmpl/gstconfig.sgml:
9095 * gst/gstconfig.h.in:
9096 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9097 * testsuite/debug/printf_extension.c: (main):
9098 Do not use GST_PTR_FORMAT on pointers to types with
9099 sizeof < sizeof(gpointer). Fixes test on 64-bit
9100 * testsuite/elements/property.h:
9101 use correct printf format
9103 2005-05-02 Wim Taymans <wim@fluendo.com>
9105 * docs/design/draft-push-pull.txt:
9106 * docs/design/draft-query.txt:
9107 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9108 (gst_basesrc_start):
9109 Added draft for new query API.
9110 Added draft for better selecting scheduling methods.
9111 Make basesrc ignore length if the subclass does not support
9114 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9117 possible fixes for automake-1.5 - _LIBADD is reserved
9119 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9121 * docs/faq/Makefile.am:
9122 * docs/manual/Makefile.am:
9124 * docs/pwg/Makefile.am:
9126 possible fixes for automake-1.5
9128 2005-04-28 Wim Taymans <wim@fluendo.com>
9130 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9131 (gst_basesink_pad_getcaps), (gst_basesink_init),
9132 (gst_basesink_do_sync):
9133 * gst/gstclock.c: (gst_clock_entry_new):
9134 * gst/gstevent.c: (gst_event_discont_get_value):
9135 * gst/gstpipeline.c: (pipeline_bus_handler),
9136 (gst_pipeline_change_state):
9137 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9138 Better debugging of clocking info.
9139 Allow NULL values when getting discont values.
9141 2005-04-27 Wim Taymans <wim@fluendo.com>
9143 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9144 * check/gst/gstpad.c: (gst_pad_suite):
9145 Increase timeout for checks.
9147 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9149 * check/Makefile.am:
9150 fix the broken rule for cleanup. Apparently this rule is
9151 only needed on FC2, so maybe this warrants further autotool
9154 2005-04-26 Wim Taymans <wim@fluendo.com>
9156 * gst/gsttrashstack.h:
9157 Ooohh. a nasty one! After having a failed pop() from the stack,
9158 it's possible that the stack is empty. In that case, don't
9159 follow the NULL pointer.
9161 2005-04-25 Wim Taymans <wim@fluendo.com>
9163 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9164 (gst_pad_set_checkgetrange_function),
9165 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9166 (gst_pad_check_pull_range), (gst_pad_pull_range),
9167 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9168 (gst_pad_pause_task), (gst_pad_stop_task):
9169 * gst/gstplugin.c: (gst_plugin_load):
9171 Remove gst_library_load as it does more harm than good with
9172 the new g_module flags.
9173 Revert bogus caps template check in pad linking, pad caps
9174 are important when linking not the template, which is more
9175 general than the current caps.
9177 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9179 * gst/autoplug/.cvsignore:
9180 * gst/autoplug/Makefile.am:
9181 * gst/autoplug/gstsearchfuncs.c:
9182 * gst/autoplug/gstsearchfuncs.h:
9183 * gst/autoplug/gstspider.c:
9184 * gst/autoplug/gstspider.h:
9185 * gst/autoplug/gstspideridentity.c:
9186 * gst/autoplug/gstspideridentity.h:
9187 * gst/autoplug/spidertest.c:
9190 2005-04-25 Wim Taymans <wim@fluendo.com>
9192 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9193 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9194 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9195 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9197 Added stubs for unimplemented functions.
9199 2005-04-24 David Schleef <ds@schleef.org>
9201 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9204 2005-04-24 David Schleef <ds@schleef.org>
9206 Convert everything from GstAtomicInt to g_atomic_int_*, and
9211 * gst/gstatomic_impl.h:
9219 * gst/gstdata_private.h:
9226 * gst/gststructure.c:
9227 * gst/gststructure.h:
9228 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9231 2005-04-24 David Schleef <ds@schleef.org>
9233 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9234 make the regressions tests work. Remove some code that is no
9236 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9237 Disable warning for pads without templates.
9239 2005-04-24 David Schleef <ds@schleef.org>
9241 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9242 functions that handle filtered links.
9243 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9245 * gst/gstutils.c: Fix/remove utility functions that handle
9248 * gst/gstvalue.c: Add serialization/deserialization of caps
9249 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9250 requires fixing so that the filter caps notation creates
9251 a capsfilter element and sets the filter_caps property. I
9252 think everyone probably wants to keep the shorthand notation.
9253 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9254 * docs/gst/tmpl/gstpad.sgml:
9256 * gst/elements/gstelements.c: Register capsfilter element.
9257 * gst/Makefile.am: fix spacing
9258 * docs/random/ds/0.9-suggested-changes: random
9260 2005-04-23 David Schleef <ds@schleef.org>
9262 * gst/elements/Makefile.am:
9263 * gst/elements/gstcapsfilter.c: New element that acts like an
9264 identity, but filters caps. Will eventually replace filtered
9265 caps in pad linking.
9266 * gst/gstutils.c: (gst_element_create_all_pads): New function
9267 to create all the ALWAYS pads that are registered with an
9268 element class. This functionality should eventually be
9269 merged in with GstElement initialization.
9271 * testsuite/trigger/README: part of trigger test code that should
9272 have been checked in a long time ago.
9274 2005-04-23 David Schleef <ds@schleef.org>
9276 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9277 needed with new versions of libtool (nobody will confirm this),
9278 and hard to carry around.
9279 * gst/autoplug/Makefile.am:
9280 * gst/base/Makefile.am:
9281 * gst/elements/Makefile.am:
9282 * gst/indexers/Makefile.am:
9283 * gst/schedulers/Makefile.am:
9284 * libs/gst/bytestream/Makefile.am:
9285 * libs/gst/control/Makefile.am:
9286 * libs/gst/dataprotocol/Makefile.am:
9287 * libs/gst/getbits/Makefile.am:
9289 2005-04-21 Wim Taymans <wim@fluendo.com>
9291 * docs/design/draft-push-pull.txt:
9292 * docs/design/part-MT-refcounting.txt:
9293 * docs/design/part-TODO.txt:
9294 * docs/design/part-caps.txt:
9295 * docs/design/part-events.txt:
9296 * docs/design/part-gstbus.txt:
9297 * docs/design/part-gstpipeline.txt:
9298 * docs/design/part-messages.txt:
9299 * docs/design/part-push-pull.txt:
9300 * docs/design/part-query.txt:
9303 2005-04-21 Wim Taymans <wim@fluendo.com>
9305 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9306 (gst_message_new), (gst_message_new_error),
9307 (gst_message_new_warning), (gst_message_new_tag),
9308 (gst_message_new_state_changed), (gst_message_new_application),
9309 (gst_message_get_structure):
9311 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9312 (gst_structure_copy_conditional):
9313 Use parent refcount in GstMessage to ensure GstStructure
9315 Cleaned up headers a bit.
9318 2005-04-20 Wim Taymans <wim@fluendo.com>
9320 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9321 (gst_basesink_pad_getcaps), (gst_basesink_init),
9322 (gst_basesink_chain_unlocked):
9323 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9324 (gst_type_find_helper):
9325 * gst/elements/gsttypefindelement.c:
9326 (gst_type_find_element_have_type), (gst_type_find_element_init),
9327 (stop_typefinding), (gst_type_find_element_handle_event),
9328 (find_suggest), (gst_type_find_element_chain),
9329 (gst_type_find_element_checkgetrange),
9330 (gst_type_find_element_getrange), (do_typefind),
9331 (gst_type_find_element_activate):
9332 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9333 (gst_buffer_default_free), (gst_buffer_default_copy),
9334 (gst_buffer_set_caps):
9335 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9337 * gst/gstmessage.c: (gst_message_new),
9338 (gst_message_new_state_changed):
9339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9340 (gst_pad_set_checkgetrange_function),
9341 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9342 (gst_pad_set_caps), (gst_pad_check_pull_range),
9343 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9345 * gst/gsttypefind.c: (gst_type_find_register):
9346 Make gst_caps_replace() work like other _replace() functions.
9347 Use _caps_replace() where possible.
9348 Make sure _message_new() initialises its field.
9349 Add gst_static_pad_template_get_caps()
9352 2005-04-18 Andy Wingo <wingo@pobox.com>
9354 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9355 on the peer, not the pad. I think that was a typo. Pass an extra
9356 arg to see if random access is possible. Activate the pads as
9357 PULL_RANGE if possible.
9359 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9361 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9362 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9365 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9367 * docs/faq/using.xml:
9368 Add note on gstreamer-properties (#154996).
9370 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9372 * docs/random/bbb/optional-properties:
9373 Some analysis on optional properties.
9375 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9377 * docs/gst/tmpl/gstelementfactory.sgml:
9379 * gst/gstelementfactory.c: (gst_element_factory_init),
9380 (gst_element_factory_cleanup), (gst_element_register),
9381 (__gst_element_factory_add_static_pad_template),
9382 (gst_element_factory_get_static_pad_templates),
9383 (gst_element_factory_can_src_caps),
9384 (gst_element_factory_can_sink_caps):
9385 * gst/registries/Makefile.am:
9386 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9387 (gst_xml_registry_class_init), (gst_xml_registry_init),
9388 (gst_xml_registry_new), (gst_xml_registry_set_property),
9389 (gst_xml_registry_get_property), (get_time), (make_dir),
9390 (gst_xml_registry_get_perms_func),
9391 (plugin_times_older_than_recurse), (plugin_times_older_than),
9392 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9393 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9394 (add_to_char_array), (read_string), (read_uint), (read_enum),
9395 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9396 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9397 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9398 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9399 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9400 (gst_xml_registry_rebuild):
9401 * gst/registries/gstlibxmlregistry.h:
9402 * tools/gst-compprep.c: (main):
9403 * tools/gst-inspect.c: (print_pad_templates_info):
9404 * tools/gst-xmlinspect.c: (print_element_info):
9405 Use libxml2 for registry parsing, use staticpadtemplates in
9406 elementfactories. Makes gst_init() +/- 10x faster.
9408 2005-04-12 Wim Taymans <wim@fluendo.com>
9410 * gst/base/Makefile.am:
9411 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9412 (gst_basesink_pad_getcaps), (gst_basesink_init),
9413 (gst_basesink_event), (gst_basesink_change_state):
9414 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9415 (gst_basesrc_init), (gst_basesrc_query),
9416 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9417 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9418 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9419 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9420 (gst_basesrc_stop), (gst_basesrc_activate),
9421 (gst_basesrc_change_state):
9422 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9423 (helper_find_suggest), (gst_type_find_helper):
9424 * gst/base/gsttypefindhelper.h:
9425 * gst/elements/Makefile.am:
9426 * gst/elements/gstelements.c:
9427 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9428 (gst_fakesink_get_times), (gst_fakesink_event),
9429 (gst_fakesink_preroll), (gst_fakesink_render):
9430 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9431 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9432 (gst_fakesrc_get_property), (gst_fakesrc_create),
9433 (gst_fakesrc_start), (gst_fakesrc_stop):
9434 * gst/elements/gstfakesrc.h:
9435 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9436 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9437 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9438 (gst_filesrc_create_read), (gst_filesrc_create),
9439 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9440 (gst_filesrc_start):
9441 * gst/elements/gsttypefindelement.c:
9442 (gst_type_find_element_have_type), (gst_type_find_element_init),
9443 (start_typefinding), (stop_typefinding), (push_buffer_store),
9444 (gst_type_find_element_handle_event),
9445 (gst_type_find_element_chain),
9446 (gst_type_find_element_checkgetrange),
9447 (gst_type_find_element_getrange), (do_typefind),
9448 (gst_type_find_element_activate),
9449 (gst_type_find_element_change_state):
9450 * gst/elements/gsttypefindelement.h:
9451 * gst/gstpipeline.c: (pipeline_bus_handler):
9452 Added typefind helper.
9453 Small preroll fix in the base sink.
9454 Disable typefind code in basesrc.
9455 Crude port of typefindelement.
9459 2005-04-11 Wim Taymans <wim@fluendo.com>
9461 * check/gst/gstbus.c: (gstbus_suite):
9462 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9464 Fix up the timeout so that the test does not fail.
9466 2005-04-06 Wim Taymans <wim@fluendo.com>
9469 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9470 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9471 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9472 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9473 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9474 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9475 (gst_basesrc_stop), (gst_basesrc_activate),
9476 (gst_basesrc_change_state), (basesrc_find_peek),
9477 (basesrc_find_suggest), (gst_basesrc_type_find):
9478 * gst/base/gstbasesrc.h:
9479 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9480 (gst_filesrc_class_init), (gst_filesrc_init),
9481 (gst_filesrc_finalize), (gst_filesrc_set_location),
9482 (gst_filesrc_set_property), (gst_filesrc_get_property),
9483 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9484 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9485 (gst_filesrc_create_read), (gst_filesrc_create),
9486 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9487 * gst/elements/gstfilesrc.h:
9488 * gst/gstelement.c: (gst_element_get_state_func),
9489 (gst_element_lost_state), (gst_element_pads_activate):
9490 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9491 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9492 (gst_pad_pull_range):
9494 More work on the generic source base class, implement seeking,
9496 Make filesrc extend the base source class.
9497 Added gst_pad_set_checkgetrange_function to GstPad.
9499 2005-04-06 Andy Wingo <wingo@pobox.com>
9501 * pkgconfig/gstreamer-base.pc.in:
9502 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9504 * pkgconfig/Makefile.am:
9505 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9507 2005-04-04 Wim Taymans <wim@fluendo.com>
9509 * gst/base/Makefile.am:
9511 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9512 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9513 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9514 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9515 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9516 (gst_basesrc_base_init), (gst_basesrc_class_init),
9517 (gst_basesrc_init), (gst_basesrc_get_formats),
9518 (gst_basesrc_get_query_types), (gst_basesrc_query),
9519 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9520 (gst_basesrc_set_property), (gst_basesrc_get_property),
9521 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9522 (gst_basesrc_loop), (gst_basesrc_activate),
9523 (gst_basesrc_change_state):
9524 * gst/base/gstbasesrc.h:
9525 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9526 (gst_fakesrc_class_init), (gst_fakesrc_init),
9527 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9528 (gst_fakesrc_get_property), (gst_fakesrc_create):
9529 * gst/elements/gstfakesrc.h:
9530 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9531 (gst_filesrc_open_file), (gst_filesrc_loop),
9532 (gst_filesrc_activate), (filesrc_find_peek),
9533 (gst_filesrc_type_find):
9534 Made base source class, make fakesrc extend it.
9535 Add comments to basesink class.
9536 Some filesrc cleanup.
9538 2005-03-31 David Schleef <ds@schleef.org>
9540 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9541 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9542 expected to link against libgstreamer.
9543 * gst/base/Makefile.am: link against libgstreamer
9544 * gst/elements/Makefile.am: same
9546 2005-03-31 Andy Wingo <wingo@pobox.com>
9548 * tests/instantiate/Makefile.am:
9549 * tests/instantiate/caps.c: Add test to test speed of caps copy
9552 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9553 GMemChunk to be fair.
9555 * gst/gsttrashstack.h: Remove warning about using the fallback
9556 trash stack implementation, it's still faster than malloc.
9558 2005-03-30 Andy Wingo <wingo@pobox.com>
9560 * tests/complexity.c: Add a copyright.
9562 2005-03-31 Wim Taymans <wim@fluendo.com>
9564 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9565 (gst_base_transform_class_init), (gst_base_transform_init),
9566 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9567 (gst_base_transform_get_property),
9568 (gst_base_transform_sink_activate),
9569 (gst_base_transform_src_activate),
9570 (gst_base_transform_change_state):
9571 * gst/base/gstbasetransform.h:
9572 * gst/elements/gstidentity.c: (gst_identity_class_init),
9573 (gst_identity_event), (gst_identity_check_perfect),
9574 (gst_identity_transform), (gst_identity_start),
9575 (gst_identity_stop):
9576 Added start/stop methods to transform base class so subclasses
9577 don't need to deal with state changes even.
9579 2005-03-31 Wim Taymans <wim@fluendo.com>
9581 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9582 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9584 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9585 (gst_pad_pull_range):
9586 Added rate to the discont event to prepare for variable speed
9587 and reverse playback.
9589 2005-03-29 David Schleef <ds@schleef.org>
9592 * testsuite/trigger/Makefile.am:
9593 * testsuite/trigger/trigger.c: A little example program to show
9594 how trigger-based elements can work.
9596 2005-03-29 Wim Taymans <wim@fluendo.com>
9598 * gst/base/Makefile.am:
9600 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9601 (gst_basesink_base_init), (gst_basesink_class_init),
9602 (gst_basesink_pad_getcaps), (gst_basesink_init),
9603 (gst_basesink_activate), (gst_basesink_change_state):
9604 * gst/base/gstbasesink.h:
9605 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9606 (gst_base_transform_base_init), (gst_base_transform_finalize),
9607 (gst_base_transform_class_init), (gst_base_transform_init),
9608 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9609 (gst_base_transform_event), (gst_base_transform_getrange),
9610 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9611 (gst_base_transform_set_property),
9612 (gst_base_transform_get_property),
9613 (gst_base_transform_sink_activate),
9614 (gst_base_transform_src_activate),
9615 (gst_base_transform_change_state):
9616 * gst/base/gstbasetransform.h:
9617 * gst/elements/gstidentity.c: (gst_identity_finalize),
9618 (gst_identity_class_init), (gst_identity_init),
9619 (gst_identity_event), (gst_identity_check_perfect),
9620 (gst_identity_transform), (gst_identity_set_property),
9621 (gst_identity_get_property), (gst_identity_change_state):
9622 * gst/elements/gstidentity.h:
9623 * gst/gstelement.c: (gst_element_get_state_func),
9624 (gst_element_lost_state), (gst_element_pads_activate):
9625 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9626 (gst_pad_check_pull_range), (gst_pad_pull_range):
9628 Simplify pad activation.
9629 Added function to check if pull_range can be performed.
9630 Error out when pulling inactive or flushing pads.
9631 Removed const from refcounted types as it does not make sense.
9632 Simplify pad templates in basesink
9633 Added base class for simple 1-to-1 transforms.
9634 Make identity subclass the base transform.
9636 2005-03-29 Andy Wingo <wingo@pobox.com>
9638 * docs/libs/gstreamer-libs-overrides.txt:
9639 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9640 really don't understand what's going on, but like whatever. I want
9643 * docs/gst/Makefile.am:
9644 * docs/libs/Makefile.am: Dist the overrides files.
9646 * check/Makefile.am (clean-local): Remove .libs directories.
9648 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9649 elements to EXTRA_DIST, so po/ files are happy.
9651 * po/POTFILES.in: Er, remove it here.
9653 * po/POTFILES: Remove gstspider.c.
9655 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9657 * docs/libs/gstreamer-libs-docs.sgml:
9658 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9661 * tests/complexity.c (main): Set the length of the preroll queue
9662 on the sinks to prevent a lockup.
9664 * libs/gst/dataprotocol/Makefile.am:
9665 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9666 the same as the one in check/gst-libs/gdp.c.
9668 * po/, docs/gst/: Commit automatic changes to docs and po files.
9670 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9671 the versioned libgstbase.
9673 * check/Makefile.am: Depend on an unversioned gst-register, seems
9674 to make autoconf happier.
9676 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9678 2005-03-28 Wim Taymans <wim@fluendo.com>
9681 * docs/design/part-gstelement.txt:
9682 * docs/design/part-negotiation.txt:
9683 * docs/design/part-preroll.txt:
9684 * docs/design/part-scheduling.txt:
9685 * docs/design/part-states.txt:
9687 * gst/base/Makefile.am:
9689 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9690 (gst_basesink_base_init), (gst_basesink_class_init),
9691 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9692 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9693 (gst_basesink_set_pad_functions),
9694 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9695 (gst_basesink_set_property), (gst_basesink_get_property),
9696 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9697 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9698 (gst_basesink_preroll_queue_push),
9699 (gst_basesink_preroll_queue_empty),
9700 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9701 (gst_basesink_event), (gst_basesink_get_times),
9702 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9703 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9704 (gst_basesink_loop), (gst_basesink_activate),
9705 (gst_basesink_change_state):
9706 * gst/base/gstbasesink.h:
9707 * gst/elements/Makefile.am:
9708 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9709 (gst_fakesink_class_init), (gst_fakesink_init),
9710 (gst_fakesink_set_property), (gst_fakesink_get_property),
9711 (gst_fakesink_get_times), (gst_fakesink_event),
9712 (gst_fakesink_preroll), (gst_fakesink_render),
9713 (gst_fakesink_change_state):
9714 * gst/elements/gstfakesink.h:
9715 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9716 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9717 * gst/gstelement.c: (gst_element_add_pad),
9718 (gst_element_get_state_func), (gst_element_abort_state),
9719 (gst_element_commit_state), (gst_element_lost_state),
9720 (gst_element_set_state), (gst_element_pads_activate):
9721 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9722 * gst/gstpipeline.c: (gst_pipeline_send_event),
9723 (gst_pipeline_change_state):
9724 Added state change code.
9726 Added sink base class, make fakesink extend the base class.
9727 Small cleanups in GstPipeline.
9729 2005-03-26 David Schleef <ds@schleef.org>
9731 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9732 is broken and should be implemented in a different library.
9733 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9734 * gst/gst.h: remove gstcpu.h
9735 * gst/gstcpu.c: remove
9736 * gst/gstcpu.h: remove
9737 * gst/Makefile.am.future: Remove this file. It's ancient.
9739 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9741 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9742 (gst_bin_send_event):
9743 Add default event/set_manager handlers. The set_manager handler
9744 takes care that the manager is distributed over kids that were
9745 already in the bin before the manager was set. The event handler
9746 is a utility virtual function that sends the event over all sinks,
9747 so that gst_element_send_event (bin, event); has the expected
9749 * gst/gstpad.c: (gst_pad_event_default):
9750 Re-install default event handling for discontinuities, so that
9751 seeking works without requiring hacks in applications or extra
9753 * gst/gstpipeline.c: (gst_pipeline_class_init),
9754 (gst_pipeline_send_event):
9755 Half hack, half utility: set a pipeline to PAUSED for seek events,
9756 since that is the only way we can guarantee a/v sync. Means that
9757 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9758 and it "just works".
9760 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9762 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9763 Lock/unlock mismatch.
9765 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9767 * docs/faq/gst-uninstalled:
9768 add gst-plugins-base
9769 * docs/gst/Makefile.am:
9770 don't error out until docs are fixed
9771 * docs/gst/gstreamer.types:
9774 2005-03-22 Wim Taymans <wim@fluendo.com>
9776 * check/Makefile.am:
9777 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9778 * gst/gststructure.c: (gst_structure_set_valist),
9779 (gst_structure_copy_conditional):
9780 Activated more tests.
9782 Added G_TYPE_POINTER to GstStructure.
9785 2005-03-22 Wim Taymans <wim@fluendo.com>
9787 * docs/design/part-TODO.txt:
9788 * docs/design/part-events.txt:
9789 * docs/design/part-gstbin.txt:
9790 * docs/design/part-gstbus.txt:
9791 * docs/design/part-gstpipeline.txt:
9792 * docs/design/part-messages.txt:
9797 2005-03-21 Wim Taymans <wim@fluendo.com>
9799 * gst/gstbus.c: (gst_bus_post):
9800 Fix copy-and-paste error.
9802 2005-03-21 Wim Taymans <wim@fluendo.com>
9804 * check/Makefile.am:
9806 * gst/elements/Makefile.am:
9807 * gst/elements/gstelements.c:
9808 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9809 (gst_fakesink_event), (gst_fakesink_chain):
9810 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9811 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9812 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9813 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9814 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9815 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9816 (gst_fakesrc_loop), (gst_fakesrc_activate),
9817 (gst_fakesrc_change_state):
9818 * gst/elements/gstfakesrc.h:
9819 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9820 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9821 (gst_filesrc_open_file), (gst_filesrc_loop),
9822 (gst_filesrc_activate), (gst_filesrc_change_state),
9823 (filesrc_find_peek), (filesrc_find_suggest),
9824 (gst_filesrc_type_find):
9825 * gst/elements/gstidentity.c: (gst_identity_finalize),
9826 (gst_identity_class_init), (gst_identity_init),
9827 (gst_identity_proxy_getcaps), (identity_queue_push),
9828 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9829 (gst_identity_getrange), (gst_identity_chain),
9830 (gst_identity_sink_loop), (gst_identity_src_loop),
9831 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9832 (gst_identity_set_property), (gst_identity_get_property),
9833 (gst_identity_change_state):
9834 * gst/elements/gstidentity.h:
9835 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9836 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9837 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9838 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9839 (gst_tee_sink_activate):
9840 * gst/elements/gsttee.h:
9841 * gst/gst.c: (gst_register_core_elements), (init_post):
9843 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9844 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9845 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9846 (gst_bin_change_state):
9848 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9849 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9850 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9851 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9852 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9853 (bus_watch_callback), (bus_watch_destroy),
9854 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9855 (poll_timeout), (gst_bus_poll):
9859 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9860 (gst_element_post_message), (gst_element_message_full),
9861 (gst_element_get_state_func), (gst_element_get_state),
9862 (gst_element_abort_state), (gst_element_commit_state),
9863 (gst_element_lost_state), (gst_element_set_state),
9864 (gst_element_pads_activate), (gst_element_change_state),
9865 (gst_element_dispose), (gst_element_set_manager_func),
9866 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9867 (gst_element_set_manager), (gst_element_get_manager),
9868 (gst_element_set_bus), (gst_element_get_bus),
9869 (gst_element_set_scheduler), (gst_element_get_scheduler):
9871 * gst/gstevent.c: (gst_event_new_segment_seek),
9872 (gst_event_new_flush):
9874 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9875 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9876 (gst_message_new_eos), (gst_message_new_error),
9877 (gst_message_new_warning), (gst_message_new_tag),
9878 (gst_message_new_state_changed), (gst_message_new_application),
9879 (gst_message_get_structure), (gst_message_parse_tag),
9880 (gst_message_parse_state_changed), (gst_message_parse_error),
9881 (gst_message_parse_warning):
9883 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9884 (gst_real_pad_set_property), (gst_pad_set_active),
9885 (gst_pad_is_active), (gst_pad_set_blocked_async),
9886 (gst_pad_set_blocked), (gst_pad_is_blocked),
9887 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9888 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9889 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9890 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9891 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9892 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9893 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9894 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9895 (gst_pad_set_caps), (gst_pad_configure_sink),
9896 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9897 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9898 (gst_real_pad_dispose), (gst_real_pad_finalize),
9899 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9900 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9901 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9903 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9904 (pipeline_bus_handler), (gst_pipeline_change_state),
9905 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9906 * gst/gstpipeline.h:
9908 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9909 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9910 (gst_queue_link_src), (gst_queue_bufferalloc),
9911 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9912 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9913 (gst_queue_loop), (gst_queue_handle_src_event),
9914 (gst_queue_handle_src_query), (gst_queue_src_activate),
9915 (gst_queue_change_state):
9917 * gst/gstscheduler.c: (gst_scheduler_init),
9918 (gst_scheduler_dispose), (gst_scheduler_create_task),
9919 (gst_scheduler_factory_create):
9920 * gst/gstscheduler.h:
9921 * gst/gststructure.c: (gst_structure_get_type),
9922 (gst_structure_copy_conditional):
9923 * gst/gststructure.h:
9924 * gst/gsttaginterface.h:
9925 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9926 (gst_task_init), (gst_task_dispose), (gst_task_create),
9927 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9933 * gst/schedulers/Makefile.am:
9934 * gst/schedulers/cothreads_compat.h:
9935 * gst/schedulers/entryscheduler.c:
9936 * gst/schedulers/faircothreads.c:
9937 * gst/schedulers/faircothreads.h:
9938 * gst/schedulers/fairscheduler.c:
9939 * gst/schedulers/gstbasicscheduler.c:
9940 * gst/schedulers/gstoptimalscheduler.c:
9941 * gst/schedulers/gthread-cothreads.h:
9942 * gst/schedulers/threadscheduler.c:
9943 (gst_thread_scheduler_task_get_type),
9944 (gst_thread_scheduler_task_class_init),
9945 (gst_thread_scheduler_task_init),
9946 (gst_thread_scheduler_task_start),
9947 (gst_thread_scheduler_task_stop),
9948 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9949 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9950 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9951 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9953 * libs/gst/Makefile.am:
9954 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9955 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9956 (gst_file_pad_parent_set):
9957 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9958 (gst_dp_event_from_packet):
9959 * tests/complexity.c: (main):
9960 * tests/mass_elements.c: (main):
9961 * testsuite/states/locked.c: (message_received), (main):
9962 * testsuite/states/parent.c: (main):
9963 * tools/gst-inspect.c: (print_element_flag_info),
9964 (print_implementation_info), (print_pad_info):
9965 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9967 * tools/gst-md5sum.c: (event_loop), (main):
9968 * tools/gst-typefind.c: (main):
9969 * tools/gst-xmlinspect.c: (print_element_info):
9971 Added GstBus for mainloop integration.
9972 Added GstMessage for sending notifications on the bus.
9973 Added GstTask as an abstraction for pipeline entry points.
9976 Simplified GstQueue for multithreaded core.
9977 Made _link threadsafe, removed old capsnego.
9978 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9979 Added pad blocking functions.
9980 Reworked scheduling functions in GstPad to prepare for
9981 scheduling updates soon.
9982 Moved events out of data stream.
9983 Simplified GstEvent types.
9984 Added return values to push/pull.
9985 Removed clocking from GstElement.
9986 Added prototypes for state change function for next merge.
9987 Removed iterate from bins and state change management.
9988 Fixed some elements, disabled others for now.
9989 Fixed -inspect and -launch.
9990 Added check for GstBus.
9992 2005-03-10 Wim Taymans <wim@fluendo.com>
9994 * docs/design/part-MT-refcounting.txt:
9995 * docs/design/part-clocks.txt:
9996 * docs/design/part-gstelement.txt:
9997 * docs/design/part-gstobject.txt:
9998 * docs/design/part-standards.txt:
9999 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10000 (gst_bin_remove_func), (gst_bin_remove):
10004 * testsuite/clock/clock1.c: (main):
10005 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10007 * testsuite/dlopen/loadgst.c: (do_test):
10008 * testsuite/refcounting/bin.c: (add_remove_test1),
10009 (add_remove_test2), (main):
10010 * testsuite/refcounting/element.c: (main):
10011 * testsuite/refcounting/element_pad.c: (main):
10012 * testsuite/refcounting/pad.c: (main):
10013 * tools/gst-launch.c: (sigint_handler_sighandler):
10014 * tools/gst-typefind.c: (main):
10016 Added doc about clock.
10017 removed gst_bin_iterate_recurse_up(), marked methods
10019 Fix more testsuites.
10021 2005-03-09 Wim Taymans <wim@fluendo.com>
10023 * gst/gstpad.c: (gst_pad_get_direction),
10024 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10025 (gst_pad_collect_valist):
10026 * testsuite/bins/interface.c: (main):
10027 * testsuite/caps/audioscale.c: (test_caps):
10028 * testsuite/caps/caps.c: (test1), (test2), (test3):
10029 * testsuite/caps/deserialize.c: (main):
10030 * testsuite/caps/enumcaps.c: (main):
10031 * testsuite/caps/filtercaps.c: (main):
10032 * testsuite/caps/intersect2.c: (main):
10033 * testsuite/caps/random.c: (main):
10034 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10035 * testsuite/caps/sets.c: (check_caps):
10036 * testsuite/caps/simplify.c: (check_caps), (main):
10037 * testsuite/caps/subtract.c: (check_caps):
10038 Fix _pad_get_direction wrt ghostpads.
10039 Fix caps testsuite.
10041 2005-03-09 Wim Taymans <wim@fluendo.com>
10043 * check/Makefile.am:
10044 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10045 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10046 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10047 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10048 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10049 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10050 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10051 (bin_element_is_sink), (gst_bin_iterate_sinks),
10052 (gst_bin_iterate_all_by_interface):
10054 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10055 (gst_element_change_state), (gst_element_dispose),
10056 (gst_element_finalize), (gst_element_set_loop_function):
10057 * gst/gstelement.h:
10058 * gst/gstiterator.c: (find_custom_fold_func):
10059 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10060 (gst_pad_collectv), (gst_pad_collect_valist),
10061 (gst_pad_template_new):
10062 * gst/gstpipeline.c: (gst_pipeline_class_init),
10063 (gst_pipeline_dispose), (gst_pipeline_set_property),
10064 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10065 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10066 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10068 * gst/schedulers/entryscheduler.c:
10069 * gst/schedulers/gstbasicscheduler.c:
10070 (gst_basic_scheduler_cothreaded_chain),
10071 (gst_basic_scheduler_chain_add_element):
10072 * testsuite/bins/interface.c: (main):
10074 Added GstSystemClock test.
10075 Implemented clock distribution code in GstBin.
10076 Implemented iterate sinks method for future use.
10077 Rearranged gstelement.h
10078 Fix GstIterator comparison bug.
10079 Moved some code to GstPipeline, mostly clocking related.
10081 2005-03-09 Wim Taymans <wim@fluendo.com>
10084 * gst/gst_private.h:
10085 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10086 (gst_bin_remove_func), (gst_bin_remove),
10087 (gst_bin_get_by_name_recurse_up):
10088 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10089 (gst_clock_id_compare_func), (gst_clock_id_wait),
10090 (gst_clock_id_wait_async), (gst_clock_init),
10091 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10092 * gst/gstelement.h:
10093 * gst/gstinfo.c: (_gst_debug_init):
10095 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10096 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10098 Bump version number, we're now 0.9.0
10099 Add future debugging category.
10100 Fix NULL _unref() in _get_by_name_recurse_up
10101 Rearrange gstpad.h.
10104 2005-03-08 Wim Taymans <wim@fluendo.com>
10106 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10107 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10108 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10109 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10110 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10111 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10112 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10113 * gst/elements/gstidentity.c: (gst_identity_class_init):
10114 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10115 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10116 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10117 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10118 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10120 * gst/gstelement.c: (gst_element_class_init),
10121 (gst_element_base_class_init), (gst_element_init),
10122 (gst_element_get_random_pad), (gst_element_wait_state_change),
10123 (gst_element_change_state), (gst_element_dispose),
10124 (gst_element_finalize), (gst_element_set_loop_function):
10125 * gst/gstelement.h:
10126 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10127 * gst/gstthread.c: (gst_thread_class_init),
10128 (gst_thread_release_children_locks), (gst_thread_change_state):
10129 * gst/schedulers/gstbasicscheduler.c:
10130 (gst_basic_scheduler_loopfunc_wrapper),
10131 (gst_basic_scheduler_chain_wrapper),
10132 (gst_basic_scheduler_src_wrapper),
10133 (gst_basic_scheduler_remove_element):
10134 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10135 Remove threadsafe properties. Fix elements because GObject
10136 complains when installing a property before declaring a
10137 set/get_property handler.
10138 Rearrange gstelement.h file, use STATE macros for state locks.
10139 Free mutexes in the finalize method instead of dispose.
10141 2005-03-08 Wim Taymans <wim@fluendo.com>
10143 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10144 * gst/gstthread.c: (gst_thread_release_children_locks):
10145 Added parentage check.
10146 Fix build og GstThread again.
10148 2005-03-08 Wim Taymans <wim@fluendo.com>
10150 * docs/design/part-MT-refcounting.txt:
10151 * docs/design/part-conventions.txt:
10152 * docs/design/part-gstobject.txt:
10153 * docs/design/part-relations.txt:
10154 * docs/design/part-standards.txt:
10155 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10156 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10157 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10158 (gst_bin_iterate_all_by_interface):
10161 * gst/gstelement.c: (gst_element_class_init),
10162 (gst_element_change_state), (gst_element_set_loop_function):
10163 * gst/gstelement.h:
10164 * gst/gstiterator.c:
10165 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10166 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10167 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10168 (gst_object_set_parent), (gst_object_unparent),
10169 (gst_object_check_uniqueness):
10171 Docs updates, clean up some headers.
10173 2005-03-07 Wim Taymans <wim@fluendo.com>
10175 * check/.cvsignore:
10176 * check/Makefile.am:
10177 * check/gst-libs/.cvsignore:
10178 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10179 * check/gst/.cvsignore:
10180 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10181 (START_TEST), (gstbus_suite), (main):
10182 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10183 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10184 (gst_data_suite), (main):
10185 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10186 (add_fold_func), (gstiterator_suite), (main):
10187 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10188 (thread_name_object), (thread_name_object_default),
10189 (gst_object_name_compare), (gst_object_suite), (main):
10190 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10191 (gst_pad_suite), (main):
10192 * check/gstcheck.c: (gst_check_log_message_func),
10193 (gst_check_log_critical_func), (gst_check_init):
10194 * check/gstcheck.h:
10195 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10196 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10199 2005-03-07 Wim Taymans <wim@fluendo.com>
10201 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10202 (gst_list_iterator_next), (gst_list_iterator_resync),
10203 (gst_list_iterator_free), (gst_iterator_new_list),
10204 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10205 (gst_iterator_free), (gst_iterator_push), (filter_next),
10206 (filter_resync), (filter_uninit), (filter_free),
10207 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10208 (gst_iterator_foreach), (find_custom_fold_func),
10209 (gst_iterator_find_custom):
10210 * gst/gstiterator.h:
10211 Added missing files.
10213 2005-03-07 Wim Taymans <wim@fluendo.com>
10217 * docs/design/part-MT-refcounting.txt:
10218 * docs/design/part-conventions.txt:
10219 * docs/design/part-gstobject.txt:
10220 * docs/design/part-relations.txt:
10221 * examples/mixer/mixer.c: (main):
10222 * examples/thread/thread.c: (eos), (main):
10224 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10225 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10226 (gst_spider_plug_from_srcpad):
10227 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10228 (gst_spider_identity_change_state),
10229 (gst_spider_identity_sink_loop_type_finding):
10230 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10231 * gst/elements/gstidentity.c: (gst_identity_init):
10232 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10233 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10234 * gst/elements/gsttypefindelement.c: (free_entry):
10237 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10238 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10239 (gst_bin_set_index), (gst_bin_set_element_sched),
10240 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10241 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10242 (gst_bin_iterate_elements), (iterate_child_recurse),
10243 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10244 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10245 (compare_interface), (gst_bin_get_by_interface),
10246 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10248 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10249 (gst_buffer_default_free), (gst_buffer_default_copy),
10250 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10251 (gst_buffer_create_sub):
10253 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10254 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10255 (gst_caps_unref), (gst_static_caps_get),
10256 (gst_caps_remove_and_get_structure), (gst_caps_append),
10257 (gst_caps_append_structure), (gst_caps_remove_structure),
10258 (gst_caps_copy_nth), (gst_caps_set_simple),
10259 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10260 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10261 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10262 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10263 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10264 (gst_caps_structure_figure_out_union),
10265 (gst_caps_switch_structures), (gst_caps_do_simplify),
10266 (gst_caps_replace), (gst_caps_from_string),
10267 (gst_caps_copy_conditional):
10269 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10270 (_gst_clock_id_free), (gst_clock_id_unref),
10271 (gst_clock_id_compare_func), (gst_clock_id_wait),
10272 (gst_clock_id_wait_async), (gst_clock_class_init),
10273 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10274 (gst_clock_get_time), (gst_clock_set_time_adjust),
10275 (gst_clock_set_property), (gst_clock_get_property):
10278 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10279 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10281 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10282 (gst_element_requires_clock), (gst_element_provides_clock),
10283 (gst_element_set_clock), (gst_element_clock_wait),
10284 (gst_element_wait), (gst_element_set_time_delay),
10285 (gst_element_is_indexable), (gst_element_add_pad),
10286 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10287 (pad_compare_name), (gst_element_get_static_pad),
10288 (gst_element_request_pad), (gst_element_get_request_pad),
10289 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10290 (gst_element_class_get_pad_template_list),
10291 (gst_element_class_get_pad_template), (gst_element_error_func),
10292 (gst_element_get_random_pad), (gst_element_get_event_masks),
10293 (gst_element_send_event), (gst_element_seek),
10294 (gst_element_get_query_types), (gst_element_query),
10295 (gst_element_get_formats), (gst_element_convert),
10296 (gst_element_is_locked_state), (gst_element_set_locked_state),
10297 (gst_element_sync_state_with_parent), (gst_element_change_state),
10298 (gst_element_finalize), (gst_element_yield),
10299 (gst_element_interrupt), (gst_element_set_scheduler),
10300 (gst_element_get_scheduler), (gst_element_set_loop_function):
10301 * gst/gstelement.h:
10303 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10304 (gst_format_get_by_nick), (gst_format_get_details),
10305 (gst_format_iterate_definitions):
10307 * gst/gstindex.c: (gst_index_gtype_resolver):
10310 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10311 (gst_mem_chunk_free):
10312 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10313 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10314 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10315 (gst_object_dispatch_properties_changed),
10316 (gst_object_set_name_default), (gst_object_set_name),
10317 (gst_object_get_name), (gst_object_set_name_prefix),
10318 (gst_object_get_name_prefix), (gst_object_set_parent),
10319 (gst_object_get_parent), (gst_object_unparent),
10320 (gst_object_check_uniqueness), (gst_object_save_thyself),
10321 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10322 (gst_object_set_property), (gst_object_get_property),
10323 (gst_object_get_path_string):
10325 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10326 (gst_real_pad_init), (gst_real_pad_get_property),
10327 (gst_pad_custom_new), (gst_pad_get_direction),
10328 (gst_pad_set_active), (gst_pad_is_active),
10329 (gst_pad_set_event_function), (gst_pad_is_linked),
10330 (gst_pad_link_free), (gst_pad_link_intersect),
10331 (gst_pad_link_fixate), (gst_pad_set_caps),
10332 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10333 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10334 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10335 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10336 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10337 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10338 (gst_pad_realize), (gst_pad_get_allowed_caps),
10339 (gst_real_pad_dispose), (gst_real_pad_finalize),
10340 (gst_pad_collectv), (gst_pad_collect_valist),
10341 (gst_pad_template_dispose), (gst_pad_template_new),
10342 (gst_pad_get_internal_links):
10344 * gst/gstpipeline.c: (gst_pipeline_dispose),
10345 (gst_pipeline_change_state):
10346 * gst/gstpipeline.h:
10348 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10349 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10350 * gst/gstpluginfeature.h:
10351 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10352 * gst/gstquery.c: (_gst_query_type_initialize),
10353 (gst_query_type_register), (gst_query_type_get_by_nick),
10354 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10356 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10357 * gst/gstscheduler.c: (gst_scheduler_add_element),
10358 (gst_scheduler_factory_create):
10359 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10360 (gst_structure_free), (gst_structure_set_name),
10361 (gst_structure_id_set_value), (gst_structure_set_value),
10362 (gst_structure_set_valist), (gst_structure_remove_field),
10363 (gst_structure_remove_fields),
10364 (gst_structure_remove_fields_valist),
10365 (gst_structure_remove_all_fields), (gst_structure_foreach),
10366 (gst_structure_map_in_place),
10367 (gst_caps_structure_fixate_field_nearest_int),
10368 (gst_caps_structure_fixate_field_nearest_double):
10369 * gst/gststructure.h:
10370 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10371 (gst_system_clock_init), (gst_system_clock_dispose),
10372 (gst_system_clock_async_thread),
10373 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10374 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10375 * gst/gstsystemclock.h:
10376 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10377 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10378 * gst/gsttaginterface.c:
10379 * gst/gstthread.c: (gst_thread_dispose),
10380 (gst_thread_release_children_locks), (gst_thread_change_state),
10381 (gst_thread_main_loop):
10382 * gst/gsttrashstack.h:
10383 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10385 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10386 (gst_element_request_pad), (gst_element_get_pad_from_template),
10387 (gst_element_request_compatible_pad),
10388 (gst_element_get_compatible_pad_filtered),
10389 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10390 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10391 (gst_element_link_many), (gst_element_link),
10392 (gst_element_link_pads), (gst_element_unlink_pads),
10393 (gst_element_unlink_many), (gst_element_unlink),
10394 (gst_pad_can_link_filtered), (gst_pad_can_link),
10395 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10396 (gst_object_default_error), (gst_bin_add_many),
10397 (gst_bin_remove_many), (gst_element_populate_std_props),
10398 (gst_element_class_install_std_props), (gst_buffer_merge),
10399 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10400 (link_fold_func), (gst_pad_proxy_setcaps):
10402 * gst/gstvalue.c: (gst_value_deserialize_string):
10403 * gst/parse/grammar.y:
10404 * gst/schedulers/gstbasicscheduler.c:
10405 (gst_basic_scheduler_cothreaded_chain),
10406 (gst_basic_scheduler_chain_recursive_add),
10407 (gst_basic_scheduler_pad_link):
10408 * gst/schedulers/gstoptimalscheduler.c:
10409 (get_group_schedule_function),
10410 (gst_opt_scheduler_state_transition),
10411 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10412 * libs/gst/bytestream/bytestream.c:
10413 * libs/gst/dataprotocol/dataprotocol.c:
10414 (gst_dp_header_from_buffer):
10417 * tests/threadstate/threadstate2.c: (eos):
10418 * tools/gst-compprep.c: (main):
10419 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10420 (print_pad_info), (print_children_info):
10421 * tools/gst-launch.c: (idle_func), (main):
10422 * tools/gst-md5sum.c: (idle_func), (main):
10423 * tools/gst-xmlinspect.c: (print_element_info):
10424 First THREADED backport attempt, focusing on adding locks and
10425 making sure the API is threadsafe. Needs more work. More docs
10428 2005-02-24 Andy Wingo <wingo@pobox.com>
10430 * tests/bench-complexity.scm:
10431 * tests/complexity.gnuplot: New files, good for running complexity
10434 * tests/Makefile.am:
10435 * tests/complexity.c: New test, sets up N elements, at each level
10436 teeing into M streams per element. Eeeenteresting.
10438 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10439 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10440 running bench-mass_elements.scm.
10442 * tests/bench-mass_elements.scm: New script, runs mass_elements
10443 for various numbers of identities, outputting the results to a
10444 file. Requires guile 1.6. Just for testing.
10446 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10448 * gst/schedulers/fairscheduler.c:
10449 compile with debug disabled
10451 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10454 hunting season on 0.9 is now OPEN