1 2005-11-09 Wim Taymans <wim@fluendo.com>
3 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
4 (gst_iterator_find_custom):
8 2005-11-09 Wim Taymans <wim@fluendo.com>
11 Document another field.
17 2005-11-09 Wim Taymans <wim@fluendo.com>
22 2005-11-09 Wim Taymans <wim@fluendo.com>
24 * docs/gst/gstreamer-sections.txt:
25 Added some new macros.
32 2005-11-09 Wim Taymans <wim@fluendo.com>
34 * docs/design/part-TODO.txt:
35 Some more items for the TODO
41 2005-11-09 Andy Wingo <wingo@pobox.com>
43 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
44 to work on something else now tho...
46 * gst/base/gstadapter.c: More adapter docs.
48 * gst/elements/gstfilesink.c (gst_file_sink_start)
49 (gst_file_sink_stop): New functions, replace the state change
51 (gst_file_sink_class_init): Hook up the start and stop functions.
52 (gst_file_sink_base_init): Don't set the state change handler any
53 more. It was a bit ugly too, being set from here...
54 (gst_file_sink_get_property, gst_file_sink_set_property):
56 (gst_file_sink_set_location): More robust check that doesn't call
59 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
61 * gst/base/gstbasetransform.c: (gst_base_transform_event):
62 Hold STREAM_LOCK while pushing newsegment or tag events as well.
64 2005-11-08 Wim Taymans <wim@fluendo.com>
66 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
67 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
68 (gst_base_sink_chain), (gst_base_sink_change_state):
69 * gst/base/gstbasesink.h:
70 * gst/base/gstbasesrc.h:
73 Avoid excessive typechecking in macros.
75 * gst/gstminiobject.c: (gst_mini_object_get_type),
76 (gst_mini_object_init), (gst_mini_object_new),
77 (gst_mini_object_free):
78 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
79 (gst_object_finalize):
80 Remove cruft code, optimize alloc_trace.
82 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
84 * docs/faq/gst-uninstalled:
85 fix up PS1 for systems that try to reset it
87 2005-11-07 Wim Taymans <wim@fluendo.com>
89 * gst/base/gstbasesrc.c: (gst_base_src_init),
90 (gst_base_src_get_range):
91 Set the segment_end to -1 initially. Fixed typefind.
93 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
95 * gst/base/gstadapter.c:
96 Debug category should be 'adapter', not 'GstAdapter'.
98 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
99 (gst_collectpads_class_init), (gst_collectpads_init),
100 (gst_collectpads_peek), (gst_collectpads_pop),
101 (gst_collectpads_event), (gst_collectpads_chain):
102 Add debug category and some debugging output. Use boilerplate
103 macros. Remove some extraneous words from docs.
105 2005-11-05 Andy Wingo <wingo@pobox.com>
107 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
110 2005-11-04 Stefan Kost <ensonic@users.sf.net>
112 * docs/gst/gstreamer-sections.txt:
115 * gst/gstminiobject.h:
120 2005-11-04 Wim Taymans <wim@fluendo.com>
122 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
123 Small update to stop at the configured segment_end
126 2005-11-04 Stefan Kost <ensonic@users.sf.net>
132 2005-11-04 Edward Hervey <edward@fluendo.com>
134 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
135 Check if we are doing a segment seek and have arrived at the
138 2005-11-04 Wim Taymans <wim@fluendo.com>
140 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
141 Don't leak a mutex unlock in case of an error.
146 2005-11-04 Wim Taymans <wim@fluendo.com>
148 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
150 Get the context to wake up only once.
152 2005-11-03 Wim Taymans <wim@fluendo.com>
154 * check/states/sinks.c: (GST_START_TEST):
155 Uncomment fixed check.
157 * docs/design/part-TODO.txt:
160 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
161 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
162 (gst_base_sink_get_position):
163 If we are going to PLAYING, post the right pending state
164 when we post the intermediate paused message.
166 * gst/gstelement.c: (gst_element_continue_state),
167 (gst_element_set_state_func), (gst_element_change_state):
168 Don't post state changes that were between the same state
171 2005-11-03 Stefan Kost <ensonic@users.sf.net>
173 * docs/gst/gstreamer-sections.txt:
176 * gst/gstminiobject.h:
179 more docs and doc style fixes
181 2005-11-03 Stefan Kost <ensonic@users.sf.net>
183 * docs/gst/gstreamer-sections.txt:
185 * gst/gstminiobject.c:
188 2005-11-03 Andy Wingo <wingo@pobox.com>
190 * check/states/sinks.c (test_livesrc_sink): Add checks that the
191 state-changed messages actually have the right order and the right
194 2005-11-03 Wim Taymans <wim@fluendo.com>
196 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
197 Added some more checks. Specifically the case where NO_PREROLL
198 elements are in the pipeline.
200 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
201 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
202 (gst_base_sink_get_position):
203 Post READY->PAUSED state change messages too.
204 Fix bug where VOID was posted as pending state...
206 * gst/gstbin.c: (gst_bin_recalc_state):
207 use _element_continue_state() to continue the state change.
209 * gst/gstelement.c: (gst_element_continue_state),
210 (gst_element_commit_state), (gst_element_set_state_func),
211 (gst_element_change_state), (gst_element_change_state_func):
212 Lots of state change cleanups, assign the STATE_RETURN in
213 a new continue_state() function that also propagates the
214 last return value from a state change to the app.
215 Update some debug statements with proper category.
217 2005-11-03 Wim Taymans <wim@fluendo.com>
219 * docs/design/part-events.txt:
220 * docs/design/part-gstpipeline.txt:
221 * docs/design/part-messages.txt:
222 * docs/design/part-overview.txt:
223 * docs/design/part-seeking.txt:
224 * docs/design/part-states.txt:
225 * docs/design/part-trickmodes.txt:
226 * docs/manual/advanced-position.xml:
230 People think !! is ugly, this looks better.
232 * gst/gstpad.c: (gst_pad_set_blocked_async):
233 Remove !! since it's fixed elsewhere now.
235 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
237 * gst/gstminiobject.h:
239 Add !! to _FLAG_IS_SET macros to make the result boolean.
241 2005-11-03 Edward Hervey <edward@fluendo.com>
243 * gst/gstpad.c: (gst_pad_set_blocked_async):
244 comparing a flag and a gboolean rarely returns coherent results...
245 Added two characters (!!) to make that work correctly.
247 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
249 * gst/gstbus.c: (gst_bus_class_init):
252 * gst/gstqueue.c: (gst_queue_loop):
253 Don't assume a miniobject that isn't a buffer is an
254 event (it could be that there is a refcounting
255 problem somewhere and the pointer is stale and
256 refers to an already destroyed miniobject).
258 2005-11-03 Julien MOUTTE <julien@moutte.net>
260 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
262 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
264 * docs/manual/advanced-position.xml:
265 Update seek example and explanations to current 0.9 API.
267 * gst/elements/gsttypefindelement.c:
268 (gst_type_find_element_activate):
269 Remove FIXME comment now that the found caps
272 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
274 * gst/gstregistryxml.c: (load_feature):
275 Add another GST_STR_NULL instance
277 2005-11-02 Edward Hervey <edward@fluendo.com>
279 * gst/gstpad.c: (handle_pad_block):
280 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
282 2005-11-02 Wim Taymans <wim@fluendo.com>
287 * gst/gstelement.c: (gst_element_commit_state):
291 Mention that the returned element is reffed in the docs.
293 2005-11-02 Wim Taymans <wim@fluendo.com>
295 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
296 (gst_pad_push), (gst_pad_push_event):
297 Unlock blocked pads when they are flushed.
299 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
302 * docs/gst/gstreamer-sections.txt:
305 * gst/gstregistry.c: (gst_registry_scan_path_level):
306 fix for a nasty little missed situation where an installed plug-in
307 which was in the cache did not get overridden by an uninstalled one
308 which was earlier in the plugin path because the newly created plugin
309 for the uninstalled one (not in the registry) didn't get its
310 ->registered set to TRUE
312 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
314 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
315 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
316 (gst_collectpads_is_active), (gst_collectpads_collect),
317 (gst_collectpads_collect_range), (gst_collectpads_start),
318 (gst_collectpads_stop), (gst_collectpads_peek),
319 (gst_collectpads_pop), (gst_collectpads_available),
320 (gst_collectpads_read), (gst_collectpads_flush):
321 Guard public API with assertions.
324 Fix docs for gst_pad_set_link_function().
326 2005-11-02 Johan Dahlin <johan@gnome.org>
328 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
329 Unref found_caps after we used it.
331 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
333 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
334 Don't try to ref NULL.
336 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
338 * win32/common/config.h.in:
339 provide a GST_FUNCTION that just gives a string for now
341 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
343 * win32/common/gstenumtypes.c: (register_gst_object_flags),
344 (gst_object_flags_get_type), (register_gst_bin_flags),
345 (gst_bin_flags_get_type), (register_gst_buffer_flag),
346 (gst_buffer_flag_get_type), (register_gst_bus_flags),
347 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
348 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
349 (gst_clock_return_get_type), (register_gst_clock_entry_type),
350 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
351 (gst_clock_flags_get_type), (register_gst_state),
352 (gst_state_get_type), (register_gst_state_change_return),
353 (gst_state_change_return_get_type), (register_gst_state_change),
354 (gst_state_change_get_type), (register_gst_element_flags),
355 (gst_element_flags_get_type), (register_gst_core_error),
356 (gst_core_error_get_type), (register_gst_library_error),
357 (gst_library_error_get_type), (register_gst_resource_error),
358 (gst_resource_error_get_type), (register_gst_stream_error),
359 (gst_stream_error_get_type), (register_gst_event_type),
360 (gst_event_type_get_type), (register_gst_seek_type),
361 (gst_seek_type_get_type), (register_gst_seek_flags),
362 (gst_seek_flags_get_type), (register_gst_format),
363 (gst_format_get_type), (register_gst_index_certainty),
364 (gst_index_certainty_get_type), (register_gst_index_entry_type),
365 (gst_index_entry_type_get_type),
366 (register_gst_index_lookup_method),
367 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
368 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
369 (gst_index_resolver_method_get_type), (register_gst_index_flags),
370 (gst_index_flags_get_type), (register_gst_debug_level),
371 (gst_debug_level_get_type), (register_gst_debug_color_flags),
372 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
373 (gst_iterator_result_get_type), (register_gst_iterator_item),
374 (gst_iterator_item_get_type), (register_gst_message_type),
375 (gst_message_type_get_type), (register_gst_mini_object_flags),
376 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
377 (gst_pad_link_return_get_type), (register_gst_flow_return),
378 (gst_flow_return_get_type), (register_gst_activate_mode),
379 (gst_activate_mode_get_type), (register_gst_pad_direction),
380 (gst_pad_direction_get_type), (register_gst_pad_flags),
381 (gst_pad_flags_get_type), (register_gst_pad_presence),
382 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
383 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
384 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
385 (gst_plugin_error_get_type), (register_gst_plugin_flags),
386 (gst_plugin_flags_get_type), (register_gst_rank),
387 (gst_rank_get_type), (register_gst_query_type),
388 (gst_query_type_get_type), (register_gst_tag_merge_mode),
389 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
390 (gst_tag_flag_get_type), (register_gst_task_state),
391 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
392 (gst_alloc_trace_flags_get_type),
393 (register_gst_type_find_probability),
394 (gst_type_find_probability_get_type), (register_gst_uri_type),
395 (gst_uri_type_get_type), (register_gst_parse_error),
396 (gst_parse_error_get_type):
397 * win32/common/gstversion.h:
400 2005-11-01 Luca Ognibene <luogni@tin.it>
403 fix docs. popt is dead, long live GOption.
405 2005-10-31 Wim Taymans <wim@fluendo.com>
410 2005-10-31 Andy Wingo <wingo@pobox.com>
414 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
416 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
417 need to serialize property notifications on GLib 2.8. GLib 2.6 has
418 the possibility of deadlocks here if code calling notify() or
419 set() has a lock that can be taken in another notify handler (ABBA
420 with class lock and e.g. python GIL state lock).
422 2005-10-28 Julien MOUTTE <julien@moutte.net>
424 * gst/gstbus.c: Doc updates.
426 2005-10-28 Wim Taymans <wim@fluendo.com>
428 * docs/design/part-TODO.txt:
430 * gst/gstsystemclock.c:
431 * gst/gstsystemclock.h:
434 2005-10-28 Edward Hervey <edward@fluendo.com>
436 * docs/gst/gstreamer-docs.sgml:
437 * docs/gst/gstreamer-sections.txt:
438 the GstURIType documentation page is private, it only defines GstURIType
439 which should be defined in the GstURIHandler page
441 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
443 * gst/gstbin.c: (gst_bin_class_init):
446 Documentation updates.
448 2005-10-28 Wim Taymans <wim@fluendo.com>
450 * docs/gst/gstreamer-sections.txt:
453 Documented the clocks.
455 2005-10-28 Stefan Kost <ensonic@users.sf.net>
457 * docs/gst/gstreamer-sections.txt:
458 move some macros to private sections
459 * gst/gstminiobject.c:
460 * gst/gstminiobject.h:
461 add descriptions provided by ds and some more
463 mark macro as to be removed
465 2005-10-28 Wim Taymans <wim@fluendo.com>
467 * docs/design/part-TODO.txt:
470 * gst/gstiterator.c: (gst_iterator_fold),
471 (gst_iterator_find_custom):
475 2005-10-28 Wim Taymans <wim@fluendo.com>
477 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
478 (gst_base_transform_init):
481 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
482 An EOS event marks the queue as completely filled.
484 2005-10-27 Wim Taymans <wim@fluendo.com>
486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
487 (gst_base_sink_do_sync), (gst_base_sink_get_position):
490 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
491 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
492 (gst_base_transform_event), (gst_base_transform_getrange),
493 (gst_base_transform_chain):
494 * gst/base/gstbasetransform.h:
496 Protect transform and concurrent buffer alloc with a new lock.
497 Try not to break ABI/API.
499 2005-10-27 Wim Taymans <wim@fluendo.com>
501 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
502 (gst_base_src_init), (gst_base_src_query),
503 (gst_base_src_default_newsegment),
504 (gst_base_src_configure_segment), (gst_base_src_do_seek),
505 (gst_base_src_send_event), (gst_base_src_event_handler),
506 (gst_base_src_pad_get_range), (gst_base_src_loop),
507 (gst_base_src_unlock), (gst_base_src_default_negotiate),
508 (gst_base_src_start), (gst_base_src_deactivate),
509 (gst_base_src_activate_push), (gst_base_src_change_state):
510 Move some stuff around and cleanup things.
512 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
514 * gst/base/gstbasesrc.c: (gst_base_src_query):
515 Add missing break statements.
517 2005-10-27 Wim Taymans <wim@fluendo.com>
519 * check/gst/gstbin.c: (GST_START_TEST):
520 An extra refcount is taken in basesrc.
522 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
523 (gst_base_src_get_range), (gst_base_src_pad_get_range),
525 Small cleanups, check for flushing after being unlocked from the
526 LIVE_LOCK. take refcounts correctly (not yet everywhere).
527 Don't send out EOS when going to READY.
529 2005-10-27 Wim Taymans <wim@fluendo.com>
531 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
532 (gst_base_sink_get_position):
535 * gst/gstbin.c: (message_check), (bin_replace_message),
536 (bin_remove_messages), (is_eos), (gst_bin_add_func),
537 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
538 (bin_query_duration_init), (bin_query_duration_fold),
539 (bin_query_duration_done), (bin_query_generic_fold),
541 * tools/gst-launch.c: (main):
544 2005-10-26 Stefan Kost <ensonic@users.sf.net>
546 * examples/controller/audio-example.c: (main):
547 * examples/queue/queue.c: (event_loop):
548 * gst/base/gstbasetransform.h:
549 * gst/gstelement.c: (gst_element_send_event):
551 * gst/gstpad.c: (gst_pad_send_event):
554 changing log priority in error situations
556 2005-10-25 Wim Taymans <wim@fluendo.com>
558 * gst/gstbin.c: (message_check), (bin_replace_message),
559 (bin_remove_messages), (is_eos), (gst_bin_add_func),
560 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
561 (bin_query_duration_init), (bin_query_duration_fold),
562 (bin_query_duration_done), (bin_query_generic_fold),
564 Some doc and debug updates.
565 Cache previously requested query DURATION for speed. invalidate
566 cached duration if element posts a DURATION message.
568 2005-10-25 Wim Taymans <wim@fluendo.com>
570 * docs/design/part-TODO.txt:
573 * gst/gstbin.c: (message_check), (bin_replace_message),
574 (bin_remove_messages), (is_eos), (gst_bin_add_func),
575 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
576 (bin_query_duration_init), (bin_query_duration_fold),
577 (bin_query_duration_done), (bin_query_generic_fold),
579 Handle SEGMENT_START/DONE messages correctly.
580 More evolved query algorithm that handles duration queries
583 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
584 (gst_element_get_state_func), (gst_element_abort_state),
585 (gst_element_commit_state), (gst_element_lost_state):
591 2005-10-25 Wim Taymans <wim@fluendo.com>
593 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
594 Don't use invalid stream_time.
596 * gst/gstevent.c: (gst_event_new_newsegment):
597 stream_time in newsegment cannot be undefined.
599 2005-10-24 Wim Taymans <wim@fluendo.com>
604 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
606 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
608 2005-10-24 Stefan Kost <ensonic@users.sf.net>
610 * docs/libs/tmpl/gstdparam.sgml:
611 * docs/libs/tmpl/gstdplinint.sgml:
612 * docs/libs/tmpl/gstdpman.sgml:
613 * docs/libs/tmpl/gstdpsmooth.sgml:
614 * docs/libs/tmpl/gstunitconvert.sgml:
617 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
622 === release 0.9.4 ===
624 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
627 releasing 0.9.4, "Tyrannosaurus Rex"
629 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
631 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
632 (gst_file_sink_get_current_offset):
633 Use fseeko() and ftello() if available. When falling back on
634 lseek() to get the current offset, fflush() first to make sure
635 everything is up-to-date and we get the right offset.
637 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
639 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
640 * gst/base/gstbasesrc.c: (gst_base_src_loop):
641 * gst/gsterror.c: (_gst_stream_errors_init):
643 * gst/gstqueue.c: (gst_queue_loop):
645 remove prematurely added error category and clean up the instances
647 2005-10-21 Wim Taymans <wim@fluendo.com>
649 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
650 (gst_base_sink_get_position), (gst_base_sink_query),
651 (gst_base_sink_change_state):
652 Simply set the right flag when going to playing, that's all
653 we need to do instead of calling a function inside the object
654 lock (that could take the lock as well and deadlock)
656 2005-10-21 Wim Taymans <wim@fluendo.com>
658 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
660 Don't warn, the peer element knows what to do best when
661 the seek failed, it might try something else.
663 2005-10-21 Wim Taymans <wim@fluendo.com>
665 * gst/base/gstbasesrc.c: (gst_base_src_init),
666 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
669 2005-10-21 Wim Taymans <wim@fluendo.com>
671 * docs/design/part-segments.txt:
674 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
675 Correctly set caps, even on the subbufer.
677 2005-10-21 Wim Taymans <wim@fluendo.com>
679 * docs/gst/gstreamer-docs.sgml:
680 * docs/gst/gstreamer-sections.txt:
687 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
691 And 2% more doc coverage.
693 2005-10-21 Andy Wingo <wingo@pobox.com>
695 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
698 2005-10-20 Wim Taymans <wim@fluendo.com>
700 * gst/gsterror.c: (gst_error_get_message):
703 * gst/gststructure.c:
708 2005-10-20 Wim Taymans <wim@fluendo.com>
713 Another 1% more coverage.
715 2005-10-20 Wim Taymans <wim@fluendo.com>
717 * docs/gst/gstreamer-sections.txt:
718 * gst/gstelement.c: (gst_element_get_state_func),
719 (gst_element_abort_state), (gst_element_commit_state),
720 (gst_element_lost_state):
722 * gst/gstquery.c: (gst_query_set_position),
723 (gst_query_parse_position), (gst_query_set_duration),
724 (gst_query_parse_duration), (gst_query_new_convert):
726 Yay! 1% more docs coverage.
728 2005-10-20 Wim Taymans <wim@fluendo.com>
731 * gst/gstquery.c: (gst_query_set_position),
732 (gst_query_parse_position), (gst_query_set_duration),
733 (gst_query_parse_duration), (gst_query_new_convert):
735 * gst/gstutils.c: (gst_element_query_convert):
737 Docs and consistency fixes.
739 2005-10-20 Wim Taymans <wim@fluendo.com>
745 2005-10-20 Wim Taymans <wim@fluendo.com>
747 * gst/gstbin.c: (message_check), (bin_replace_message),
748 (bin_remove_messages), (is_eos), (gst_bin_add_func),
749 (update_degree), (gst_bin_sort_iterator_next),
750 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
751 Reworked the message handling a bit, cache the messages instead of
752 only the senders. alows us to do more in the future.
754 2005-10-20 Wim Taymans <wim@fluendo.com>
756 * docs/design/part-TODO.txt:
759 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
760 (gst_base_sink_query):
761 Don't use clock time to report position when in EOS.
763 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
765 * tools/gst-inspect.c: (print_interfaces),
766 (print_element_properties_info), (print_element_info):
767 Fix interface output with gst-inspect -a; don't print
768 newlines after double/float properties.
770 2005-10-20 Wim Taymans <wim@fluendo.com>
772 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
773 (gst_base_sink_query):
774 Speed up current position calculation.
776 * gst/base/gstbasesrc.c: (gst_base_src_query),
777 (gst_base_src_default_newsegment):
778 Correctly set stream position in newsegment.
780 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
781 (update_degree), (gst_bin_sort_iterator_next),
782 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
783 * gst/gstmessage.c: (gst_message_new_custom):
784 Clean up debugging info
786 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
787 (gst_queue_loop), (gst_queue_handle_src_query):
790 2005-10-19 Wim Taymans <wim@fluendo.com>
792 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
793 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
794 Fix query handling again.
796 2005-10-19 Wim Taymans <wim@fluendo.com>
798 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
799 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
800 * gst/base/gstbasesrc.c: (gst_base_src_query):
801 * gst/elements/gstfilesink.c: (gst_file_sink_query):
802 * gst/elements/gsttypefindelement.c:
803 (gst_type_find_handle_src_query), (find_element_get_length),
804 (gst_type_find_element_activate):
807 * gst/gstquery.c: (gst_query_new_position),
808 (gst_query_set_position), (gst_query_parse_position),
809 (gst_query_new_duration), (gst_query_set_duration),
810 (gst_query_parse_duration), (gst_query_set_segment),
811 (gst_query_parse_segment):
813 Bundling query position/duration is not a good idea since duration
814 does not change much and we don't want to recalculate it for every
815 position query, so they are separated again..
816 Base value in segment query is not needed.
818 * gst/gstqueue.c: (gst_queue_handle_src_query):
819 * gst/gstutils.c: (gst_element_query_position),
820 (gst_element_query_duration), (gst_pad_query_position),
821 (gst_pad_query_duration):
823 Updates for query API change.
824 Added some docs here and there.
826 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
828 * check/gst/gstbin.c: (GST_START_TEST):
829 * check/gst/gstghostpad.c: (GST_START_TEST):
830 * check/pipelines/cleanup.c: (GST_START_TEST):
831 wait on thread to die so we can check refcount correctly
833 2005-10-18 Wim Taymans <wim@fluendo.com>
835 * check/pipelines/stress.c: (GST_START_TEST):
836 Make check a little more time consuming.
838 2005-10-18 Wim Taymans <wim@fluendo.com>
841 * check/pipelines/stress.c: (GST_START_TEST),
842 (simple_launch_lines_suite), (main):
843 Small state change torture test.
845 * docs/design/part-states.txt:
846 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
847 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
848 (gst_base_sink_change_state):
849 Never take state lock from streaming thread, clean up ugly
850 hacks. Unfortunatly core does not yet support nice ways to
853 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
855 Start state recalc if a STATE_DIRTY message is posted, but only
858 * gst/gstelement.c: (gst_element_sync_state_with_parent),
859 (gst_element_get_state_func), (gst_element_abort_state),
860 (gst_element_commit_state), (gst_element_lost_state),
861 (gst_element_set_state_func), (gst_element_change_state):
863 State variables are now protected with the LOCK, the state
864 lock is only used to serialize _set_state().
866 2005-10-18 Wim Taymans <wim@fluendo.com>
868 * check/gst/gstbin.c: (GST_START_TEST):
869 * check/gst/gstmessage.c: (GST_START_TEST):
870 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
871 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
873 * gst/gstelement.c: (gst_element_abort_state),
874 (gst_element_commit_state), (gst_element_lost_state):
875 * gst/gstmessage.c: (gst_message_new_state_changed),
876 (gst_message_new_state_dirty), (gst_message_new_segment_start),
877 (gst_message_new_segment_done), (gst_message_new_duration),
878 (gst_message_parse_state_changed),
879 (gst_message_parse_segment_start),
880 (gst_message_parse_segment_done), (gst_message_parse_duration):
882 * tools/gst-launch.c: (event_loop):
883 Seriously, this is better than a previous commit as we only need
884 to notify the fact that an element changed state in a streaming
885 thread, marking the state of the parents dirty, hence the
886 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
889 2005-10-18 Wim Taymans <wim@fluendo.com>
891 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
892 (gst_bin_recalc_func):
893 * gst/gstelement.c: (gst_element_set_clock),
894 (gst_element_abort_state), (gst_element_lost_state):
895 Cleanups, prepare for state change fixes.
897 2005-10-18 Wim Taymans <wim@fluendo.com>
900 * gst/gstelement.c: (gst_element_class_init),
901 (gst_element_set_state), (gst_element_set_state_func):
904 GThreadPool in GstBinClass to monitor async state changes.
905 state_cookie in GstElement to detect concurrent gst/set state.
906 set_state is now virtual too in case a very complicated element
907 has to be constructed.
909 2005-10-18 Wim Taymans <wim@fluendo.com>
911 * check/gst/gstbin.c: (GST_START_TEST):
912 * check/gst/gstmessage.c: (GST_START_TEST):
913 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
914 * gst/gstbin.c: (bin_bus_handler):
915 * gst/gstelement.c: (gst_element_commit_state),
916 (gst_element_lost_state):
917 * gst/gstmessage.c: (gst_message_new_state_changed),
918 (gst_message_new_segment_start), (gst_message_new_segment_done),
919 (gst_message_new_duration), (gst_message_parse_state_changed),
920 (gst_message_parse_segment_start),
921 (gst_message_parse_segment_done), (gst_message_parse_duration):
923 * tools/gst-launch.c: (event_loop):
924 Make messages future proof.
925 state-change gets a flag if it was a message comming from the
927 segment-start/stop can also be specified in other formats.
928 A message to notify an app that a pipeline changed playback
930 Also fix a GstMessage leak in -launch
932 2005-10-18 Andy Wingo <wingo@pobox.com>
934 * gst/gstelement.c (gst_element_dispose): More helpful message.
936 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
938 * gst/gstregistry.c: (gst_registry_scan_path_level):
939 unref a plug-in we get that was already initialized
941 2005-10-18 Stefan Kost <ensonic@users.sf.net>
943 * docs/gst/gstreamer-sections.txt:
944 * docs/libs/gstreamer-libs-sections.txt:
949 2005-10-17 Andy Wingo <wingo@pobox.com>
951 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
954 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
956 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
958 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
959 (gst_element_get_state_func): Better debug message.
960 (gst_element_commit_state): s/INFO/DEBUG/.
961 (gst_element_lost_state, gst_element_change_state):
963 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
964 (gst_message_new_custom): s/INFO/LOG/.
966 2005-10-17 Michael Smith <msmith@fluendo.com>
968 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
969 Check if end time is valid using end time, not start time.
971 2005-10-17 Stefan Kost <ensonic@users.sf.net>
973 * check/gst-libs/controller.c: (GST_START_TEST),
974 (gst_controller_suite):
975 * libs/gst/controller/gstcontroller.c:
976 (gst_controlled_property_set_interpolation_mode):
977 * libs/gst/controller/gstcontroller.h:
978 * libs/gst/controller/gstinterpolation.c:
979 * testsuite/controller/.cvsignore:
980 * testsuite/controller/Makefile.am:
981 * testsuite/controller/interpolator.c:
982 merge controller testsuites
984 remove mem-chunk from docs
986 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
990 * gst/gsttrashstack.c:
991 * gst/gsttrashstack.h:
992 out. get out. you're fired. to the Attic !
994 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
996 * gst/gstcaps.c: (gst_caps_intersect):
997 fix signedness issues in a (hopefully) correct way
998 * gst/gstelement.c: (gst_element_pads_activate):
1000 * gst/gstobject.c: (gst_object_set_parent):
1003 2005-10-17 Julien MOUTTE <julien@moutte.net>
1005 * gst/gstvalue.h: Fix prototypes.
1007 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1009 * docs/gst/gstreamer-sections.txt:
1010 * gst/gst.c: (gst_version_string):
1012 * gst/gstversion.h.in:
1013 * win32/common/libgstreamer.def:
1014 add gst_version_string ()
1016 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1020 * gst/gst.c: (init_post):
1021 * win32/common/config.h.in:
1023 * gst/gstcaps.c: (gst_caps_intersect):
1024 use gint64, the range could be bigger than a guint
1026 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1029 document potential problem in 2038
1031 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1033 * gst/gstcaps.c: (gst_caps_intersect):
1034 Fix guint j diving under 0
1036 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1039 * win32/common/config.h:
1040 * win32/common/config.h.in:
1041 check for process.h, declares getpid() on Windows
1043 include process.h if we have it
1044 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1045 * gst/gstmemchunk.h:
1046 fix signedness issues
1047 * win32/common/libgstreamer.def:
1050 2005-10-16 Julien MOUTTE <julien@moutte.net>
1052 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1053 fix. Because of unsigned ints, caps intersection was going nuts and
1054 trying to access structures with G_MAXUINT index. That fixes
1055 videotestsrc ! ffmpegcolorspace ! fakesink
1056 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1059 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1062 use the gettext macro
1063 * gst/elements/gstelements.c:
1065 * gst/indexers/gstindexers.c:
1066 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1067 * win32/common/config.h:
1069 * win32/common/config.h.in:
1070 add the template to generate config.h
1071 * win32/common/gstenumtypes.c:
1072 * win32/common/gstversion.h:
1075 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1077 * gst/gst.c: (gst_version):
1078 * gst/gstversion.h.in:
1081 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1084 Oops, add missing closing bracket.
1086 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1089 use common m4's for argument checking
1091 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1093 * docs/gst/gstreamer-sections.txt:
1095 Add GST_EVENT_TYPE_NAME() macro.
1097 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1100 * gst/gstpluginfeature.c:
1102 privatize more symbols
1104 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1107 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1108 everything that uses GStreamer API should have the includes
1110 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1112 * docs/gst/gstreamer-sections.txt:
1113 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1115 give each value a _get_type, removes the DATA exports
1117 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1121 remove _gst_registry_auto_load, not used anymore
1122 * gst/gstbin.c: (gst_bin_get_type):
1124 * gst/gstelement.c: (gst_element_get_type):
1126 * gst/gstobject.c: (gst_object_get_type):
1128 * gst/gstpad.c: (gst_pad_get_type):
1130 make _get_type functions similar, fixes data export from library
1132 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1135 correctly make conditionals
1136 * gst/elements/Makefile.am:
1137 * gst/elements/gstelements.c:
1138 fix typo causing fdsrc not to build
1140 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1142 * testsuite/Makefile.am:
1143 * testsuite/bytestream/.cvsignore:
1144 * testsuite/bytestream/Makefile.am:
1145 * testsuite/bytestream/filepadsink.c:
1146 * testsuite/bytestream/gstbstest.c:
1147 * testsuite/bytestream/test1.c:
1148 * testsuite/bytestream/testfile1:
1149 * testsuite/caps/normalisation.c:
1150 * testsuite/caps/random.c: (main):
1151 * testsuite/cleanup/.cvsignore:
1152 * testsuite/cleanup/Makefile.am:
1153 * testsuite/cleanup/cleanup1.c:
1154 * testsuite/cleanup/cleanup2.c:
1155 * testsuite/cleanup/cleanup3.c:
1156 * testsuite/cleanup/cleanup4.c:
1157 * testsuite/cleanup/cleanup5.c:
1158 * testsuite/controller/interpolator.c:
1159 * testsuite/debug/printf_extension.c: (main):
1160 * testsuite/elements/tee.c:
1161 * testsuite/negotiation/.cvsignore:
1162 * testsuite/negotiation/Makefile.am:
1163 * testsuite/negotiation/pad_link.c:
1164 * testsuite/pad/Makefile.am:
1165 * testsuite/pad/chainnopull.c:
1166 * testsuite/pad/getnopush.c:
1167 * testsuite/pad/link.c:
1168 * testsuite/refcounting/sched.c: (create_pipeline):
1169 * testsuite/registry/Makefile.am:
1170 * testsuite/registry/gst-print-formats.c:
1171 * testsuite/schedulers/.cvsignore:
1172 * testsuite/schedulers/142183-2.c:
1173 * testsuite/schedulers/142183.c:
1174 * testsuite/schedulers/143777-2.c:
1175 * testsuite/schedulers/143777.c:
1176 * testsuite/schedulers/147713.c:
1177 * testsuite/schedulers/147819.c:
1178 * testsuite/schedulers/147894-2.c:
1179 * testsuite/schedulers/147894.c:
1180 * testsuite/schedulers/Makefile.am:
1181 * testsuite/schedulers/group_link.c:
1182 * testsuite/schedulers/queue_link.c:
1183 * testsuite/schedulers/relink.c:
1184 * testsuite/schedulers/unlink.c:
1185 * testsuite/schedulers/unref.c:
1186 * testsuite/schedulers/useless_iteration.c:
1187 * testsuite/states/bin.c:
1188 clean out/remove some stuff from the testsuite directories
1190 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1193 check for some headers
1194 * gst/elements/Makefile.am:
1195 * gst/elements/gstelements.c:
1196 don't compile fdsrc without sys/socket.h
1197 * gst/indexers/Makefile.am:
1198 * gst/indexers/gstindexers.c: (plugin_init):
1199 don't compile fileindex without mmap
1201 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1208 * check/Makefile.am:
1209 * docs/gst/Makefile.am:
1210 * examples/helloworld/Makefile.am:
1212 * gst/base/Makefile.am:
1213 * gst/check/Makefile.am:
1214 * gst/elements/Makefile.am:
1215 * gst/indexers/Makefile.am:
1216 * gst/parse/Makefile.am:
1217 * libs/gst/controller/Makefile.am:
1218 * libs/gst/dataprotocol/Makefile.am:
1219 * examples/helloworld/helloworld.c: (event_loop):
1220 compile fixes, though it's not being compiled currently
1222 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1224 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1225 Add some simple tests for the new taglist date API.
1227 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1229 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1230 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1231 Beautify 'last-message' output: print 'none' for buffer timestamps
1232 and durations if none is set; improve alignment with next messages.
1234 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1236 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1237 * gst/gstpluginfeature.h:
1238 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1239 * gst/gstregistry.h:
1240 * docs/gst/gstreamer-sections.txt:
1241 Add new API to check plugin feature version requirements.
1243 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1244 Some basic tests for the above.
1246 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1248 * gst/gststructure.c: (gst_structure_to_string):
1249 guard against NULL printf - happens when for example
1250 a message structure with GstClock gets serialized
1252 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1254 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1255 Fix presumable copy'n'pasto.
1257 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1259 * gst/elements/gstfakesrc.h:
1260 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1261 * gst/elements/gsttypefindelement.c:
1263 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1264 I wonder if this could actually write +2GB files before
1266 2005-10-13 Andy Wingo <wingo@pobox.com>
1268 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1269 Fix Timmeke Waymans bug.
1270 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1271 string of the proper length to gst_caps_from_string. There's a
1272 potential for, before this fix, that this could cause someone
1273 connecting over the network to cause a segfault if the payload is
1276 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1278 * docs/design/draft-push-pull.txt:
1279 * docs/design/part-overview.txt:
1280 * docs/random/TODO-pre-0.9:
1281 * docs/random/old/ChangeLog.gstreamer:
1282 * gst/base/gstpushsrc.c:
1286 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1288 * gst/glib-compat.c: (gst_flags_get_first_value):
1289 * gst/glib-compat.h:
1290 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1291 (gst_value_compare_double), (gst_value_serialize_flags):
1292 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1295 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1298 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1300 * tools/gst-launch.c: (event_loop):
1301 print out clock nicely
1303 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1305 * docs/gst/gstreamer-sections.txt:
1307 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1308 (gst_tag_list_get_date_index):
1309 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1310 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1312 2005-10-13 Julien MOUTTE <julien@moutte.net>
1314 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1315 (gst_collectpads_chain):
1316 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1319 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1321 * docs/gst/gstreamer-sections.txt:
1324 * tools/gst-inspect.c: (main):
1325 * tools/gst-launch.c: (main):
1326 * tools/gst-run.c: (main):
1327 * tools/gst-xmlinspect.c: (main):
1328 fix GOption context leaks
1331 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1335 * win32/common/config.h:
1337 * win32/vs6/grammar.dsp:
1338 * win32/vs6/libgstelements.dsp:
1339 * win32/vs6/libgstreamer.dsp:
1342 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1344 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1345 * gst/base/gstbasesrc.c: (gst_base_src_query):
1346 fix more guint64<->gdouble conversions
1348 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1351 add win32-update target
1352 * win32/common/gstconfig.h:
1353 * win32/common/gstenumtypes.c:
1354 * win32/common/gstenumtypes.h:
1355 * win32/common/gstversion.h:
1356 add files that visual studio can't generate
1358 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1361 add a win32-update target
1364 2005-10-12 Wim Taymans <wim@fluendo.com>
1366 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1367 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1368 * gst/gstelement.c: (gst_element_commit_state),
1369 (gst_element_set_state):
1370 Protect flags with proper lock.
1371 unref provided cached clock in dispose.
1373 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1376 * gst/gstminiobject.h:
1378 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1379 removed unused flags from miniobject
1382 2005-10-12 Wim Taymans <wim@fluendo.com>
1384 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1385 (gst_file_sink_event), (gst_file_sink_render):
1386 Flush before seeking.
1388 2005-10-12 Andy Wingo <wingo@pobox.com>
1390 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1391 always been the case.
1393 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1395 * check/gst/gstbin.c: (GST_START_TEST):
1396 * docs/gst/gstreamer-sections.txt:
1397 * gst/base/gstbasesink.c: (gst_base_sink_init):
1398 * gst/base/gstbasesrc.c: (gst_base_src_init),
1399 (gst_base_src_get_range), (gst_base_src_check_get_range),
1400 (gst_base_src_start), (gst_base_src_stop):
1401 * gst/base/gstbasesrc.h:
1402 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1403 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1404 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1408 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1410 * gst/gstelement.c: (gst_element_is_locked_state),
1411 (gst_element_set_locked_state), (gst_element_commit_state),
1412 (gst_element_set_state):
1414 * gst/gstindex.c: (gst_index_init):
1416 * gst/gstminiobject.h:
1417 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1418 (gst_object_set_parent):
1420 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1421 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1423 * gst/gstpadtemplate.h:
1424 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1425 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1426 * gst/gstpipeline.h:
1427 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1428 (gst_file_index_commit):
1429 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1430 * testsuite/pad/link.c: (gst_test_src_init),
1431 (gst_test_filter_init), (gst_test_sink_init):
1432 * testsuite/states/locked.c: (main):
1433 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1434 moved bitshift from macro to enum definition
1436 2005-10-12 Wim Taymans <wim@fluendo.com>
1438 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1439 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1440 (gst_file_sink_render):
1441 Some more debugging info.
1443 2005-10-12 Wim Taymans <wim@fluendo.com>
1445 * docs/design/part-states.txt:
1446 * tools/gst-launch.c: (main):
1448 Revert non-intentional change.
1450 2005-10-12 Wim Taymans <wim@fluendo.com>
1452 * check/gst/gstbin.c: (GST_START_TEST):
1453 * check/gst/gstelement.c: (GST_START_TEST):
1454 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1455 * check/gst/gstghostpad.c: (GST_START_TEST):
1456 * check/gst/gstpipeline.c: (GST_START_TEST):
1457 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1458 * check/states/sinks.c: (GST_START_TEST):
1459 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1460 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1461 (gst_bin_remove_func), (gst_bin_get_state_func),
1462 (gst_bin_recalc_state), (gst_bin_change_state_func),
1464 * gst/gstelement.c: (gst_element_get_state_func),
1465 (gst_element_get_state), (gst_element_abort_state),
1466 (gst_element_commit_state), (gst_element_set_state),
1467 (gst_element_change_state), (gst_element_change_state_func):
1469 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1470 (gst_pipeline_provide_clock_func):
1471 * gst/gstutils.c: (gst_element_link_pads_filtered):
1472 * tools/gst-launch.c: (main):
1473 * tools/gst-typefind.c: (main):
1474 Use GstClockTime in _get_state() instead of GTimeVal.
1475 Remove old code in gstutils.c
1477 2005-10-12 Andy Wingo <wingo@pobox.com>
1479 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1482 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1483 there is no task. Shouldn't affect any code, as nothing in our
1484 plugins checks this return value.
1485 (gst_pad_stop_task): Also take the stream lock if the pad has no
1488 2005-10-12 Wim Taymans <wim@fluendo.com>
1490 * gst/gstpad.c: (pre_activate), (post_activate),
1491 (gst_pad_activate_pull), (gst_pad_activate_push):
1492 Cleanup activation code. Reset old state if
1495 2005-10-12 Wim Taymans <wim@fluendo.com>
1497 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1498 (gst_base_sink_change_state):
1499 No need to prerol after receiving EOS.
1501 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1502 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1503 * gst/elements/gstidentity.c: (gst_identity_event):
1504 Print events more verbosely.
1506 2005-10-12 Wim Taymans <wim@fluendo.com>
1508 * check/Makefile.am:
1509 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1510 * check/states/sinks2.c:
1511 Moved sinks2 testcode in sinks check.
1513 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1514 (gst_bin_remove_func), (gst_bin_recalc_state),
1515 (gst_bin_change_state_func), (bin_bus_handler):
1516 Fix potential race condition when _get_state() iterated over an
1517 ASYNC element right before it posted a state completion.
1520 Do proper cast here.
1522 * gst/gstevent.c: (gst_event_new_newsegment),
1523 (gst_event_parse_newsegment):
1524 A playback rate of 0.0 is not allowed.
1526 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1528 * win32/common/config.h:
1529 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1530 (_trewinddir), (_ttelldir), (_tseekdir):
1531 * win32/common/dirent.h:
1532 * win32/common/gtchar.h:
1533 * win32/common/libgstbase.def:
1534 * win32/common/libgstreamer.def:
1535 * win32/vs6/grammar.dsp:
1536 * win32/vs6/gst_inspect.dsp:
1537 * win32/vs6/gst_launch.dsp:
1538 * win32/vs6/gstreamer.dsw:
1539 * win32/vs6/libgstbase.dsp:
1540 * win32/vs6/libgstelements.dsp:
1541 * win32/vs6/libgstreamer.dsp:
1542 Visual Studio 6 project files, and a new common directory.
1545 2005-10-11 Wim Taymans <wim@fluendo.com>
1547 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1548 (gst_base_sink_do_sync), (gst_base_sink_query),
1549 (gst_base_sink_change_state):
1550 * gst/base/gstbasesink.h:
1551 Correctly parse newsegment info.
1553 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1555 * gst/gst.c: (init_post):
1556 split plugin paths correctly
1558 2005-10-11 Wim Taymans <wim@fluendo.com>
1560 * check/gst/gstevent.c: (GST_START_TEST):
1561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1562 (gst_base_sink_change_state):
1563 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1564 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1565 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1566 * gst/gstevent.c: (gst_event_new_newsegment),
1567 (gst_event_parse_newsegment):
1569 Added extra flag to newsegment for future API freeze.
1570 Updated check and base elements.
1572 2005-10-11 Julien MOUTTE <julien@moutte.net>
1574 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1575 (gst_collectpads_add_pad), (gst_collectpads_pop),
1576 (gst_collectpads_event), (gst_collectpads_chain):
1577 * gst/base/gstcollectpads.h: Handle EOS correctly.
1579 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1581 * tools/gst-launch.c: (main):
1582 more null protecting
1584 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1586 * gst/gst-i18n-lib.h:
1587 check for ENABLE_NLS, not GETTEXT_PACKAGE
1588 * gst/gstregistry.c: (gst_registry_add_plugin),
1589 (gst_registry_scan_path_level),
1590 (_gst_registry_remove_cache_plugins):
1591 protect possibly NULL strings
1592 * gst/parse/types.h:
1593 config.h already included before
1594 * tools/gst-inspect.c: (main):
1595 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1596 check for ENABLE_NLS, not GETTEXT_PACKAGE
1597 * tools/gst-launch.c: (main):
1598 check for ENABLE_NLS, not GETTEXT_PACKAGE
1600 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1603 if we don't have glib, fail before testing 2.8
1604 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1605 fix a leak, should fix plugins-base testsuite
1607 2005-10-11 Andy Wingo <wingo@pobox.com>
1609 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1610 take the mode we're going to as an arg. Go head and set the mode
1611 and flushing flags now, so that if the activate function starts a
1612 thread all the flags will be in the right state.
1613 (post_activate): Renamed also. Just handle making sure streaming
1614 finishes for the deactivation case, and setting the deactivated
1616 (gst_pad_set_active): Complain loudly if deactivation fails.
1617 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1618 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1619 remove the terrible hack.
1621 2005-10-11 Wim Taymans <wim@fluendo.com>
1623 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1624 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1625 (gst_bin_recalc_state), (gst_bin_change_state_func),
1626 (gst_bin_dispose), (bin_bus_handler):
1628 Prepare to make current EOS message queue more generic.
1631 * gst/gstevent.c: (gst_event_new_newsegment),
1632 (gst_event_parse_newsegment):
1634 Rename base to stream_time.
1639 2005-10-11 Wim Taymans <wim@fluendo.com>
1641 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1642 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1643 (gst_bin_change_state_func), (bin_bus_handler):
1645 Work on proper clock selection.
1647 2005-10-11 Edward Hervey <edward@fluendo.com>
1649 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1650 * libs/gst/controller/gstcontroller.h:
1651 Added GList* version of _remove_properties() in order to be able to wrap
1654 2005-10-11 Wim Taymans <wim@fluendo.com>
1656 * docs/design/part-states.txt:
1659 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1660 (gst_bin_change_state_func), (bin_bus_handler):
1661 Doc updates. Don't distribute the same clock over and over again.
1667 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1668 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1669 (gst_pad_send_event):
1671 Make probe emission threadsafe again.
1672 Register quarks and move _get_name() from utils.
1675 * gst/gstpipeline.c: (gst_pipeline_class_init),
1676 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1677 Only redistribute the clock of it changed.
1679 * gst/gstsystemclock.h:
1684 Moved the _flow_get_name() to GstPad.
1686 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1688 * check/gst-libs/gdp.c: (GST_START_TEST):
1689 * check/gst/gstcaps.c: (GST_START_TEST):
1690 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1691 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1692 (gst_dp_packet_from_caps):
1693 fix more valgrind warnings before turning up the heat
1695 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1697 * gst/parse/grammar.y:
1698 some cleanup before the hacking
1700 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1702 * gst/base/gstbasesrc.c: (gst_base_src_query):
1704 * gst/gstutils.c: (gst_guint64_to_gdouble),
1705 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1707 externalize, basesrc uses it
1708 obviously the implementation needs testing
1710 2005-10-10 Wim Taymans <wim@fluendo.com>
1712 * tests/sched/Makefile.am:
1713 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1714 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1716 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1718 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1719 apparently converting from guint64 to double is not implemented
1722 2005-10-10 Wim Taymans <wim@fluendo.com>
1724 * check/Makefile.am:
1725 * check/generic/states.c: (GST_START_TEST):
1726 * check/gst/gstbin.c: (GST_START_TEST):
1727 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1728 * check/states/sinks.c: (GST_START_TEST):
1729 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1731 Check fixes, use API as stated in design docs, remove hacks.
1733 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1734 (gst_base_sink_change_state):
1735 Catch stopping our task while we're shutting down.
1737 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1738 (gst_bin_remove_func), (gst_bin_get_state_func),
1739 (gst_bin_recalc_state), (gst_bin_change_state_func),
1742 * gst/gstelement.c: (gst_element_init),
1743 (gst_element_get_state_func), (gst_element_abort_state),
1744 (gst_element_commit_state), (gst_element_lost_state),
1745 (gst_element_set_state), (gst_element_change_state),
1746 (gst_element_change_state_func):
1748 New state change algorithm (see #318116)
1750 * gst/gstpipeline.c: (gst_pipeline_class_init),
1751 (gst_pipeline_init), (gst_pipeline_set_property),
1752 (gst_pipeline_get_property), (do_pipeline_seek),
1753 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1754 * gst/gstpipeline.h:
1755 Remove crude state change hacks.
1760 * tools/gst-launch.c: (main):
1761 Fixes for state change. Needs some more work to fully use the
1764 2005-10-10 Andy Wingo <wingo@pobox.com>
1766 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1768 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1769 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1772 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1774 * gst/gstiterator.c: (gst_iterator_new):
1775 Fix my previous commit: GTypes passed to gst_iterator_new()
1776 can be fundamental types.
1778 2005-10-10 Wim Taymans <wim@fluendo.com>
1780 * gst/gstelement.c: (gst_element_iterate_pad_list),
1781 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1782 (gst_element_iterate_sink_pads):
1783 Use src/sink pads lists for the respective iterators instead
1786 2005-10-10 Andy Wingo <wingo@pobox.com>
1788 Merged in popt removal + GOption addition patch from Ronald, bug
1791 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1792 GstElement macros around, remove popt-related symbols, add goption
1795 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1797 * docs/gst/Makefile.am:
1798 * docs/libs/Makefile.am: No POPT_CFLAGS.
1800 * examples/manual/Makefile.am:
1801 * docs/manual/basics-init.xml: Doc updates with an example.
1803 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1804 (gst_init), (parse_one_option), (parse_goption_arg):
1805 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1806 bit of hand merging and debugging to get the GOption stuff working
1809 * tests/Makefile.am:
1810 * tools/Makefile.am:
1811 * tools/gst-inspect.c: (main):
1812 * tools/gst-launch.c: (main):
1813 * tools/gst-run.c: (main):
1814 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1816 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1818 * gst/gstiterator.c: (gst_iterator_new):
1819 Add assertions to make sure passed GType is likely to really
1820 be a GType (as the compiler won't catch it if the size and
1821 GType arguments get mixed up, see #318447).
1823 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1825 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1827 * gst/gstbin.c: (gst_bin_iterate_sorted):
1828 Pass GType and size arguments to gst_iterator_new() in the right
1829 order (maybe we should make _new() take the GType as first argument
1830 just like _new_list()?) (#318447).
1833 2005-10-10 Wim Taymans <wim@fluendo.com>
1835 * gst/gstelement.c: (gst_element_finalize):
1836 And free the GStaticRecMutex too
1838 2005-10-10 Andy Wingo <wingo@pobox.com>
1840 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1841 Allocate and free the mutex properly.
1843 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1845 (GstElement): The state_lock is now recursive. Rebuild your
1846 plugins, suckers. Old macros adapted.
1848 * docs/gst/gstreamer-sections.txt: Doc updates.
1851 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1852 (g_static_rec_cond_wait): Ported from state changes patch, while
1853 we wait on bug #317802 to be solved in a well-distributed GLib.
1855 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1856 gst_element_change_state, variable name changes.
1857 (gst_element_change_state): Split out of gst_element_set_state in
1858 preparation for the state change merge. Doesn't pay attention to
1859 the 'transition' argument.
1860 (gst_element_set_state): Updates, hopefully purely cosmetic.
1861 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1863 (gst_element_get_state_func): Renamed from get_state, cosmetic
1866 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1868 * gst/elements/gstelements.c:
1869 * win32/GStreamer.vcproj:
1871 * win32/dirent.c: (_tseekdir):
1872 * win32/gst-inspect.vcproj:
1873 * win32/gst-launch.vcproj:
1874 * win32/gstconfig.h:
1875 * win32/gstelements.vcproj:
1876 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1877 * win32/gstreamer.def:
1879 updates for the win32 build (patch from Sebastien Moutte)
1881 2005-10-10 Andy Wingo <wingo@pobox.com>
1883 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1884 gst_bin_get_state, cleaned up (but no logic changes).
1885 (bin_element_is_sink): Comment updates.
1886 (sink_iterator_filter): Remove needless cast.
1887 (gst_bin_iterate_sinks): Doc update.
1888 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1889 cleaned up (but no logic changes).
1891 * check/states/sinks.c (test_src_sink): Cleanups from the state
1893 (test_livesrc_sink): Sync on the state.
1895 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1896 the state change patch.
1898 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1901 * check/gst/gstbin.c: Merge in some style fixes and additional
1902 checks from Wim's state change patch.
1904 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1906 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1907 (gst_type_find_helper):
1908 Check whether we have the requested data already in our list of
1909 cached buffers before pulling a new buffer; also make the buffer
1910 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1912 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1917 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1918 don't use long long, it's not portable. Replacing with
1919 gint64 seems to work; let's hope no skeletons fall out of the closet.
1921 2005-10-10 Andy Wingo <wingo@pobox.com>
1923 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1925 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1927 * docs/gst/gstreamer-sections.txt:
1932 * gst/gstmessage.c: (gst_message_parse_state_changed):
1935 more docs, fix compilation
1937 2005-10-09 Philippe Khalaf <burger@speedy.org>
1939 Fixed a few forgotten variables on previous commit
1941 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1943 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1944 Fix evil typefind crasher: getrange() might return a short
1945 buffer at the end of a file, but gst_type_find_peek() must
1946 either return the full data as requested or NULL, but
1947 never a short buffer.
1949 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1951 * gst/gstmessage.c: (gst_message_new_state_changed),
1952 (gst_message_parse_state_changed):
1954 don't use "new", it's a C++ keyword
1956 2005-10-08 Wim Taymans <wim@fluendo.com>
1958 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1959 * gst/gstelement.c: (gst_element_post_message):
1960 * gst/gstpipeline.c: (gst_pipeline_change_state):
1961 Small docs and debug updates.
1963 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1965 * docs/gst/gstreamer-sections.txt:
1966 * gst/gstelementfactory.c:
1971 2005-10-08 Wim Taymans <wim@fluendo.com>
1973 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1974 (gst_bin_dispose), (bin_bus_handler):
1975 Fix typos, add comments.
1976 Clear EOS list when going to PAUSED from any direction and do it
1977 in a threadsafe way.
1978 Get base time in a threadsafe way too.
1979 Fix confusing debug in the change_state function.
1980 Various other small cleanups.
1982 * gst/gstelement.c: (gst_element_post_message):
1983 Fix very verbose bus posting code.
1985 * gst/gstpipeline.c: (gst_pipeline_class_init),
1986 (gst_pipeline_set_property), (gst_pipeline_get_property),
1987 (gst_pipeline_change_state):
1988 Small ARG_ -> PROP_ cleanup
1990 2005-10-08 Wim Taymans <wim@fluendo.com>
1992 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1993 Do a less CPU demanding EOS check because we can.
1995 2005-10-08 Wim Taymans <wim@fluendo.com>
1997 * libs/gst/dataprotocol/dataprotocol.c:
1998 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1999 (gst_dp_packet_from_event):
2000 * libs/gst/dataprotocol/dataprotocol.h:
2001 * libs/gst/dataprotocol/dp-private.h:
2002 It's about time we bump the version number.
2003 Since event types don't fit in the guint8 anymore describing
2004 the payload type, make payload type 16 bits wide.
2006 2005-10-08 Wim Taymans <wim@fluendo.com>
2008 * docs/design/part-TODO.txt:
2009 * docs/design/part-clocks.txt:
2010 * docs/design/part-events.txt:
2011 * docs/design/part-gstbin.txt:
2012 * docs/design/part-gstelement.txt:
2013 * docs/design/part-gstpipeline.txt:
2014 * docs/design/part-live-source.txt:
2015 * docs/design/part-messages.txt:
2016 * docs/design/part-overview.txt:
2017 * docs/design/part-states.txt:
2020 2005-10-08 Wim Taymans <wim@fluendo.com>
2024 Fix event quark registration.
2025 Add some space between events so we can insert them in the
2028 2005-10-08 Wim Taymans <wim@fluendo.com>
2030 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2031 (gst_base_sink_handle_buffer):
2038 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2039 (gst_queue_set_property), (gst_queue_get_property):
2041 Remove old unused properties.
2043 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2044 * docs/gst/gstreamer-sections.txt:
2047 * gst/gstminiobject.c:
2048 * gst/gstminiobject.h:
2052 lots of new docs and doc fixes
2054 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2056 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2058 * gst/gstregistry.c: (gst_registry_lookup_locked),
2059 (gst_registry_scan_path_level):
2060 * gst/gstregistryxml.c: (load_plugin):
2061 Only ever load one plugin for a given plugin basename.
2062 This ensures correct overriding of GST_PLUGIN_PATH over
2063 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2064 system installed plugins.
2066 2005-10-08 Wim Taymans <wim@fluendo.com>
2068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2069 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2070 Prepare for doing QOS.
2072 2005-10-08 Wim Taymans <wim@fluendo.com>
2074 * check/gst/gstbin.c: (GST_START_TEST):
2075 * check/pipelines/cleanup.c: (GST_START_TEST):
2076 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2077 Allow new clock message too.
2079 2005-10-08 Wim Taymans <wim@fluendo.com>
2081 * gst/gstmessage.c: (gst_message_new_error),
2082 (gst_message_new_warning), (gst_message_new_tag),
2083 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2084 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2085 (gst_message_new_segment_start), (gst_message_new_segment_done),
2086 (gst_message_parse_state_changed),
2087 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2088 (gst_message_parse_new_clock):
2090 Also carry the clock in question.
2092 2005-10-08 Wim Taymans <wim@fluendo.com>
2094 * gst/gstmessage.c: (gst_message_new_custom),
2095 (gst_message_new_eos), (gst_message_new_error),
2096 (gst_message_new_warning), (gst_message_new_tag),
2097 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2098 (gst_message_new_new_clock), (gst_message_new_segment_start),
2099 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2100 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2103 Added clock related messages.
2105 * gst/gstpipeline.c: (gst_pipeline_change_state):
2106 Post message when the clock changed.
2108 * tools/gst-launch.c: (event_loop):
2111 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2113 * tools/gst-inspect.c: (print_element_properties_info):
2114 Can't pass NULL strings to g_print() on windows.
2116 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2119 * docs/gst/Makefile.am:
2120 * docs/gst/gstreamer-docs.sgml:
2121 * docs/gst/running.xml:
2122 * docs/version.entities.in:
2123 add a chapter on running GStreamer.
2124 document GST_DEBUG and GST_PLUGIN* env vars
2126 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2131 remove PLUGINS_BUILDDIR stuff
2132 * gst/gst.c: (init_post):
2133 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2135 remove, it was condescending and not needed
2137 2005-10-08 Wim Taymans <wim@fluendo.com>
2139 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2140 (gst_base_sink_handle_object), (gst_base_sink_event),
2141 (gst_base_sink_wait), (gst_base_sink_handle_event),
2142 (gst_base_sink_change_state):
2143 * gst/base/gstbasesink.h:
2144 Repost EOS message while going to PLAYING if still EOS.
2145 Make sure that when receiving a FLUSH_START we don't attempt
2146 to sync on the clock anymore.
2148 2005-10-08 Wim Taymans <wim@fluendo.com>
2150 * tools/gst-launch.c: (event_loop):
2151 Better message printout.
2153 2005-10-08 Wim Taymans <wim@fluendo.com>
2155 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2156 (gst_bin_child_proxy_get_children_count):
2157 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2158 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2159 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2160 (gst_child_proxy_set_valist):
2161 * gst/parse/grammar.y:
2162 Make ChildProxy threadsafe and fix mem leaks.
2164 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2166 * gst/gst.c: (init_post):
2167 debug the GST_PLUGIN_ env vars
2169 2005-10-08 Wim Taymans <wim@fluendo.com>
2171 * check/gst/gstbin.c: (GST_START_TEST):
2172 * check/gst/gstmessage.c: (GST_START_TEST):
2173 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2174 * gst/gstelement.c: (gst_element_commit_state),
2175 (gst_element_lost_state):
2176 * gst/gstmessage.c: (gst_message_new_state_changed),
2177 (gst_message_parse_state_changed):
2179 * tools/gst-launch.c: (event_loop):
2180 Added extra field to STATE_CHANGE message with the pending
2181 state, which will be different from the new state soon.
2183 2005-10-08 Wim Taymans <wim@fluendo.com>
2185 * gst/gstbus.c: (gst_bus_pop):
2187 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2188 Small cleanups and doc updates.
2190 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2192 * gst/gst.c: (init_pre):
2193 * gst/gstbin.c: (gst_bin_add_func):
2194 log distributing clocks and base time
2195 * gst/gstregistry.c: (gst_registry_add_plugin),
2196 (gst_registry_scan_path_level), (gst_registry_scan_path):
2197 clean up the debugging output a little
2198 * gst/gstutils.c: (gst_element_state_get_name):
2199 warn about a memleak (I've actually seen this be used, though
2200 it was probably a bug)
2202 2005-10-07 Wim Taymans <wim@fluendo.com>
2204 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2205 (gst_base_src_init), (gst_base_src_default_newsegment),
2206 (gst_base_src_newsegment), (gst_base_src_do_seek),
2207 (gst_base_src_loop), (gst_base_src_start):
2208 * gst/base/gstbasesrc.h:
2209 Make the newsegment event customizable by subclasses.
2211 2005-10-07 Wim Taymans <wim@fluendo.com>
2213 * gst/gstevent.c: (gst_event_new_buffersize),
2214 (gst_event_parse_buffersize):
2216 New event for future idea.
2218 2005-10-07 Andy Wingo <wingo@pobox.com>
2220 * gst/gstelement.c (gst_element_post_message): Doc update.
2222 * docs/gst/gstreamer-sections.txt: Update.
2224 * gst/gstmessage.c (gst_message_new_application): Made into a
2225 function like honest API calls.
2226 (gst_message_new_element): New message type.
2228 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2230 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2231 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2234 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2235 NO_PREROLL from gst_element_change_state to fall through.
2237 2005-10-07 Wim Taymans <wim@fluendo.com>
2239 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2240 (gst_ghost_pad_do_activate_push):
2241 Activating a ghostpad with no internal pad in push mode
2244 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2247 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2248 Fixes compilation on Windows.
2250 2005-10-07 Michael Smith <msmith@fluendo.com>
2252 * tools/gst-inspect.c:
2253 Print out feature and plugin count at the end when printing out
2256 2005-10-04 Michael Smith <msmith@fluendo.com>
2258 * gst/gsterror.c: (_gst_stream_errors_init):
2259 Add another error string used in a few existing plugins.
2262 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2263 * tools/gst-inspect.c: (print_element_info):
2264 When a feature disappears from a plugin (and the feature exists in
2265 the cached registry file), things went horribly wrong. This isn't a
2266 complete fix, we should actually be removing the 'missing' features
2267 from the features list when we load the actual plugin. That's not
2270 2005-10-04 Johan Dahlin <johan@gnome.org>
2272 * check/gst/gstiterator.c: (GST_START_TEST):
2273 * gst/gstbin.c: (gst_bin_iterate_elements),
2274 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2275 * gst/gstelement.c: (gst_element_iterate_pads):
2276 * gst/gstformat.c: (gst_format_iterate_definitions):
2277 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2278 (gst_iterator_new_list), (gst_iterator_filter):
2279 * gst/gstiterator.h:
2280 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2281 Add a GType to GstIterator, update callsites and tests.
2283 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2285 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2286 give events a chance to be handled by event probes when the pad
2289 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2291 * gst/gstevent.c: (gst_event_type_get_name),
2292 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2294 add string representations for event types
2296 2005-10-06 Wim Taymans <wim@fluendo.com>
2298 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2299 Don't use NULL pointers.
2301 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2303 * gst/gst_private.h:
2307 * gst/gstpluginfeature.c:
2308 widen the debug category in output to fit the biggest one we have
2309 add a bus category and use it
2310 play with the colors
2311 fix up some categories
2313 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2315 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2316 add push activation of sink ghost pads.
2317 Andye, please verify
2319 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2321 * gst/gstutils.c: (gst_element_link_pads):
2322 fix a bug in the case where neither element has a pad
2323 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2324 add a test for that case
2326 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2328 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2329 emit have-data before checking for peers. This allows
2330 for probe handlers to connect elements. This helps autopluggers.
2331 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2333 add six checks, linked/unlinked with no/true/false probe
2335 2005-10-04 Wim Taymans <wim@fluendo.com>
2337 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2338 (gst_fake_sink_event), (gst_fake_sink_preroll),
2339 (gst_fake_sink_render), (gst_fake_sink_change_state):
2340 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2341 (gst_fake_src_get_property), (gst_fake_src_create),
2342 (gst_fake_src_stop):
2343 * gst/elements/gstidentity.c: (gst_identity_stop):
2344 Protect last_message with lock.
2346 2005-10-04 Edward Hervey <edward@fluendo.com>
2349 Added precision in the comments for GST_FORMAT_DEFAULT
2351 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2353 * tools/gst-launch.c: (main):
2354 Don't try to run erroneous pipelines.
2356 2005-10-04 Julien MOUTTE <julien@moutte.net>
2358 * gst/gstbus.c: We don't need this header.
2360 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2365 === release 0.9.3 ===
2367 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2371 Releasing 0.9.3, "Unregistered"
2373 2005-10-03 Andy Wingo <wingo@pobox.com>
2375 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2376 whereby calling a pad's activatepush() function can start a thread
2377 that starts to push or pull before the pad gets the FLUSHING flag
2378 unset. Hack around it by holding the stream lock until the flag is
2379 set. Need to replace this with a proper solution. Together with
2380 the ghost pad fixes, this fixes mp3 playing/tagreading.
2382 * docs/design/part-gstghostpad.txt: Add a note about activation of
2383 proxy pads outside of ghost pads.
2385 * gst/gstghostpad.c: Implement the ghost pad activation design.
2387 2005-10-02 Andy Wingo <wingo@pobox.com>
2389 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2390 It is volatile, after all.
2392 * docs/design/part-gstghostpad.txt: Flesh out activation with
2395 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2398 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2401 Fix (unused) AM_CONDITIONAL tests.
2403 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2405 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2407 * gst/gstutils.c: (gst_pad_query_convert):
2408 Add assertion that makes sure src_val is >=0, just like
2409 gst_query_new_convert() has. (#315895)
2411 2005-09-30 Edward Hervey <edward@fluendo.com>
2413 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2414 Let's not iterate pads we're not interested in, it avoids getting
2415 sky-high refcounts on sinkpad.
2417 2005-09-30 Wim Taymans <wim@fluendo.com>
2419 * gst/gstelement.c: (gst_element_set_state),
2420 (gst_element_change_state):
2421 Small tweak, element in ASYNC remains ASYNC.
2423 2005-09-30 Wim Taymans <wim@fluendo.com>
2425 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2426 Only error is an error.
2428 * gst/gstbin.c: (gst_bin_change_state):
2431 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2432 Also call pad_block in pad alloc.
2434 * gst/gstutils.c: (gst_flow_get_name):
2437 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2439 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2440 (gst_base_src_get_range):
2441 Fix documentation typos. Add some more debug info.
2443 2005-09-29 David Schleef <ds@schleef.org>
2445 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2446 more end-user friendly.
2447 * tools/gst-inspect.c: (main): Check if command-line argument is
2448 a file and attempt to load that file as a plugin.
2450 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2452 * check/gst/gstbin.c:
2453 * check/states/sinks.c:
2454 fix tests for the new warning
2455 * check/gst/gstpipeline.c:
2456 add a test for pipeline and bus interaction
2458 elements should be NULL if they get disposed; add a warning if not
2460 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2463 for 2.6 refcounting, make debug log more correct by printing
2464 the actual refcounts at the time of swap (Wim)
2466 2005-09-29 Andy Wingo <wingo@pobox.com>
2468 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2469 removes signal watches previously added via
2470 gst_bus_add_signal_watch.
2471 (gst_bus_add_signal_watch): Don't return the source id, just store
2472 it on the bus if there wasn't an id already.
2474 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2475 add_signal_watch and remove_signal_watch.
2477 2005-09-29 Edward Hervey <edward@fluendo.com>
2479 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2480 Better if we actually iterate the list :)
2482 2005-09-29 Wim Taymans <wim@fluendo.com>
2484 * check/gst/gstbin.c: (GST_START_TEST):
2485 Change for new bus API.
2487 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2488 (send_messages), (GST_START_TEST), (gstbus_suite):
2489 Change for new bus signal API.
2491 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2492 (gst_bus_source_prepare), (gst_bus_source_check),
2493 (gst_bus_create_watch), (gst_bus_add_watch_full),
2494 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2495 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2497 Remove support for multiple GSources operating on different
2498 message types as it is too complex and unneeded when using
2500 Added support for receiving signals from the bus.
2502 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2504 * docs/libs/tmpl/gstdataprotocol.sgml:
2505 * docs/manual/advanced-dataaccess.xml:
2506 * gst/elements/gstcapsfilter.c:
2508 rename filter-caps to caps property
2510 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2512 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2513 More robust fraction string parsing.
2515 * docs/pwg/appendix-porting.xml:
2516 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2518 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2520 * gst/gstcaps.c: (gst_caps_do_simplify):
2521 Thou shalt not free a structure and then continue using it
2522 in the next loop iteration.
2524 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2526 Add test case for caps simplification.
2528 2005-09-29 Wim Taymans <wim@fluendo.com>
2530 * check/gst/gstbin.c: (GST_START_TEST):
2533 2005-09-29 Wim Taymans <wim@fluendo.com>
2535 * check/gst/gstbin.c: (GST_START_TEST):
2538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2539 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2540 (find_element), (gst_bin_sort_iterator_next),
2541 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2542 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2543 (gst_bin_change_state), (gst_bin_dispose):
2544 A bin does not have a bus, it gets the bus from the parent.
2546 * gst/gstelement.c: (gst_element_requires_clock),
2547 (gst_element_provides_clock), (gst_element_is_indexable),
2548 (gst_element_is_locked_state), (gst_element_change_state),
2549 (gst_element_set_bus_func):
2552 * gst/gstpipeline.c: (gst_pipeline_class_init),
2553 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2554 The pipeline provides a bus.
2556 2005-09-28 Johan Dahlin <johan@gnome.org>
2558 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2559 gst_structure_get_enum instead of gst_structure_get_int
2561 * gst/gststructure.c (gst_structure_get_enum): Impl.
2563 * gst/gststructure.h (gst_structure_get_enum): Add
2565 * docs/gst/gstreamer-sections.txt: Ditto
2567 * gst/gstmessage.c (gst_message_new_state_changed): Use
2568 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2569 which does introspection.
2570 Reviewed by Christian Schaller
2572 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2574 * gst/gstinfo.c: (gst_debug_log_default):
2575 don't do dummy g_strdup()s
2576 * libs/gst/controller/gstcontroller.c:
2577 (on_object_controlled_property_changed),
2578 (gst_controlled_property_new), (gst_controller_new_valist),
2579 (gst_controller_new_list),
2580 (gst_controller_remove_properties_valist), (gst_controller_set),
2581 (gst_controller_get), (gst_controller_sync_values),
2582 (gst_controller_get_value_array), (_gst_controller_class_init),
2583 (gst_controller_get_type):
2584 * libs/gst/controller/gstcontroller.h:
2585 * libs/gst/controller/gstinterpolation.c:
2586 (gst_controlled_property_find_timed_value_node):
2587 convert // to /**/ comments
2589 2005-09-28 Wim Taymans <wim@fluendo.com>
2591 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2592 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2593 (gst_bus_sync_signal_handler):
2595 Added async-message and sync-message signals to the bus.
2596 Added helper BusFunc to emit signals for all posted messages.
2598 * gst/gstmessage.c: (gst_message_type_get_name),
2599 (gst_message_type_to_quark), (gst_message_get_type):
2601 Register quarks for message names.
2603 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2605 * docs/libs/gstreamer-libs-sections.txt:
2606 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2607 (gst_controller_new_list):
2608 * libs/gst/controller/gstcontroller.h:
2609 added another constructor for language bindings
2611 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2613 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2617 * gst/gstinfo.c: (_gst_debug_init):
2618 slightly more readable color for refcount debugging
2620 2005-09-28 Wim Taymans <wim@fluendo.com>
2622 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2623 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2624 (find_element), (gst_bin_sort_iterator_next),
2625 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2626 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2627 (gst_bin_change_state), (gst_bin_dispose):
2628 Small doc fixes. get_clock -> provide_clock.
2630 * gst/gstelement.c: (gst_element_class_init),
2631 (gst_element_provides_clock), (gst_element_provide_clock),
2632 (gst_element_get_clock), (gst_element_commit_state),
2633 (gst_element_lost_state):
2635 Make get/set_clock() symetric. Add provide_clock vmethod since
2636 that is actually what this function does.
2638 * gst/gstpipeline.c: (gst_pipeline_class_init),
2639 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2640 (gst_pipeline_get_clock):
2641 get_clock -> provide_clock.
2643 2005-09-28 Andy Wingo <wingo@pobox.com>
2645 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2646 lieu of real docs...
2648 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2650 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2652 * gst/elements/gstcapsfilter.c:
2653 * gst/elements/gstfakesink.c:
2654 * gst/elements/gstfakesrc.c:
2655 * gst/elements/gstfdsink.c:
2656 * gst/elements/gstfdsrc.c:
2657 * gst/elements/gstfilesink.c:
2658 * gst/elements/gstfilesrc.c:
2659 * gst/elements/gstidentity.c:
2660 * gst/elements/gsttee.c:
2661 * gst/elements/gsttypefindelement.c:
2662 Make element details static.
2664 2005-09-28 Wim Taymans <wim@fluendo.com>
2666 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2667 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2668 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2669 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2670 (gst_bin_change_state), (gst_bin_dispose):
2671 Some documentation updates.
2672 Clean up dispose handlers.
2674 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2675 * gst/gstpad.c: (gst_pad_dispose):
2676 Clean up dispose handler.
2678 * gst/gstpipeline.c: (gst_pipeline_change_state):
2679 Removed spurious UNLOCK.
2681 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2683 * docs/gst/gstreamer-sections.txt:
2684 * gst/base/gstbasesrc.h:
2689 * gst/gstpipeline.c:
2690 * gst/gstpipeline.h:
2693 added two new functions to the docs
2694 documents all undocumented GstXXXFlags
2695 completed some incomplete docs
2697 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2699 * gst/gstbin.c: (gst_bin_dispose):
2700 * gst/gstelement.c: (gst_element_dispose):
2701 remove now useless and leaky resurrection code in dispose
2702 * gst/base/gstbasesrc.c: (gst_base_src_init):
2703 * gst/gstelementfactory.c: (gst_element_factory_create):
2704 * gst/gstobject.c: (gst_object_set_parent):
2707 2005-09-27 Wim Taymans <wim@fluendo.com>
2709 * docs/design/part-TODO.txt:
2712 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2713 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2714 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2715 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2716 (gst_bin_change_state):
2718 Remove element variable, we keep element info in the iterator now.
2720 2005-09-27 Andy Wingo <wingo@pobox.com>
2722 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2725 2005-09-27 Wim Taymans <wim@fluendo.com>
2727 * check/gst/gstbin.c: (GST_START_TEST):
2728 Enable check that works now.
2730 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2731 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2732 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2733 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2734 (gst_bin_change_state):
2736 Redid the state change algorithm using a topological sort algo.
2737 Handles all cases correctly.
2738 Exposed iterator for state change order.
2741 Temp storage for state changes. Need to get rid of this soon.
2743 2005-09-27 Wim Taymans <wim@fluendo.com>
2745 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2746 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2747 (link_fold_func), (gst_pad_proxy_setcaps):
2748 Leak fixes, the fold functions need to unref the passed object and
2749 _get_parent_*() returns ref to parent.
2751 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2753 * check/gst/gstbuffer.c: (test_make_writable):
2754 Plug leak in test case and fix 'make check-valgrind'
2756 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2758 * gst/gstbuffer.c: (gst_subbuffer_init):
2759 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2760 works correctly in all circumstances (we could have just copied
2761 the parent buffer's readonly flag, but conceptually it seems
2762 cleaner to mark all subbuffers as read-only). (based on patch
2763 by Alessandro Decina, #314710).
2765 * check/gst/gstbuffer.c: (create_read_only_buffer),
2766 (test_make_writable), (test_subbuffer_make_writable),
2768 Add some tests for gst_buffer_make_writable().
2770 2005-09-27 Wim Taymans <wim@fluendo.com>
2772 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2773 use gst_object_has_ancestor().
2775 * gst/gstobject.c: (gst_object_has_ancestor):
2777 gst_object_has_ancestor() copied from gstbin.c as it is a
2780 * tests/instantiate/create.c: (create_all_elements):
2781 * tests/lat.c: (handoff_src), (handoff_sink):
2782 * tests/sched/runxml.c: (main):
2783 * tests/seeking/seeking1.c: (main):
2784 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2786 Fix compilation of some tests.
2788 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2791 Remove comment. GST_TYPE_G_ERROR is here to stay,
2792 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2795 2005-09-26 Wim Taymans <wim@fluendo.com>
2797 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2798 Added check that shows error in state change order.
2800 2005-09-26 Wim Taymans <wim@fluendo.com>
2802 * gst/gstbin.c: (gst_bin_change_state):
2803 Make state change function use 3 queues again, we were
2804 adding elements in the wrong order.
2806 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2809 * gst/gstpad.c: (gst_pad_dispose):
2810 Added some debug info first.
2812 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2814 * docs/design/draft-push-pull.txt:
2815 * docs/design/part-events.txt:
2816 * docs/design/part-overview.txt:
2817 * docs/design/part-scheduling.txt:
2818 Replace all _pull_region() with _pull_range()
2820 2005-09-26 Andy Wingo <wingo@pobox.com>
2822 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2824 * check/gst-libs/controller.c: Update for controller api change.
2827 * tests/Makefile.am:
2828 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2829 over by GLib bug 118439.
2831 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2832 routines to a function.
2834 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2836 * libs/gst/controller/gsthelper.c:
2837 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2838 (gst_object_sync_values): Renamed from sink_values. Ugh.
2840 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2842 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2843 Renamed from controller_key, as it is exported.
2845 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2847 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2852 * gst/gstpadtemplate.h:
2855 * gst/gstqueryutils.c:
2856 * gst/gstqueryutils.h:
2857 remove queryutils headers after moving the two used functions
2858 to gstquery. also fixes build problem for gstsiddec
2860 2005-09-26 Michael Smith <msmith@fluendo.com>
2862 * tools/gst-launch.1.in:
2863 Correct documentation in manpage of debug syntax
2865 2005-09-26 Wim Taymans <wim@fluendo.com>
2867 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2868 (gst_base_src_is_seekable), (gst_base_src_change_state):
2869 Some more debugging info.
2871 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2873 * docs/gst/gstreamer-sections.txt:
2874 * gst/base/gstbasetransform.h:
2878 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2880 * docs/gst/.cvsignore:
2881 * docs/gst/tmpl/.cvsignore:
2882 * docs/gst/tmpl/gstpipeline.sgml:
2883 * docs/gst/tmpl/gstplugin.sgml:
2884 * gst/gstpipeline.c:
2887 inlined the last two docs files
2888 removed the tmpl directory from cvs (no more conflicts here!)
2890 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2892 * docs/gst/gstreamer-sections.txt:
2893 * docs/gst/tmpl/.cvsignore:
2894 * docs/gst/tmpl/gstpad.sgml:
2895 * docs/gst/tmpl/gstpadtemplate.sgml:
2897 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2898 (gst_pad_finalize), (gst_pad_set_pad_template):
2900 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2901 (gst_pad_template_class_init), (gst_pad_template_init),
2902 (gst_pad_template_dispose), (name_is_valid),
2903 (gst_static_pad_template_get), (gst_pad_template_new),
2904 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2905 (gst_pad_template_pad_created):
2906 * gst/gstpadtemplate.h:
2907 inlined two more docs
2908 factored gstpadtemplate out of gstpad
2910 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2912 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2913 (test_children_state_change_order_semi_sink):
2914 Fix test case: we can't rely on a fixed state change order when
2915 going from READY => PAUSED because the sink might commit its
2916 new state first when the first buffer created by the source
2917 reaches the sink before the source has finished its change state.
2918 (Test case still fails at times, see #316856, comment 5 onwards)
2920 2005-09-24 Wim Taymans <wim@fluendo.com>
2922 * docs/design/part-events.txt:
2923 * docs/design/part-gstbus.txt:
2924 * docs/design/part-gstpipeline.txt:
2925 * docs/design/part-messages.txt:
2926 * docs/design/part-overview.txt:
2927 * docs/design/part-segments.txt:
2934 * gst/gstiterator.c:
2935 Various documentation updates.
2937 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2940 Well, that's embarassing. Luckily we weren't using
2941 GST_CLOCK_DIFF anywhere.
2943 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2945 * common/gtk-doc.mak:
2946 don't fail on building XML, FC4 slave shows a bunch of doc
2947 missing bits that I don't get
2949 * gst/gstpipeline.c:
2950 * gst/gststructure.c:
2953 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2955 * docs/design/part-gstbin.txt:
2956 * docs/design/part-gstbus.txt:
2958 Add blurb about how the bus goes into flushing mode and
2959 drops all messages when its bin goes from READY into NULL
2962 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2964 * docs/gst/gstreamer-sections.txt:
2965 * gst/gststructure.c: (gst_structure_get_clock_time):
2966 * gst/gststructure.h:
2967 add a method to get a GstClockTime out of a structure
2969 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2971 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2972 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2973 Added test to check state change order in bins (can still be made
2974 to fail here under heavy disk load; bails out with 'Push on pad
2975 fakesink:sink0, but it was not activated in push mode').
2977 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2978 Fix state change order when there is only a semi sink (#316856)
2980 * gst/gstbus.c: (gst_bus_class_init):
2981 Use _class_peek_parent(), not _class_ref(); fix docs to say
2982 'default main context' instead of 'mainloop' where that is
2985 * gst/gstelement.c: (gst_element_commit_state),
2986 (gst_element_set_state):
2987 Fix typos in debug messages
2989 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2992 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2993 * gst/gstpluginfeature.c:
2996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2997 change an assert into an error until it gets fixed properly
2999 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3001 * docs/gst/gstreamer-sections.txt:
3002 * docs/gst/tmpl/.cvsignore:
3003 * docs/gst/tmpl/gstelement.sgml:
3004 * docs/gst/tmpl/gstinfo.sgml:
3005 * docs/gst/tmpl/gstobject.sgml:
3010 * gst/gstobject.c: (gst_object_class_init):
3012 inlined 3 more biiiig doc files and added some missing docs on the fly
3014 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3016 * check/gst/.cvsignore:
3017 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3018 * gst/gstregistryxml.c: (load_plugin),
3019 (gst_registry_xml_save_plugin):
3020 put back source in registry. add checks for find_plugin.
3021 * testsuite/states/bin.c: (assert_state), (empty_bin),
3022 (test_adding_one_element), (main):
3023 * testsuite/states/locked.c: (main):
3024 some compile/run fixes
3026 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3028 * check/gst/gstvalue.c: (GST_START_TEST):
3029 fix leaks in the test itself
3031 2005-09-22 Wim Taymans <wim@fluendo.com>
3033 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3034 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3035 (gst_base_sink_query):
3036 Prepare for more accurate position reporting and query
3039 * gst/gstelement.c: (gst_element_send_event),
3040 (gst_element_set_state):
3043 2005-09-22 Wim Taymans <wim@fluendo.com>
3045 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3046 (gst_query_parse_segment):
3049 Add segment query for future use.
3051 2005-09-22 Wim Taymans <wim@fluendo.com>
3053 * gst/gstbin.c: (gst_bin_add_func):
3054 Some more debug info.
3056 * gst/gstelement.c: (gst_element_send_event):
3060 Don't know how flags got broken.
3065 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3067 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3068 Add simplistic test suite for GST_TYPE_DATE serialisation and
3071 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3073 * docs/gst/gstreamer-sections.txt:
3074 * gst/gststructure.c: (gst_structure_set_valist),
3075 (gst_structure_get_date):
3076 * gst/gststructure.h:
3077 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3078 (gst_date_copy), (gst_value_compare_date),
3079 (gst_value_serialize_date), (gst_value_deserialize_date),
3080 (gst_value_transform_date_string),
3081 (gst_value_transform_string_date), (_gst_value_initialize):
3083 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3084 bunch of utility functions along with a hack that checks that
3085 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3086 is required. Part of the grand scheme in #170777.
3088 2005-09-22 Andy Wingo <wingo@pobox.com>
3090 * gst/gstconfig.h.in: Psych out gtk-doc.
3092 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3094 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3096 * tools/gst-inspect.c (print_element_list): Plug some
3097 inconsequential leaks.
3099 * gst/gstregistry.c (gst_registry_get_default): Doc.
3101 * check/gst/gstplugin.c:
3102 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3103 * gst/gstelementfactory.c (gst_element_factory_create):
3104 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3107 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3108 (gst_plugin_feature_load): Doc, don't eat refs.
3110 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3111 (gst_plugin_list_free): Doc.
3112 (gst_plugin_load_file): Doc updates.
3114 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3115 accessors returning refcounted objects, return a ref.
3117 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3118 accessor for caps. IDEMPOTENCE. Oh yes.
3120 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3122 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3124 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3125 (_gst_debug_register_funcptr):
3126 Add mutex to serialise access to the hash table with
3127 the function pointer => function name string mapping;
3128 make that hash table static scope (#316809).
3130 * gst/registries/.cvsignore:
3131 Remove left-over file.
3133 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3135 * docs/pwg/appendix-porting.xml:
3136 And something about newsegment events and caps-on-buffers to
3137 the porting guide (feel free to improve).
3139 2005-09-21 Andy Wingo <wingo@pobox.com>
3141 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3142 data and event probes on the same pad.
3143 (test_buffer_probe_once): Test that removing probes from within
3144 the probe functions works.
3146 2005-09-21 Andy Wingo <wingo@pobox.com>
3148 * check/gst/gstutils.c: New file.
3149 (test_buffer_probe_n_times): A simple buffer probe test. More to
3152 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3153 have-data::buffer, not have-data.
3154 (gst_pad_add_event_probe): Likewise for have-data::event.
3155 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3156 peer' isn't quite right yet though.
3157 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3158 (gst_pad_remove_data_probe): Change to take the guint handler_id
3159 as their arg, not the function+data, which is more glib-like.
3161 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3162 the signal emission to indicate if the data is a buffer or an
3164 (gst_pad_get_type): Initialize buffer and event quarks.
3165 (gst_pad_class_init): have-data is now a detailed signal, yes it
3168 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3170 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3171 * gst/gstutils.c: (gst_util_set_value_from_string),
3172 (gst_util_set_object_arg):
3173 Don't put functional code in g_return_if_fail() or
3174 g_return_val_if_fail() statements, otherwise things will
3175 break when G_DISABLE_CHECKS is defined during compilation.
3177 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3179 * docs/gst/tmpl/.cvsignore:
3180 * docs/gst/tmpl/gstvalue.sgml:
3183 inlied another one and added some obvious docs
3185 2005-09-21 Wim Taymans <wim@fluendo.com>
3187 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3188 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3189 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3190 (gst_fdsrc_get_property), (gst_fdsrc_create):
3191 * gst/elements/gstfdsrc.h:
3192 Properly implement fdsrc. Removed signal and timeout,
3193 better implemented somewhere else.
3195 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3197 * docs/gst/tmpl/.cvsignore:
3198 * docs/gst/tmpl/gstimplementsinterface.sgml:
3199 * gst/gstinterface.c:
3202 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3204 * docs/gst/gstreamer-sections.txt:
3205 * docs/gst/tmpl/.cvsignore:
3206 * docs/gst/tmpl/gstenumtypes.sgml:
3207 remove obsolete doc file
3209 2005-09-21 David Schleef <ds@schleef.org>
3211 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3212 little beer, fix a little leak.
3214 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3216 * docs/gst/gstreamer-docs.sgml:
3217 * docs/gst/gstreamer-sections.txt:
3218 * docs/gst/tmpl/.cvsignore:
3223 * gst/gstindex.c: (gst_index_class_init):
3225 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3226 (gst_index_factory_class_init), (gst_index_factory_init),
3227 (gst_index_factory_finalize), (gst_index_factory_new),
3228 (gst_index_factory_destroy), (gst_index_factory_find),
3229 (gst_index_factory_create), (gst_index_factory_make):
3230 * gst/gstindexfactory.h:
3231 * gst/gstpluginfeature.c:
3232 * gst/gstpluginfeature.h:
3233 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3234 more docs inlined, splitted gstindex.{c,h}
3236 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3238 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3241 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3243 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3244 Set sync to FALSE by default.
3246 2005-09-20 Wim Taymans <wim@fluendo.com>
3248 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3249 (gst_base_sink_init):
3250 Make sync property settable from subclass.
3252 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3253 (gst_fake_sink_change_state):
3254 Set sync to FALSE by default.
3256 2005-09-20 Wim Taymans <wim@fluendo.com>
3258 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3259 * tools/gst-launch.c: (main):
3260 The timeout handler should have lower priority than the source
3261 so we don't timeout before popping a message with 0 timeout.
3262 Dump error messages after failed state change.
3264 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3266 * tools/gst-inspect.c: (print_element_properties_info):
3269 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3271 * check/gst/gstevent.c:
3272 * gst/elements/gstfakesink.c:
3273 * gst/elements/gstfakesink.h:
3274 remove the sync property from fakesink.
3275 has the side effect of setting sync TRUE
3276 for fakesink, which is a change. Anyone who knows how
3277 to fix this nicely in a GObject-y way, feel free.
3279 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3281 * docs/gst/gstreamer-docs.sgml:
3282 remove probe refsection
3284 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3286 * check/Makefile.am:
3287 disable valgrinding the controller test again
3288 * docs/gst/gstreamer-sections.txt:
3289 update for api-changes
3291 2005-09-20 Wim Taymans <wim@fluendo.com>
3293 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3294 (gst_base_sink_set_property), (gst_base_sink_get_property),
3295 (gst_base_sink_do_sync):
3296 * gst/base/gstbasesink.h:
3297 Added sync property to basesink to disable clock sync.
3299 2005-09-20 Andy Wingo <wingo@pobox.com>
3301 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3302 eating the caller's refcount.
3304 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3305 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3308 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3309 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3310 of GLib 2.8 public, so we can know which refcount to check in
3313 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3314 (gst_object_init): Only set the gst refcount if we're going ahead
3315 with the refcount hack.
3317 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3319 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3320 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3321 more leaks plumbed, added more debug-logging
3325 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3328 remove include of gstmemchunk.h
3330 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3332 * gst/gstclock.c: (_gst_clock_id_free):
3333 Commit from the Political Party For More Atomic CVS Commits,
3334 so that people don't waste too much of their day fishing
3335 out obvious leaks out of massive commits.
3336 Oh, and fix a pretty damn obvious leak in the memchunk
3339 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3341 * check/Makefile.am:
3342 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3343 plug mem-leak, re-add to valgrindable tests
3345 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3348 unbreak the build for those who have chronic arthritis
3349 and typing "make check" is just too taxing on the hands
3351 2005-09-20 Andy Wingo <wingo@pobox.com>
3353 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3354 really want it out, you should fix plugins at the same time.
3356 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3359 * docs/gst/gstreamer-sections.txt:
3361 added missing symbols to api docs
3362 disable ref-count hack if we have glib >= 2.8
3364 2005-09-19 David Schleef <ds@schleef.org>
3366 * docs/gst/Makefile.am: Ignore a few more internal headers
3367 * docs/gst/gstreamer-docs.sgml: Remove old sections
3368 * docs/gst/gstreamer-sections.txt: Remove old sections
3369 * docs/gst/tmpl/gstobject.sgml: update
3370 * docs/gst/tmpl/gstplugin.sgml: update
3371 * docs/gst/tmpl/gstpluginfeature.sgml: update
3372 * docs/random/ds/0.9-suggested-changes: update.
3373 * gst/Makefile.am: remove memchunk and trashstack, since they're
3375 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3376 * gst/gst.h: don't include some headers
3377 * gst/gstchildproxy.c: add gstmarshal.h
3378 * gst/gstclock.c: Don't use memchunks
3379 * gst/gstminiobject.c: Add some docs
3380 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3381 * gst/gstobject.h: same
3382 * gst/gstplugin.c: include gstmacros.h
3383 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3384 * gst/gstquery.c: don't use memchunks
3385 * gst/gstregistry.c: rename gst_registry_deinit()
3386 * gst/gstregistry.h: same
3388 2005-09-19 David Schleef <ds@schleef.org>
3390 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3391 * docs/libs/gstreamer-libs-sections.txt:
3392 * docs/libs/tmpl/gstgetbits.sgml:
3393 * docs/libs/tmpl/gstputbits.sgml:
3395 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3397 * win32/gstenumtypes.c:
3398 * win32/gstenumtypes.h:
3401 2005-09-19 Wim Taymans <wim@fluendo.com>
3403 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3404 Automatically PAUSE and RESUME a pipeline when a flushing seek
3407 2005-09-19 Andy Wingo <wingo@pobox.com>
3409 * gst/gstregistry.h: Spacing fixen.
3411 2005-09-19 Wim Taymans <wim@fluendo.com>
3413 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3414 Handle state change failure more correctly.
3416 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3418 * check/Makefile.am:
3419 * check/pipelines/cleanup.c: (run_pipeline):
3420 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3422 enable cleanup again after fixing the leak
3424 some more info on docs
3426 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3428 * check/Makefile.am:
3429 re-enable tests now that leaks are plugged
3431 * check/gst/gstbin.c:
3432 * check/gst/gstpipeline.c:
3433 add some more tests while fixing leaks
3435 make sure binaries are uptodate when valgrinding/gdbing
3437 * gst/gstelementfactory.c:
3438 remove a ref too many, and add a FIXME for when we get
3439 round to disposing of classes
3441 fix the refcounting when loading a plugin from a file and
3442 the code pretends that the pointer is the same even though
3443 of course it can change
3444 * gst/gstpluginfeature.c:
3445 unref plugins marked cached (a bit confusing as a name)
3446 as the docs state should be done
3447 various doc additions to explain refcounting
3448 * gst/gstregistry.c:
3449 * gst/gstregistryxml.c:
3452 2005-09-19 Wim Taymans <wim@fluendo.com>
3454 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3455 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3456 (send_messages), (GST_START_TEST), (gstbus_suite):
3457 * check/gst/gstpipeline.c: (GST_START_TEST):
3458 * check/pipelines/cleanup.c: (run_pipeline):
3459 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3461 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3462 (gst_bus_source_check), (gst_bus_source_dispatch),
3463 (gst_bus_create_watch), (gst_bus_add_watch_full),
3464 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3466 * tools/gst-launch.c: (event_loop):
3467 * tools/gst-md5sum.c: (event_loop):
3468 GstBusHandler -> GstBusFunc, return value has the same meaning as
3469 any other GSource (FALSE == remove source).
3470 _add_watch() and _add_watch_full() now take a MessageType mask to
3471 only handle specific types of messages.
3472 _poll() returns the GstMessage instead of the message type to avoid
3474 _have_pending() takes a MessageType mask now too.
3475 Added testsuite for multiple bus watches.
3476 Fix testsuites and applications for new bus API.
3478 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3480 * check/Makefile.am:
3481 mark a bunch of the tests as to fix until we fix them
3483 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3486 use GST_PLUGIN settings for valgrind tests as well, so we're
3487 valgrinding the correct thing
3488 * gst/gst.c: (init_post):
3491 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3493 * gst/gst.c: (init_post), (gst_deinit):
3494 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3495 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3496 * gst/gstindex.c: (gst_index_factory_class_init),
3497 (gst_index_factory_finalize):
3498 * gst/gstobject.c: (gst_object_dispose):
3499 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3500 (gst_plugin_load_file), (gst_plugin_desc_free):
3501 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3502 (gst_plugin_feature_finalize):
3503 * gst/gstregistry.c: (gst_registry_class_init),
3504 (gst_registry_init), (gst_registry_finalize),
3505 (gst_registry_get_default), (gst_registry_deinit):
3506 * gst/gstregistry.h:
3507 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3508 various cleanups and memleak plugging. make valgrind is happy now.
3510 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3513 add a check-valgrind target
3515 2005-09-18 David Schleef <ds@schleef.org>
3517 * tools/gst-inspect.c: Revert the GOption code.
3519 2005-09-17 David Schleef <ds@schleef.org>
3521 * check/Makefile.am: Fix environment variables.
3522 * check/gst/gstplugin.c: Fix for API changes.
3523 * tools/gst-inspect.c: Fix for API changes.
3524 * tools/gst-xmlinspect.c: Fix for API changes.
3525 * gst/gstelementfactory.c:
3528 * gst/gstpluginfeature.c:
3529 * gst/gstpluginfeature.h:
3530 * gst/gstregistry.c:
3531 * gst/gstregistry.h:
3532 * gst/gstregistryxml.c:
3533 * gst/gsttypefind.c:
3534 * gst/gsttypefindfactory.c:
3535 * gst/indexers/gstfileindex.c:
3536 * gst/indexers/gstmemindex.c:
3537 * gst/schedulers/Makefile.am:
3538 Change registry to keep track of both plugins and features,
3539 removing the feature tracking from plugins themselves.
3541 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3543 * check/Makefile.am:
3544 * tools/gst-register.1.in:
3547 2005-09-15 David Schleef <ds@schleef.org>
3549 * check/gst/gstplugin.c:
3550 * gst/gstelementfactory.c:
3552 * gst/gstpluginfeature.c:
3553 * gst/gstregistry.c:
3554 Getting tired of debugging. Disabled all the unreffing of
3555 plugins and features, which fixes the segfaults, but of
3556 course leaks like crazy. At least playbin works.
3558 2005-09-15 David Schleef <ds@schleef.org>
3560 * check/gst/gstplugin.c: (register_check_elements),
3561 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3563 * gst/elements/gsttypefindelement.c: Fix refcounting.
3564 * gst/gsttypefind.c:
3565 * gst/gsttypefindfactory.c:
3566 * gst/gsttypefindfactory.h:
3568 2005-09-15 David Schleef <ds@schleef.org>
3570 * gst/gstindex.c: get refcounting correct.
3571 * gst/gstregistry.c: Handle the case where a feature/plugin is
3574 2005-09-15 David Schleef <ds@schleef.org>
3576 * check/Makefile.am:
3577 * check/gst/gstplugin.c: Add test
3578 * gst/gstplugin.c: Fix problems noticed by testsuite
3580 * gst/gstregistry.c:
3581 * gst/gstregistry.h:
3583 2005-09-15 David Schleef <ds@schleef.org>
3585 * gst/gstplugin.c: Implement semi-decent recounting and locking
3586 in plugins and plugin features.
3588 * gst/gstpluginfeature.c:
3589 * gst/gstpluginfeature.h:
3590 * gst/gstregistry.c:
3592 2005-09-15 Michael Smith <msmith@fluendo.com>
3594 * gst/gstregistry.c: (gst_registry_get_feature_list):
3595 Implement this. Makes oggdemux work; decodebin still broken.
3597 2005-09-14 David Schleef <ds@schleef.org>
3599 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3601 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3602 * gst/check/Makefile.am:
3603 * libs/gst/controller/Makefile.am:
3604 * libs/gst/dataprotocol/Makefile.am:
3606 2005-09-14 David Schleef <ds@schleef.org>
3608 * configure.ac: Remove getbits library. Nothing uses it, and
3609 it should be in something like liboil if someone did want
3611 * libs/gst/Makefile.am:
3612 * libs/gst/getbits/Makefile.am:
3613 * libs/gst/getbits/gbtest.c:
3614 * libs/gst/getbits/getbits.c:
3615 * libs/gst/getbits/getbits.h:
3616 * libs/gst/getbits/gstgetbits_generic.c:
3617 * libs/gst/getbits/gstgetbits_i386.s:
3618 * libs/gst/getbits/gstgetbits_inl.h:
3620 2005-09-14 David Schleef <ds@schleef.org>
3622 * gst/Makefile.am: Dist glib-compat.h
3624 2005-09-14 David Schleef <ds@schleef.org>
3626 * configure.ac: Remove gst/registries, since it's no longer used.
3627 * gst/registries/Makefile.am:
3628 * gst/registries/gstlibxmlregistry.c:
3629 * gst/registries/gstlibxmlregistry.h:
3630 * gst/registries/gstxmlregistry.c:
3631 * gst/registries/gstxmlregistry.h:
3632 * gst/registries/registrytest.c:
3634 2005-09-14 David Schleef <ds@schleef.org>
3636 * gst/glib-compat.h:
3637 * gst/gstregistryxml.c:
3638 Convergence is near. Seriously.
3640 2005-09-14 David Schleef <ds@schleef.org>
3642 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3643 * gst/glib-compat.h:
3644 Attempt #4 to appease the buildbots.
3646 2005-09-14 David Schleef <ds@schleef.org>
3648 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3651 2005-09-14 David Schleef <ds@schleef.org>
3653 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3656 2005-09-14 David Schleef <ds@schleef.org>
3658 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3661 2005-09-14 David Schleef <ds@schleef.org>
3663 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3664 * gst/glib-compat.h: Add some functions that are in newer versions
3665 of glib than we care to require.
3666 * gst/gstregistryxml.c: Use them.
3668 2005-09-14 David Schleef <ds@schleef.org>
3670 * po/POTFILES.in: remove gst-register.c
3672 2005-09-14 David Schleef <ds@schleef.org>
3674 * docs/gst/gstreamer-docs.sgml:
3675 * docs/gst/gstreamer-sections.txt:
3676 * docs/gst/gstreamer.types:
3677 * docs/gst/tmpl/gstelement.sgml:
3678 * docs/gst/tmpl/gstplugin.sgml:
3679 * docs/gst/tmpl/gstpluginfeature.sgml:
3680 Documentation updates for registry changes.
3682 2005-09-14 David Schleef <ds@schleef.org>
3684 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3685 because we don't require glib-2.8.
3687 2005-09-14 David Schleef <ds@schleef.org>
3689 * gst/gstregistryxml.c: Added. Essentially moved out of the
3690 registries directory.
3692 2005-09-14 David Schleef <ds@schleef.org>
3694 * check/Makefile.am:
3695 * check/generic/states.c:
3699 * gst/gst_private.h:
3700 * gst/gstelementfactory.c:
3705 * gst/gstpluginfeature.c:
3706 * gst/gstpluginfeature.h:
3707 * gst/gstregistry.c:
3708 * gst/gstregistry.h:
3709 * gst/gstregistrypool.c: remove
3710 * gst/gstregistrypool.h: remove
3711 * gst/gsttypefind.c:
3712 * gst/gsttypefindfactory.c:
3714 * tools/Makefile.am:
3715 * tools/gst-compprep.c:
3716 * tools/gst-inspect.c:
3717 * tools/gst-register.c: remove
3718 * tools/gst-xmlinspect.c:
3719 Registry rewrite. Changes registry from being a file created
3720 by a tool into a simple cache file created automatically by
3721 libgstreamer. Removed gst-register (because it's no longer
3722 needed). Remove registry pools, because we only have one
3723 registry implementation (XML). Fix up other subsystems as
3726 2005-09-13 Michael Smith <msmith@fluendo.com>
3728 * gst/gstconfig.h.in:
3729 Don't Use windows linking attributes for MinGW. Fixes #316157
3731 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3733 * gst/gstutils.c: (set_state_async_thread_func),
3734 (gst_element_set_state_async):
3735 Apparently people think it's better if this function doesn't
3736 try to set the state to whatever state was asked for on the first
3737 call to this function for any object. Seriously.
3739 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3741 * check/gst/gstpipeline.c: (GST_START_TEST):
3742 * docs/gst/gstreamer-sections.txt:
3743 * gst/gstutils.c: (set_state_async_thread_func),
3744 (gst_element_set_state_async):
3746 add a "gst_element_set_state_async" method that
3747 sets the state and starts a thread to make sure the state
3748 change completes as best as it can
3750 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3752 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3753 codify design+behaviour in testsuite after discussion
3755 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3757 * docs/gst/tmpl/gstelement.sgml:
3758 * docs/manual/appendix-quotes.xml:
3760 * gst/gstelement.c: (gst_element_set_state):
3763 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3765 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3766 (gst_base_transform_prepare_output_buf),
3767 (gst_base_transform_handle_buffer):
3768 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3769 (gst_capsfilter_prepare_buf):
3770 Remove the requirement for sub-classes to call the parent
3771 implementation of prepare_output_buffer with a wrapper function.
3774 * gst/gsttagsetter.h:
3777 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3779 * docs/gst/gstreamer-sections.txt:
3782 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3784 * docs/gst/gstreamer-sections.txt:
3785 * docs/gst/tmpl/gstelement.sgml:
3786 * docs/gst/tmpl/gstplugin.sgml:
3787 * gst/gstminiobject.c:
3789 docs now stop throwing warnings
3791 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3793 * docs/gst/gstreamer-sections.txt:
3794 * docs/gst/gstreamer.types:
3795 * docs/gst/tmpl/gstpad.sgml:
3796 * docs/gst/tmpl/gsttypes.sgml:
3797 * gst/base/gstadapter.h:
3798 * gst/base/gstbasesink.h:
3799 * gst/base/gstbasesrc.h:
3809 * gst/gststructure.c:
3810 * gst/registries/gstlibxmlregistry.h:
3811 various documentation fixes
3813 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3815 * docs/gst/gstreamer-sections.txt:
3816 * docs/gst/tmpl/gstvalue.sgml:
3817 rearrange gstvalue section
3818 * gst/gstutils.c: (gst_element_state_get_name):
3820 * gst/gstvalue.c: (_gst_value_initialize):
3824 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3826 * check/gst-libs/controller.c:
3828 * gst/base/gstbasetransform.c:
3829 (gst_base_transform_default_prepare_buf),
3830 (gst_base_transform_handle_buffer):
3831 * gst/base/gstbasetransform.h:
3832 Some more basetransform changes and fixes to enable sub-classes
3833 that modify buffer metadata only.
3834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3835 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3836 (gst_capsfilter_prepare_buf):
3837 If the output pad has fixed allowed caps and input buffers
3838 don't have any, set the fixed caps on outgoing buffers.
3840 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3841 * check/elements/identity.c: (GST_START_TEST):
3842 Make the error a little clearer when the test fails because
3843 identity made a copy of the buffer.
3844 * docs/gst/gstreamer-sections.txt:
3845 New symbols in gstbasetransform.h
3846 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3847 (gst_base_transform_init), (gst_base_transform_transform_size),
3848 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3849 (gst_base_transform_default_prepare_buf),
3850 (gst_base_transform_get_unit_size),
3851 (gst_base_transform_buffer_alloc),
3852 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3853 (gst_base_transform_change_state),
3854 (gst_base_transform_set_passthrough),
3855 (gst_base_transform_set_in_place),
3856 (gst_base_transform_is_in_place):
3857 * gst/base/gstbasetransform.h:
3858 Change BaseTransform to separate in_place operate from same_caps
3859 output. in_place implies that the element can perform the transform
3860 on incoming buffers in-place, even if the caps on the output are
3862 Sub-class elements can now implement special buffer allocation
3863 methods for outgoing buffers if they wish to.
3864 Big documentation addition.
3865 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3866 * gst/elements/gstelements.c:
3867 Changes for basetransform modifications.
3868 * gst/elements/Makefile.am:
3869 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3870 Compile fix. Extra debug output.
3872 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3874 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3876 add tests for valid pad naming
3877 * gst/check/gstcheck.c: (gst_check_log_message_func),
3878 (gst_check_log_critical_func):
3880 remove printing of code, it is fragile when the code contains
3881 % and the line number is enough info
3882 * gst/check/gstcheck.h:
3883 * gst/gstpad.c: (gst_pad_template_new):
3886 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3889 say what CHECK flags we use
3890 * docs/libs/gstreamer-libs.types:
3891 * libs/gst/controller/Makefile.am:
3892 * libs/gst/controller/gst-controller.c:
3893 * libs/gst/controller/gst-controller.h:
3894 * libs/gst/controller/gst-helper.c:
3895 * libs/gst/controller/gst-interpolation.c:
3896 * libs/gst/controller/gstcontroller.c:
3897 * libs/gst/controller/gsthelper.c:
3898 * libs/gst/controller/gstinterpolation.c:
3899 * tools/gst-inspect.c: (print_plugin_info):
3900 we don't use dashes in header names
3902 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3904 * check/Makefile.am:
3905 * check/gst/.cvsignore:
3906 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3907 (gst_pipeline_suite), (main):
3908 adding a test for pipelines and state changes
3909 * gst/gstutils.c: (get_state_func):
3911 * gstreamer.spec.in:
3914 2005-09-08 Michael Smith <msmith@fluendo.com>
3916 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3917 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3918 (gst_file_src_is_seekable), (gst_file_src_get_size),
3919 (gst_file_src_start):
3920 * gst/elements/gstfilesrc.h:
3921 Various fixes for unseekable, unmmapable, and non-normal files, so
3922 that fallback to read() rather than mmap() works.
3923 * gst/gstevent.c: (gst_event_new_newsegment):
3924 Allow newsegment events with segment_start == segment_end, as will
3925 correctly happen if you use filesrc on a zero-size file, for
3928 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3930 * gst/gstplugin.c: (gst_plugin_load_file):
3931 Call g_module_close when we don't load the module
3933 * gst/registries/gstlibxmlregistry.c:
3934 (gst_xml_registry_get_property):
3935 Port leak fix from 0.8
3937 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3939 * docs/gst/gstreamer-docs.sgml:
3940 * docs/gst/tmpl/.cvsignore:
3941 * docs/gst/tmpl/gsttrace.sgml:
3942 * docs/gst/tmpl/gsttrashstack.sgml:
3951 * gst/gsttaginterface.c:
3952 * gst/gsttaginterface.h:
3955 * gst/gsttagsetter.c:
3956 * gst/gsttagsetter.h:
3959 * gst/gsttrashstack.c:
3960 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3961 inlined docs for gsttrace, gsttrashstack
3963 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3966 * gst/elements/gstbufferstore.h:
3967 * gst/elements/gsttypefindelement.c:
3968 * gst/elements/gsttypefindelement.h:
3970 * gst/gsttypefind.c:
3971 * gst/gsttypefind.h:
3972 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3973 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3974 (gst_type_find_factory_dispose),
3975 (gst_type_find_factory_unload_thyself),
3976 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3977 (gst_type_find_factory_get_caps),
3978 (gst_type_find_factory_get_extensions),
3979 (gst_type_find_factory_call_function):
3980 * gst/gsttypefindfactory.h:
3981 * gst/registries/gstlibxmlregistry.c:
3982 * gst/registries/gstxmlregistry.c:
3983 splitted gsttypefind into gsttypefind, gsttypefindfactory
3985 2005-09-07 Andy Wingo <wingo@pobox.com>
3987 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3988 condition whereby the pad's task function is entered before the
3989 pad_mode variable was set.
3991 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3993 * gst/gstpad.c: (gst_pad_alloc_buffer):
3994 Catch misbehaving pad_alloc functions that don't
3995 set up caps and do it for them.
3997 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3999 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4001 * docs/gst/tmpl/.cvsignore:
4002 * docs/gst/tmpl/gstmemchunk.sgml:
4003 * docs/gst/tmpl/gstparse.sgml:
4004 * docs/gst/tmpl/gsttaglist.sgml:
4005 * docs/gst/tmpl/gsttagsetter.sgml:
4006 * docs/gst/tmpl/gsttypefind.sgml:
4007 * docs/gst/tmpl/gsttypefindfactory.sgml:
4008 * gst/gstmemchunk.c:
4011 * gst/gsttaginterface.c:
4012 * gst/gsttypefind.c:
4013 * gst/gsttypefind.h:
4016 === release 0.9.2 ===
4018 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4023 releasing 0.9.2, "South"
4025 2005-09-05 Andy Wingo <wingo@pobox.com>
4027 * gst/registries/gstxmlregistry.h:
4028 * gst/registries/gstxmlregistry.c: Um... resurrect...
4030 * gst/registries/gstxmlregistry.h:
4031 * gst/registries/gstxmlregistry.c: and update to newer API.
4032 Incidentally they should be a bit faster now that they don't have
4035 2005-09-05 Andy Wingo <wingo@pobox.com>
4037 * gst/registries/gstxmlregistry.h:
4038 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4039 replaced by the libxml registry a while back
4041 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4043 * docs/gst/tmpl/gstplugin.sgml:
4044 * gst/elements/gstelements.c:
4046 * gst/gstplugin.c: (gst_plugin_register_func),
4047 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4048 (gst_plugin_get_source):
4050 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4051 (gst_xml_registry_save_plugin):
4052 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4053 (gst_xml_registry_save_plugin):
4054 * tools/gst-inspect.c: (print_plugin_info):
4055 add a "source" plugin description field, to represent the source
4056 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4057 will set it to PACKAGE, which is automake's idea of the name of
4060 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4066 * docs/faq/Makefile.am:
4067 * docs/gst/tmpl/gstelement.sgml:
4068 * docs/gst/tmpl/gsttypes.sgml:
4069 * docs/htmlinstall.mak:
4070 * docs/manual/Makefile.am:
4071 * docs/pwg/Makefile.am:
4072 reorganize doc build a little
4073 split out docbook and gtk-doc stuff
4074 have two separate --enable's and enable them through autogen
4075 but disable by default in configure (to be similar to other
4077 * gstreamer.spec.in:
4078 clean up docs install
4098 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4100 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4103 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4104 (gst_fake_sink_change_state):
4105 Make state change function thread-safe.
4107 * gst/gstpad.c: (gst_pad_alloc_buffer):
4108 Set offset on generic buffer allocated by fallback.
4110 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4112 * docs/gst/gstreamer-sections.txt:
4113 * docs/gst/tmpl/gstelement.sgml:
4115 * libs/gst/controller/gst-controller.c:
4116 (gst_controlled_property_set_interpolation_mode),
4117 (gst_controlled_property_new),
4118 (gst_controller_find_controlled_property):
4119 run the wingo-magic script against the docs
4121 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4123 * docs/gst/gstreamer-docs.sgml:
4124 * docs/gst/gstreamer-sections.txt:
4125 * docs/gst/tmpl/.cvsignore:
4126 * docs/gst/tmpl/gstelementdetails.sgml:
4127 * docs/gst/tmpl/gstelementfactory.sgml:
4130 * gst/gstelementfactory.c:
4131 * gst/gstelementfactory.h:
4132 merged elementdetails docs into elementfactory docs
4135 2005-09-02 Andy Wingo <wingo@pobox.com>
4137 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4138 consider this enum an enum and not a flags.
4140 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4142 * docs/gst/gstreamer-docs.sgml:
4143 * docs/gst/tmpl/.cvsignore:
4144 * docs/gst/tmpl/gstghostpad.sgml:
4145 * docs/gst/tmpl/gstiterator.sgml:
4146 * docs/gst/tmpl/gstmacros.sgml:
4147 * docs/gst/tmpl/gstrealpad.sgml:
4148 * docs/gst/tmpl/gstregistry.sgml:
4149 * docs/gst/tmpl/gstregistrypool.sgml:
4150 * docs/gst/tmpl/gststructure.sgml:
4151 * docs/gst/tmpl/gstsystemclock.sgml:
4152 * docs/gst/tmpl/gsttrace.sgml:
4153 * gst/gstghostpad.c:
4155 * gst/gstmemchunk.c:
4156 * gst/gstmemchunk.h:
4158 * gst/gstregistry.c:
4159 * gst/gstregistrypool.c:
4160 * gst/gststructure.c:
4161 * gst/gstsystemclock.c:
4164 2005-09-02 Andy Wingo <wingo@pobox.com>
4166 * gst/gstelement.h (GstState): Renamed from GstElementState,
4167 changed to be a normal enum instead of flags.
4168 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4169 munged to be GST_STATE_CHANGE_*.
4170 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4171 work with the new state representation.
4172 (GstStateChange): New enumeration of possible state transitions.
4173 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4174 (GstElementClass::change_state): Pass the GstStateChange along as
4175 an argument. Helps language bindings, so they don't have to use
4176 tricky lock-needing macros like GST_STATE_CHANGE ().
4178 * scripts/update-states (file): New script. Run it on a file to
4179 update it for state naming and API changes. Updates files in
4182 * All files updated for the new API.
4184 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4186 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4187 * gst/gstutils.c: (gst_util_set_value_from_string),
4188 (gst_util_set_object_arg):
4189 fix a bunch of unchecked return values
4190 * tools/gst-complete.c: (main):
4191 * gstreamer.spec.in:
4194 2005-09-01 Wim Taymans <wim@fluendo.com>
4196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4197 (gst_base_sink_event), (gst_base_sink_do_sync),
4198 (gst_base_sink_handle_event):
4199 * gst/base/gstbasesink.h:
4200 Handle newsegments more correctly.
4205 * gst/gstevent.c: (gst_event_new_newsegment):
4206 A newsegment cannot have a start_time of -1
4208 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4210 * win32/gstenumtypes.c:
4211 * win32/gstenumtypes.h:
4214 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4216 * libs/gst/controller/gst-controller.c:
4217 (gst_controlled_property_set_interpolation_mode),
4218 (gst_controlled_property_new):
4221 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4223 * docs/faq/gst-uninstalled:
4228 * gst/gstutils.c: (gst_element_link_filtered):
4230 add gst_element_link_filtered
4232 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4234 * docs/gst/gstreamer-docs.sgml:
4235 * docs/gst/gstreamer-sections.txt:
4236 * docs/gst/tmpl/.cvsignore:
4237 * docs/gst/tmpl/gsterror.sgml:
4238 * docs/gst/tmpl/gstfilter.sgml:
4239 * docs/gst/tmpl/gsturihandler.sgml:
4240 * docs/gst/tmpl/gsturitype.sgml:
4241 * docs/gst/tmpl/gstutils.sgml:
4242 * docs/gst/tmpl/gstxml.sgml:
4250 inlined more docs, fixed double id-ref
4252 2005-08-31 Wim Taymans <wim@fluendo.com>
4254 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4255 (gst_base_transform_handle_buffer):
4256 Passthrough elements don't need the caps as they don't care.
4258 2005-08-31 Wim Taymans <wim@fluendo.com>
4260 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4261 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4262 Don't leak refcounts on buffers.
4264 2005-08-31 Wim Taymans <wim@fluendo.com>
4266 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4267 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4268 (gst_base_transform_chain), (gst_base_transform_change_state):
4269 * gst/base/gstbasetransform.h:
4270 Handle the case where we are not negotiated more gracefully.
4272 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4274 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4275 (gst_file_src_map_region):
4276 Set READONLY flag on mmap'ed buffers, otherwise
4277 gst_buffer_make_writable() won't work properly (#314708).
4279 2005-08-31 Wim Taymans <wim@fluendo.com>
4281 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4282 passthrough elements can even do inplace on non writable
4283 buffers (as they don't touch them).
4285 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4287 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4288 (gst_test_mono_source_set_property),
4289 (gst_test_mono_source_class_init), (GST_START_TEST),
4290 (gst_controller_suite):
4291 more tests (hehe I have the most)
4293 describe popping messages whenusing mulltiple sources
4294 * libs/gst/controller/gst-controller.c:
4295 (gst_controlled_property_set_interpolation_mode),
4296 (gst_controlled_property_new):
4297 * libs/gst/controller/gst-controller.h:
4298 * libs/gst/controller/gst-interpolation.c:
4299 implement boolean properties
4301 2005-08-31 Wim Taymans <wim@fluendo.com>
4303 * gst/gstminiobject.c: (gst_mini_object_ref):
4304 Cannot assert that the refcount has to be positive
4305 since a disposed object can be resurrected.
4307 2005-08-31 Wim Taymans <wim@fluendo.com>
4309 * gst/gstpad.c: (gst_pad_init):
4310 Revert change, need to first fix badly behaving
4313 2005-08-30 Wim Taymans <wim@fluendo.com>
4315 * check/elements/fakesrc.c: (setup_fakesrc):
4316 * check/elements/identity.c: (setup_identity):
4317 Activate pads before using them.
4319 2005-08-30 Wim Taymans <wim@fluendo.com>
4321 * gst/base/gstadapter.c: (gst_adapter_flush):
4322 Flushing out 0 bytes is ok for this function.
4324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4325 no newsegment gives a warning and sets the start/stop to
4328 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4329 (gst_base_transform_set_passthrough):
4332 * gst/gstminiobject.c: (gst_mini_object_ref):
4333 Check refcount here too.
4335 * gst/gstpad.c: (gst_pad_init):
4336 Pads are initially flushing and refusing data.
4338 * gst/gstutils.c: (gst_element_link_pads_filtered):
4339 When adding a capsfilter element make sure it has the
4340 same state as the parent bin.
4342 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4344 * docs/gst/tmpl/.cvsignore:
4345 * docs/gst/tmpl/gstformat.sgml:
4346 * docs/gst/tmpl/gstversion.sgml:
4350 * gst/gstversion.h.in:
4351 more docs and two more inlined
4353 2005-08-30 Wim Taymans <wim@fluendo.com>
4355 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4356 Don't sync to clock.
4358 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4360 * docs/gst/gstreamer-sections.txt:
4361 ultral33t func10ns deserve to appear in the docs actually
4362 * docs/gst/tmpl/.cvsignore:
4363 * docs/gst/tmpl/gstcompat.sgml:
4364 * docs/gst/tmpl/gstconfig.sgml:
4365 * gst/check/gstcheck.c:
4367 * gst/gstconfig.h.in:
4370 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4372 * docs/gst/tmpl/.cvsignore:
4373 * docs/gst/tmpl/gstquery.sgml:
4374 * docs/gst/tmpl/gstutils.sgml:
4377 inlined and extended docs
4379 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4381 * check/gst-libs/controller.c: (GST_START_TEST),
4382 (gst_controller_suite):
4384 * docs/gst/tmpl/gstutils.sgml:
4385 * docs/libs/gstreamer-libs-sections.txt:
4386 * docs/libs/tmpl/gstdataprotocol.sgml:
4388 * examples/controller/audio-example.c: (main):
4389 controller example works now
4392 * tools/gst-inspect.c: (print_element_properties_info):
4393 show param spec flags
4395 2005-08-29 Andy Wingo <wingo@pobox.com>
4397 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4399 2005-08-28 Andy Wingo <wingo@pobox.com>
4401 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4402 as having two arguments instead of just one. Allows superclasses
4403 to access information on subclasses -- see the terrible for() loop
4404 in gtype.c:g_type_create_instance for the reason why. All callers
4407 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4409 * docs/design/part-messages.txt:
4411 * docs/gst/tmpl/.cvsignore:
4412 * docs/gst/tmpl/gstcaps.sgml:
4413 * docs/gst/tmpl/gstclock.sgml:
4420 added descriptions for bus and message
4421 inline caps and clock docs
4423 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4429 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4431 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4434 2005-08-26 Andy Wingo <wingo@pobox.com>
4436 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4437 element_set_state's return val.
4438 (test_2_elements): Add test that's been disabled for months.
4440 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4441 can-activate-pull properties.
4443 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4444 can-activate-pull properties. Implement is_seekable so fakesrc can
4445 operate in pull mode.
4447 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4449 (gst_base_sink_activate, gst_base_sink_activate_pull)
4450 (gst_base_sink_activate_push): Make activation mode choosing work.
4452 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4453 is right. Make pull mode work. Post an eos before pausing in pull
4455 (gst_base_sink_change_state): Pay attention to the core's
4456 change_state() return val.
4458 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4459 has-getrange properties. Cleanups.
4461 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4462 has_getrange and replace with can_activate_pull and
4465 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4466 locking comments. Remove has_loop, has_chain and replace with
4467 can_activate_pull and can_activate_push.
4469 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4472 * examples/Makefile.am:
4473 * examples/metadata/Makefile.am:
4474 * examples/metadata/read-metadata.c: (message_loop),
4475 (have_pad_handler), (make_pipeline), (print_tag), (main):
4476 Add metadata reading example that loops over a list of filenames,
4477 dumping any tags found.
4479 * gst/gstbus.c: (gst_bus_dispose):
4480 * gst/gstelement.c: (gst_element_dispose):
4481 Release a few potentially-held references in dispose.
4483 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4485 * docs/gst/tmpl/gstminiobject.sgml:
4486 do *not* add tmpl/*.sgml files to CVS!
4488 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4490 * libs/gst/bytestream/.cvsignore:
4491 * libs/gst/bytestream/Makefile.am:
4492 * libs/gst/bytestream/adapter.c:
4493 * libs/gst/bytestream/adapter.h:
4494 * libs/gst/bytestream/bytestream.c:
4495 * libs/gst/bytestream/bytestream.h:
4496 * libs/gst/bytestream/filepad.c:
4497 * libs/gst/bytestream/filepad.h:
4498 removing obsolete files
4500 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4502 * docs/gst/gstreamer-docs.sgml:
4503 * docs/libs/gstreamer-libs-docs.sgml:
4504 disabed additional index entries again, as this makes docs-gen just
4505 slow and they aren't useful yet
4506 * docs/libs/gstreamer-libs-sections.txt:
4507 little -section.txt cleanup for libs
4509 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4511 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4512 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4513 fix up some debugging
4514 (gst_base_transform_get_unit_size),
4515 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4516 (gst_base_transform_handle_buffer):
4517 * gst/base/gstbasetransform.h:
4518 handle and store timed NEWSEGMENT events so that subclasses that
4519 calculate time by counting samples have a segment_start time they
4520 need to add to their timestamps - see audioresample
4522 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4525 removed ';' from the end of macro defs
4526 * docs/gst/gstreamer-docs.sgml:
4527 * docs/gst/gstreamer-sections.txt:
4528 * docs/gst/tmpl/.cvsignore:
4530 * gst/gstelement.c: (gst_element_class_init),
4531 (gst_element_set_state), (activate_pads),
4532 (gst_element_save_thyself):
4533 * gst/gstevent.c: (gst_event_new_newsegment):
4535 * gst/gstiterator.c:
4536 * gst/gstiterator.h:
4539 * gst/gstutils.c: (gst_pad_query_convert):
4541 fixed parameter name mismatches between source, header and docs
4542 added some more docs, resolved the last batch of unused elements in
4543 docs (now someone needs to doc them)
4545 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4547 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4548 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4549 don't walk through the plugins backwards. Where is all this
4550 reversed logic coming from ?
4552 2005-08-25 Wim Taymans <wim@fluendo.com>
4554 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4555 (gst_base_transform_transform_size),
4556 (gst_base_transform_configure_caps),
4557 (gst_base_transform_get_unit_size),
4558 (gst_base_transform_buffer_alloc),
4559 (gst_base_transform_change_state):
4560 * gst/base/gstbasetransform.h:
4561 Cache caps unit_size.
4562 Make sure we cannot negotiate up and downstream at the
4565 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4567 * gst/gst.c: (init_pre), (init_post):
4568 register the installed plugin path after the env var
4569 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4570 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4571 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4572 directories, so the tests can prefer uninstalled over installed
4574 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4576 * gst/base/gstbasetransform.h:
4581 2005-08-25 Wim Taymans <wim@fluendo.com>
4583 * gst/gstbin.c: (bin_bus_handler):
4584 Be a bit more conservative about the posted message.
4586 * gst/gstbus.c: (gst_bus_post):
4587 Some cleanups, warn wrong return values.
4589 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4591 * check/gst/gstbin.c: (GST_START_TEST):
4592 * gst/gstbin.c: (bin_bus_handler):
4593 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4594 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4595 (gst_message_new_warning), (gst_message_new_tag),
4596 (gst_message_new_state_changed), (gst_message_new_segment_start),
4597 (gst_message_new_segment_done), (gst_message_new_custom):
4599 * tools/gst-launch.c: (event_loop):
4600 * tools/gst-md5sum.c: (event_loop):
4601 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4603 2005-08-25 Wim Taymans <wim@fluendo.com>
4605 * check/generic/states.c: (GST_START_TEST):
4606 Cleanup can be done at the end.
4608 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4609 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4610 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4611 Oh boy.. Thanks for finding this, Thomas.
4613 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4615 * docs/gst/gstreamer.types:
4618 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4620 * docs/gst/gstreamer-docs.sgml:
4621 * docs/gst/gstreamer-sections.txt:
4622 * docs/gst/tmpl/.cvsignore:
4624 * gst/gstiterator.c:
4626 * gst/registries/gstxmlregistry.h:
4627 added missing classes and symbols (123 more to go)
4628 removed removed symbols from section file
4629 fixed many doc-comments
4631 2005-08-24 Wim Taymans <wim@fluendo.com>
4633 * check/generic/states.c: (GST_START_TEST):
4634 Make sure all tasks are stopped.
4636 * check/gst/gstbin.c: (GST_START_TEST):
4637 Unref after usage for proper valgrinding.
4639 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4640 Really wait for the task to stop before destroying the
4643 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4644 (gst_queue_src_activate_push):
4645 Small cleanups. Don't stop the task when we did not start
4648 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4649 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4650 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4653 Protect the stream lock with the object lock.
4654 Disallow setting the stream lock when running.
4655 Add cleanup_all to wait for the threadpool to finish.
4656 Remove code to autoallocate a mutex if none was provided.
4657 Add _join() to wait for a task to stop.
4658 Protect the thread pool with a global lock.
4660 2005-08-24 Wim Taymans <wim@fluendo.com>
4662 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4663 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4664 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4665 * gst/base/gstbasesink.h:
4666 Handle newsegment events correctly.
4667 Drop buffers out of the segment range.
4669 2005-08-22 Andy Wingo <wingo@pobox.com>
4671 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4672 macro, implements an interface and gstimplementsinterface for a
4675 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4677 * check/Makefile.am:
4678 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4679 add a test that does a bunch of state changes on elements
4680 needs some fixing for valgrind
4681 * check/states/sinks.c: (gst_object_suite):
4684 add prototype for gst_caps_is_equal_fixed
4686 * gst/gstregistrypool.c:
4689 2005-08-24 Andy Wingo <wingo@pobox.com>
4691 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4692 convert a negative value. Doesn't make much sense. Mostly this is
4693 here to force callers to ensure -1 maps to -1.
4695 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4697 * docs/pwg/advanced-types.xml:
4698 Well done to Michael for catching my deliberate introduction
4699 of this spelling mistake.
4700 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4702 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4703 unlink pads before removing the element from the bin.
4705 2005-08-24 Andy Wingo <wingo@pobox.com>
4707 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4708 the same thing as GST_DEBUG=*:4.
4709 (parse_debug_level, parse_debug_category): New helper parsers.
4711 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4713 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4714 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4715 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4716 (gst_base_transform_buffer_alloc),
4717 (gst_base_transform_handle_buffer):
4718 use gboolean return values and pointers to size so we can use the
4719 full GST_BUFFER_SIZE range (guint) for buffer sizes
4720 use GstPadDirection for transform_caps
4721 * gst/base/gstbasetransform.h:
4722 rename get_size to get_unit_size since that's what it is
4723 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4724 use GstPadDirection for transform_caps
4725 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4727 cleanup and debugging
4729 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4731 * gst/gstelement.c: (gst_element_class_init),
4732 (gst_element_set_state), (activate_pads),
4733 (gst_element_save_thyself):
4734 * tools/gst-compprep.c: (main):
4735 * tools/gst-inspect.c: (print_element_properties_info):
4736 * tools/gst-xmlinspect.c: (print_element_properties):
4737 Fixed long standing mem-leak
4739 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4741 * check/gst/gstbin.c: (GST_START_TEST):
4742 * gst/gstbin.c: (bin_bus_handler):
4743 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4744 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4745 (gst_message_new_warning), (gst_message_new_tag),
4746 (gst_message_new_state_changed), (gst_message_new_segment_start),
4747 (gst_message_new_segment_done), (gst_message_new_custom):
4749 * tools/gst-launch.c: (event_loop):
4750 * tools/gst-md5sum.c: (event_loop):
4751 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4752 that applications can sensibly post custom messages with references
4753 to their own objects.
4755 2005-08-24 Andy Wingo <wingo@pobox.com>
4757 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4760 2005-08-24 Wim Taymans <wim@fluendo.com>
4762 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4763 (gst_base_transform_transform_caps),
4764 (gst_base_transform_transform_size),
4765 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4766 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4767 (gst_base_transform_handle_buffer):
4768 * gst/base/gstbasetransform.h:
4769 Many fixes and new features added by Thomas. Can now also do
4770 transforms with variable sizes and a custom fixate_caps function.
4772 2005-08-24 Wim Taymans <wim@fluendo.com>
4774 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4778 Cast to ClockTime before formatting to time.
4783 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4785 * check/gst-libs/controller.c: (GST_START_TEST),
4786 (gst_controller_suite):
4787 * docs/gst/tmpl/gstcaps.sgml:
4788 * docs/gst/tmpl/gstghostpad.sgml:
4789 * docs/gst/tmpl/gstquery.sgml:
4790 * docs/gst/tmpl/gstutils.sgml:
4791 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4792 (gst_object_sink_values), (gst_object_get_value_arrays),
4793 (gst_object_get_value_array):
4794 gracefully handle helper method calls to objects that are not beeing
4795 controlled, added test case for that
4797 2005-08-23 Wim Taymans <wim@fluendo.com>
4799 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4800 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4801 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4802 (gst_event_parse_qos), (gst_event_new_seek),
4803 (gst_event_parse_seek):
4805 Some more debugging output and doc cleanups.
4807 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4808 Fix possible deadlock.
4810 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4812 * docs/gst/gstreamer-docs.sgml:
4813 * docs/gst/gstreamer-sections.txt:
4814 * docs/gst/gstreamer.types:
4815 * docs/gst/tmpl/.cvsignore:
4820 added 100 symbols from gstreamer-unused.txt to the right sections
4821 fixed more broken comments
4822 added GstBus to docs
4824 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4826 * docs/gst/gstreamer-sections.txt:
4827 * docs/gst/tmpl/.cvsignore:
4828 * docs/gst/tmpl/gstbin.sgml:
4829 * docs/gst/tmpl/gstbuffer.sgml:
4830 * gst/base/gstbasesrc.c:
4831 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4834 * tools/gst-launch.1.in:
4835 inlined more doc comments, added missing comments and fixed comments
4838 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4840 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4844 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4846 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4847 * gst/gststructure.h:
4848 add a fixate function for booleans; add a FIXME that these func
4849 names should probably be gst_structure_fixate_*
4851 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4853 * docs/gst/gstreamer-docs.sgml:
4854 * docs/gst/gstreamer-sections.txt:
4856 * gst/gstbin.c: (gst_bin_get_type),
4857 (gst_bin_child_proxy_get_child_by_index),
4858 (gst_bin_child_proxy_get_children_count),
4859 (gst_bin_child_proxy_init):
4860 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4861 (gst_child_proxy_get_child_by_index),
4862 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4863 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4864 (gst_child_proxy_get), (gst_child_proxy_set_property),
4865 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4866 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4867 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4868 * gst/gstchildproxy.h:
4869 * gst/parse/grammar.y:
4870 * tools/gst-inspect.c: (print_interfaces),
4871 (print_element_properties_info), (print_element_info):
4872 ported gstchildproxy over from 0.8
4873 ported gst-inspect fixes and enhancements over from 0.8
4875 2005-08-22 Wim Taymans <wim@fluendo.com>
4877 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4878 (gst_base_transform_handle_buffer):
4879 Also call the transform function if we have ANY caps.
4881 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4884 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4886 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4887 Don't pretend to handle seek events if the source is not seekable
4889 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4891 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4892 Remove extra parameter to debug output
4894 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4895 (gst_base_src_do_seek), (gst_base_src_activate_push):
4896 Fix seek event handling.
4898 * gst/gstpipeline.c: (gst_pipeline_change_state):
4899 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4900 (gst_queue_src_activate_push):
4901 Don't start the src pad task on FLUSH_STOP if the pad
4905 2005-08-22 Wim Taymans <wim@fluendo.com>
4907 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4908 Added check for gst_static_caps_get() refcounting.
4910 2005-08-22 Wim Taymans <wim@fluendo.com>
4912 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4913 Make _static_caps_get() refcounting sane.
4915 * gst/gstelement.c: (gst_element_set_state):
4916 Add g_return_val_if_fail() to protect against segfaults.
4918 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4920 * docs/gst/tmpl/gstevent.sgml:
4923 inlined remaining docs, added missing doc comments
4925 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4927 * check/gst/gstbin.c: (GST_START_TEST):
4928 since we don't know when preroll is done, use refcount range
4930 * gst/check/gstcheck.h:
4931 add macro for checking refcount range
4933 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4935 * check/Makefile.am:
4936 clean up environment for when registry gets built versus
4937 when actual tests are run; valgrind seems to not report
4938 leaks if GST_PLUGIN_PATH is set to some specific values
4939 * check/gst/gstbin.c: (GST_START_TEST):
4940 add more refcounting checks; maybe this exposes a
4943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4944 * gst/check/gstcheck.h:
4945 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4946 (gst_bin_change_state):
4947 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4948 add/fix debugging/whitespace
4950 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4952 * check/gst/gstevent.c: (event_probe), (test_event),
4954 Er, don't call gst_bin_watch_for_state_change you idiot.
4956 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4958 * check/Makefile.am:
4959 Use CHECK_CFLAGS and CHECK_LIBS
4960 * check/gst/gstevent.c: (event_probe), (test_event),
4963 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4964 (gst_base_src_start), (gst_base_src_stop),
4965 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4966 (gst_base_src_change_state):
4967 Sprinkle gst_base_src_stop liberally around error paths to fix
4968 problems reusing a source after failed state changes.
4969 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4970 (helper_find_suggest), (gst_type_find_helper):
4971 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4973 * docs/gst/tmpl/gstevent.sgml:
4974 Migrate part of the docs from the SGML file. Wait for ensonic to
4975 tell me how I did it wrong ;)
4976 * tools/gst-typefind.c: (main):
4977 Extra robustness to state changes between files.
4979 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4981 * check/Makefile.am:
4982 don't valgrind the controller test - it's leaking - Stefan, HELP
4983 * gst/check/gstcheck.c: (gst_check_message_error),
4984 (gst_check_chain_func), (gst_check_setup_element),
4985 (gst_check_teardown_element), (gst_check_setup_src_pad),
4986 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4987 (gst_check_teardown_sink_pad):
4988 * gst/check/gstcheck.h:
4989 add a bunch of methods to set up elements, and src and sink pads
4990 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4991 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4996 whitespace/doc fixes
4998 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5001 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5002 be handled by the application and not always printed as well
5004 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5006 * check/Makefile.am:
5008 * gst/check/gstcheck.c: (gst_check_message_error):
5009 * gst/check/gstcheck.h:
5010 add a fail_unless_equals_int
5011 add fail_unless for error messages
5013 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5015 * check/Makefile.am:
5017 * common/Makefile.am:
5020 factor out some of the common stuff so we can use it
5022 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5024 * check/Makefile.am:
5025 * check/gst/gstiterator.c: (GST_START_TEST):
5026 * check/gst/gstsystemclock.c: (GST_START_TEST),
5027 (gst_systemclock_suite):
5028 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5032 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5034 * check/elements/.cvsignore:
5035 * check/elements/gstfakesrc.c:
5036 rename to name of element
5037 * check/elements/identity.c: (chain_func), (event_func),
5038 (setup_identity), (cleanup_identity), (GST_START_TEST),
5039 (identity_suite), (main):
5040 add a test for identity
5041 * check/Makefile.am:
5042 * pkgconfig/Makefile.am:
5043 * pkgconfig/gstreamer-check.pc.in:
5044 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5048 move the check stuff to a library that gets installed
5049 * check/gst-libs/controller.c: (GST_START_TEST):
5050 * check/gst-libs/gdp.c:
5051 * check/gst/gst.c: (GST_START_TEST):
5052 * check/gst/gstbin.c:
5053 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5054 * check/gst/gstbus.c:
5055 * check/gst/gstcaps.c: (GST_START_TEST):
5056 * check/gst/gstelement.c:
5057 * check/gst/gstghostpad.c:
5058 * check/gst/gstiterator.c:
5059 * check/gst/gstmessage.c:
5060 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5061 * check/gst/gstobject.c:
5062 * check/gst/gstpad.c: (GST_START_TEST):
5063 * check/gst/gststructure.c: (GST_START_TEST):
5064 * check/gst/gstsystemclock.c: (GST_START_TEST),
5065 (gst_systemclock_suite):
5066 * check/gst/gsttag.c: (gst_tag_suite):
5067 * check/gst/gstvalue.c:
5068 * check/pipelines/cleanup.c:
5069 * check/pipelines/simple_launch_lines.c:
5070 * check/states/sinks.c:
5071 change include statement
5073 * docs/gst/gstreamer-sections.txt:
5074 * docs/gst/tmpl/gstpad.sgml:
5075 document more pad stuff
5076 * gst/gstminiobject.c: (gst_mini_object_ref),
5077 (gst_mini_object_unref):
5080 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5082 * docs/gst/tmpl/gst.sgml:
5084 eliminate another tmpl file, fix spelling in the long-description
5086 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5088 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5089 (test_event), (timediff), (gstevents_suite):
5090 Should fix build on 64-bit arch's
5092 2005-08-18 Andy Wingo <wingo@pobox.com>
5094 Make sure that when a pipeline goes to PLAYING, that data has
5095 actually hit the sink.
5097 * check/states/sinks.c (test_sink): A sink that doesn't get any
5098 data shouldn't return SUCCESS for going to either PLAYING or
5099 PAUSED. Test also the return values on the way back down.
5101 * gst/gstelement.c (gst_element_set_state): When changing the
5102 state of an element currently changing state asynchronously, go to
5103 lost-state after commiting the pending state. Makes future calls
5104 to get_state continue to return ASYNC.
5106 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5107 ASYNC when going to PLAYING if we still don't have preroll, as can
5108 happen with live sources.
5110 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5112 * docs/pwg/advanced-types.xml:
5113 Hack long paragraph into 2 chunks as a workaround for buggy
5114 jadetex version in sid and breezy that loops infinitely and
5117 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5119 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5120 (test_event), (timediff), (gstevents_suite):
5121 Provide more error margin in clock measurements to allow for
5122 g_get_current_time inaccuracies.
5124 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5126 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5127 (test_event), (timediff), (gstevents_suite):
5128 Fix error message output so I might be able to tell why the
5129 test works here but fails on the build farm.
5131 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5133 * check/Makefile.am:
5134 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5135 (test_event), (timediff), (gstevents_suite), (main):
5138 * docs/design/part-seeking.txt:
5141 * docs/gst/tmpl/gstevent.sgml:
5142 * docs/gst/tmpl/gstfakesrc.sgml:
5145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5146 Treat a buffer-without-newsegment the same as a receiving
5147 a newsegment not in time format, and disable syncing to the clock
5150 * gst/gstbus.c: (gst_bus_set_sync_handler):
5151 Assert if anyone tries to replace the existing sync_handler for bus,
5152 as only the owner should be setting it.
5155 Have a fixed set of custom event enums with events identified by
5156 their structure name (as in 0.8), rather than a free-for-all
5157 allowing collisions between enum values from different plugins.
5159 * gst/gstpad.c: (gst_pad_class_init):
5162 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5163 Handle out-of-band downstream events from the sending thread.
5165 2005-08-17 Andy Wingo <wingo@pobox.com>
5167 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5168 play-timeout==0 to mean no timeout at all. In that case, don't
5169 bother with a get_state or a warning, just return directly, even
5172 * gst/base/gstbasetransform.c: Debug changes.
5175 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5176 ensure bins post state change messages. A bit of a hack but I can't
5177 think of a way to avoid it.
5179 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5181 2005-08-16 Andy Wingo <wingo@pobox.com>
5183 * gst/base/gstadapter.h:
5184 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5185 peek() but you own the data. Not terribly efficient atm.
5187 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5189 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5190 (gst_element_found_tags):
5192 Add two utility functions for tag handling.
5194 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5196 * docs/manual/advanced-dataaccess.xml:
5197 * docs/manual/basics-helloworld.xml:
5198 Fix docs to use _bin_add() before _link(), which fixes the examples
5199 with recent core versions (reported by Madhan Raj M
5200 <raj_madan@rediffmail.com>, #313199).
5202 2005-08-16 Wim Taymans <wim@fluendo.com>
5204 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5205 Added subtract checks.
5207 * docs/design/part-events.txt:
5208 Some more docs about newsegment
5210 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5213 * gst/gstcaps.c: (gst_caps_to_string):
5214 Add comments, cleanups.
5216 * gst/gstelement.c: (gst_element_save_thyself):
5219 * gst/gstvalue.c: (gst_value_collect_int_range),
5220 (gst_string_unwrap), (gst_value_union_int_int_range),
5221 (gst_value_union_int_range_int_range),
5222 (gst_value_intersect_int_int_range),
5223 (gst_value_intersect_int_range_int_range),
5224 (gst_value_intersect_double_double_range),
5225 (gst_value_intersect_double_range_double_range),
5226 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5227 (gst_value_subtract_int_range_int),
5228 (gst_value_subtract_double_range_double),
5229 (gst_value_subtract_double_range_double_range),
5230 (gst_value_subtract_from_list), (gst_value_subtract_list),
5231 (gst_value_can_compare), (gst_value_compare_fraction):
5232 Cleanups, add comments, remove unneeded asserts.
5234 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5236 * tools/gst-launch.c: (event_loop):
5237 don't convert NULL structures to strings
5239 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5241 * docs/gst/gstreamer-sections.txt:
5242 made some defines private
5243 * docs/gst/tmpl/gstconfig.sgml:
5244 * docs/gst/tmpl/gstqueue.sgml:
5245 * docs/gst/tmpl/gsttaglist.sgml:
5246 * docs/gst/tmpl/gsttypes.sgml:
5247 * docs/gst/tmpl/gstutils.sgml:
5248 * docs/pwg/appendix-porting.xml:
5249 * gst/base/gstbasesink.h:
5250 * gst/base/gstbasesrc.c:
5251 * gst/base/gstbasesrc.h:
5252 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5253 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5254 * gst/gstelement.c: (gst_element_class_init):
5255 * gst/gstpad.c: (gst_pad_class_init):
5256 * gst/gstqueue.c: (gst_queue_class_init):
5257 * gst/gstxml.c: (gst_xml_class_init):
5258 documented all undocumented signal inline
5259 * libs/gst/controller/gst-controller.h:
5262 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5264 * docs/pwg/appendix-porting.xml:
5265 Document _set_link_function -> _set_setcaps_function.
5267 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5269 * check/Makefile.am:
5270 add a .check target for running the check
5271 * check/gst-libs/controller.c: (GST_START_TEST):
5273 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5274 complete checks for gstbuffer; would be nice if I could get the
5275 gcov stuff to work so I can see if I actually completed gstbuffer.c
5277 add ASSERT_BUFFER_REFCOUNT
5279 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5281 * docs/gst/gstreamer-sections.txt:
5282 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5284 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5285 spew out a warning if a tag that is already registered
5286 is re-registered, unless it is re-registered with a
5287 different type (#308438).
5289 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5291 * docs/pwg/appendix-porting.xml:
5292 * docs/pwg/building-state.xml:
5293 Add some paragraphs about state changes in 0.9 to the PWG
5294 and the porting guide, in particular about the new meaning
5295 of GST_STATE_PAUSED and how to write state change functions
5296 with concurrent access by multiple threads in mind.
5298 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5300 * docs/gst/gstreamer-docs.sgml:
5301 * docs/libs/gstreamer-libs-docs.sgml:
5302 added deprecation and since indexes
5303 * libs/gst/controller/gst-controller.c:
5304 * libs/gst/controller/gst-helper.c:
5308 2005-08-11 Wim Taymans <wim@fluendo.com>
5310 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5311 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5312 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5313 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5314 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5315 (gst_ghost_pad_set_target):
5316 Actually implement (re)setting the target on a ghostpad
5317 as described in the docs.
5319 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5321 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5322 Check whether GST_DEBUG_NO_COLOR environment variable is
5323 set and disable coloured debug output if that is the case.
5325 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5327 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5328 (gst_type_find_helper):
5329 The memory returned by gst_type_find_peek() needs to
5330 stay valid until the end of a typefind function, and
5331 typefind functions may keep results from different
5332 offsets around, so we can't just unref the buffer from
5333 the previous _peek(), but have to save all buffers
5334 returned by _peek() until typefinding is done and only
5337 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5339 * docs/gst/gstreamer-sections.txt:
5341 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5343 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5345 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5346 Fix a pretty good memleak.
5348 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5350 * gst/gstiterator.h:
5351 Fix wrong include and 'make distcheck'.
5353 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5355 * gst/gstbin.c: (bin_bus_handler):
5356 Use gst_element_post_message() instead.
5358 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5360 * gst/base/gstadapter.h:
5361 * gst/base/gstbasesink.h:
5362 * gst/base/gstbasesrc.h:
5363 * gst/base/gstbasetransform.h:
5364 * gst/base/gstcollectpads.h:
5365 * gst/base/gstpushsrc.h:
5366 * gst/gstiterator.h:
5367 Add padding to our base elements' class and instance structs and
5368 to GstIterator (you will need to rebuild all plugins and apps!)
5370 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5372 * gst/gstbin.c: (bin_bus_handler):
5373 Make default message forwarding from child->bus to bin->bus
5374 threadsafe and make it not emit warnings if the parent has no bus.
5376 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5378 * gst/gstelement.c: (activate_pads):
5379 On paused->ready, set pad->caps to NULL, as is the documented
5380 behaviour in this state change. Fixes playback of series of
5381 media files when visualization is enabled in Totem.
5383 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5385 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5386 Allow NULL as filter-caps (which means "any").
5388 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5390 * docs/libs/gstreamer-libs-sections.txt:
5391 * libs/gst/controller/gst-controller.c:
5392 * libs/gst/controller/gst-controller.h:
5393 * libs/gst/controller/gst-helper.c:
5394 adding more entries to the docs and fix small doc-bugs
5396 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5398 * docs/gst/gstreamer-docs.sgml:
5399 * docs/gst/gstreamer-sections.txt:
5400 * docs/gst/gstreamer.types:
5401 * docs/gst/tmpl/gstbasesink.sgml:
5402 * docs/gst/tmpl/gstbasesrc.sgml:
5403 * docs/gst/tmpl/gstbasetransform.sgml:
5404 * docs/gst/tmpl/gstfakesrc.sgml:
5405 * gst/base/gstcollectpads.c:
5406 * gst/base/gstcollectpads.h:
5407 * libs/gst/controller/gst-controller.c:
5408 * libs/gst/controller/gst-controller.h:
5409 * libs/gst/controller/gst-helper.c:
5410 * libs/gst/controller/gst-interpolation.c:
5411 * libs/gst/controller/lib.c:
5412 added long/short desc for controller docs
5413 added collectpads base class docs
5414 added correct includes to base-class docs
5416 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5418 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5419 (gst_test_mono_source_set_property),
5420 (gst_test_mono_source_class_init), (GST_START_TEST),
5421 (gst_controller_suite):
5422 * docs/gst/gstreamer-docs.sgml:
5423 * docs/gst/gstreamer-sections.txt:
5424 * docs/gst/gstreamer.types:
5425 * docs/libs/gstreamer-libs-docs.sgml:
5426 * docs/libs/gstreamer-libs-sections.txt:
5427 * gst/base/gstadapter.c:
5428 * libs/gst/controller/gst-controller.c:
5429 (gst_controlled_property_new), (gst_controlled_property_free),
5430 (gst_controller_new_valist),
5431 (gst_controller_remove_properties_valist),
5432 (gst_controller_sink_values), (_gst_controller_finalize):
5433 * libs/gst/controller/gst-controller.h:
5434 * libs/gst/controller/gst-helper.c:
5435 (gst_object_control_properties), (gst_object_uncontrol_properties),
5436 (gst_object_get_controller), (gst_object_set_controller),
5437 (gst_object_sink_values), (gst_object_get_value_arrays),
5438 (gst_object_get_value_array):
5439 more tests (and fixes) for the controller
5440 more docs for the controller
5441 integrated companies docs for the adapter
5443 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5445 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5446 (GST_START_TEST), (fakesrc_suite):
5447 add tests for sizetype
5449 2005-08-04 Andy Wingo <wingo@pobox.com>
5451 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5452 fixes buffer_alloc proxying among other things.
5454 * gst/base/gstbasetransform.c:
5455 * gst/base/gstbasetransform.h:
5456 Revert patch to gstbasetransform from 7-28 removing
5459 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5460 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5461 Semantics changed, should return not the size of the output buffer
5462 but the byte size of a buffer with a given caps.
5464 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5466 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5467 out) are not the pad caps until setcaps finishes.
5468 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5469 not-in-place case as well. Deal with changing from in-place to
5470 not-in-place within calling pad_alloc_buffer. Still a bit
5471 concerned about the overhead here...
5473 2005-08-03 Andy Wingo <wingo@pobox.com>
5475 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5476 fixating is an error.
5478 2005-08-04 Edward Hervey <edward@fluendo.com>
5480 * gst/base/gstadapter.h:
5481 Added gst_adapter_get_type() to the header
5483 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5485 * check/Makefile.am:
5486 * check/gst-libs/controller.c:
5487 * libs/gst/controller/gst-controller.c:
5488 (gst_controller_new_valist):
5489 added check test suite for the controller
5490 * gst/base/gstpushsrc.c:
5493 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5495 * docs/gst/Makefile.am:
5496 * docs/gst/gstreamer-docs.sgml:
5497 * docs/gst/gstreamer-sections.txt:
5498 * docs/gst/gstreamer.types:
5499 * docs/gst/tmpl/gstfakesrc.sgml:
5501 * gst/base/gstbasesink.c:
5502 * gst/base/gstbasesink.h:
5503 * gst/base/gstbasesrc.c:
5504 * gst/base/gstbasesrc.h:
5505 * gst/base/gstbasetransform.c:
5506 * gst/base/gstpushsrc.c:
5507 * gst/base/gstpushsrc.h:
5508 add short/long description docs to base classes
5509 add pushsrc to the docs
5510 remove consolidated doc fragments
5512 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5515 * docs/libs/Makefile.am:
5516 * docs/libs/gstreamer-libs-docs.sgml:
5517 * docs/libs/gstreamer-libs-sections.txt:
5518 * docs/libs/gstreamer-libs.types:
5519 * examples/Makefile.am:
5520 * examples/controller/.cvsignore:
5521 * examples/controller/Makefile.am:
5522 * examples/controller/audio-example.c: (main):
5523 * libs/gst/Makefile.am:
5524 * libs/gst/controller/.cvsignore:
5525 * libs/gst/controller/Makefile.am:
5526 * libs/gst/controller/gst-controller.c:
5527 (on_object_controlled_property_changed), (gst_timed_value_compare),
5528 (gst_timed_value_find),
5529 (gst_controlled_property_set_interpolation_mode),
5530 (gst_controlled_property_new), (gst_controlled_property_free),
5531 (gst_controller_find_controlled_property),
5532 (gst_controller_new_valist), (gst_controller_new),
5533 (gst_controller_remove_properties_valist),
5534 (gst_controller_remove_properties), (gst_controller_set),
5535 (gst_controller_set_from_list), (gst_controller_unset),
5536 (gst_controller_get), (gst_controller_get_all),
5537 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5538 (gst_controller_get_value_array),
5539 (gst_controller_set_interpolation_mode),
5540 (_gst_controller_finalize), (_gst_controller_init),
5541 (_gst_controller_class_init), (gst_controller_get_type):
5542 * libs/gst/controller/gst-controller.h:
5543 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5544 (g_object_uncontrol_properties), (g_object_get_controller),
5545 (g_object_set_controller), (g_object_sink_values),
5546 (g_object_get_value_arrays), (g_object_get_value_array):
5547 * libs/gst/controller/gst-interpolation.c:
5548 (gst_controlled_property_find_timed_value_node),
5549 (interpolate_none_get), (interpolate_trigger_get),
5550 (interpolate_trigger_get_value_array):
5551 * libs/gst/controller/lib.c: (gst_controller_init):
5552 * pkgconfig/Makefile.am:
5553 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5554 * pkgconfig/gstreamer-control.pc.in:
5555 * testsuite/Makefile.am:
5556 * testsuite/controller/.cvsignore:
5557 * testsuite/controller/Makefile.am:
5558 * testsuite/controller/interpolator.c: (main):
5559 added controller code
5560 removed dparam pc files
5562 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5563 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5564 (gst_collectpads_stop):
5565 Broadcast the condition when shutting down, to make sure we wake all
5566 threads up. Shut down pads on finalize, for safety.
5568 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5569 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5570 (gst_base_transform_handle_buffer),
5571 (gst_base_transform_change_state):
5572 Handle PAUSED->READY->PAUSED transition after negotiation
5574 * gst/gstmessage.c: (gst_message_init):
5575 Extra piece of debug for new messages.
5577 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5580 * docs/gst/tmpl/gstbasesrc.sgml:
5581 * docs/gst/tmpl/gstelement.sgml:
5582 * docs/gst/tmpl/gstevent.sgml:
5583 * docs/gst/tmpl/gstfakesrc.sgml:
5584 * docs/gst/tmpl/gstformat.sgml:
5585 * docs/gst/tmpl/gstghostpad.sgml:
5586 * docs/gst/tmpl/gstpad.sgml:
5587 * docs/gst/tmpl/gstquery.sgml:
5588 * docs/gst/tmpl/gststructure.sgml:
5589 * docs/gst/tmpl/gsttaglist.sgml:
5590 * docs/gst/tmpl/gstvalue.sgml:
5591 * docs/libs/gstreamer-libs-docs.sgml:
5592 * docs/libs/gstreamer-libs-sections.txt:
5593 * docs/libs/gstreamer-libs.types:
5594 * libs/gst/Makefile.am:
5595 * libs/gst/control/.cvsignore:
5596 * libs/gst/control/Makefile.am:
5597 * libs/gst/control/control.c:
5598 * libs/gst/control/control.h:
5599 * libs/gst/control/dparam.c:
5600 * libs/gst/control/dparam.h:
5601 * libs/gst/control/dparam_smooth.c:
5602 * libs/gst/control/dparam_smooth.h:
5603 * libs/gst/control/dparamcommon.h:
5604 * libs/gst/control/dparammanager.c:
5605 * libs/gst/control/dparammanager.h:
5606 * libs/gst/control/dplinearinterp.c:
5607 * libs/gst/control/dplinearinterp.h:
5608 * libs/gst/control/unitconvert.c:
5609 * libs/gst/control/unitconvert.h:
5610 * testsuite/Makefile.am:
5611 * testsuite/dynparams/.cvsignore:
5612 * testsuite/dynparams/Makefile.am:
5613 * testsuite/dynparams/dparamstest.c:
5614 * tools/Makefile.am:
5615 * tools/gst-inspect.c: (print_element_info), (main):
5616 * tools/gst-xmlinspect.c: (print_element_info), (main):
5617 deactivate and remove dparams (libgstcontrol)
5619 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5621 * gst/elements/gsttypefindelement.c:
5622 (gst_type_find_element_have_type), (gst_type_find_element_init),
5623 (stop_typefinding), (gst_type_find_element_handle_event),
5624 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5625 * gst/elements/gsttypefindelement.h:
5626 Set caps on all outgoing buffers, not just the first one.
5628 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5630 * gst/elements/gsttypefindelement.c:
5631 (gst_type_find_element_have_type),
5632 (gst_type_find_element_check_set_buffer_caps),
5633 (gst_type_find_element_init), (stop_typefinding),
5634 (gst_type_find_element_handle_event),
5635 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5636 * gst/elements/gsttypefindelement.h:
5637 Set caps on first outgoing buffer when we've found the type.
5639 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5641 * docs/gst/gstreamer-docs.sgml:
5642 * docs/gst/gstreamer-sections.txt:
5643 * docs/gst/tmpl/gstscheduler.sgml:
5644 * docs/gst/tmpl/gstschedulerfactory.sgml:
5645 Remove some old cruft from docs.
5647 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5650 Fix inline docs for GstPadLinkReturn.
5652 * gst/gststructure.c: (gst_structure_has_name):
5653 * gst/gststructure.h:
5654 * docs/gst/gstreamer-sections.txt:
5655 New API: gst_structure_has_name().
5657 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5660 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5661 and _LARGEFILE_SOURCE in config.h as required. Do not
5662 export those flags in our .pc files any longer (#142209).
5664 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5666 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5667 (gst_file_sink_do_seek), (gst_file_sink_event),
5668 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5669 Redo seek/tell calls with large file support in mind; add some
5670 debugging messages; add log message that tells us when large
5671 file support is unavailable or not enabled for some reason.
5673 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5674 Add log message that tells us when large file support
5675 is unavailable or not enabled for some reason.
5677 2005-07-29 Wim Taymans <wim@fluendo.com>
5679 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5680 Added test for removing an element with ghostpad from a bin.
5681 Fixed test as current implementation does the right thing.
5683 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5684 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5685 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5686 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5687 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5688 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5689 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5690 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5691 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5692 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5693 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5694 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5695 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5696 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5697 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5698 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5699 * gst/gstghostpad.h:
5700 Clean up ghostpads, remove properties for internal stuff.
5703 Prepare for switching targets, not all use cases work yet.
5705 2005-07-29 Wim Taymans <wim@fluendo.com>
5707 * docs/design/part-gstghostpad.txt:
5710 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5711 (gst_bin_remove_func):
5712 Unlinking pads while holding the bin LOCK is not a good
5715 * gst/gstpad.c: (gst_pad_class_init),
5716 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5717 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5718 No prob setting template after creating the pad.
5720 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5722 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5723 (gst_bus_peek), (gst_bus_source_dispatch),
5724 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5725 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5726 gst_bus_poll may be called from other threads. Handle
5727 this nicely by not making poll_data disappear off the
5728 stack once gst_bus_poll returns.
5729 gst_bus_peek now increments the refcount on the returned
5732 2005-07-29 Wim Taymans <wim@fluendo.com>
5734 * docs/design/part-gstghostpad.txt:
5735 Overview of current GhostPad datastructures and use
5736 cases for changing the target.
5738 2005-07-28 Wim Taymans <wim@fluendo.com>
5740 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5741 Added checks for hierarchy consistency whan adding linked
5744 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5745 Added check to test element scheduling without bin/pipeline.
5747 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5748 First add elements to bin, then link.
5750 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5751 (gst_bin_remove_func):
5752 Unlink pads from elements added/removed from bin to maintain
5753 hierarchy consistency.
5755 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5757 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5758 (gst_base_transform_handle_buffer):
5759 * gst/base/gstbasetransform.h:
5760 Remove broken delay_configure (fixes renegotiation of software
5761 scaling pipelines); remove some leftover printf()s.
5763 2005-07-28 Wim Taymans <wim@fluendo.com>
5765 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5766 Added some more tests for wrong hierarchy
5768 * docs/design/part-overview.txt:
5771 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5774 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5775 (gst_element_dispose):
5778 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5779 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5780 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5781 (gst_pad_set_caps), (gst_pad_send_event):
5782 Check for correct hierarchy when linking pads. Moving to
5783 strict requirement for ghostpads when linking elements in
5787 Clean ups. Added WRONG_HIERARCHY return value.
5789 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5791 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5792 Better debug if no transform is possible.
5794 2005-07-27 Wim Taymans <wim@fluendo.com>
5796 * docs/random/wtay/network-transp:
5799 2005-07-27 Wim Taymans <wim@fluendo.com>
5801 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5802 (gst_dp_event_from_packet):
5803 Fix serialization of seek events.
5805 2005-07-27 Wim Taymans <wim@fluendo.com>
5807 * check/gst-libs/gdp.c: (GST_START_TEST):
5808 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5809 Fix compilation and fix event serialization.
5811 2005-07-27 Wim Taymans <wim@fluendo.com>
5814 * docs/design/part-TODO.txt:
5815 * docs/design/part-events.txt:
5818 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5819 (gst_base_sink_event), (gst_base_sink_do_sync),
5820 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5821 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5822 (gst_base_src_do_seek), (gst_base_src_event_handler),
5823 (gst_base_src_loop):
5824 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5825 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5826 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5827 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5828 (gst_base_transform_set_passthrough),
5829 (gst_base_transform_is_passthrough):
5830 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5831 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5837 * gst/gstelement.c: (gst_element_seek):
5839 Update gst_element_seek.
5841 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5842 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5843 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5844 (gst_event_new_eos), (gst_event_new_newsegment),
5845 (gst_event_parse_newsegment), (gst_event_new_tag),
5846 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5847 (gst_event_parse_qos), (gst_event_new_seek),
5848 (gst_event_parse_seek), (gst_event_new_navigation):
5850 Make GstEvent use GstStructure. Add parsing code, make sure the
5851 API is sufficiently generic.
5852 Mark possible directions of events and serialization.
5854 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5855 (_gst_message_copy), (gst_message_new_segment_start),
5856 (gst_message_new_segment_done), (gst_message_new_custom),
5857 (gst_message_parse_segment_start),
5858 (gst_message_parse_segment_done):
5861 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5862 (gst_pad_set_caps), (gst_pad_send_event):
5863 Update for new events.
5864 Catch events sent in wrong directions.
5866 * gst/gstqueue.c: (gst_queue_link_src),
5867 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5868 (gst_queue_handle_src_query):
5873 Remove event code from this file.
5875 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5876 (gst_dp_event_from_packet):
5879 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5881 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5882 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5883 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5884 Make debugging actually useful.
5886 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5888 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5889 (gst_pad_fixate_caps):
5890 Implement default fixation once again, so that gst_pad_fixate()
5891 actually does anything at all. This probably needs to be some
5892 sort of a last resort, and use profile-based fixation first, but
5893 since that doesn't exist yet, this is the best we have. Fixes
5894 visualization in Totem.
5896 2005-07-22 Wim Taymans <wim@fluendo.com>
5898 * docs/design/part-events.txt:
5901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5902 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5903 (gst_base_sink_activate_pull):
5906 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5907 (gst_fake_src_create):
5908 Fix handoff marshall.
5910 * gst/elements/gstidentity.c: (gst_identity_class_init),
5911 (gst_identity_transform_ip):
5912 We're a real inplace element.
5914 * gst/gstbus.c: (gst_bus_post):
5915 Added some comments.
5917 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5918 * tests/muxing/case1.c: (main):
5919 * tests/sched/dynamic-pipeline.c: (main):
5920 * tests/sched/interrupt1.c: (main):
5921 * tests/sched/interrupt2.c: (main):
5922 * tests/sched/interrupt3.c: (main):
5923 * tests/sched/runxml.c: (main):
5924 * tests/sched/sched-stress.c: (main):
5925 * tests/seeking/seeking1.c: (event_received), (main):
5926 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5928 * tests/threadstate/threadstate3.c: (main):
5929 * tests/threadstate/threadstate4.c: (main):
5930 * tests/threadstate/threadstate5.c: (main):
5933 2005-07-21 Wim Taymans <wim@fluendo.com>
5935 * docs/design/part-seeking.txt:
5936 Some small additions.
5938 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5939 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5940 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5941 * gst/base/gstbasesink.h:
5942 discont values are gint64, handle the math correctly.
5944 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5945 Make the basesrc report error if the source pad is not linked.
5947 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5948 (gst_queue_loop), (gst_queue_handle_src_query),
5949 (gst_queue_src_activate_push):
5950 Make queue collect data even if the srcpad is not linked.
5951 Start pushing out data as soon as it is linked.
5953 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5955 Added gst_flow_get_name() to ease error reporting.
5957 2005-07-20 Wim Taymans <wim@fluendo.com>
5959 * gst/gstmessage.c: (gst_message_new_segment_start),
5960 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5961 (gst_message_parse_segment_done):
5963 Added a bunch of messages for advanced seeking.
5965 * gst/parse/grammar.y:
5966 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5967 (gst_dpman_state_changed):
5968 Fix some new-pad -> pad-added signals
5970 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5972 * docs/manual/appendix-porting.xml:
5973 * docs/pwg/appendix-porting.xml:
5974 Document new-pad/state-change signal renames and the FixedList
5977 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5979 * docs/manual/advanced-autoplugging.xml:
5980 * docs/manual/basics-helloworld.xml:
5981 * docs/manual/basics-pads.xml:
5982 * docs/random/ds/0.9-suggested-changes:
5983 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5988 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5989 (gst_structure_parse_array), (gst_structure_parse_value):
5990 * gst/gstvalue.c: (gst_type_is_fixed),
5991 (gst_value_list_prepend_value), (gst_value_list_append_value),
5992 (gst_value_list_get_size), (gst_value_list_get_value),
5993 (gst_value_transform_array_string), (gst_value_serialize_array),
5994 (gst_value_deserialize_array), (gst_value_intersect_array),
5995 (gst_value_is_fixed), (_gst_value_initialize):
5997 GstElement::new-pad -> pad-added, GstElement::state-change ->
5998 state-changed, GstValueFixedList -> GstValueArray, add format and
5999 flags as their own arguments in gst_element_seek() (should improve
6000 "bindeability"), remove function generators since they don't work
6001 under a whole bunch of compilers (they were deprecated already
6004 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6006 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6007 (_gst_debug_register_funcptr):
6009 Fix illegal cast on some platforms (#309253).
6011 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6013 * gst/gstmessage.c: (gst_message_new_custom):
6015 Add _new_custom, make _new_application a macro to _new_custom.
6017 2005-07-20 Wim Taymans <wim@fluendo.com>
6019 * gst/base/gstbasesrc.c: (gst_base_src_init),
6020 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6021 * gst/base/gstbasesrc.h:
6022 Add a gboolean to decide when to push out a discont.
6024 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6025 (gst_queue_loop), (gst_queue_handle_src_query),
6026 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6027 (gst_queue_set_property), (gst_queue_get_property):
6030 * tests/threadstate/threadstate1.c: (main):
6031 Make a thread test compile and run... very silly..
6034 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6036 * docs/manual/appendix-porting.xml:
6037 Mention removal of libgstgconf-0.9.la and existence of gconf
6040 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6042 * docs/pwg/advanced-clock.xml:
6043 * docs/pwg/appendix-porting.xml:
6044 * docs/pwg/intro-preface.xml:
6045 * docs/pwg/other-base.xml:
6046 * docs/pwg/other-manager.xml:
6047 * docs/pwg/other-nton.xml:
6048 * docs/pwg/other-ntoone.xml:
6049 * docs/pwg/other-oneton.xml:
6051 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6052 demuxer), remove n-to-n (was never written), fix some code examples
6053 and links and update the porting section to include all this.
6055 2005-07-19 Wim Taymans <wim@fluendo.com>
6057 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6058 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6059 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6060 (gst_queue_src_activate_push), (gst_queue_change_state),
6061 (gst_queue_get_property):
6063 Propagate GstFlowReturn more intelligently upstream and output
6064 an ERROR/EOS when streaming stopped due to fatal error.
6066 2005-07-19 Wim Taymans <wim@fluendo.com>
6068 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6069 Don't block forever for the state change to complete, the
6070 pipeline already did with a sensible timeout.
6072 2005-07-19 Wim Taymans <wim@fluendo.com>
6074 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6075 Make sure we never call the create function is we
6078 2005-07-19 Andy Wingo <wingo@pobox.com>
6080 * gst/parse/parse.l: Attempt to solve bug #172815.
6082 2005-07-19 Wim Taymans <wim@fluendo.com>
6084 * docs/design/part-clocks.txt:
6085 * docs/design/part-events.txt:
6086 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6088 Only update the seeking values when we are not
6091 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6093 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6094 Oops, ignore the result of gst_pad_push_event here.
6096 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6098 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6099 (gst_base_src_activate_push):
6100 Send discont event from the loop function, as pads
6101 aren't activated yet in the activate_push handler.
6103 * gst/gstbin.c: (bin_bus_handler):
6104 Don't leak element name.
6106 2005-07-18 Andy Wingo <wingo@pobox.com>
6108 * configure.ac: Use AS_LIBTOOL_TAGS.
6110 2005-07-18 Wim Taymans <wim@fluendo.com>
6112 * docs/gst/gstreamer.types:
6113 Remove deleted types.
6115 2005-07-18 Wim Taymans <wim@fluendo.com>
6117 * check/elements/gstfakesrc.c: (GST_START_TEST):
6120 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6121 (init_popt_callback):
6123 * gst/gst_private.h:
6124 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6125 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6128 * gst/gstconfig.h.in:
6129 * gst/gstelement.c: (gst_element_class_init),
6130 (gst_element_set_base_time), (gst_element_get_base_time),
6131 (iterator_fold_with_resync), (gst_element_change_state),
6132 (gst_element_dispose), (gst_element_get_bus):
6134 * gst/gstelementfactory.h:
6135 * gst/gsterror.c: (_gst_core_errors_init):
6138 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6140 * gst/gstinfo.c: (_gst_debug_init):
6141 * gst/gstmessage.c: (_gst_message_copy):
6143 * gst/gstminiobject.h:
6146 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6147 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6150 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6151 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6152 (gst_pipeline_get_last_stream_time):
6153 * gst/gstpipeline.h:
6154 * gst/gstpluginfeature.h:
6156 * gst/gstscheduler.c:
6157 * gst/gstscheduler.h:
6158 * gst/gststructure.h:
6159 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6160 (gst_task_finalize), (gst_task_func), (gst_task_create),
6161 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6162 (gst_task_stop), (gst_task_pause):
6164 * gst/gsttypefind.h:
6166 * gst/registries/gstlibxmlregistry.c: (load_feature),
6167 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6168 * gst/registries/gstxmlregistry.c:
6169 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6170 * gst/schedulers/threadscheduler.c:
6171 * libs/gst/control/dparammanager.h:
6172 * tools/gst-inspect.c: (print_element_list),
6173 (print_plugin_features), (print_element_features):
6174 * tools/gst-xmlinspect.c: (print_element_list),
6175 (print_plugin_info), (main):
6176 Removed plugable schedulers.
6177 Removed Scheduler/Manager from elements.
6178 Removed gsttypes.h, rearranged includes.
6179 Removed dependency pad<->element, element<>pipeline, and
6180 various others, fix includes.
6181 implement gst_pad_get_parent() with gst_object_get_parent()
6182 Make GstTask sefcontained.
6183 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6185 Fix endless loop in iterator_fold_with_resync.
6188 2005-07-18 Wim Taymans <wim@fluendo.com>
6194 2005-07-18 Wim Taymans <wim@fluendo.com>
6199 2005-07-18 Wim Taymans <wim@fluendo.com>
6205 2005-07-18 Wim Taymans <wim@fluendo.com>
6207 * docs/design/part-dynamic.txt:
6208 * docs/design/part-events.txt:
6209 * docs/design/part-seeking.txt:
6210 Some more docs in the works.
6212 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6213 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6214 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6215 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6216 (gst_base_transform_handle_buffer),
6217 (gst_base_transform_sink_activate_push),
6218 (gst_base_transform_src_activate_pull),
6219 (gst_base_transform_set_passthrough),
6220 (gst_base_transform_is_passthrough):
6223 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6226 * gst/gstevent.c: (gst_event_finalize):
6229 * gst/gstutils.c: (gst_element_unlink),
6230 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6231 (gst_pad_proxy_setcaps):
6233 Add _get_parent_element() to get a pads parent as an element.
6235 2005-07-18 Wim Taymans <wim@fluendo.com>
6237 * check/gst/gstbin.c: (GST_START_TEST):
6240 2005-07-18 Wim Taymans <wim@fluendo.com>
6242 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6243 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6244 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6245 (gst_base_sink_event), (gst_base_sink_do_sync),
6246 (gst_base_sink_chain), (gst_base_sink_loop),
6247 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6248 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6250 Fix logic for returning ASYNC when not prerolled.
6252 2005-07-18 Wim Taymans <wim@fluendo.com>
6254 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6255 Fix nasty refcount bug.
6257 2005-07-16 Philippe Khalaf <burger@speedy.org>
6259 * gst/elements/gstfdsrc.c:
6260 * gst/elements/gstfdsrc.h:
6261 * gst/elements/gstelements.c:
6262 * gst/elements/Makefile.am:
6263 Ported fdsrc to 0.9.
6265 2005-07-16 Wim Taymans <wim@fluendo.com>
6267 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6268 (gst_base_sink_do_sync):
6271 2005-07-16 Wim Taymans <wim@fluendo.com>
6273 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6274 (gst_base_sink_event), (gst_base_sink_get_times),
6275 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6276 * gst/base/gstbasesink.h:
6277 Store and use discont values when syncing buffers as described
6280 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6281 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6282 (gst_base_src_activate_push):
6283 Push discont event when starting.
6285 * gst/elements/gstidentity.c: (gst_identity_transform):
6288 * gst/gstbin.c: (gst_bin_change_state):
6289 Small cleanups in base_time distribution.
6291 * gst/gstelement.c: (gst_element_set_base_time),
6292 (gst_element_get_base_time), (gst_element_change_state):
6294 Added methods for the base_time of the element.
6297 * gst/gstpipeline.c: (gst_pipeline_send_event),
6298 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6299 (gst_pipeline_get_last_stream_time):
6300 * gst/gstpipeline.h:
6302 Handle seeking as described in design doc, remove stream_time
6304 Cleanups clock and stream_time selection code. Added accessors
6305 for the stream_time.
6308 2005-07-16 Andy Wingo <wingo@pobox.com>
6310 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6313 2005-07-16 Wim Taymans <wim@fluendo.com>
6315 * check/gst/gstbin.c: (GST_START_TEST):
6316 Make elements silent as the deep_notify refs the
6317 parent, which might make the test fail.
6319 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6320 Don't hold the lock for too long.
6322 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6324 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6325 Don't unref the caps we passed to gst_caps_make_writable() after
6326 passing them. gst_caps_make_writable() will do that for us.
6328 2005-07-15 Andy Wingo <wingo@pobox.com>
6330 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6333 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6334 own marshalling function for the handoff signal. Properly type the
6335 buffer as a buffer. Fixes some warnings. Should do a more general
6337 (gst_identity_class_init): Plug into the right marshaller.
6339 2005-07-15 Wim Taymans <wim@fluendo.com>
6341 * docs/design/part-TODO.txt:
6342 * docs/design/part-clocks.txt:
6343 * docs/design/part-element-sink.txt:
6344 * docs/design/part-events.txt:
6345 * docs/design/part-gstpipeline.txt:
6346 Updated docs, mostly DISCONT related.
6348 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6350 * docs/pwg/building-pads.xml:
6351 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6353 2005-07-15 Andy Wingo <wingo@pobox.com>
6355 * tools/gst-typefind.c: Update, add copyright block.
6357 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6358 Normalize and truncate caps before fixation.
6361 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6362 discards all but the first structure from its argument.
6364 2005-07-15 Wim Taymans <wim@fluendo.com>
6366 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6367 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6368 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6369 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6370 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6371 (gst_base_transform_chain), (gst_base_transform_change_state),
6372 (gst_base_transform_set_passthrough),
6373 (gst_base_transform_is_passthrough):
6374 * gst/base/gstbasetransform.h:
6375 Make passthrough work using the bufferpools.
6376 Changed API a bit, subclasses have to write into a buffer
6377 provided by the base class.
6378 More debug info in nego functions.
6380 * gst/elements/gstidentity.c: (gst_identity_init),
6381 (gst_identity_transform):
6382 Port to new base class.
6384 2005-07-15 Wim Taymans <wim@fluendo.com>
6386 * gst/gstmessage.c: (gst_message_new_state_changed):
6387 * tools/gst-launch.c: (event_loop), (main):
6388 Totally dump messages in -launch with the -m option.
6389 Fix message name for State messages,
6391 2005-07-14 Wim Taymans <wim@fluendo.com>
6393 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6394 Post error messages on errors.
6396 2005-07-14 Wim Taymans <wim@fluendo.com>
6398 * gst/gstcaps.c: (gst_caps_do_simplify):
6402 Define error for stream stopped.
6404 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6405 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6406 Do proper return values.
6408 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6409 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6410 (gst_pad_get_range):
6411 Better return values.
6414 Reorganise return values, add macro to check for fatal errors.
6416 * gst/gstqueue.c: (gst_queue_chain):
6417 Return proper GstFlowReturn values,
6419 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6421 * docs/gst/gstreamer-sections.txt:
6422 * docs/gst/gstreamer.types:
6423 * docs/gst/tmpl/gst.sgml:
6424 * docs/gst/tmpl/gstbasesink.sgml:
6425 * docs/gst/tmpl/gstbasesrc.sgml:
6426 * docs/gst/tmpl/gstbasetransform.sgml:
6427 * docs/gst/tmpl/gstbin.sgml:
6428 * docs/gst/tmpl/gstbuffer.sgml:
6429 * docs/gst/tmpl/gstcaps.sgml:
6430 * docs/gst/tmpl/gstclock.sgml:
6431 * docs/gst/tmpl/gstcompat.sgml:
6432 * docs/gst/tmpl/gstconfig.sgml:
6433 * docs/gst/tmpl/gstelement.sgml:
6434 * docs/gst/tmpl/gstelementdetails.sgml:
6435 * docs/gst/tmpl/gstelementfactory.sgml:
6436 * docs/gst/tmpl/gstenumtypes.sgml:
6437 * docs/gst/tmpl/gsterror.sgml:
6438 * docs/gst/tmpl/gstevent.sgml:
6439 * docs/gst/tmpl/gstfakesink.sgml:
6440 * docs/gst/tmpl/gstfakesrc.sgml:
6441 * docs/gst/tmpl/gstfilesink.sgml:
6442 * docs/gst/tmpl/gstfilesrc.sgml:
6443 * docs/gst/tmpl/gstfilter.sgml:
6444 * docs/gst/tmpl/gstformat.sgml:
6445 * docs/gst/tmpl/gstghostpad.sgml:
6446 * docs/gst/tmpl/gstimplementsinterface.sgml:
6447 * docs/gst/tmpl/gstindex.sgml:
6448 * docs/gst/tmpl/gstindexfactory.sgml:
6449 * docs/gst/tmpl/gstinfo.sgml:
6450 * docs/gst/tmpl/gstiterator.sgml:
6451 * docs/gst/tmpl/gstmacros.sgml:
6452 * docs/gst/tmpl/gstmemchunk.sgml:
6453 * docs/gst/tmpl/gstminiobject.sgml:
6454 * docs/gst/tmpl/gstobject.sgml:
6455 * docs/gst/tmpl/gstpad.sgml:
6456 * docs/gst/tmpl/gstpadtemplate.sgml:
6457 * docs/gst/tmpl/gstparse.sgml:
6458 * docs/gst/tmpl/gstpipeline.sgml:
6459 * docs/gst/tmpl/gstplugin.sgml:
6460 * docs/gst/tmpl/gstpluginfeature.sgml:
6461 * docs/gst/tmpl/gstquery.sgml:
6462 * docs/gst/tmpl/gstqueue.sgml:
6463 * docs/gst/tmpl/gstregistry.sgml:
6464 * docs/gst/tmpl/gstregistrypool.sgml:
6465 * docs/gst/tmpl/gstscheduler.sgml:
6466 * docs/gst/tmpl/gstschedulerfactory.sgml:
6467 * docs/gst/tmpl/gststructure.sgml:
6468 * docs/gst/tmpl/gstsystemclock.sgml:
6469 * docs/gst/tmpl/gsttaglist.sgml:
6470 * docs/gst/tmpl/gsttagsetter.sgml:
6471 * docs/gst/tmpl/gsttrace.sgml:
6472 * docs/gst/tmpl/gsttrashstack.sgml:
6473 * docs/gst/tmpl/gsttypefind.sgml:
6474 * docs/gst/tmpl/gsttypefindfactory.sgml:
6475 * docs/gst/tmpl/gsttypes.sgml:
6476 * docs/gst/tmpl/gsturihandler.sgml:
6477 * docs/gst/tmpl/gsturitype.sgml:
6478 * docs/gst/tmpl/gstutils.sgml:
6479 * docs/gst/tmpl/gstvalue.sgml:
6480 * docs/gst/tmpl/gstversion.sgml:
6481 * docs/gst/tmpl/gstxml.sgml:
6482 * docs/libs/tmpl/gstcontrol.sgml:
6483 * docs/libs/tmpl/gstdataprotocol.sgml:
6484 * docs/libs/tmpl/gstdparam.sgml:
6485 * docs/libs/tmpl/gstdplinint.sgml:
6486 * docs/libs/tmpl/gstdpman.sgml:
6487 * docs/libs/tmpl/gstdpsmooth.sgml:
6488 * docs/libs/tmpl/gstgetbits.sgml:
6489 * docs/libs/tmpl/gstunitconvert.sgml:
6490 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6491 (gst_push_src_base_init), (gst_push_src_class_init),
6492 (gst_push_src_init), (gst_push_src_create):
6493 * gst/base/gstpushsrc.h:
6494 * gst/elements/gstelements.c:
6495 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6496 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6497 (gst_fake_sink_init), (gst_fake_sink_set_property),
6498 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6499 (gst_fake_sink_event), (gst_fake_sink_preroll),
6500 (gst_fake_sink_render), (gst_fake_sink_change_state):
6501 * gst/elements/gstfakesink.h:
6502 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6503 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6504 (gst_fake_src_base_init), (gst_fake_src_class_init),
6505 (gst_fake_src_init), (gst_fake_src_event_handler),
6506 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6507 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6508 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6509 (gst_fake_src_create_buffer), (gst_fake_src_create),
6510 (gst_fake_src_start), (gst_fake_src_stop):
6511 * gst/elements/gstfakesrc.h:
6512 * gst/elements/gstfilesink.c: (_do_init),
6513 (gst_file_sink_base_init), (gst_file_sink_class_init),
6514 (gst_file_sink_init), (gst_file_sink_dispose),
6515 (gst_file_sink_set_location), (gst_file_sink_set_property),
6516 (gst_file_sink_get_property), (gst_file_sink_open_file),
6517 (gst_file_sink_close_file), (gst_file_sink_query),
6518 (gst_file_sink_event), (gst_file_sink_render),
6519 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6520 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6521 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6522 * gst/elements/gstfilesink.h:
6523 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6524 (gst_file_src_class_init), (gst_file_src_init),
6525 (gst_file_src_finalize), (gst_file_src_set_location),
6526 (gst_file_src_set_property), (gst_file_src_get_property),
6527 (gst_file_src_map_region), (gst_file_src_map_small_region),
6528 (gst_file_src_create_mmap), (gst_file_src_create_read),
6529 (gst_file_src_create), (gst_file_src_is_seekable),
6530 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6531 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6532 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6533 (gst_file_src_uri_handler_init):
6534 * gst/elements/gstfilesrc.h:
6535 more autistic cleanliness in functions/names/defines
6537 2005-07-13 Andy Wingo <wingo@pobox.com>
6539 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6540 source couldn't negotiate.
6542 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6546 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6547 function. I am channeling Hades. Put your boots on suckers!!!
6549 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6551 * testsuite/caps/Makefile.am:
6552 * testsuite/caps/value_compare.c:
6553 * testsuite/caps/value_intersect.c:
6554 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6555 move two testsuite apps over to the check dir
6557 2005-07-12 Wim Taymans <wim@fluendo.com>
6559 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6560 Added more debug info in the negotiate process.
6563 Prepare for segment playback.
6565 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6571 * tools/gst-launch.c: (main):
6572 NULL pipeline on errors.
6574 2005-07-12 Andy Wingo <wingo@pobox.com>
6576 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6577 not it comes from a malloc region. Make sure our copy gets freed.
6579 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6581 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6582 * check/gst/gstmessage.c: (GST_START_TEST):
6583 * check/gst/gststructure.c: (GST_START_TEST),
6584 (gst_structure_suite), (main):
6586 * gst/gstelement.c: (gst_element_message_full):
6587 clean up GError and debug string now that they get copied
6588 * gst/gstmessage.c: (gst_message_new_error),
6589 (gst_message_new_warning), (gst_message_parse_error),
6590 (gst_message_parse_warning):
6591 use GST_TYPE_G_ERROR for structure_new, and take copies of
6592 arguments, so that we don't mess up refcounting
6594 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6596 * check/Makefile.am:
6597 add per-test valgrind targets
6598 * check/gst-libs/gdp.c: (GST_START_TEST),
6599 (gst_data_protocol_suite), (main):
6602 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6604 * check/Makefile.am:
6605 instate more valgrindable tests
6606 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6607 (GST_START_TEST), (fakesrc_suite):
6608 * check/gst/gstpad.c: (GST_START_TEST):
6609 * check/gst/gststructure.c: (GST_START_TEST):
6611 * docs/gst/tmpl/gstminiobject.sgml:
6612 * gst/gstpad.c: (gst_pad_finalize):
6613 fix the static mutex leak
6615 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6617 * check/Makefile.am:
6618 add two more tests for valgrinding
6619 * check/gst/gstvalue.c: (GST_START_TEST):
6620 test refcount of deserialized buffer, found a leak
6621 * docs/gst/gstreamer-docs.sgml:
6622 * docs/gst/gstreamer-sections.txt:
6623 * docs/gst/gstreamer.types:
6624 * docs/gst/tmpl/gstminiobject.sgml:
6625 add miniobject to docs
6626 * gst/gstminiobject.c:
6628 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6629 (gst_string_unwrap):
6630 fix a hard-to-find invalid write for one of the tests
6631 fix a leak for deserialized buffers
6633 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6635 * docs/pwg/advanced-events.xml:
6636 * docs/pwg/advanced-request.xml:
6637 * docs/pwg/advanced-scheduling.xml:
6638 * docs/pwg/appendix-porting.xml:
6639 * docs/pwg/building-boiler.xml:
6640 * docs/pwg/intro-preface.xml:
6641 * docs/pwg/other-ntoone.xml:
6642 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6643 of example code and explanation for pad activation, loop() and
6644 getrange() functions and a bit more. Remove old comments pointing
6646 * examples/pwg/Makefile.am:
6647 Add loop/getrange examples.
6649 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6652 check for valgrind binary + some fixes
6654 valgrind suppressions for the tests
6655 * check/Makefile.am:
6656 add a valgrind: target that valgrinds the unit tests
6657 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6658 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6659 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6660 * check/gst/gstghostpad.c:
6662 * check/gst/gstdata.c:
6664 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6665 (thread_unref), (gst_mini_object_suite), (main):
6667 * gst/gst.c: (gst_deinit):
6669 add a method to clean up.
6670 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6671 (gst_system_clock_obtain):
6672 allow for disposing the system clock.
6673 * tools/gst-launch.c: (main):
6676 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6678 * docs/gst/tmpl/gstbasesrc.sgml:
6679 * docs/gst/tmpl/gstfakesrc.sgml:
6680 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6681 (gst_base_src_init), (gst_base_src_set_property),
6682 (gst_base_src_get_property), (gst_base_src_get_range),
6683 (gst_base_src_start):
6684 * gst/base/gstbasesrc.h:
6685 add num-buffers property
6686 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6687 (gst_fakesrc_init), (gst_fakesrc_set_property),
6688 (gst_fakesrc_get_property), (gst_fakesrc_create),
6689 (gst_fakesrc_start):
6690 remove num-buffers property
6692 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6694 * docs/gst/gstreamer-sections.txt:
6695 * docs/gst/tmpl/gstbasesink.sgml:
6696 * docs/gst/tmpl/gstbasesrc.sgml:
6697 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6698 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6699 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6700 (gst_base_sink_set_property), (gst_base_sink_get_property),
6701 (gst_base_sink_handle_object), (gst_base_sink_event),
6702 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6703 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6704 (gst_base_sink_loop), (gst_base_sink_deactivate),
6705 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6706 (gst_base_sink_change_state):
6707 * gst/base/gstbasesink.h:
6708 * gst/base/gstbasesrc.h:
6709 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6710 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6711 (gst_filesink_init):
6712 more macro splitting
6714 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6716 * gst/gstelement.c: (gst_element_get_bus):
6718 * tools/gst-launch.c: (check_intr), (event_loop):
6721 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6723 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6726 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6728 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6729 (gst_base_src_finalize):
6730 add finalize method and clean up properly
6731 * gst/gstpipeline.c: (gst_pipeline_dispose):
6734 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6736 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6738 add more things to check
6739 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6743 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6745 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6746 (GST_START_TEST), (fakesrc_suite):
6747 * check/gst-libs/gdp.c: (GST_START_TEST):
6748 * check/gst/gst.c: (GST_START_TEST):
6749 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6750 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6751 * check/gst/gstbus.c: (GST_START_TEST):
6752 * check/gst/gstcaps.c: (GST_START_TEST):
6753 * check/gst/gstdata.c: (GST_START_TEST):
6754 * check/gst/gstelement.c: (GST_START_TEST):
6755 * check/gst/gstghostpad.c: (GST_START_TEST):
6756 * check/gst/gstiterator.c: (GST_START_TEST):
6757 * check/gst/gstmessage.c: (GST_START_TEST):
6758 * check/gst/gstobject.c: (GST_START_TEST):
6759 * check/gst/gstpad.c: (GST_START_TEST):
6760 * check/gst/gststructure.c: (GST_START_TEST):
6761 * check/gst/gstsystemclock.c: (GST_START_TEST),
6762 (gst_systemclock_suite):
6763 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6764 * check/gst/gstvalue.c: (GST_START_TEST):
6765 * check/pipelines/cleanup.c: (GST_START_TEST):
6766 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6767 * check/states/sinks.c: (GST_START_TEST):
6768 * check/gstcheck.c: (gst_check_init):
6770 add debugging category
6771 use GST_START_TEST now, so we add a debug line
6773 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6775 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6776 add test for state change message on a bin
6777 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6779 * gst/gstbin.c: (gst_bin_init):
6780 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6781 * gst/gstelement.c: (gst_element_post_message),
6782 (gst_element_set_state):
6783 * gst/gstelementfactory.c: (gst_element_factory_create):
6784 * gst/gstmessage.c: (gst_message_new):
6785 * gst/gstscheduler.c:
6786 various debugging additions and cleanups
6788 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6790 * check/Makefile.am:
6791 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6793 adding tests for elements
6794 * gst/gstelement.c: (gst_element_dispose):
6796 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6798 * gst/registries/gstlibxmlregistry.c: (load_feature):
6799 plug more leaks. A simple gst_init() now is leakfree, yay.
6801 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6803 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6804 (gst_xml_registry_load):
6805 plug another memleak
6807 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6810 use GST_SET_ERROR_CFLAGS
6812 change to ERROR_CFLAGS
6814 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6817 make GST_ERROR_CFLAGS overridable and re-enable Werror
6819 add a note about error CFLAGS
6820 * docs/gst/tmpl/gstfakesrc.sgml:
6821 * gst/elements/gstfakesrc.c:
6822 comment out some unused code
6823 * gst/gst.c: (split_and_iterate):
6824 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6828 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6830 * common/Makefile.am:
6831 * common/gtk-doc.mak:
6832 * docs/gst/Makefile.am:
6833 factor out gtk-doc.mak
6835 2005-07-07 Wim Taymans <wim@fluendo.com>
6837 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6838 (gst_thread_scheduler_dispose):
6839 Unlock the STREAM_LOCK completely.
6841 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6843 * check/Makefile.am:
6844 * check/elements/.cvsignore:
6845 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6846 (START_TEST), (fakesrc_suite), (main):
6847 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6848 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6849 (gst_fakesrc_create), (gst_fakesrc_start):
6850 * gst/elements/gstfakesrc.h:
6851 adding a first element test
6853 2005-07-07 Andy Wingo <wingo@pobox.com>
6855 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6858 2005-07-07 Wim Taymans <wim@fluendo.com>
6864 2005-07-07 Wim Taymans <wim@fluendo.com>
6866 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6867 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6868 Allow subclasses to implement their own negotiation.
6870 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6872 * docs/design/part-gstbin.txt:
6873 * docs/design/part-gstpipeline.txt:
6874 Update design notes to reflect the movement of
6875 responsibility for bus handling from GstPipeline to
6878 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6881 Remove unnecessary queue2/3/4 examples.
6883 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6885 * examples/Makefile.am:
6886 * examples/helloworld/helloworld.c: (event_loop), (main):
6887 * examples/queue/queue.c: (event_loop), (main):
6888 * examples/queue2/queue2.c: (main):
6889 Update a couple of the examples to work again.
6891 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6892 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6893 Spelling corrections and extra debug.
6895 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6896 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6897 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6899 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6900 (gst_pipeline_change_state):
6901 * gst/gstpipeline.h:
6902 Move the bus handler for children to the GstBin, and create a
6903 separate bus for receiving messages from children to the one the
6904 bus sends 'upwards' on.
6906 2005-07-06 Wim Taymans <wim@fluendo.com>
6909 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6910 (gst_base_sink_handle_object), (gst_base_sink_loop),
6911 (gst_base_sink_change_state):
6912 * gst/base/gstbasesink.h:
6913 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6914 (gst_base_src_init), (gst_base_src_setcaps),
6915 (gst_base_src_getcaps), (gst_base_src_loop),
6916 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6917 (gst_base_src_start), (gst_base_src_change_state):
6918 * gst/base/gstbasesrc.h:
6919 Make basesrc negotiate.
6920 Handle the case where preroll fails in basesink.
6923 2005-07-06 Wim Taymans <wim@fluendo.com>
6925 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6926 Implement the fixate function.
6927 Clean up acceptcaps.
6929 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6931 * docs/pwg/building-filterfactory.xml:
6933 Remove never-written filter-factory chapter; I'll add the various
6934 base classes to part 4 ("other element types") later on.
6936 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6938 * docs/pwg/advanced-negotiation.xml:
6939 * docs/pwg/building-boiler.xml:
6940 * docs/pwg/building-pads.xml:
6942 * examples/pwg/Makefile.am:
6943 Add a chapter on caps negotiation, simplify the original code
6944 samples a bit w.r.t. caps negotiation, add link to the advanced
6945 section. Add a bunch of examples showing different use cases of
6946 different types of caps negotiation. Upstream renegotiation isn't
6947 fully documented yet since nobody knows how that works.
6949 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6951 * check/gst/gstpad.c:
6953 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6954 if pad has no parent, return NULL as list of internal links
6956 2005-07-05 Andy Wingo <wingo@pobox.com>
6958 * gst/elements/gstfilesrc.c:
6959 * gst/elements/gstfakesrc.c:
6960 * gst/base/gstpushsrc.c:
6961 * gst/base/gstbasesrc.h:
6962 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6964 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6967 better report generation target (lcov needs a patch)
6969 2005-07-05 Andy Wingo <wingo@pobox.com>
6971 * gst/elements, testsuite: Null if we got it...
6973 2005-07-05 Wim Taymans <wim@fluendo.com>
6976 * libs/gst/dataprotocol/Makefile.am:
6977 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6978 * libs/gst/dataprotocol/dataprotocol.h:
6979 * pkgconfig/Makefile.am:
6980 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6981 * pkgconfig/gstreamer-dataprotocol.pc.in:
6982 Ported dataprotol to 0.9.
6983 Added pkgconfig files.
6985 2005-07-05 Andy Wingo <wingo@pobox.com>
6987 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6988 Default to returning TRUE for the case when tranform_caps returns
6989 a fixed caps, like for identity or volume.
6991 * check/gst/gstbus.c (pound_bus_with_messages):
6992 * check/gst/gstmessage.c (START_TEST):
6993 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6996 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6997 logic weaks here: always run transform_caps, trying passthrough
6998 operation only if the original caps intersects with the transform.
7000 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7001 source and sink caps.
7003 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7004 Intersect the peer caps with the pad template before going into
7006 (gst_base_transform_transform_caps): More debugging.
7008 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7011 2005-07-04 Edward Hervey <edward@fluendo.com>
7015 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7018 2005-07-04 Andy Wingo <wingo@pobox.com>
7020 * check/gst/gstpad.c: Only set explicit caps on pads.
7022 2005-07-01 Andy Wingo <wingo@pobox.com>
7024 * tests/network-clock.scm: Commentary update.
7026 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7027 Didn't really make sense, not implementable with basetransform,
7029 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7030 attempt at implementing the sync property, needs an unlock method.
7032 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7033 New func, by default returns the same caps (the identity
7035 (gst_base_transform_getcaps): Uses transform_caps to return
7037 (gst_base_transform_setcaps): Complicated logic to get caps on
7038 both pads, even if they are different, and to call set_caps once
7039 for every time both pads get their caps set.
7040 (gst_base_transform_handle_buffer): Give the ref to the transform
7041 function. Allows in-place modification of the buffer.
7043 * gst/base/gstbasetransform.h (transform_caps): New class method.
7044 Given caps on one side, what can I do on the other.
7045 (set_caps): Take two caps, one for each side of the element.
7048 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7049 caps in place. This is safe because we can check the mutability of
7050 the caps, and a good idea because fixate functions are just called
7051 as a matter of last resort. (Not actually implemented.)
7052 (gst_pad_set_caps): If the caps we're setting is actually the same
7053 as the existing pad caps, just update the pointer without calling
7054 setcaps. Assert that caps is either NULL or fixed, as per the
7057 * gst/gstghostpad.c: Update for fixate changes.
7059 2005-07-02 Andy Wingo <wingo@pobox.com>
7062 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7063 two refcounts makes it immutable, which is enough. Doc more.
7065 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7067 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7068 Put the mini_object into GValue as a mini_object,
7069 not a gpointer, since that's how we declared
7072 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7074 * examples/pwg/Makefile.am:
7077 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7079 * docs/pwg/building-testapp.xml:
7081 * examples/pwg/Makefile.am:
7084 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7087 * examples/Makefile.am:
7088 * examples/pwg/Makefile.am:
7089 * examples/pwg/extract.pl:
7090 Enable building the PWG examples.
7091 * docs/pwg/advanced-interfaces.xml:
7092 Add URI interface stub.
7093 * docs/pwg/advanced-types.xml:
7094 * docs/pwg/other-autoplugger.xml:
7095 * docs/pwg/appendix-porting.xml:
7097 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7098 * docs/pwg/building-boiler.xml:
7099 * docs/pwg/building-chainfn.xml:
7100 * docs/pwg/building-pads.xml:
7101 * docs/pwg/building-props.xml:
7102 * docs/pwg/building-state.xml:
7103 * docs/pwg/building-testapp.xml:
7104 Update the building-*.xml parts for 0.9 changes. All examples
7105 code blocks compile in examples/pwg/*.
7107 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7109 * docs/manual/advanced-autoplugging.xml:
7110 * docs/manual/appendix-checklist.xml:
7111 * docs/manual/appendix-integration.xml:
7112 * docs/manual/highlevel-components.xml:
7113 Fix playbin/decodebin examples, update docs a bit, mention bus
7114 instead of signals in various places, mention kmplayer and
7115 kaffeine since they have a working GStreamer backend in the KDE
7118 2005-06-30 Wim Taymans <wim@fluendo.com>
7121 * docs/design/draft-ghostpads.txt:
7122 * docs/design/draft-push-pull.txt:
7123 * docs/design/draft-query.txt:
7124 * docs/design/part-TODO.txt:
7125 * docs/design/part-query.txt:
7126 Added CHANGES-0.9 doc, updated status of other docs.
7131 2005-06-30 Wim Taymans <wim@fluendo.com>
7133 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7134 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7135 (gst_base_sink_change_state):
7136 * gst/base/gstbasesink.h:
7137 Some tweaks, only EOS and a buffer complete a preroll.
7139 2005-06-30 Andy Wingo <wingo@pobox.com>
7141 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7142 activate_push down to the internal pad as well.
7144 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7146 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7148 * gst/gsttaginterface.c:
7149 Some documentation fixes (#307394 and #307397).
7151 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7153 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7155 * gst/gstvalue.c: (gst_value_intersect_list):
7156 Fix memleak (#309125).
7158 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7160 * docs/manual/advanced-dataaccess.xml:
7161 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7162 * docs/manual/basics-pads.xml:
7163 Add reference for filtered caps to above chapter.
7165 2005-06-30 Wim Taymans <wim@fluendo.com>
7167 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7168 (gst_bin_change_state):
7170 Lame attempt at making the state change function a bit
7173 2005-06-30 Wim Taymans <wim@fluendo.com>
7175 * docs/design/part-clocks.txt:
7176 * docs/design/part-element-sink.txt:
7177 * docs/design/part-events.txt:
7178 * docs/design/part-preroll.txt:
7179 * docs/design/part-states.txt:
7180 Some more tweeks and additions to the docs.
7182 2005-06-30 Wim Taymans <wim@fluendo.com>
7184 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7185 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7186 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7187 (gst_pad_check_pull_range), (gst_pad_get_range),
7188 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7190 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7191 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7192 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7193 (gst_pad_remove_buffer_probe):
7194 Removed atomic operations, use existing LOCK.
7195 Move exception handling out of main code path.
7197 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7199 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7200 (silly_return_true_function), (gst_pad_class_init),
7201 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7202 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7203 (gst_pad_send_event):
7204 Fix accumulator, add default value by using _emitv() instead
7205 of _emit() for signal emission.
7207 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7209 * docs/manual/advanced-dataaccess.xml:
7210 * examples/manual/Makefile.am:
7212 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7215 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7217 * gst/elements/gstfilesink.c: (gst_filesink_render):
7218 Simplify code so that we don't have to handle short
7219 writes and return GST_FLOW_ERROR if an error occured.
7221 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7223 * docs/gst/gstreamer-docs.sgml:
7226 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7228 * docs/gst/gstreamer-sections.txt:
7229 * docs/gst/tmpl/gstpad.sgml:
7230 * docs/gst/tmpl/gstprobe.sgml:
7232 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7233 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7234 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7235 (gst_pad_push_event), (gst_pad_send_event):
7237 * gst/gstutils.c: (gst_pad_add_data_probe),
7238 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7239 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7240 (gst_pad_remove_buffer_probe):
7242 Remove old probes, add new g-signal-based probes and some utility
7245 2005-06-29 Edward Hervey <edward@fluendo.com>
7247 * gst/gstelementfactory.c:
7250 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7251 the definition to the header file.
7253 2005-06-29 Andy Wingo <wingo@pobox.com>
7255 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7256 plugins from the source directory.
7258 2005-06-29 Wim Taymans <wim@fluendo.com>
7260 * docs/gst/tmpl/gstbuffer.sgml:
7261 * docs/gst/tmpl/gstclock.sgml:
7262 Some fixings for blantently wrong text.
7264 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7266 * check/Makefile.am:
7267 * gst/gst.c: (add_path_func), (init_pre):
7268 * gst/gstregistry.c: (gst_registry_add_path):
7269 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7270 only scan the GST_PLUGIN_PATH locations, and not add
7273 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7275 * docs/gst/gstreamer-sections.txt:
7276 * docs/gst/tmpl/gstbasesrc.sgml:
7283 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7285 * docs/manual/advanced-autoplugging.xml:
7286 Fix autoplugging example.
7288 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7290 * docs/manual/advanced-autoplugging.xml:
7291 * docs/manual/mime-world.fig:
7292 Try to get autoplugging working, fix type detection. Fix text
7293 in hello-world image.
7295 2005-06-29 Wim Taymans <wim@fluendo.com>
7297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7298 (gst_base_sink_change_state):
7302 map SIGNAL and BROADCAST to the right function.
7305 Remove redundant braces.
7307 * gst/gstpad.c: (gst_pad_set_caps):
7308 Don't call setcaps function when reseting caps to NULL.
7310 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7311 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7312 (gst_system_clock_id_unschedule):
7313 Use BROADCAST as this is what we do.
7315 2005-06-29 Wim Taymans <wim@fluendo.com>
7317 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7318 We are actually prerolling before commiting the state
7321 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7323 * docs/manual/advanced-clocks.xml:
7324 * docs/manual/advanced-interfaces.xml:
7325 * docs/manual/advanced-metadata.xml:
7326 * docs/manual/advanced-position.xml:
7327 * docs/manual/advanced-schedulers.xml:
7328 * docs/manual/advanced-threads.xml:
7329 * docs/manual/appendix-porting.xml:
7330 * docs/manual/basics-bins.xml:
7331 * docs/manual/basics-bus.xml:
7332 * docs/manual/basics-elements.xml:
7333 * docs/manual/basics-helloworld.xml:
7334 * docs/manual/basics-pads.xml:
7335 * docs/manual/highlevel-components.xml:
7336 * docs/manual/manual.xml:
7337 * docs/manual/thread.fig:
7338 Update (until threads/scheduling) Application Development Manual;
7339 remove GstThread, add GstBus, add simple porting checklist, add
7340 documentation for tag writing, clocks, make all examples until this
7341 part compile and run.
7342 * examples/manual/Makefile.am:
7343 Update from changes to Application Development Manual; add bus
7344 example, remove thread example.
7346 2005-06-28 Wim Taymans <wim@fluendo.com>
7348 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7349 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7350 (gst_bus_source_dispatch):
7351 Add debugging messages.
7352 Make internal methods static.
7353 Handle the case where the bus is flushed in the handler.
7355 * gst/gstelement.c: (gst_element_get_bus):
7356 Fix refcount in _get_bus();
7358 * gst/gstpipeline.c: (gst_pipeline_change_state),
7359 (gst_pipeline_get_clock_func):
7360 Clock refcounting fixes.
7361 Handle the case where preroll timed out more gracefully.
7363 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7364 Clean up the internal thread in dispose. This is needed
7365 for subclasses that actually get disposed.
7367 * gst/schedulers/threadscheduler.c:
7368 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7369 (gst_thread_scheduler_dispose):
7370 Free thread pool in dispose.
7372 2005-06-28 Andy Wingo <wingo@pobox.com>
7374 * tests/network-clock-utils.scm (debug, print-event): New utils.
7376 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7377 (*packet-loss*): Unified loss probability.
7378 (network-time): Report out-of-band events.
7380 * tests/plot-data: Add support for out-of-band events. Hack it
7381 into this script instead of passing it down the pipe; should fix
7384 2005-06-28 Wim Taymans <wim@fluendo.com>
7386 * docs/gst/gstreamer.types:
7387 * docs/gst/tmpl/gstbasesrc.sgml:
7388 * docs/gst/tmpl/gstpad.sgml:
7391 2005-06-28 Wim Taymans <wim@fluendo.com>
7393 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7394 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7395 (gst_proxy_pad_do_fixatecaps):
7396 Correctly proxy the check_pull_range function.
7398 2005-06-28 Andy Wingo <wingo@pobox.com>
7400 * tests/network-clock.scm: Removed need for slib.
7402 2005-06-28 Wim Taymans <wim@fluendo.com>
7404 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7405 (gst_basesink_preroll_queue_flush):
7406 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7407 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7408 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7409 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7410 (gst_proxy_pad_set_property):
7413 * gst/gstqueue.c: (gst_queue_init):
7414 The deprecated pad loop function is removed now.
7416 2005-06-28 Andy Wingo <wingo@pobox.com>
7418 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7419 New parameters, simulate network packet loss.
7421 * tests/network-clock-utils.scm: Initialize the RNG.
7423 2005-06-28 Wim Taymans <wim@fluendo.com>
7425 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7426 (gst_basesink_event), (gst_basesink_deactivate):
7427 Flushing the preroll queue always needs to unlock the waiters.
7429 2005-06-28 Edward Hervey <edward@fluendo.com>
7431 * gst/gstpipeline.c: (gst_pipeline_send_event):
7432 Wheen a seek was successful on a pipeline, set the stream_time to the
7433 seek offset in order to have a synchronized stream_time.
7435 2005-06-28 Wim Taymans <wim@fluendo.com>
7437 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7438 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7439 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7440 (gst_proxy_pad_do_fixatecaps):
7441 Call wrapper function instead of just calling the function
7442 pointers. This takes care of any locking and whatmore.
7444 2005-06-28 Wim Taymans <wim@fluendo.com>
7446 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7447 (gst_pad_pull_range):
7449 CONNECTED -> LINKED.
7451 2005-06-28 Andy Wingo <wingo@pobox.com>
7453 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7454 source-munging commit!!!
7456 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7457 (gst_object_sink): Take gpointer arguments, not GstObject --
7458 avoids casts. Like GLib.
7460 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7463 2005-06-27 Andy Wingo <wingo@pobox.com>
7465 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7468 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7469 returns a sorted copy of the trace list.
7470 (gst_alloc_trace_print_live): New API, only prints traces with
7471 live objects. Sort the list.
7472 (gst_alloc_trace_print_all): Sort the list.
7473 (gst_alloc_trace_print): Align columns.
7475 * gst/elements/gstttypefindelement.c:
7476 * gst/elements/gsttee.c:
7477 * gst/base/gstbasesrc.c:
7478 * gst/base/gstbasesink.c:
7479 * gst/base/gstbasetransform.c:
7480 * gst/gstqueue.c: Adapt for pad activation changes.
7482 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7484 (gst_pipeline_dispose): Drop ref on sched.
7486 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7487 (gst_pad_activate_default): Push mode by default.
7488 (pre_activate_switch, post_activate_switch): New stubs, things to
7489 do before and after switching activation modes on pads.
7490 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7491 the pad's activate function to choose which mode to activate.
7492 Shortcut on deactivation and call the right function directly.
7493 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7495 (gst_pad_activate_push): New API, same for push mode.
7496 (gst_pad_set_activate_function)
7497 (gst_pad_set_activatepull_function)
7498 (gst_pad_set_activatepush_function): Setters for new API.
7500 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7501 Trace all miniobjects.
7502 (gst_mini_object_make_writable): Unref the arg if we copy, like
7503 gst_caps_make_writable.
7505 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7507 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7508 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7509 Adapt for new pad API.
7511 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7514 * gst/gstelement.c (gst_element_iterate_src_pads)
7515 (gst_element_iterate_sink_pads): New API functions.
7517 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7518 should fold into gstiterator.c in some form.
7519 (gst_element_pads_activate): Simplified via use of fold and
7520 delegation of decisions to gstpad->activate.
7522 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7525 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7526 class once in init, like gstmessage. Didn't run into this issue
7527 but it seems correct. Don't initialize a trace, gstminiobject does
7530 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7531 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7533 (assert_live_count): New util function, uses alloc traces to check
7536 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7537 To be modified when unlink drops the internal pad.
7539 2005-06-27 Wim Taymans <wim@fluendo.com>
7541 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7542 (gst_bin_change_state):
7543 Cleanup the get_state() function a little, make sure it
7544 iterates the same set of elements.
7545 Added stub iterate_state_order().
7547 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7549 * docs/gst/gstreamer-docs.sgml:
7550 * docs/gst/gstreamer-sections.txt:
7551 * docs/gst/gstreamer.types:
7552 * docs/gst/tmpl/gstbasesink.sgml:
7553 * docs/gst/tmpl/gstbasesrc.sgml:
7554 * docs/gst/tmpl/gstbasetransform.sgml:
7555 * docs/gst/tmpl/gstelement.sgml:
7556 * docs/gst/tmpl/gstiterator.sgml:
7557 * gst/base/gstbasesrc.c:
7558 * gst/base/gstbasesrc.h:
7559 * gst/base/gstbasetransform.h:
7561 * gst/gstiterator.h:
7562 adding basetransform and iterator docs
7564 2005-06-27 Andy Wingo <wingo@pobox.com>
7566 * docs/design/part-activation.txt: Notes on how activation should
7567 work -- not quite implemented yet.
7569 2005-06-25 Wim Taymans <wim@fluendo.com>
7571 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7572 At least get the chain function correct, needs more
7575 2005-06-25 Wim Taymans <wim@fluendo.com>
7577 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7578 (gst_basesink_handle_object), (gst_basesink_event),
7579 (gst_basesink_do_sync), (gst_basesink_handle_event),
7580 (gst_basesink_change_state):
7582 Right, two problems here: ghostpads don't take locks and
7583 glib _rec_mutex_lock_full() with depth==0 still locks.
7584 Catch illegal locking and g_warn them.
7586 2005-06-25 Wim Taymans <wim@fluendo.com>
7588 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7589 Have to check for completion now...
7591 2005-06-25 Wim Taymans <wim@fluendo.com>
7593 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7594 (gst_basesink_handle_object), (gst_basesink_event),
7595 (gst_basesink_do_sync), (gst_basesink_handle_event),
7596 (gst_basesink_change_state):
7598 Unlock STREAM_LOCK whatever the recursion was.
7600 2005-06-25 Wim Taymans <wim@fluendo.com>
7602 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7603 (gst_basesink_preroll_queue_empty),
7604 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7605 (gst_basesink_event), (gst_basesink_do_sync),
7606 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7607 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7608 (gst_basesink_change_state):
7609 Reworked the base sink, handle event and buffer serialisation
7610 correctly and removed possible deadlock.
7611 Handle EOS correctly.
7613 2005-06-25 Wim Taymans <wim@fluendo.com>
7615 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7616 (gst_pipeline_change_state):
7617 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7618 Allow elements to post EOS in the state change function.
7619 Fix up -launch, make it exit the poll loop when the
7620 pipeline actually changed state.
7621 Fix up warning parsing in -launch.
7623 2005-06-25 Wim Taymans <wim@fluendo.com>
7625 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7626 (gst_tee_sink_activate):
7627 Core takes STREAM_LOCK for us now.
7629 2005-06-25 Wim Taymans <wim@fluendo.com>
7631 * gst/gstelement.c: (gst_element_get_state_func),
7632 (gst_element_set_state):
7634 * gst/gstmessage.c: (gst_message_parse_error),
7635 (gst_message_parse_warning):
7636 Keep track of current target state while performing a state
7637 change so that subclasses can do something interesting.
7638 Fix parsing of warning/error messages when GError is NULL.
7640 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7642 * docs/gst/Makefile.am:
7643 * docs/gst/gstreamer-docs.sgml:
7644 * docs/gst/gstreamer-sections.txt:
7645 * docs/gst/gstreamer.types:
7646 * docs/gst/tmpl/gstbasesink.sgml:
7647 * docs/gst/tmpl/gstbasesrc.sgml:
7648 * docs/gst/tmpl/gstbin.sgml:
7649 * docs/gst/tmpl/gstcompat.sgml:
7650 * docs/gst/tmpl/gstfakesink.sgml:
7651 * docs/gst/tmpl/gstfakesrc.sgml:
7652 * docs/gst/tmpl/gstfilesink.sgml:
7653 * docs/gst/tmpl/gstfilesrc.sgml:
7654 * docs/gst/tmpl/gstindex.sgml:
7655 * docs/manual/appendix-quotes.xml:
7656 * gst/base/gstbasesrc.h:
7657 * gst/elements/gstfakesrc.h:
7659 start pulling in base classes and elements in our docs
7661 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7663 * docs/gst/Makefile.am:
7664 * docs/libs/Makefile.am:
7665 fixed make distcheck with gtk-doc 1.3
7667 2005-06-23 Wim Taymans <wim@fluendo.com>
7669 * gst/gstelement.c: (gst_element_get_state_func),
7670 (gst_element_set_state), (gst_element_change_state):
7671 When the state did not change, also report NO_PREROLL
7674 2005-06-23 Wim Taymans <wim@fluendo.com>
7676 * gst/gstpad.c: (gst_pad_event_default):
7677 * gst/gstqueue.c: (gst_queue_loop):
7678 No unsafe task pausing please.
7680 2005-06-23 Wim Taymans <wim@fluendo.com>
7682 * gst/schedulers/threadscheduler.c:
7683 (gst_thread_scheduler_task_start),
7684 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7685 Ref the task before pushing it on the threadpool. This
7686 makes sure that we have a ref when the threadfunction is
7689 2005-06-23 Andy Wingo <wingo@pobox.com>
7691 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7692 offset is greater than the file's size.
7694 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7695 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7696 * gst/gstobject.c (gst_object_class_init): Make the class lock
7697 recursive. Wim won't let me drop deep_notify. Decodebin works
7700 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7701 internal pad, and hacks accordingly. Doesn't do it on the target
7702 pad because we change its caps. Probably catches all cases of
7704 (gst_ghost_pad_set_property): Connect to notify::caps as
7707 * tests/network-clock.scm (plot-simulation): Pipe data to the
7708 elite python skript.
7710 * tests/network-clock-utils.scm (define-parameter): New macro,
7711 defines a parameter that can be set via the command line.
7712 (set-parameter!, parse-parameter-arguments): Command line args
7715 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7718 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7720 * gst/elements/gsttypefindelement.c:
7721 (gst_type_find_element_handle_event):
7722 Don't restart typefinding on a discont.
7723 * gst/gstelement.c: (gst_element_set_state):
7725 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7726 Allow changing mode of an active pad.
7728 * gst/registries/gstlibxmlregistry.c: (load_feature):
7729 Don't cast a static pad template to a normal pad template.
7731 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7733 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7734 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7735 remove gst_strtoll completely, since it didn't actually do
7736 anything more than what g_ascii_strtoull already does.
7737 check for range errors when deserializing
7738 do a cast for the unsigned cases; but further fixing needs
7739 a decision on what the interpretation of "(int)" and
7740 deserialization should be for values that fall outside the
7741 type's boundaries (ie, refuse, or interpret as casting)
7743 2005-06-23 Wim Taymans <wim@fluendo.com>
7745 * check/Makefile.am:
7746 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7747 * docs/design/part-live-source.txt:
7748 * docs/design/part-states.txt:
7749 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7750 (gst_basesrc_set_live), (gst_basesrc_is_live),
7751 (gst_basesrc_get_range), (gst_basesrc_activate),
7752 (gst_basesrc_change_state):
7753 * gst/base/gstbasesrc.h:
7754 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7755 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7756 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7757 * gst/gstelement.c: (gst_element_get_state_func),
7758 (gst_element_set_state):
7761 * tools/gst-launch.c: (event_loop), (main):
7762 Added support for live sources and other elements that
7764 Updated design docs, added live-source design doc.
7765 Implemented live source functionality in basesrc
7766 Fix error condition in _bin_get_state()
7767 Implement live source handling in -launch.
7768 Added check for live sources.
7769 Fixed case in GstBin where elements were changed state
7773 2005-06-23 Andy Wingo <wingo@pobox.com>
7775 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7778 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7779 gst_caps_replace takes care of this for us.
7781 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7782 gst_pad_set_caps on the target, not just its setcaps() function.
7784 * tests/network-clock.scm:
7785 * tests/network-clock-utils.scm: A network clock simulator.
7786 Something of an algorithmic testbed before doing something in C.
7788 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7790 * check/Makefile.am:
7791 * check/gst/capslist.h:
7792 copy over from 0.8, and add two with bitmasks specified with
7794 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7795 add test to parse everything from capslist.h
7796 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7798 add test for structure deserialization
7799 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7800 add tests for deserialization of strings to int types
7801 * gst/gststructure.c: (gst_structure_nth_field_name):
7802 * gst/gststructure.h:
7803 add a way to get the name of a field referenced by index
7804 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7805 instead of checking if the resulting long long lies between
7806 min and max, we check if the long long would fit into
7807 a number of bytes for the final type.
7808 This fixes cases where a string represents 2^32 - 1, which
7809 when cast to int would be the (valid) -1, but is bigger than
7812 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7814 * gst/parse/grammar.y:
7815 add a log line for type deserialization
7817 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7819 * check/gst/gstvalue.c: (START_TEST):
7820 * gst/gstvalue.c: (gst_value_deserialize):
7821 return long long, not int, so gint64 deserialization actually
7822 works. Is there any flag that makes the compiler check this ?
7825 2005-06-22 Wim Taymans <wim@fluendo.com>
7828 Added convenience macros for setting buffers in GValue.
7830 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7832 * check/gst/.cvsignore:
7833 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7834 add a test deserializing int64, and comment part out because
7837 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7839 * check/Makefile.am:
7840 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7841 * testsuite/Makefile.am:
7842 * testsuite/caps/Makefile.am:
7843 * testsuite/caps/value_serialize.c:
7844 * testsuite/test_gst_init.c:
7845 move a value_serialize test over
7847 2005-06-20 Wim Taymans <wim@fluendo.com>
7852 * gst/gstvalue.c: (gst_value_compare_buffer),
7853 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7854 (gst_value_compare_flags), (gst_value_serialize_flags),
7855 (gst_value_deserialize_flags), (_gst_value_initialize):
7856 Fix serialisation of buffers, they are not boxed types anymore
7858 2005-06-20 Wim Taymans <wim@fluendo.com>
7860 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7861 Testcase to show error in buffer-on-caps serialisation.
7863 2005-06-20 Andy Wingo <wingo@pobox.com>
7865 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7866 will be adding to later.
7868 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7869 if its socks fill with rocks.
7870 (gst_system_clock_obtain): Set the name on object construction.
7871 Avoid double-checked locking.
7873 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7875 * gst/gsturi.c: (gst_element_make_from_uri):
7876 Fix potential endless loop.
7878 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7880 * check/Makefile.am:
7882 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7884 move over from testsuite dir and clean up
7887 * testsuite/Makefile.am:
7888 * testsuite/tags/.cvsignore:
7889 * testsuite/tags/Makefile.am:
7890 * testsuite/tags/merge.c:
7891 remove testsuite/tags
7893 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7895 * docs/gst/gstreamer-sections.txt:
7896 * docs/gst/tmpl/gstenumtypes.sgml:
7897 * win32/gstenumtypes.c:
7898 clean up documentation build a little
7900 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7903 add macros for checking refcounts on objects and caps
7904 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7905 add some more unit tests
7906 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7907 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7908 fix leaked refcounts (I hope :)) so unittest works
7912 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7914 * configure.ac: back to HEAD
7916 === release 0.9.1 ===
7918 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7924 2005-06-17 Andy Wingo <wingo@pobox.com>
7926 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7927 assert; it's always possible that the pad gets deactivated in
7928 between the checks in gstpad.c and the implementation. Rely on
7929 finish_preroll() to return a FLUSHING or similar instead of on the
7932 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7933 clock and post an EOS message if we come out of finish_preroll in
7936 2005-06-16 David Schleef <ds@schleef.org>
7938 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7939 (gst_capsfilter_set_property): Allow NULL as possible value
7940 for filter_caps property, indicating GST_CAPS_ANY.
7942 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7944 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7946 * gst/schedulers/Makefile.am:
7948 * gstreamer.spec.in:
7951 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7953 * gstreamer.spec.in:
7956 2005-06-08 Andy Wingo <wingo@pobox.com>
7958 * gst/gstutils.c: RPAD fixes all around.
7959 (gst_element_link_pads): Refcounting fixes.
7961 * tools/gst-inspect.c:
7962 * tools/gst-xmlinspect.c:
7964 * gst/base/gsttypefindhelper.c:
7965 * gst/base/gstbasesink.c:
7966 * gst/gstqueue.c: RPAD fixes.
7968 * gst/gstghostpad.h:
7969 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7970 pads. The tricky thing is they provide both source and sink
7971 interfaces, since they proxy the internal pad for the external
7972 pad, and vice versa. Implement with lower-level ProxyPad objects,
7973 with the interior proxy pad as a child of the exterior ghost pad.
7974 Should write a doc on this.
7976 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7977 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7980 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7981 pads are real pads. No ghost pads in this file. Not documenting
7982 the myriad s/RPAD/PAD/ and REALIZE fixes.
7983 (gst_pad_class_init): Add properties for "direction" and
7984 "template". Both are construct-only, so they can't change during
7985 the life of the pad. Fixes properly deriving from GstPad.
7986 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7987 derived objects, just set properties when creating the objects via
7989 (gst_pad_get_parent): Implement as a function, return NULL if the
7990 parent is not an element.
7991 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7992 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7994 * gst/gstobject.c (gst_object_class_init): Make name a construct
7995 property. Don't set it in the object init.
7997 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7998 with UNKNOWN direction.
7999 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8000 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8001 (gst_element_remove_pad): Remove ghost-pad special cases.
8002 (gst_element_pads_activate): Remove rpad cruft.
8004 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8005 catch the pad's-parent-not-an-element case.
8007 * gst/gst.h: Include gstghostpad.h.
8009 * gst/gst.c (init_post): No more real, ghost pads.
8011 * gst/Makefile.am: Add gstghostpad.[ch].
8013 * check/Makefile.am:
8014 * check/gst/gstbin.c:
8015 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8016 into a bin creates ghost pads, and that the refcounts are right.
8017 Partly moved from gstbin.c.
8019 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8021 * check/gst-libs/.cvsignore:
8022 * check/gst/.cvsignore:
8023 * check/pipelines/.cvsignore:
8025 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8026 (START_TEST), (cleanup_suite), (main):
8027 add some tests related to cleanup after running pipelines
8029 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8031 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8032 add a testsuite for GstBuffer
8034 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8036 * gst/gstminiobject.h:
8037 add defines for accessing the refcount
8039 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8041 * Makefile.am: added support for html unit test coverage reports
8043 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8045 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8046 Free existing caps if the capsfilter changes. Add a FIXME about
8047 setting those caps on the pads.
8049 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8050 Before adding a ghost pad to a parent bin, check that there isn't
8051 already one for the element on the bin. Prevents infinite recursion
8052 when using decodebin in parse pipelines. Andy says he'll rewrite the
8053 way this works anyway, so ignore the hack.
8055 2005-06-02 Andy Wingo <wingo@pobox.com>
8057 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8058 file size, pass it on to the type find helper.
8060 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8061 segment_start and segment_end properly according to the seek
8062 method. Segment_end is still a bit flaky because offset can be
8063 negative for CUR and END cases, but it takes -1 as an "unset"
8066 2005-06-02 Wim Taymans <wim@fluendo.com>
8068 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8069 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8070 (gst_basesink_activate):
8071 * gst/base/gstbasesink.h:
8072 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8073 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8074 (gst_pad_query), (gst_pad_start_task):
8076 * gst/gstqueue.c: (gst_queue_bufferalloc),
8077 (gst_queue_handle_sink_event), (gst_queue_chain):
8078 Bufferalloc: return GstFlowReturn to more accuratly report
8079 why allocation failed.
8081 2005-06-02 Wim Taymans <wim@fluendo.com>
8083 * gst/gstpipeline.c: (gst_pipeline_send_event):
8084 Take snapshot of state without blocking.
8086 2005-06-02 Wim Taymans <wim@fluendo.com>
8088 * docs/design/part-TODO.txt:
8089 * docs/design/part-caps.txt:
8090 * docs/design/part-clocks.txt:
8091 * docs/design/part-negotiation.txt:
8092 * docs/design/part-preroll.txt:
8095 2005-05-30 Wim Taymans <wim@fluendo.com>
8097 * gst/elements/gstidentity.c: (gst_identity_event),
8098 (gst_identity_transform), (gst_identity_get_property):
8099 Protect last_message property as it is accessed from
8102 2005-05-30 Wim Taymans <wim@fluendo.com>
8104 * gst/gstelement.c: (gst_element_init),
8105 (gst_element_pads_activate), (gst_element_change_state):
8106 Slicker pad activation code.
8108 2005-05-30 Wim Taymans <wim@fluendo.com>
8112 * gst/gstelementfactory.h:
8114 Move elementfactory methods to separate .h file.
8116 2005-05-30 Wim Taymans <wim@fluendo.com>
8118 * docs/design/part-overview.txt:
8119 * gst/gstsystemclock.h:
8120 Small typo fixes, doc updates.
8122 2005-05-30 Wim Taymans <wim@fluendo.com>
8124 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8125 (init_popt_callback):
8126 Remove cpu-opt flag.
8128 2005-05-30 Wim Taymans <wim@fluendo.com>
8130 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8131 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8133 Avoid typechecking in places where not needed.
8134 Added accessor for malloc_data.
8136 2005-05-30 Wim Taymans <wim@fluendo.com>
8138 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8139 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8140 (gst_pad_configure_sink), (gst_pad_configure_src),
8141 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8142 (gst_pad_start_task):
8143 Propagate errors from _set_caps() in configure_src/sink
8144 functions instead of returning TRUE.
8145 FLUSH events can travel up and downstream
8148 2005-05-30 Wim Taymans <wim@fluendo.com>
8150 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8151 (gst_basesink_activate):
8152 Handle EOS in preroll.
8154 2005-05-30 Wim Taymans <wim@fluendo.com>
8156 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8157 (gst_queue_loop), (gst_queue_handle_src_event):
8158 Remove old pieces of code
8159 Flushing the queue in an upstream event is a very bad idea.
8161 2005-05-26 Andy Wingo <wingo@pobox.com>
8163 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8164 gst_value_set_mini_object so as to add a ref on the object (which
8165 will be removed when the value is unset).
8167 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8168 arg type in ::handoff.
8170 * gst/gstelement.c (gst_element_change_state): Also deactivate
8171 pads in READY->NULL, just in case the element didn't make it to
8172 PAUSED. Wingo tested, Wim approved.
8174 2005-05-26 Wim Taymans <wim@fluendo.com>
8176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8177 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8178 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8179 A flushing pad cannot be used to alloc_buffer from.
8181 2005-05-26 Wim Taymans <wim@fluendo.com>
8183 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8184 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8185 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8186 (gst_bus_create_watch), (gst_bus_add_watch_full):
8188 Implement a real GSource and use g_main_context_wakeup() to
8189 signal new messages instead of the socketpair.
8191 2005-05-25 Wim Taymans <wim@fluendo.com>
8193 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8194 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8195 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8196 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8197 (gst_pad_send_event), (gst_pad_start_task):
8198 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8199 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8200 (gst_queue_sink_activate), (gst_queue_src_activate),
8201 (gst_queue_change_state):
8203 Fix state changes for non sinks. We now change sinks, then elements
8204 with unconnected srcpads, then the rest.
8205 More efficient queue unlocking in flush and state changes.
8206 Set the pad activate mode even if it does not have an activate
8209 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8211 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8212 Don't go in pull mode for non-seekable sources.
8213 * gst/elements/gsttypefindelement.h:
8214 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8215 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8216 (free_entry), (stop_typefinding),
8217 (gst_type_find_element_handle_event), (find_peek),
8218 (gst_type_find_element_chain), (do_pull_typefind),
8219 (gst_type_find_element_change_state):
8220 Allow typefinding (w/o seeking) in push-mode, simplified version
8222 * gst/gstutils.c: (gst_buffer_join):
8224 gst_buffer_join() from 0.8.
8226 2005-05-25 Wim Taymans <wim@fluendo.com>
8228 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8229 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8230 (gst_pad_send_event), (gst_pad_start_task):
8231 Disable attempt at mode switching until it is figured out.
8233 2005-05-25 Wim Taymans <wim@fluendo.com>
8235 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8236 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8237 (gst_basesink_finish_preroll), (gst_basesink_chain),
8238 (gst_basesink_loop), (gst_basesink_activate),
8239 (gst_basesink_change_state):
8240 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8241 (gst_basesrc_get_range), (gst_basesrc_loop),
8242 (gst_basesrc_activate):
8243 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8244 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8245 (gst_real_pad_init), (gst_real_pad_set_property),
8246 (gst_real_pad_get_property), (gst_pad_set_active),
8247 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8248 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8249 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8250 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8251 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8252 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8253 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8254 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8255 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8256 (gst_pad_stop_task):
8258 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8259 (gst_queue_loop), (gst_queue_src_activate):
8260 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8261 (gst_task_get_state):
8263 * gst/schedulers/threadscheduler.c:
8264 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8265 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8267 Remove ACTIVE pad flag, use FLUSHING everywhere
8268 Added _pad_chain(), _pad_get_range() to call chain/getrange
8270 Add locks around IS_FLUSHING when reading.
8271 Take STREAM lock in chain(), get_range() functions so plugins
8272 don't need to take it anymore.
8276 2005-05-25 Wim Taymans <wim@fluendo.com>
8278 * tools/gst-launch.c: (event_loop):
8279 Unref message after using its contents instead of
8282 2005-05-24 Wim Taymans <wim@fluendo.com>
8284 * docs/design/draft-ghostpads.txt:
8285 * docs/design/draft-push-pull.txt:
8286 * docs/design/draft-query.txt:
8287 * docs/design/part-overview.txt:
8288 Docs updates, added general overview doc.
8290 2005-05-21 David Schleef <ds@schleef.org>
8292 * docs/gst/tmpl/old/GstBin.sgml:
8293 * docs/gst/tmpl/old/GstBuffer.sgml:
8294 * docs/gst/tmpl/old/GstCaps.sgml:
8295 * docs/gst/tmpl/old/GstClock.sgml:
8296 * docs/gst/tmpl/old/GstCompat.sgml:
8297 * docs/gst/tmpl/old/GstData.sgml:
8298 * docs/gst/tmpl/old/GstElement.sgml:
8299 * docs/gst/tmpl/old/GstEvent.sgml:
8300 * docs/gst/tmpl/old/GstIndex.sgml:
8301 * docs/gst/tmpl/old/GstStructure.sgml:
8302 * docs/gst/tmpl/old/GstTag.sgml:
8303 * docs/gst/tmpl/old/cothreads.sgml:
8304 * docs/gst/tmpl/old/cothreads_compat.sgml:
8305 * docs/gst/tmpl/old/gettext.sgml:
8306 * docs/gst/tmpl/old/gobject2gtk.sgml:
8307 * docs/gst/tmpl/old/grammar.tab.sgml:
8308 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8309 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8310 * docs/gst/tmpl/old/gst_private.sgml:
8311 * docs/gst/tmpl/old/gstaggregator.sgml:
8312 * docs/gst/tmpl/old/gstarch.sgml:
8313 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8314 * docs/gst/tmpl/old/gstbufferstore.sgml:
8315 * docs/gst/tmpl/old/gstdata_private.sgml:
8316 * docs/gst/tmpl/old/gstdisksink.sgml:
8317 * docs/gst/tmpl/old/gstdisksrc.sgml:
8318 * docs/gst/tmpl/old/gstelementfactory.sgml:
8319 * docs/gst/tmpl/old/gstextratypes.sgml:
8320 * docs/gst/tmpl/old/gstfakesink.sgml:
8321 * docs/gst/tmpl/old/gstfakesrc.sgml:
8322 * docs/gst/tmpl/old/gstfdsink.sgml:
8323 * docs/gst/tmpl/old/gstfdsrc.sgml:
8324 * docs/gst/tmpl/old/gstfilesink.sgml:
8325 * docs/gst/tmpl/old/gstfilesrc.sgml:
8326 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8327 * docs/gst/tmpl/old/gstidentity.sgml:
8328 * docs/gst/tmpl/old/gstindexfactory.sgml:
8329 * docs/gst/tmpl/old/gstmarshal.sgml:
8330 * docs/gst/tmpl/old/gstmd5sink.sgml:
8331 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8332 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8333 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8334 * docs/gst/tmpl/old/gstpipefilter.sgml:
8335 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8336 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8337 * docs/gst/tmpl/old/gstshaper.sgml:
8338 * docs/gst/tmpl/old/gstspider.sgml:
8339 * docs/gst/tmpl/old/gstspideridentity.sgml:
8340 * docs/gst/tmpl/old/gststatistics.sgml:
8341 * docs/gst/tmpl/old/gsttee.sgml:
8342 * docs/gst/tmpl/old/gsttimecache.sgml:
8343 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8344 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8345 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8346 * docs/gst/tmpl/old/types.sgml:
8347 I didn't intend to add these or check them in.
8349 2005-05-19 David Schleef <ds@schleef.org>
8351 * configure.ac: Use -no-common everywhere. In a sane world, it
8352 would be the default in libtool, because without it, you can't
8353 build DLLs on Windows.
8354 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8355 * docs/gst/gstreamer-sections.txt:
8356 * docs/gst/tmpl/gstcpu.sgml:
8357 * docs/gst/tmpl/gstdata.sgml:
8358 * docs/gst/tmpl/gstthread.sgml:
8360 2005-05-19 David Schleef <ds@schleef.org>
8362 * gst/gstminiobject.c: (gst_value_set_mini_object),
8363 (gst_value_take_mini_object), (gst_value_get_mini_object):
8364 * gst/gstminiobject.h: Add GValue set/get functions.
8366 2005-05-19 Wim Taymans <wim@fluendo.com>
8368 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8369 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8370 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8372 * gst/gstbus.c: (gst_bus_post):
8373 * gst/gstelement.c: (gst_element_get_random_pad):
8374 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8375 Make subbufer unref the parent in finalize.
8376 some more debugging info.
8379 2005-05-19 Wim Taymans <wim@fluendo.com>
8381 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8382 (gst_basesink_init), (gst_basesink_finalize),
8383 (gst_basesink_activate), (gst_basesink_change_state):
8384 Don't free preroll queue too early.
8386 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8390 Hi, I'm outdated. Please shoot me.
8392 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8394 * gst/gstpipeline.c: (gst_pipeline_send_event):
8395 Do not access variables after they have been deleted.
8397 2005-05-19 Wim Taymans <wim@fluendo.com>
8399 * tools/gst-inspect.c: (print_plugin_features):
8400 A plugin feature does unfortunatly not use the
8403 2005-05-18 Wim Taymans <wim@fluendo.com>
8405 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8406 Port _span() functions to new subbuffers.
8408 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8410 * gst/gstbin.c: (gst_bin_add_func):
8411 Fix clock settery in bins when adding kids after the clock has
8414 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8416 * gst/elements/gstidentity.c: (gst_identity_class_init):
8417 Workaround until signals support GstMiniObject.
8419 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8422 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8424 2005-05-18 Wim Taymans <wim@fluendo.com>
8426 * gst/base/Makefile.am:
8427 * gst/base/gstadapter.c: (gst_adapter_base_init),
8428 (gst_adapter_class_init), (gst_adapter_init),
8429 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8430 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8431 (gst_adapter_flush), (gst_adapter_available),
8432 (gst_adapter_available_fast):
8433 * gst/base/gstadapter.h:
8434 Ported and added adapter to the base classes.
8436 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8440 Make sure the class is reffed/unreffed once before threads can be
8441 used. Fixes #304551.
8443 2005-05-17 Wim Taymans <wim@fluendo.com>
8445 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8446 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8447 * gst/gstminiobject.c: (gst_mini_object_get_type),
8448 (gst_mini_object_free):
8449 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8450 (gst_pad_push), (gst_pad_push_event):
8451 * gst/gstqueue.c: (gst_queue_change_state):
8452 Don't queue buffers in basesink when we are flushing.
8453 Unref buffer when flushing in basesink.
8454 Flush queue when going to READY
8455 Unref buffer when _push() returns an error.
8456 Don't free MiniObject instance when refcount is incremented
8457 in _finalize() so that we can recover objects.
8459 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8461 * docs/manual/advanced-schedulers.xml:
8462 * docs/manual/appendix-checklist.xml:
8463 * docs/pwg/advanced-clock.xml:
8464 * docs/pwg/advanced-interfaces.xml:
8465 * docs/pwg/advanced-request.xml:
8466 * docs/pwg/advanced-types.xml:
8467 * docs/pwg/intro-preface.xml:
8468 * examples/plugins/example.c: (gst_example_get_type),
8469 (gst_example_class_init), (gst_example_chain),
8470 (gst_example_set_property), (gst_example_get_property),
8471 (gst_example_change_state), (plugin_init):
8472 * examples/plugins/example.h:
8475 2005-05-17 Wim Taymans <wim@fluendo.com>
8477 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8478 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8479 * gst/gstqueue.c: (gst_queue_change_state):
8480 Clear queue when going to READY.
8481 Remove IN_SETCAPS flag too.
8483 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8485 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8486 Remove implicit cast from gboolean to GstElementStateReturn;
8487 make sure we still return failure in paused => ready case if
8488 the parent class fails to change state and our own stop
8491 2005-05-17 Wim Taymans <wim@fluendo.com>
8493 * tools/gst-launch.c: (event_loop):
8494 Message was unreffed too soon.
8496 2005-05-16 Andy Wingo <wingo@pobox.com>
8498 * gst/gstbin.c (sink_iterator_filter): Err... um...
8500 * check/gst/gstbin.c (test_ghost_pads): New test for the
8501 ghosting-if-elements-not-in-same-bin behavior.
8503 2005-05-16 David Schleef <ds@schleef.org>
8505 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8506 accessing refcount directly.
8508 2005-05-15 David Schleef <ds@schleef.org>
8510 * check/Makefile.am: remove GstData checks
8511 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8512 * gst/Makefile.am: add miniobject, remove data
8513 * gst/gst.h: add miniobject, remove data
8514 * gst/gstdata.c: remove
8515 * gst/gstdata.h: remove
8516 * gst/gstdata_private.h: remove
8517 * gst/gsttypes.h: remove GstEvent and GstMessage
8518 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8519 * gst/gstmarshal.list: change BOXED -> OBJECT
8521 Implement GstMiniObject.
8522 * gst/gstminiobject.c:
8523 * gst/gstminiobject.h:
8525 Modify to be subclasses of GstMiniObject.
8526 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8527 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8528 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8529 (gst_subbuffer_get_type), (gst_subbuffer_init),
8530 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8533 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8534 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8535 (_gst_event_copy), (gst_event_new):
8537 * gst/gstmessage.c: (_gst_message_initialize),
8538 (gst_message_get_type), (gst_message_class_init),
8539 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8540 (gst_message_new), (gst_message_new_error),
8541 (gst_message_new_warning), (gst_message_new_tag),
8542 (gst_message_new_state_changed), (gst_message_new_application):
8544 * gst/gstprobe.c: (gst_probe_perform),
8545 (gst_probe_dispatcher_dispatch):
8547 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8548 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8549 (_gst_query_copy), (gst_query_new):
8551 Update elements for GstData -> GstMiniObject changes
8553 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8554 (gst_queue_chain), (gst_queue_loop):
8555 * gst/elements/gstbufferstore.c:
8556 (gst_buffer_store_add_buffer_func),
8557 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8558 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8559 (gst_fakesink_render):
8560 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8561 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8562 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8563 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8564 (gst_filesrc_create_read):
8565 * gst/elements/gstidentity.c: (gst_identity_class_init):
8566 * gst/elements/gsttypefindelement.c:
8567 (gst_type_find_element_src_event), (free_entry_buffers),
8568 (gst_type_find_element_handle_event):
8569 * libs/gst/dataprotocol/dataprotocol.c:
8570 (gst_dp_header_from_buffer):
8571 * libs/gst/dataprotocol/dataprotocol.h:
8572 * libs/gst/dataprotocol/dp-private.h:
8574 2005-05-15 David Schleef <ds@schleef.org>
8576 * gst/elements/gstelements.c: Don't include headers that were
8579 2005-05-15 David Schleef <ds@schleef.org>
8581 * gst/elements/Makefile.am: Remove some elements that don't
8582 need to be in the core (or even exist at all).
8583 * gst/elements/gstaggregator.c:
8584 * gst/elements/gstaggregator.h:
8585 * gst/elements/gstmd5sink.c:
8586 * gst/elements/gstmd5sink.h:
8587 * gst/elements/gstmultifilesrc.c:
8588 * gst/elements/gstmultifilesrc.h:
8589 * gst/elements/gstpipefilter.c:
8590 * gst/elements/gstpipefilter.h:
8591 * gst/elements/gstshaper.c:
8592 * gst/elements/gstshaper.h:
8593 * gst/elements/gststatistics.c:
8594 * gst/elements/gststatistics.h:
8595 * po/POTFILES.in: Remove above files.
8597 2005-05-14 Andy Wingo <wingo@pobox.com>
8599 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8600 so as to get the refs right.
8601 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8602 unreffing objects that don't pass the filter.
8604 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8605 gst_element_set_bus.
8606 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8607 normal cases, this will destroy the bus.
8609 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8612 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8615 2005-05-13 Andy Wingo <wingo@pobox.com>
8617 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8618 gst_pad_link, call pad_link_maybe_ghosting,
8619 (pad_link_maybe_ghosting): Links pads, making sure that the
8620 elements being linked are in the same bin.
8621 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8622 Helpers for pad_link_maybe_ghosting.
8624 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8627 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8629 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8631 * docs/design/part-element-source.txt:
8634 2005-05-12 Wim Taymans <wim@fluendo.com>
8636 * gst/base/gstbasesink.c: (gst_basesink_init),
8637 (gst_basesink_activate):
8638 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8639 (gst_basesrc_is_seekable):
8640 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8641 (bin_element_is_sink), (gst_bin_change_state):
8642 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8644 Identify sinks by their flag to avoid overly complicated
8646 Do state changes even for elements not reachable from the
8648 BaseSink is a sink now :)
8649 Some more debugging info in the basesrc.
8652 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8654 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8655 Implement _query on a bin, similar to _send_event.
8657 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8659 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8660 Discont event offset format should be GST_FORMAT_BYTES,
8661 not GST_FORMAT_TIME.
8663 2005-05-12 Wim Taymans <wim@fluendo.com>
8665 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8666 Same fix as Ronald's but without the signal.
8668 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8670 * gst/gstutils.c: (gst_element_query_position):
8671 No, an element is not a pad.
8673 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8675 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8676 (gst_bin_get_state):
8677 If a child is removed from a bin while we remove the child from
8678 the bin and while we're retrieving its state, signal this to the
8679 get_state function so we abort the wait (instead of waiting for
8680 a timeout) and can immediately re-iterate over all other elements.
8682 2005-05-12 Wim Taymans <wim@fluendo.com>
8684 * gst/base/Makefile.am:
8685 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8686 (gst_basesrc_start):
8687 * gst/base/gstbasesrc.h:
8688 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8689 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8690 (gst_pushsrc_init), (gst_pushsrc_create):
8691 * gst/base/gstpushsrc.h:
8692 Added is_seekable to BaseSrc
8693 Added simple PushSrc.
8695 2005-05-11 Wim Taymans <wim@fluendo.com>
8697 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8698 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8699 (gst_element_link_pads), (gst_element_query_position),
8700 (gst_element_query_convert), (intersect_caps_func),
8701 (gst_pad_query_position), (gst_pad_query_convert):
8702 Fix refcounting in utils function.
8703 No point in trying to activate a pad when it's added, it could
8704 be added from the state change function and then we deadlock, the
8705 element has to decide what to do.
8707 2005-05-10 Andy Wingo <wingo@pobox.com>
8709 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8710 *all* the arguments.
8712 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8713 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8714 lock (according to the docs -- if this is wrong change the docs).
8716 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8717 flush messages in the NULL state.
8719 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8720 message immediately and return.
8721 (gst_bus_set_flushing): New function. If a bus is flushing, it
8722 flushes out any queued messages and immediately unrefs new
8723 messages. This is so when an element goes to NULL, all of the
8724 unhandled messages coming from it can be freed, and their
8725 references to the element dropped. In other words: message source
8726 ref considered harmful :P
8728 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8729 we're finished with it.
8731 * gst/gstmessage.c (gst_message_new_state_changed):
8733 2005-05-10 Wim Taymans <wim@fluendo.com>
8735 * gst/gstvalue.c: (gst_value_compare_flags),
8736 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8737 (_gst_value_initialize):
8738 Added flags serialize/deserialize/compare code.
8740 2005-05-09 Andy Wingo <wingo@pobox.com>
8742 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8743 Intersect the peer's caps with our caps.
8745 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8747 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8748 * gst/elements/gsttypefindelement.c: (find_peek):
8749 Handle negative offsets better. Fixes decodebin.
8751 2005-05-09 Wim Taymans <wim@fluendo.com>
8753 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8754 (gst_base_transform_event):
8755 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8756 Implement accept_caps.
8757 Fix silly lock/unlock mismatch in base class.
8759 2005-05-09 Wim Taymans <wim@fluendo.com>
8761 * docs/design/draft-push-pull.txt:
8762 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8763 * gst/elements/gstfilesink.c: (gst_filesink_init),
8764 (gst_filesink_query):
8765 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8766 (gst_type_find_handle_src_query), (find_element_get_length):
8767 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8771 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8772 (gst_real_pad_get_caps_unlocked),
8773 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8774 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8775 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8776 (gst_real_pad_dispose), (gst_real_pad_finalize),
8777 (gst_pad_load_and_link), (gst_pad_save_thyself),
8778 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8779 (gst_pad_check_pull_range), (gst_pad_pull_range),
8780 (gst_pad_template_get_type), (gst_pad_template_class_init),
8781 (gst_pad_template_init), (gst_pad_template_dispose),
8782 (name_is_valid), (gst_static_pad_template_get),
8783 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8784 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8785 (gst_pad_get_element_private), (gst_pad_start_task),
8786 (gst_pad_pause_task), (gst_pad_stop_task),
8787 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8788 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8789 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8790 (gst_ghost_pad_new):
8792 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8793 (gst_query_new_position), (gst_query_set_position),
8794 (gst_query_parse_position), (gst_query_new_convert),
8795 (gst_query_set_convert), (gst_query_parse_convert):
8797 * gst/gstqueryutils.c:
8798 * gst/gstqueryutils.h:
8799 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8800 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8801 (gst_queue_handle_src_query):
8802 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8803 (gst_element_query_position), (gst_element_query_convert),
8804 (intersect_caps_func), (gst_pad_query_position),
8805 (gst_pad_query_convert):
8807 * tools/gst-inspect.c: (print_pad_info):
8808 * tools/gst-xmlinspect.c: (print_element_info):
8809 Remove old query functions. Ported old code.
8810 Added position/convert helper functions to gstutils.
8811 Reordered gstpad.c code, grouping relevant things.
8812 Remove gst_message_new(), always need to speficy a specific
8816 2005-05-09 Andy Wingo <wingo@pobox.com>
8818 * gst/gstiterator.h: Add some includes.
8820 * gst/gstqueryutils.h: Include more headers.
8823 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8824 some uses of gst_pad_query.
8826 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8827 NULL out parameters.
8828 (gst_query_new_position): New proc, allocates a new position
8831 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8832 gstqueryutils.c to the build.
8834 * gst/gststructure.c (gst_structure_set_valist): Implement with
8835 the generic G_VALUE_COLLECT.
8837 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8839 * gst/Makefile.am: (gst_headers):
8840 Added gstqueryutils.h to the list of headers to install, that was
8841 a 'nachty' move wingo :)
8843 2005-05-06 Andy Wingo <wingo@pobox.com>
8846 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8847 GstData, init a memchunk.
8848 (standard_definitions): Add a few query types, deprecate a few.
8849 (gst_query_get_type): New proc.
8850 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8852 (gst_query_new_application, gst_query_get_structure): New public
8855 * docs/design/draft-query.txt: Removed LINKS from the query types,
8856 because all the rest can be dispatched to other pads -- seemed
8857 ugly to have a query that couldn't be dispatched. internal_links
8858 is fine as a pad method.
8860 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8861 in gstpad.c, but maintain binary compatibility for the moment.
8862 Will fix before 0.9 is out.
8864 * gst/gstqueryutils.c:
8865 * gst/gstqueryutils.h: New files, implement 3 methods for each
8866 query type: parse_query, parse_response, and set. Probably need an
8869 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8871 * gst/elements/gstfilesink.c (gst_filesink_query2):
8872 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8873 query_types, and formats methods.
8875 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8876 (gst_pad_set_query2_function): New functions.
8877 (gst_real_pad_init): Set query2_default as the default query2
8878 function. Basically just dispatches to internally linked pads.
8882 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8883 without using the atomic operations. Only one thread can possibly
8884 be accessing the data at this point. Changed so as to avoid
8885 gst_atomic operations.
8887 2005-05-06 Wim Taymans <wim@fluendo.com>
8889 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8890 Also set caps if we use the fallback buffer alloc.
8892 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8894 * docs/gst/Makefile.am:
8895 * docs/gst/gstreamer-docs.sgml:
8896 * docs/gst/gstreamer-sections.txt:
8897 * docs/gst/tmpl/gstatomic.sgml:
8898 * docs/gst/tmpl/gstmemchunk.sgml:
8899 * testsuite/elements/struct_i386.h:
8900 * win32/GStreamer.vcproj:
8902 Purge GstAtomic stuff from docs and win32 makefiles as well
8904 2005-05-06 Wim Taymans <wim@fluendo.com>
8906 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8907 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8908 * gst/gstpad.c: (gst_pad_peer_get_caps):
8909 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8910 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8911 (gst_queue_src_activate), (gst_queue_change_state):
8913 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8914 (intersect_caps_func):
8915 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8916 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8917 Some fixes for the peer_get_caps() change.
8919 2005-05-06 Wim Taymans <wim@fluendo.com>
8921 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8922 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8923 (gst_basesink_activate):
8924 Actually do something with error codes returned from the push
8927 2005-05-06 Wim Taymans <wim@fluendo.com>
8929 * docs/design/part-element-sink.txt:
8930 * docs/design/part-element-source.txt:
8931 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8932 (gst_basesink_event), (gst_basesink_activate):
8933 * gst/base/gstbasesink.h:
8934 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8935 (gst_basesrc_activate):
8936 * gst/base/gstbasesrc.h:
8937 * gst/gstelement.c: (gst_element_pads_activate):
8938 Some more documentation.
8939 Fixed scheduling decision in _pads_activate().
8941 2005-05-05 Andy Wingo <wingo@pobox.com>
8943 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8946 2005-05-05 Wim Taymans <wim@fluendo.com>
8948 * gst/base/Makefile.am:
8949 * gst/base/gstbasesink.h:
8950 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8951 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8952 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8953 (gst_collectpads_class_init), (gst_collectpads_init),
8954 (gst_collectpads_finalize), (gst_collectpads_new),
8955 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8956 (find_pad), (gst_collectpads_remove_pad),
8957 (gst_collectpads_is_active), (gst_collectpads_collect),
8958 (gst_collectpads_collect_range), (gst_collectpads_start),
8959 (gst_collectpads_stop), (gst_collectpads_peek),
8960 (gst_collectpads_pop), (gst_collectpads_available),
8961 (gst_collectpads_read), (gst_collectpads_flush),
8962 (gst_collectpads_chain):
8963 * gst/base/gstcollectpads.h:
8964 * gst/elements/Makefile.am:
8965 * gst/elements/gstelements.c:
8966 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8967 (gst_fakesink_get_times), (gst_fakesink_event),
8968 (gst_fakesink_preroll), (gst_fakesink_render):
8969 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8970 (gst_filesink_init), (gst_filesink_set_location),
8971 (gst_filesink_open_file), (gst_filesink_close_file),
8972 (gst_filesink_pad_query), (gst_filesink_event),
8973 (gst_filesink_render), (gst_filesink_change_state):
8974 * gst/elements/gstfilesink.h:
8975 Added object to help in making collect pad based elements.
8977 Make event function in sink baseclass return gboolean.
8979 2005-05-05 Wim Taymans <wim@fluendo.com>
8981 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8982 (gst_bin_get_by_name):
8984 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8985 (gst_clock_finalize):
8986 * gst/gstdata.c: (gst_data_replace):
8988 * gst/gstelement.c: (gst_element_request_pad),
8989 (gst_element_pads_activate):
8990 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8992 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8993 (gst_pad_set_checkgetrange_function),
8994 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8995 (gst_pad_check_pull_range), (gst_pad_pull_range),
8996 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8997 (gst_pad_pause_task), (gst_pad_stop_task):
8998 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8999 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9000 Fix name lookup in GstBin.
9001 Added _data_replace() function and _buffer_replace()
9002 Use finalize method to clean up clock.
9003 Fix refcounting on request pads.
9004 Fix pad schedule mode error.
9005 Some more object refcounting debug info,
9008 2005-05-04 Andy Wingo <wingo@pobox.com>
9010 * check/Makefile.am:
9011 * docs/gst/tmpl/gstatomic.sgml:
9012 * docs/gst/tmpl/gstplugin.sgml:
9013 * gst/base/gstbasesink.c: (gst_basesink_activate):
9014 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9015 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9016 (gst_basesrc_query), (gst_basesrc_set_property),
9017 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9018 (gst_basesrc_activate):
9019 * gst/base/gstbasesrc.h:
9020 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9021 (gst_base_transform_src_activate):
9022 * gst/elements/gstelements.c:
9023 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9024 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9025 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9026 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9027 (gst_type_find_element_checkgetrange),
9028 (gst_type_find_element_activate):
9029 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9030 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9031 (gst_caps_load_thyself):
9032 * gst/gstelement.c: (gst_element_pads_activate),
9033 (gst_element_save_thyself), (gst_element_restore_thyself):
9034 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9035 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9037 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9038 (gst_xml_parse_file), (gst_xml_parse_memory),
9039 (gst_xml_get_element), (gst_xml_make_element):
9040 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9041 (_file_index_id_save_xml), (gst_file_index_commit):
9042 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9043 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9045 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9046 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9047 * tools/gst-complete.c: (main):
9048 * tools/gst-compprep.c: (main):
9049 * tools/gst-inspect.c: (print_element_properties_info):
9050 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9051 * tools/gst-xmlinspect.c: (print_element_properties):
9054 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9056 * gst/gstplugin.c: (gst_plugin_check_module),
9057 (gst_plugin_check_file), (gst_plugin_load_file):
9058 apply patch from #172526 to make register work on MacOSX
9060 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9062 * docs/gst/tmpl/gstconfig.sgml:
9063 * gst/gstconfig.h.in:
9064 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9065 * testsuite/debug/printf_extension.c: (main):
9066 Do not use GST_PTR_FORMAT on pointers to types with
9067 sizeof < sizeof(gpointer). Fixes test on 64-bit
9068 * testsuite/elements/property.h:
9069 use correct printf format
9071 2005-05-02 Wim Taymans <wim@fluendo.com>
9073 * docs/design/draft-push-pull.txt:
9074 * docs/design/draft-query.txt:
9075 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9076 (gst_basesrc_start):
9077 Added draft for new query API.
9078 Added draft for better selecting scheduling methods.
9079 Make basesrc ignore length if the subclass does not support
9082 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9085 possible fixes for automake-1.5 - _LIBADD is reserved
9087 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9089 * docs/faq/Makefile.am:
9090 * docs/manual/Makefile.am:
9092 * docs/pwg/Makefile.am:
9094 possible fixes for automake-1.5
9096 2005-04-28 Wim Taymans <wim@fluendo.com>
9098 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9099 (gst_basesink_pad_getcaps), (gst_basesink_init),
9100 (gst_basesink_do_sync):
9101 * gst/gstclock.c: (gst_clock_entry_new):
9102 * gst/gstevent.c: (gst_event_discont_get_value):
9103 * gst/gstpipeline.c: (pipeline_bus_handler),
9104 (gst_pipeline_change_state):
9105 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9106 Better debugging of clocking info.
9107 Allow NULL values when getting discont values.
9109 2005-04-27 Wim Taymans <wim@fluendo.com>
9111 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9112 * check/gst/gstpad.c: (gst_pad_suite):
9113 Increase timeout for checks.
9115 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9117 * check/Makefile.am:
9118 fix the broken rule for cleanup. Apparently this rule is
9119 only needed on FC2, so maybe this warrants further autotool
9122 2005-04-26 Wim Taymans <wim@fluendo.com>
9124 * gst/gsttrashstack.h:
9125 Ooohh. a nasty one! After having a failed pop() from the stack,
9126 it's possible that the stack is empty. In that case, don't
9127 follow the NULL pointer.
9129 2005-04-25 Wim Taymans <wim@fluendo.com>
9131 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9132 (gst_pad_set_checkgetrange_function),
9133 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9134 (gst_pad_check_pull_range), (gst_pad_pull_range),
9135 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9136 (gst_pad_pause_task), (gst_pad_stop_task):
9137 * gst/gstplugin.c: (gst_plugin_load):
9139 Remove gst_library_load as it does more harm than good with
9140 the new g_module flags.
9141 Revert bogus caps template check in pad linking, pad caps
9142 are important when linking not the template, which is more
9143 general than the current caps.
9145 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9147 * gst/autoplug/.cvsignore:
9148 * gst/autoplug/Makefile.am:
9149 * gst/autoplug/gstsearchfuncs.c:
9150 * gst/autoplug/gstsearchfuncs.h:
9151 * gst/autoplug/gstspider.c:
9152 * gst/autoplug/gstspider.h:
9153 * gst/autoplug/gstspideridentity.c:
9154 * gst/autoplug/gstspideridentity.h:
9155 * gst/autoplug/spidertest.c:
9158 2005-04-25 Wim Taymans <wim@fluendo.com>
9160 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9161 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9162 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9163 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9165 Added stubs for unimplemented functions.
9167 2005-04-24 David Schleef <ds@schleef.org>
9169 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9172 2005-04-24 David Schleef <ds@schleef.org>
9174 Convert everything from GstAtomicInt to g_atomic_int_*, and
9179 * gst/gstatomic_impl.h:
9187 * gst/gstdata_private.h:
9194 * gst/gststructure.c:
9195 * gst/gststructure.h:
9196 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9199 2005-04-24 David Schleef <ds@schleef.org>
9201 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9202 make the regressions tests work. Remove some code that is no
9204 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9205 Disable warning for pads without templates.
9207 2005-04-24 David Schleef <ds@schleef.org>
9209 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9210 functions that handle filtered links.
9211 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9213 * gst/gstutils.c: Fix/remove utility functions that handle
9216 * gst/gstvalue.c: Add serialization/deserialization of caps
9217 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9218 requires fixing so that the filter caps notation creates
9219 a capsfilter element and sets the filter_caps property. I
9220 think everyone probably wants to keep the shorthand notation.
9221 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9222 * docs/gst/tmpl/gstpad.sgml:
9224 * gst/elements/gstelements.c: Register capsfilter element.
9225 * gst/Makefile.am: fix spacing
9226 * docs/random/ds/0.9-suggested-changes: random
9228 2005-04-23 David Schleef <ds@schleef.org>
9230 * gst/elements/Makefile.am:
9231 * gst/elements/gstcapsfilter.c: New element that acts like an
9232 identity, but filters caps. Will eventually replace filtered
9233 caps in pad linking.
9234 * gst/gstutils.c: (gst_element_create_all_pads): New function
9235 to create all the ALWAYS pads that are registered with an
9236 element class. This functionality should eventually be
9237 merged in with GstElement initialization.
9239 * testsuite/trigger/README: part of trigger test code that should
9240 have been checked in a long time ago.
9242 2005-04-23 David Schleef <ds@schleef.org>
9244 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9245 needed with new versions of libtool (nobody will confirm this),
9246 and hard to carry around.
9247 * gst/autoplug/Makefile.am:
9248 * gst/base/Makefile.am:
9249 * gst/elements/Makefile.am:
9250 * gst/indexers/Makefile.am:
9251 * gst/schedulers/Makefile.am:
9252 * libs/gst/bytestream/Makefile.am:
9253 * libs/gst/control/Makefile.am:
9254 * libs/gst/dataprotocol/Makefile.am:
9255 * libs/gst/getbits/Makefile.am:
9257 2005-04-21 Wim Taymans <wim@fluendo.com>
9259 * docs/design/draft-push-pull.txt:
9260 * docs/design/part-MT-refcounting.txt:
9261 * docs/design/part-TODO.txt:
9262 * docs/design/part-caps.txt:
9263 * docs/design/part-events.txt:
9264 * docs/design/part-gstbus.txt:
9265 * docs/design/part-gstpipeline.txt:
9266 * docs/design/part-messages.txt:
9267 * docs/design/part-push-pull.txt:
9268 * docs/design/part-query.txt:
9271 2005-04-21 Wim Taymans <wim@fluendo.com>
9273 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9274 (gst_message_new), (gst_message_new_error),
9275 (gst_message_new_warning), (gst_message_new_tag),
9276 (gst_message_new_state_changed), (gst_message_new_application),
9277 (gst_message_get_structure):
9279 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9280 (gst_structure_copy_conditional):
9281 Use parent refcount in GstMessage to ensure GstStructure
9283 Cleaned up headers a bit.
9286 2005-04-20 Wim Taymans <wim@fluendo.com>
9288 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9289 (gst_basesink_pad_getcaps), (gst_basesink_init),
9290 (gst_basesink_chain_unlocked):
9291 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9292 (gst_type_find_helper):
9293 * gst/elements/gsttypefindelement.c:
9294 (gst_type_find_element_have_type), (gst_type_find_element_init),
9295 (stop_typefinding), (gst_type_find_element_handle_event),
9296 (find_suggest), (gst_type_find_element_chain),
9297 (gst_type_find_element_checkgetrange),
9298 (gst_type_find_element_getrange), (do_typefind),
9299 (gst_type_find_element_activate):
9300 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9301 (gst_buffer_default_free), (gst_buffer_default_copy),
9302 (gst_buffer_set_caps):
9303 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9305 * gst/gstmessage.c: (gst_message_new),
9306 (gst_message_new_state_changed):
9307 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9308 (gst_pad_set_checkgetrange_function),
9309 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9310 (gst_pad_set_caps), (gst_pad_check_pull_range),
9311 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9313 * gst/gsttypefind.c: (gst_type_find_register):
9314 Make gst_caps_replace() work like other _replace() functions.
9315 Use _caps_replace() where possible.
9316 Make sure _message_new() initialises its field.
9317 Add gst_static_pad_template_get_caps()
9320 2005-04-18 Andy Wingo <wingo@pobox.com>
9322 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9323 on the peer, not the pad. I think that was a typo. Pass an extra
9324 arg to see if random access is possible. Activate the pads as
9325 PULL_RANGE if possible.
9327 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9329 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9330 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9333 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9335 * docs/faq/using.xml:
9336 Add note on gstreamer-properties (#154996).
9338 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9340 * docs/random/bbb/optional-properties:
9341 Some analysis on optional properties.
9343 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9345 * docs/gst/tmpl/gstelementfactory.sgml:
9347 * gst/gstelementfactory.c: (gst_element_factory_init),
9348 (gst_element_factory_cleanup), (gst_element_register),
9349 (__gst_element_factory_add_static_pad_template),
9350 (gst_element_factory_get_static_pad_templates),
9351 (gst_element_factory_can_src_caps),
9352 (gst_element_factory_can_sink_caps):
9353 * gst/registries/Makefile.am:
9354 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9355 (gst_xml_registry_class_init), (gst_xml_registry_init),
9356 (gst_xml_registry_new), (gst_xml_registry_set_property),
9357 (gst_xml_registry_get_property), (get_time), (make_dir),
9358 (gst_xml_registry_get_perms_func),
9359 (plugin_times_older_than_recurse), (plugin_times_older_than),
9360 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9361 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9362 (add_to_char_array), (read_string), (read_uint), (read_enum),
9363 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9364 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9365 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9366 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9367 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9368 (gst_xml_registry_rebuild):
9369 * gst/registries/gstlibxmlregistry.h:
9370 * tools/gst-compprep.c: (main):
9371 * tools/gst-inspect.c: (print_pad_templates_info):
9372 * tools/gst-xmlinspect.c: (print_element_info):
9373 Use libxml2 for registry parsing, use staticpadtemplates in
9374 elementfactories. Makes gst_init() +/- 10x faster.
9376 2005-04-12 Wim Taymans <wim@fluendo.com>
9378 * gst/base/Makefile.am:
9379 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9380 (gst_basesink_pad_getcaps), (gst_basesink_init),
9381 (gst_basesink_event), (gst_basesink_change_state):
9382 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9383 (gst_basesrc_init), (gst_basesrc_query),
9384 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9385 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9386 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9387 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9388 (gst_basesrc_stop), (gst_basesrc_activate),
9389 (gst_basesrc_change_state):
9390 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9391 (helper_find_suggest), (gst_type_find_helper):
9392 * gst/base/gsttypefindhelper.h:
9393 * gst/elements/Makefile.am:
9394 * gst/elements/gstelements.c:
9395 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9396 (gst_fakesink_get_times), (gst_fakesink_event),
9397 (gst_fakesink_preroll), (gst_fakesink_render):
9398 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9399 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9400 (gst_fakesrc_get_property), (gst_fakesrc_create),
9401 (gst_fakesrc_start), (gst_fakesrc_stop):
9402 * gst/elements/gstfakesrc.h:
9403 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9404 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9405 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9406 (gst_filesrc_create_read), (gst_filesrc_create),
9407 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9408 (gst_filesrc_start):
9409 * gst/elements/gsttypefindelement.c:
9410 (gst_type_find_element_have_type), (gst_type_find_element_init),
9411 (start_typefinding), (stop_typefinding), (push_buffer_store),
9412 (gst_type_find_element_handle_event),
9413 (gst_type_find_element_chain),
9414 (gst_type_find_element_checkgetrange),
9415 (gst_type_find_element_getrange), (do_typefind),
9416 (gst_type_find_element_activate),
9417 (gst_type_find_element_change_state):
9418 * gst/elements/gsttypefindelement.h:
9419 * gst/gstpipeline.c: (pipeline_bus_handler):
9420 Added typefind helper.
9421 Small preroll fix in the base sink.
9422 Disable typefind code in basesrc.
9423 Crude port of typefindelement.
9427 2005-04-11 Wim Taymans <wim@fluendo.com>
9429 * check/gst/gstbus.c: (gstbus_suite):
9430 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9432 Fix up the timeout so that the test does not fail.
9434 2005-04-06 Wim Taymans <wim@fluendo.com>
9437 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9438 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9439 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9440 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9441 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9442 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9443 (gst_basesrc_stop), (gst_basesrc_activate),
9444 (gst_basesrc_change_state), (basesrc_find_peek),
9445 (basesrc_find_suggest), (gst_basesrc_type_find):
9446 * gst/base/gstbasesrc.h:
9447 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9448 (gst_filesrc_class_init), (gst_filesrc_init),
9449 (gst_filesrc_finalize), (gst_filesrc_set_location),
9450 (gst_filesrc_set_property), (gst_filesrc_get_property),
9451 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9452 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9453 (gst_filesrc_create_read), (gst_filesrc_create),
9454 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9455 * gst/elements/gstfilesrc.h:
9456 * gst/gstelement.c: (gst_element_get_state_func),
9457 (gst_element_lost_state), (gst_element_pads_activate):
9458 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9459 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9460 (gst_pad_pull_range):
9462 More work on the generic source base class, implement seeking,
9464 Make filesrc extend the base source class.
9465 Added gst_pad_set_checkgetrange_function to GstPad.
9467 2005-04-06 Andy Wingo <wingo@pobox.com>
9469 * pkgconfig/gstreamer-base.pc.in:
9470 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9472 * pkgconfig/Makefile.am:
9473 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9475 2005-04-04 Wim Taymans <wim@fluendo.com>
9477 * gst/base/Makefile.am:
9479 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9480 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9481 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9482 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9483 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9484 (gst_basesrc_base_init), (gst_basesrc_class_init),
9485 (gst_basesrc_init), (gst_basesrc_get_formats),
9486 (gst_basesrc_get_query_types), (gst_basesrc_query),
9487 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9488 (gst_basesrc_set_property), (gst_basesrc_get_property),
9489 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9490 (gst_basesrc_loop), (gst_basesrc_activate),
9491 (gst_basesrc_change_state):
9492 * gst/base/gstbasesrc.h:
9493 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9494 (gst_fakesrc_class_init), (gst_fakesrc_init),
9495 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9496 (gst_fakesrc_get_property), (gst_fakesrc_create):
9497 * gst/elements/gstfakesrc.h:
9498 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9499 (gst_filesrc_open_file), (gst_filesrc_loop),
9500 (gst_filesrc_activate), (filesrc_find_peek),
9501 (gst_filesrc_type_find):
9502 Made base source class, make fakesrc extend it.
9503 Add comments to basesink class.
9504 Some filesrc cleanup.
9506 2005-03-31 David Schleef <ds@schleef.org>
9508 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9509 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9510 expected to link against libgstreamer.
9511 * gst/base/Makefile.am: link against libgstreamer
9512 * gst/elements/Makefile.am: same
9514 2005-03-31 Andy Wingo <wingo@pobox.com>
9516 * tests/instantiate/Makefile.am:
9517 * tests/instantiate/caps.c: Add test to test speed of caps copy
9520 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9521 GMemChunk to be fair.
9523 * gst/gsttrashstack.h: Remove warning about using the fallback
9524 trash stack implementation, it's still faster than malloc.
9526 2005-03-30 Andy Wingo <wingo@pobox.com>
9528 * tests/complexity.c: Add a copyright.
9530 2005-03-31 Wim Taymans <wim@fluendo.com>
9532 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9533 (gst_base_transform_class_init), (gst_base_transform_init),
9534 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9535 (gst_base_transform_get_property),
9536 (gst_base_transform_sink_activate),
9537 (gst_base_transform_src_activate),
9538 (gst_base_transform_change_state):
9539 * gst/base/gstbasetransform.h:
9540 * gst/elements/gstidentity.c: (gst_identity_class_init),
9541 (gst_identity_event), (gst_identity_check_perfect),
9542 (gst_identity_transform), (gst_identity_start),
9543 (gst_identity_stop):
9544 Added start/stop methods to transform base class so subclasses
9545 don't need to deal with state changes even.
9547 2005-03-31 Wim Taymans <wim@fluendo.com>
9549 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9550 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9552 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9553 (gst_pad_pull_range):
9554 Added rate to the discont event to prepare for variable speed
9555 and reverse playback.
9557 2005-03-29 David Schleef <ds@schleef.org>
9560 * testsuite/trigger/Makefile.am:
9561 * testsuite/trigger/trigger.c: A little example program to show
9562 how trigger-based elements can work.
9564 2005-03-29 Wim Taymans <wim@fluendo.com>
9566 * gst/base/Makefile.am:
9568 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9569 (gst_basesink_base_init), (gst_basesink_class_init),
9570 (gst_basesink_pad_getcaps), (gst_basesink_init),
9571 (gst_basesink_activate), (gst_basesink_change_state):
9572 * gst/base/gstbasesink.h:
9573 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9574 (gst_base_transform_base_init), (gst_base_transform_finalize),
9575 (gst_base_transform_class_init), (gst_base_transform_init),
9576 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9577 (gst_base_transform_event), (gst_base_transform_getrange),
9578 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9579 (gst_base_transform_set_property),
9580 (gst_base_transform_get_property),
9581 (gst_base_transform_sink_activate),
9582 (gst_base_transform_src_activate),
9583 (gst_base_transform_change_state):
9584 * gst/base/gstbasetransform.h:
9585 * gst/elements/gstidentity.c: (gst_identity_finalize),
9586 (gst_identity_class_init), (gst_identity_init),
9587 (gst_identity_event), (gst_identity_check_perfect),
9588 (gst_identity_transform), (gst_identity_set_property),
9589 (gst_identity_get_property), (gst_identity_change_state):
9590 * gst/elements/gstidentity.h:
9591 * gst/gstelement.c: (gst_element_get_state_func),
9592 (gst_element_lost_state), (gst_element_pads_activate):
9593 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9594 (gst_pad_check_pull_range), (gst_pad_pull_range):
9596 Simplify pad activation.
9597 Added function to check if pull_range can be performed.
9598 Error out when pulling inactive or flushing pads.
9599 Removed const from refcounted types as it does not make sense.
9600 Simplify pad templates in basesink
9601 Added base class for simple 1-to-1 transforms.
9602 Make identity subclass the base transform.
9604 2005-03-29 Andy Wingo <wingo@pobox.com>
9606 * docs/libs/gstreamer-libs-overrides.txt:
9607 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9608 really don't understand what's going on, but like whatever. I want
9611 * docs/gst/Makefile.am:
9612 * docs/libs/Makefile.am: Dist the overrides files.
9614 * check/Makefile.am (clean-local): Remove .libs directories.
9616 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9617 elements to EXTRA_DIST, so po/ files are happy.
9619 * po/POTFILES.in: Er, remove it here.
9621 * po/POTFILES: Remove gstspider.c.
9623 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9625 * docs/libs/gstreamer-libs-docs.sgml:
9626 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9629 * tests/complexity.c (main): Set the length of the preroll queue
9630 on the sinks to prevent a lockup.
9632 * libs/gst/dataprotocol/Makefile.am:
9633 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9634 the same as the one in check/gst-libs/gdp.c.
9636 * po/, docs/gst/: Commit automatic changes to docs and po files.
9638 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9639 the versioned libgstbase.
9641 * check/Makefile.am: Depend on an unversioned gst-register, seems
9642 to make autoconf happier.
9644 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9646 2005-03-28 Wim Taymans <wim@fluendo.com>
9649 * docs/design/part-gstelement.txt:
9650 * docs/design/part-negotiation.txt:
9651 * docs/design/part-preroll.txt:
9652 * docs/design/part-scheduling.txt:
9653 * docs/design/part-states.txt:
9655 * gst/base/Makefile.am:
9657 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9658 (gst_basesink_base_init), (gst_basesink_class_init),
9659 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9660 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9661 (gst_basesink_set_pad_functions),
9662 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9663 (gst_basesink_set_property), (gst_basesink_get_property),
9664 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9665 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9666 (gst_basesink_preroll_queue_push),
9667 (gst_basesink_preroll_queue_empty),
9668 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9669 (gst_basesink_event), (gst_basesink_get_times),
9670 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9671 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9672 (gst_basesink_loop), (gst_basesink_activate),
9673 (gst_basesink_change_state):
9674 * gst/base/gstbasesink.h:
9675 * gst/elements/Makefile.am:
9676 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9677 (gst_fakesink_class_init), (gst_fakesink_init),
9678 (gst_fakesink_set_property), (gst_fakesink_get_property),
9679 (gst_fakesink_get_times), (gst_fakesink_event),
9680 (gst_fakesink_preroll), (gst_fakesink_render),
9681 (gst_fakesink_change_state):
9682 * gst/elements/gstfakesink.h:
9683 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9684 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9685 * gst/gstelement.c: (gst_element_add_pad),
9686 (gst_element_get_state_func), (gst_element_abort_state),
9687 (gst_element_commit_state), (gst_element_lost_state),
9688 (gst_element_set_state), (gst_element_pads_activate):
9689 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9690 * gst/gstpipeline.c: (gst_pipeline_send_event),
9691 (gst_pipeline_change_state):
9692 Added state change code.
9694 Added sink base class, make fakesink extend the base class.
9695 Small cleanups in GstPipeline.
9697 2005-03-26 David Schleef <ds@schleef.org>
9699 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9700 is broken and should be implemented in a different library.
9701 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9702 * gst/gst.h: remove gstcpu.h
9703 * gst/gstcpu.c: remove
9704 * gst/gstcpu.h: remove
9705 * gst/Makefile.am.future: Remove this file. It's ancient.
9707 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9709 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9710 (gst_bin_send_event):
9711 Add default event/set_manager handlers. The set_manager handler
9712 takes care that the manager is distributed over kids that were
9713 already in the bin before the manager was set. The event handler
9714 is a utility virtual function that sends the event over all sinks,
9715 so that gst_element_send_event (bin, event); has the expected
9717 * gst/gstpad.c: (gst_pad_event_default):
9718 Re-install default event handling for discontinuities, so that
9719 seeking works without requiring hacks in applications or extra
9721 * gst/gstpipeline.c: (gst_pipeline_class_init),
9722 (gst_pipeline_send_event):
9723 Half hack, half utility: set a pipeline to PAUSED for seek events,
9724 since that is the only way we can guarantee a/v sync. Means that
9725 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9726 and it "just works".
9728 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9730 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9731 Lock/unlock mismatch.
9733 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9735 * docs/faq/gst-uninstalled:
9736 add gst-plugins-base
9737 * docs/gst/Makefile.am:
9738 don't error out until docs are fixed
9739 * docs/gst/gstreamer.types:
9742 2005-03-22 Wim Taymans <wim@fluendo.com>
9744 * check/Makefile.am:
9745 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9746 * gst/gststructure.c: (gst_structure_set_valist),
9747 (gst_structure_copy_conditional):
9748 Activated more tests.
9750 Added G_TYPE_POINTER to GstStructure.
9753 2005-03-22 Wim Taymans <wim@fluendo.com>
9755 * docs/design/part-TODO.txt:
9756 * docs/design/part-events.txt:
9757 * docs/design/part-gstbin.txt:
9758 * docs/design/part-gstbus.txt:
9759 * docs/design/part-gstpipeline.txt:
9760 * docs/design/part-messages.txt:
9765 2005-03-21 Wim Taymans <wim@fluendo.com>
9767 * gst/gstbus.c: (gst_bus_post):
9768 Fix copy-and-paste error.
9770 2005-03-21 Wim Taymans <wim@fluendo.com>
9772 * check/Makefile.am:
9774 * gst/elements/Makefile.am:
9775 * gst/elements/gstelements.c:
9776 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9777 (gst_fakesink_event), (gst_fakesink_chain):
9778 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9779 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9780 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9781 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9782 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9783 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9784 (gst_fakesrc_loop), (gst_fakesrc_activate),
9785 (gst_fakesrc_change_state):
9786 * gst/elements/gstfakesrc.h:
9787 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9788 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9789 (gst_filesrc_open_file), (gst_filesrc_loop),
9790 (gst_filesrc_activate), (gst_filesrc_change_state),
9791 (filesrc_find_peek), (filesrc_find_suggest),
9792 (gst_filesrc_type_find):
9793 * gst/elements/gstidentity.c: (gst_identity_finalize),
9794 (gst_identity_class_init), (gst_identity_init),
9795 (gst_identity_proxy_getcaps), (identity_queue_push),
9796 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9797 (gst_identity_getrange), (gst_identity_chain),
9798 (gst_identity_sink_loop), (gst_identity_src_loop),
9799 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9800 (gst_identity_set_property), (gst_identity_get_property),
9801 (gst_identity_change_state):
9802 * gst/elements/gstidentity.h:
9803 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9804 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9805 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9806 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9807 (gst_tee_sink_activate):
9808 * gst/elements/gsttee.h:
9809 * gst/gst.c: (gst_register_core_elements), (init_post):
9811 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9812 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9813 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9814 (gst_bin_change_state):
9816 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9817 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9818 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9819 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9820 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9821 (bus_watch_callback), (bus_watch_destroy),
9822 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9823 (poll_timeout), (gst_bus_poll):
9827 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9828 (gst_element_post_message), (gst_element_message_full),
9829 (gst_element_get_state_func), (gst_element_get_state),
9830 (gst_element_abort_state), (gst_element_commit_state),
9831 (gst_element_lost_state), (gst_element_set_state),
9832 (gst_element_pads_activate), (gst_element_change_state),
9833 (gst_element_dispose), (gst_element_set_manager_func),
9834 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9835 (gst_element_set_manager), (gst_element_get_manager),
9836 (gst_element_set_bus), (gst_element_get_bus),
9837 (gst_element_set_scheduler), (gst_element_get_scheduler):
9839 * gst/gstevent.c: (gst_event_new_segment_seek),
9840 (gst_event_new_flush):
9842 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9843 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9844 (gst_message_new_eos), (gst_message_new_error),
9845 (gst_message_new_warning), (gst_message_new_tag),
9846 (gst_message_new_state_changed), (gst_message_new_application),
9847 (gst_message_get_structure), (gst_message_parse_tag),
9848 (gst_message_parse_state_changed), (gst_message_parse_error),
9849 (gst_message_parse_warning):
9851 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9852 (gst_real_pad_set_property), (gst_pad_set_active),
9853 (gst_pad_is_active), (gst_pad_set_blocked_async),
9854 (gst_pad_set_blocked), (gst_pad_is_blocked),
9855 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9856 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9857 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9858 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9859 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9860 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9861 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9862 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9863 (gst_pad_set_caps), (gst_pad_configure_sink),
9864 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9865 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9866 (gst_real_pad_dispose), (gst_real_pad_finalize),
9867 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9868 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9869 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9871 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9872 (pipeline_bus_handler), (gst_pipeline_change_state),
9873 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9874 * gst/gstpipeline.h:
9876 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9877 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9878 (gst_queue_link_src), (gst_queue_bufferalloc),
9879 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9880 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9881 (gst_queue_loop), (gst_queue_handle_src_event),
9882 (gst_queue_handle_src_query), (gst_queue_src_activate),
9883 (gst_queue_change_state):
9885 * gst/gstscheduler.c: (gst_scheduler_init),
9886 (gst_scheduler_dispose), (gst_scheduler_create_task),
9887 (gst_scheduler_factory_create):
9888 * gst/gstscheduler.h:
9889 * gst/gststructure.c: (gst_structure_get_type),
9890 (gst_structure_copy_conditional):
9891 * gst/gststructure.h:
9892 * gst/gsttaginterface.h:
9893 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9894 (gst_task_init), (gst_task_dispose), (gst_task_create),
9895 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9901 * gst/schedulers/Makefile.am:
9902 * gst/schedulers/cothreads_compat.h:
9903 * gst/schedulers/entryscheduler.c:
9904 * gst/schedulers/faircothreads.c:
9905 * gst/schedulers/faircothreads.h:
9906 * gst/schedulers/fairscheduler.c:
9907 * gst/schedulers/gstbasicscheduler.c:
9908 * gst/schedulers/gstoptimalscheduler.c:
9909 * gst/schedulers/gthread-cothreads.h:
9910 * gst/schedulers/threadscheduler.c:
9911 (gst_thread_scheduler_task_get_type),
9912 (gst_thread_scheduler_task_class_init),
9913 (gst_thread_scheduler_task_init),
9914 (gst_thread_scheduler_task_start),
9915 (gst_thread_scheduler_task_stop),
9916 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9917 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9918 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9919 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9921 * libs/gst/Makefile.am:
9922 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9923 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9924 (gst_file_pad_parent_set):
9925 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9926 (gst_dp_event_from_packet):
9927 * tests/complexity.c: (main):
9928 * tests/mass_elements.c: (main):
9929 * testsuite/states/locked.c: (message_received), (main):
9930 * testsuite/states/parent.c: (main):
9931 * tools/gst-inspect.c: (print_element_flag_info),
9932 (print_implementation_info), (print_pad_info):
9933 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9935 * tools/gst-md5sum.c: (event_loop), (main):
9936 * tools/gst-typefind.c: (main):
9937 * tools/gst-xmlinspect.c: (print_element_info):
9939 Added GstBus for mainloop integration.
9940 Added GstMessage for sending notifications on the bus.
9941 Added GstTask as an abstraction for pipeline entry points.
9944 Simplified GstQueue for multithreaded core.
9945 Made _link threadsafe, removed old capsnego.
9946 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9947 Added pad blocking functions.
9948 Reworked scheduling functions in GstPad to prepare for
9949 scheduling updates soon.
9950 Moved events out of data stream.
9951 Simplified GstEvent types.
9952 Added return values to push/pull.
9953 Removed clocking from GstElement.
9954 Added prototypes for state change function for next merge.
9955 Removed iterate from bins and state change management.
9956 Fixed some elements, disabled others for now.
9957 Fixed -inspect and -launch.
9958 Added check for GstBus.
9960 2005-03-10 Wim Taymans <wim@fluendo.com>
9962 * docs/design/part-MT-refcounting.txt:
9963 * docs/design/part-clocks.txt:
9964 * docs/design/part-gstelement.txt:
9965 * docs/design/part-gstobject.txt:
9966 * docs/design/part-standards.txt:
9967 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9968 (gst_bin_remove_func), (gst_bin_remove):
9972 * testsuite/clock/clock1.c: (main):
9973 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9975 * testsuite/dlopen/loadgst.c: (do_test):
9976 * testsuite/refcounting/bin.c: (add_remove_test1),
9977 (add_remove_test2), (main):
9978 * testsuite/refcounting/element.c: (main):
9979 * testsuite/refcounting/element_pad.c: (main):
9980 * testsuite/refcounting/pad.c: (main):
9981 * tools/gst-launch.c: (sigint_handler_sighandler):
9982 * tools/gst-typefind.c: (main):
9984 Added doc about clock.
9985 removed gst_bin_iterate_recurse_up(), marked methods
9987 Fix more testsuites.
9989 2005-03-09 Wim Taymans <wim@fluendo.com>
9991 * gst/gstpad.c: (gst_pad_get_direction),
9992 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9993 (gst_pad_collect_valist):
9994 * testsuite/bins/interface.c: (main):
9995 * testsuite/caps/audioscale.c: (test_caps):
9996 * testsuite/caps/caps.c: (test1), (test2), (test3):
9997 * testsuite/caps/deserialize.c: (main):
9998 * testsuite/caps/enumcaps.c: (main):
9999 * testsuite/caps/filtercaps.c: (main):
10000 * testsuite/caps/intersect2.c: (main):
10001 * testsuite/caps/random.c: (main):
10002 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10003 * testsuite/caps/sets.c: (check_caps):
10004 * testsuite/caps/simplify.c: (check_caps), (main):
10005 * testsuite/caps/subtract.c: (check_caps):
10006 Fix _pad_get_direction wrt ghostpads.
10007 Fix caps testsuite.
10009 2005-03-09 Wim Taymans <wim@fluendo.com>
10011 * check/Makefile.am:
10012 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10013 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10014 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10016 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10017 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10018 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10019 (bin_element_is_sink), (gst_bin_iterate_sinks),
10020 (gst_bin_iterate_all_by_interface):
10022 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10023 (gst_element_change_state), (gst_element_dispose),
10024 (gst_element_finalize), (gst_element_set_loop_function):
10025 * gst/gstelement.h:
10026 * gst/gstiterator.c: (find_custom_fold_func):
10027 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10028 (gst_pad_collectv), (gst_pad_collect_valist),
10029 (gst_pad_template_new):
10030 * gst/gstpipeline.c: (gst_pipeline_class_init),
10031 (gst_pipeline_dispose), (gst_pipeline_set_property),
10032 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10033 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10034 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10036 * gst/schedulers/entryscheduler.c:
10037 * gst/schedulers/gstbasicscheduler.c:
10038 (gst_basic_scheduler_cothreaded_chain),
10039 (gst_basic_scheduler_chain_add_element):
10040 * testsuite/bins/interface.c: (main):
10042 Added GstSystemClock test.
10043 Implemented clock distribution code in GstBin.
10044 Implemented iterate sinks method for future use.
10045 Rearranged gstelement.h
10046 Fix GstIterator comparison bug.
10047 Moved some code to GstPipeline, mostly clocking related.
10049 2005-03-09 Wim Taymans <wim@fluendo.com>
10052 * gst/gst_private.h:
10053 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10054 (gst_bin_remove_func), (gst_bin_remove),
10055 (gst_bin_get_by_name_recurse_up):
10056 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10057 (gst_clock_id_compare_func), (gst_clock_id_wait),
10058 (gst_clock_id_wait_async), (gst_clock_init),
10059 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10060 * gst/gstelement.h:
10061 * gst/gstinfo.c: (_gst_debug_init):
10063 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10064 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10066 Bump version number, we're now 0.9.0
10067 Add future debugging category.
10068 Fix NULL _unref() in _get_by_name_recurse_up
10069 Rearrange gstpad.h.
10072 2005-03-08 Wim Taymans <wim@fluendo.com>
10074 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10075 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10076 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10077 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10078 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10079 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10080 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10081 * gst/elements/gstidentity.c: (gst_identity_class_init):
10082 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10083 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10084 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10085 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10086 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10088 * gst/gstelement.c: (gst_element_class_init),
10089 (gst_element_base_class_init), (gst_element_init),
10090 (gst_element_get_random_pad), (gst_element_wait_state_change),
10091 (gst_element_change_state), (gst_element_dispose),
10092 (gst_element_finalize), (gst_element_set_loop_function):
10093 * gst/gstelement.h:
10094 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10095 * gst/gstthread.c: (gst_thread_class_init),
10096 (gst_thread_release_children_locks), (gst_thread_change_state):
10097 * gst/schedulers/gstbasicscheduler.c:
10098 (gst_basic_scheduler_loopfunc_wrapper),
10099 (gst_basic_scheduler_chain_wrapper),
10100 (gst_basic_scheduler_src_wrapper),
10101 (gst_basic_scheduler_remove_element):
10102 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10103 Remove threadsafe properties. Fix elements because GObject
10104 complains when installing a property before declaring a
10105 set/get_property handler.
10106 Rearrange gstelement.h file, use STATE macros for state locks.
10107 Free mutexes in the finalize method instead of dispose.
10109 2005-03-08 Wim Taymans <wim@fluendo.com>
10111 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10112 * gst/gstthread.c: (gst_thread_release_children_locks):
10113 Added parentage check.
10114 Fix build og GstThread again.
10116 2005-03-08 Wim Taymans <wim@fluendo.com>
10118 * docs/design/part-MT-refcounting.txt:
10119 * docs/design/part-conventions.txt:
10120 * docs/design/part-gstobject.txt:
10121 * docs/design/part-relations.txt:
10122 * docs/design/part-standards.txt:
10123 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10124 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10125 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10126 (gst_bin_iterate_all_by_interface):
10129 * gst/gstelement.c: (gst_element_class_init),
10130 (gst_element_change_state), (gst_element_set_loop_function):
10131 * gst/gstelement.h:
10132 * gst/gstiterator.c:
10133 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10134 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10135 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10136 (gst_object_set_parent), (gst_object_unparent),
10137 (gst_object_check_uniqueness):
10139 Docs updates, clean up some headers.
10141 2005-03-07 Wim Taymans <wim@fluendo.com>
10143 * check/.cvsignore:
10144 * check/Makefile.am:
10145 * check/gst-libs/.cvsignore:
10146 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10147 * check/gst/.cvsignore:
10148 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10149 (START_TEST), (gstbus_suite), (main):
10150 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10151 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10152 (gst_data_suite), (main):
10153 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10154 (add_fold_func), (gstiterator_suite), (main):
10155 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10156 (thread_name_object), (thread_name_object_default),
10157 (gst_object_name_compare), (gst_object_suite), (main):
10158 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10159 (gst_pad_suite), (main):
10160 * check/gstcheck.c: (gst_check_log_message_func),
10161 (gst_check_log_critical_func), (gst_check_init):
10162 * check/gstcheck.h:
10163 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10164 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10167 2005-03-07 Wim Taymans <wim@fluendo.com>
10169 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10170 (gst_list_iterator_next), (gst_list_iterator_resync),
10171 (gst_list_iterator_free), (gst_iterator_new_list),
10172 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10173 (gst_iterator_free), (gst_iterator_push), (filter_next),
10174 (filter_resync), (filter_uninit), (filter_free),
10175 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10176 (gst_iterator_foreach), (find_custom_fold_func),
10177 (gst_iterator_find_custom):
10178 * gst/gstiterator.h:
10179 Added missing files.
10181 2005-03-07 Wim Taymans <wim@fluendo.com>
10185 * docs/design/part-MT-refcounting.txt:
10186 * docs/design/part-conventions.txt:
10187 * docs/design/part-gstobject.txt:
10188 * docs/design/part-relations.txt:
10189 * examples/mixer/mixer.c: (main):
10190 * examples/thread/thread.c: (eos), (main):
10192 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10193 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10194 (gst_spider_plug_from_srcpad):
10195 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10196 (gst_spider_identity_change_state),
10197 (gst_spider_identity_sink_loop_type_finding):
10198 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10199 * gst/elements/gstidentity.c: (gst_identity_init):
10200 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10201 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10202 * gst/elements/gsttypefindelement.c: (free_entry):
10205 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10206 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10207 (gst_bin_set_index), (gst_bin_set_element_sched),
10208 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10209 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10210 (gst_bin_iterate_elements), (iterate_child_recurse),
10211 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10212 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10213 (compare_interface), (gst_bin_get_by_interface),
10214 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10216 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10217 (gst_buffer_default_free), (gst_buffer_default_copy),
10218 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10219 (gst_buffer_create_sub):
10221 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10222 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10223 (gst_caps_unref), (gst_static_caps_get),
10224 (gst_caps_remove_and_get_structure), (gst_caps_append),
10225 (gst_caps_append_structure), (gst_caps_remove_structure),
10226 (gst_caps_copy_nth), (gst_caps_set_simple),
10227 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10228 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10229 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10230 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10231 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10232 (gst_caps_structure_figure_out_union),
10233 (gst_caps_switch_structures), (gst_caps_do_simplify),
10234 (gst_caps_replace), (gst_caps_from_string),
10235 (gst_caps_copy_conditional):
10237 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10238 (_gst_clock_id_free), (gst_clock_id_unref),
10239 (gst_clock_id_compare_func), (gst_clock_id_wait),
10240 (gst_clock_id_wait_async), (gst_clock_class_init),
10241 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10242 (gst_clock_get_time), (gst_clock_set_time_adjust),
10243 (gst_clock_set_property), (gst_clock_get_property):
10246 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10247 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10249 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10250 (gst_element_requires_clock), (gst_element_provides_clock),
10251 (gst_element_set_clock), (gst_element_clock_wait),
10252 (gst_element_wait), (gst_element_set_time_delay),
10253 (gst_element_is_indexable), (gst_element_add_pad),
10254 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10255 (pad_compare_name), (gst_element_get_static_pad),
10256 (gst_element_request_pad), (gst_element_get_request_pad),
10257 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10258 (gst_element_class_get_pad_template_list),
10259 (gst_element_class_get_pad_template), (gst_element_error_func),
10260 (gst_element_get_random_pad), (gst_element_get_event_masks),
10261 (gst_element_send_event), (gst_element_seek),
10262 (gst_element_get_query_types), (gst_element_query),
10263 (gst_element_get_formats), (gst_element_convert),
10264 (gst_element_is_locked_state), (gst_element_set_locked_state),
10265 (gst_element_sync_state_with_parent), (gst_element_change_state),
10266 (gst_element_finalize), (gst_element_yield),
10267 (gst_element_interrupt), (gst_element_set_scheduler),
10268 (gst_element_get_scheduler), (gst_element_set_loop_function):
10269 * gst/gstelement.h:
10271 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10272 (gst_format_get_by_nick), (gst_format_get_details),
10273 (gst_format_iterate_definitions):
10275 * gst/gstindex.c: (gst_index_gtype_resolver):
10278 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10279 (gst_mem_chunk_free):
10280 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10281 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10282 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10283 (gst_object_dispatch_properties_changed),
10284 (gst_object_set_name_default), (gst_object_set_name),
10285 (gst_object_get_name), (gst_object_set_name_prefix),
10286 (gst_object_get_name_prefix), (gst_object_set_parent),
10287 (gst_object_get_parent), (gst_object_unparent),
10288 (gst_object_check_uniqueness), (gst_object_save_thyself),
10289 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10290 (gst_object_set_property), (gst_object_get_property),
10291 (gst_object_get_path_string):
10293 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10294 (gst_real_pad_init), (gst_real_pad_get_property),
10295 (gst_pad_custom_new), (gst_pad_get_direction),
10296 (gst_pad_set_active), (gst_pad_is_active),
10297 (gst_pad_set_event_function), (gst_pad_is_linked),
10298 (gst_pad_link_free), (gst_pad_link_intersect),
10299 (gst_pad_link_fixate), (gst_pad_set_caps),
10300 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10301 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10302 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10303 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10304 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10305 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10306 (gst_pad_realize), (gst_pad_get_allowed_caps),
10307 (gst_real_pad_dispose), (gst_real_pad_finalize),
10308 (gst_pad_collectv), (gst_pad_collect_valist),
10309 (gst_pad_template_dispose), (gst_pad_template_new),
10310 (gst_pad_get_internal_links):
10312 * gst/gstpipeline.c: (gst_pipeline_dispose),
10313 (gst_pipeline_change_state):
10314 * gst/gstpipeline.h:
10316 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10317 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10318 * gst/gstpluginfeature.h:
10319 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10320 * gst/gstquery.c: (_gst_query_type_initialize),
10321 (gst_query_type_register), (gst_query_type_get_by_nick),
10322 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10324 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10325 * gst/gstscheduler.c: (gst_scheduler_add_element),
10326 (gst_scheduler_factory_create):
10327 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10328 (gst_structure_free), (gst_structure_set_name),
10329 (gst_structure_id_set_value), (gst_structure_set_value),
10330 (gst_structure_set_valist), (gst_structure_remove_field),
10331 (gst_structure_remove_fields),
10332 (gst_structure_remove_fields_valist),
10333 (gst_structure_remove_all_fields), (gst_structure_foreach),
10334 (gst_structure_map_in_place),
10335 (gst_caps_structure_fixate_field_nearest_int),
10336 (gst_caps_structure_fixate_field_nearest_double):
10337 * gst/gststructure.h:
10338 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10339 (gst_system_clock_init), (gst_system_clock_dispose),
10340 (gst_system_clock_async_thread),
10341 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10342 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10343 * gst/gstsystemclock.h:
10344 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10345 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10346 * gst/gsttaginterface.c:
10347 * gst/gstthread.c: (gst_thread_dispose),
10348 (gst_thread_release_children_locks), (gst_thread_change_state),
10349 (gst_thread_main_loop):
10350 * gst/gsttrashstack.h:
10351 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10353 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10354 (gst_element_request_pad), (gst_element_get_pad_from_template),
10355 (gst_element_request_compatible_pad),
10356 (gst_element_get_compatible_pad_filtered),
10357 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10358 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10359 (gst_element_link_many), (gst_element_link),
10360 (gst_element_link_pads), (gst_element_unlink_pads),
10361 (gst_element_unlink_many), (gst_element_unlink),
10362 (gst_pad_can_link_filtered), (gst_pad_can_link),
10363 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10364 (gst_object_default_error), (gst_bin_add_many),
10365 (gst_bin_remove_many), (gst_element_populate_std_props),
10366 (gst_element_class_install_std_props), (gst_buffer_merge),
10367 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10368 (link_fold_func), (gst_pad_proxy_setcaps):
10370 * gst/gstvalue.c: (gst_value_deserialize_string):
10371 * gst/parse/grammar.y:
10372 * gst/schedulers/gstbasicscheduler.c:
10373 (gst_basic_scheduler_cothreaded_chain),
10374 (gst_basic_scheduler_chain_recursive_add),
10375 (gst_basic_scheduler_pad_link):
10376 * gst/schedulers/gstoptimalscheduler.c:
10377 (get_group_schedule_function),
10378 (gst_opt_scheduler_state_transition),
10379 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10380 * libs/gst/bytestream/bytestream.c:
10381 * libs/gst/dataprotocol/dataprotocol.c:
10382 (gst_dp_header_from_buffer):
10385 * tests/threadstate/threadstate2.c: (eos):
10386 * tools/gst-compprep.c: (main):
10387 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10388 (print_pad_info), (print_children_info):
10389 * tools/gst-launch.c: (idle_func), (main):
10390 * tools/gst-md5sum.c: (idle_func), (main):
10391 * tools/gst-xmlinspect.c: (print_element_info):
10392 First THREADED backport attempt, focusing on adding locks and
10393 making sure the API is threadsafe. Needs more work. More docs
10396 2005-02-24 Andy Wingo <wingo@pobox.com>
10398 * tests/bench-complexity.scm:
10399 * tests/complexity.gnuplot: New files, good for running complexity
10402 * tests/Makefile.am:
10403 * tests/complexity.c: New test, sets up N elements, at each level
10404 teeing into M streams per element. Eeeenteresting.
10406 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10407 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10408 running bench-mass_elements.scm.
10410 * tests/bench-mass_elements.scm: New script, runs mass_elements
10411 for various numbers of identities, outputting the results to a
10412 file. Requires guile 1.6. Just for testing.
10414 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10416 * gst/schedulers/fairscheduler.c:
10417 compile with debug disabled
10419 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10422 hunting season on 0.9 is now OPEN