1 2005-11-05 Andy Wingo <wingo@pobox.com>
3 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
6 2005-11-04 Stefan Kost <ensonic@users.sf.net>
8 * docs/gst/gstreamer-sections.txt:
11 * gst/gstminiobject.h:
16 2005-11-04 Wim Taymans <wim@fluendo.com>
18 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19 Small update to stop at the configured segment_end
22 2005-11-04 Stefan Kost <ensonic@users.sf.net>
28 2005-11-04 Edward Hervey <edward@fluendo.com>
30 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
31 Check if we are doing a segment seek and have arrived at the
34 2005-11-04 Wim Taymans <wim@fluendo.com>
36 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
37 Don't leak a mutex unlock in case of an error.
42 2005-11-04 Wim Taymans <wim@fluendo.com>
44 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
46 Get the context to wake up only once.
48 2005-11-03 Wim Taymans <wim@fluendo.com>
50 * check/states/sinks.c: (GST_START_TEST):
51 Uncomment fixed check.
53 * docs/design/part-TODO.txt:
56 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
57 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
58 (gst_base_sink_get_position):
59 If we are going to PLAYING, post the right pending state
60 when we post the intermediate paused message.
62 * gst/gstelement.c: (gst_element_continue_state),
63 (gst_element_set_state_func), (gst_element_change_state):
64 Don't post state changes that were between the same state
67 2005-11-03 Stefan Kost <ensonic@users.sf.net>
69 * docs/gst/gstreamer-sections.txt:
72 * gst/gstminiobject.h:
75 more docs and doc style fixes
77 2005-11-03 Stefan Kost <ensonic@users.sf.net>
79 * docs/gst/gstreamer-sections.txt:
81 * gst/gstminiobject.c:
84 2005-11-03 Andy Wingo <wingo@pobox.com>
86 * check/states/sinks.c (test_livesrc_sink): Add checks that the
87 state-changed messages actually have the right order and the right
90 2005-11-03 Wim Taymans <wim@fluendo.com>
92 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
93 Added some more checks. Specifically the case where NO_PREROLL
94 elements are in the pipeline.
96 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
97 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
98 (gst_base_sink_get_position):
99 Post READY->PAUSED state change messages too.
100 Fix bug where VOID was posted as pending state...
102 * gst/gstbin.c: (gst_bin_recalc_state):
103 use _element_continue_state() to continue the state change.
105 * gst/gstelement.c: (gst_element_continue_state),
106 (gst_element_commit_state), (gst_element_set_state_func),
107 (gst_element_change_state), (gst_element_change_state_func):
108 Lots of state change cleanups, assign the STATE_RETURN in
109 a new continue_state() function that also propagates the
110 last return value from a state change to the app.
111 Update some debug statements with proper category.
113 2005-11-03 Wim Taymans <wim@fluendo.com>
115 * docs/design/part-events.txt:
116 * docs/design/part-gstpipeline.txt:
117 * docs/design/part-messages.txt:
118 * docs/design/part-overview.txt:
119 * docs/design/part-seeking.txt:
120 * docs/design/part-states.txt:
121 * docs/design/part-trickmodes.txt:
122 * docs/manual/advanced-position.xml:
126 People think !! is ugly, this looks better.
128 * gst/gstpad.c: (gst_pad_set_blocked_async):
129 Remove !! since it's fixed elsewhere now.
131 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
133 * gst/gstminiobject.h:
135 Add !! to _FLAG_IS_SET macros to make the result boolean.
137 2005-11-03 Edward Hervey <edward@fluendo.com>
139 * gst/gstpad.c: (gst_pad_set_blocked_async):
140 comparing a flag and a gboolean rarely returns coherent results...
141 Added two characters (!!) to make that work correctly.
143 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
145 * gst/gstbus.c: (gst_bus_class_init):
148 * gst/gstqueue.c: (gst_queue_loop):
149 Don't assume a miniobject that isn't a buffer is an
150 event (it could be that there is a refcounting
151 problem somewhere and the pointer is stale and
152 refers to an already destroyed miniobject).
154 2005-11-03 Julien MOUTTE <julien@moutte.net>
156 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
158 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
160 * docs/manual/advanced-position.xml:
161 Update seek example and explanations to current 0.9 API.
163 * gst/elements/gsttypefindelement.c:
164 (gst_type_find_element_activate):
165 Remove FIXME comment now that the found caps
168 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
170 * gst/gstregistryxml.c: (load_feature):
171 Add another GST_STR_NULL instance
173 2005-11-02 Edward Hervey <edward@fluendo.com>
175 * gst/gstpad.c: (handle_pad_block):
176 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
178 2005-11-02 Wim Taymans <wim@fluendo.com>
183 * gst/gstelement.c: (gst_element_commit_state):
187 Mention that the returned element is reffed in the docs.
189 2005-11-02 Wim Taymans <wim@fluendo.com>
191 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
192 (gst_pad_push), (gst_pad_push_event):
193 Unlock blocked pads when they are flushed.
195 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
198 * docs/gst/gstreamer-sections.txt:
201 * gst/gstregistry.c: (gst_registry_scan_path_level):
202 fix for a nasty little missed situation where an installed plug-in
203 which was in the cache did not get overridden by an uninstalled one
204 which was earlier in the plugin path because the newly created plugin
205 for the uninstalled one (not in the registry) didn't get its
206 ->registered set to TRUE
208 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
210 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
211 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
212 (gst_collectpads_is_active), (gst_collectpads_collect),
213 (gst_collectpads_collect_range), (gst_collectpads_start),
214 (gst_collectpads_stop), (gst_collectpads_peek),
215 (gst_collectpads_pop), (gst_collectpads_available),
216 (gst_collectpads_read), (gst_collectpads_flush):
217 Guard public API with assertions.
220 Fix docs for gst_pad_set_link_function().
222 2005-11-02 Johan Dahlin <johan@gnome.org>
224 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
225 Unref found_caps after we used it.
227 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
229 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
230 Don't try to ref NULL.
232 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
234 * win32/common/config.h.in:
235 provide a GST_FUNCTION that just gives a string for now
237 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
239 * win32/common/gstenumtypes.c: (register_gst_object_flags),
240 (gst_object_flags_get_type), (register_gst_bin_flags),
241 (gst_bin_flags_get_type), (register_gst_buffer_flag),
242 (gst_buffer_flag_get_type), (register_gst_bus_flags),
243 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
244 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
245 (gst_clock_return_get_type), (register_gst_clock_entry_type),
246 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
247 (gst_clock_flags_get_type), (register_gst_state),
248 (gst_state_get_type), (register_gst_state_change_return),
249 (gst_state_change_return_get_type), (register_gst_state_change),
250 (gst_state_change_get_type), (register_gst_element_flags),
251 (gst_element_flags_get_type), (register_gst_core_error),
252 (gst_core_error_get_type), (register_gst_library_error),
253 (gst_library_error_get_type), (register_gst_resource_error),
254 (gst_resource_error_get_type), (register_gst_stream_error),
255 (gst_stream_error_get_type), (register_gst_event_type),
256 (gst_event_type_get_type), (register_gst_seek_type),
257 (gst_seek_type_get_type), (register_gst_seek_flags),
258 (gst_seek_flags_get_type), (register_gst_format),
259 (gst_format_get_type), (register_gst_index_certainty),
260 (gst_index_certainty_get_type), (register_gst_index_entry_type),
261 (gst_index_entry_type_get_type),
262 (register_gst_index_lookup_method),
263 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
264 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
265 (gst_index_resolver_method_get_type), (register_gst_index_flags),
266 (gst_index_flags_get_type), (register_gst_debug_level),
267 (gst_debug_level_get_type), (register_gst_debug_color_flags),
268 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
269 (gst_iterator_result_get_type), (register_gst_iterator_item),
270 (gst_iterator_item_get_type), (register_gst_message_type),
271 (gst_message_type_get_type), (register_gst_mini_object_flags),
272 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
273 (gst_pad_link_return_get_type), (register_gst_flow_return),
274 (gst_flow_return_get_type), (register_gst_activate_mode),
275 (gst_activate_mode_get_type), (register_gst_pad_direction),
276 (gst_pad_direction_get_type), (register_gst_pad_flags),
277 (gst_pad_flags_get_type), (register_gst_pad_presence),
278 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
279 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
280 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
281 (gst_plugin_error_get_type), (register_gst_plugin_flags),
282 (gst_plugin_flags_get_type), (register_gst_rank),
283 (gst_rank_get_type), (register_gst_query_type),
284 (gst_query_type_get_type), (register_gst_tag_merge_mode),
285 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
286 (gst_tag_flag_get_type), (register_gst_task_state),
287 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
288 (gst_alloc_trace_flags_get_type),
289 (register_gst_type_find_probability),
290 (gst_type_find_probability_get_type), (register_gst_uri_type),
291 (gst_uri_type_get_type), (register_gst_parse_error),
292 (gst_parse_error_get_type):
293 * win32/common/gstversion.h:
296 2005-11-01 Luca Ognibene <luogni@tin.it>
299 fix docs. popt is dead, long live GOption.
301 2005-10-31 Wim Taymans <wim@fluendo.com>
306 2005-10-31 Andy Wingo <wingo@pobox.com>
310 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
312 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
313 need to serialize property notifications on GLib 2.8. GLib 2.6 has
314 the possibility of deadlocks here if code calling notify() or
315 set() has a lock that can be taken in another notify handler (ABBA
316 with class lock and e.g. python GIL state lock).
318 2005-10-28 Julien MOUTTE <julien@moutte.net>
320 * gst/gstbus.c: Doc updates.
322 2005-10-28 Wim Taymans <wim@fluendo.com>
324 * docs/design/part-TODO.txt:
326 * gst/gstsystemclock.c:
327 * gst/gstsystemclock.h:
330 2005-10-28 Edward Hervey <edward@fluendo.com>
332 * docs/gst/gstreamer-docs.sgml:
333 * docs/gst/gstreamer-sections.txt:
334 the GstURIType documentation page is private, it only defines GstURIType
335 which should be defined in the GstURIHandler page
337 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
339 * gst/gstbin.c: (gst_bin_class_init):
342 Documentation updates.
344 2005-10-28 Wim Taymans <wim@fluendo.com>
346 * docs/gst/gstreamer-sections.txt:
349 Documented the clocks.
351 2005-10-28 Stefan Kost <ensonic@users.sf.net>
353 * docs/gst/gstreamer-sections.txt:
354 move some macros to private sections
355 * gst/gstminiobject.c:
356 * gst/gstminiobject.h:
357 add descriptions provided by ds and some more
359 mark macro as to be removed
361 2005-10-28 Wim Taymans <wim@fluendo.com>
363 * docs/design/part-TODO.txt:
366 * gst/gstiterator.c: (gst_iterator_fold),
367 (gst_iterator_find_custom):
371 2005-10-28 Wim Taymans <wim@fluendo.com>
373 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
374 (gst_base_transform_init):
377 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
378 An EOS event marks the queue as completely filled.
380 2005-10-27 Wim Taymans <wim@fluendo.com>
382 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
383 (gst_base_sink_do_sync), (gst_base_sink_get_position):
386 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
387 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
388 (gst_base_transform_event), (gst_base_transform_getrange),
389 (gst_base_transform_chain):
390 * gst/base/gstbasetransform.h:
392 Protect transform and concurrent buffer alloc with a new lock.
393 Try not to break ABI/API.
395 2005-10-27 Wim Taymans <wim@fluendo.com>
397 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
398 (gst_base_src_init), (gst_base_src_query),
399 (gst_base_src_default_newsegment),
400 (gst_base_src_configure_segment), (gst_base_src_do_seek),
401 (gst_base_src_send_event), (gst_base_src_event_handler),
402 (gst_base_src_pad_get_range), (gst_base_src_loop),
403 (gst_base_src_unlock), (gst_base_src_default_negotiate),
404 (gst_base_src_start), (gst_base_src_deactivate),
405 (gst_base_src_activate_push), (gst_base_src_change_state):
406 Move some stuff around and cleanup things.
408 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
410 * gst/base/gstbasesrc.c: (gst_base_src_query):
411 Add missing break statements.
413 2005-10-27 Wim Taymans <wim@fluendo.com>
415 * check/gst/gstbin.c: (GST_START_TEST):
416 An extra refcount is taken in basesrc.
418 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
419 (gst_base_src_get_range), (gst_base_src_pad_get_range),
421 Small cleanups, check for flushing after being unlocked from the
422 LIVE_LOCK. take refcounts correctly (not yet everywhere).
423 Don't send out EOS when going to READY.
425 2005-10-27 Wim Taymans <wim@fluendo.com>
427 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
428 (gst_base_sink_get_position):
431 * gst/gstbin.c: (message_check), (bin_replace_message),
432 (bin_remove_messages), (is_eos), (gst_bin_add_func),
433 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
434 (bin_query_duration_init), (bin_query_duration_fold),
435 (bin_query_duration_done), (bin_query_generic_fold),
437 * tools/gst-launch.c: (main):
440 2005-10-26 Stefan Kost <ensonic@users.sf.net>
442 * examples/controller/audio-example.c: (main):
443 * examples/queue/queue.c: (event_loop):
444 * gst/base/gstbasetransform.h:
445 * gst/gstelement.c: (gst_element_send_event):
447 * gst/gstpad.c: (gst_pad_send_event):
450 changing log priority in error situations
452 2005-10-25 Wim Taymans <wim@fluendo.com>
454 * gst/gstbin.c: (message_check), (bin_replace_message),
455 (bin_remove_messages), (is_eos), (gst_bin_add_func),
456 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
457 (bin_query_duration_init), (bin_query_duration_fold),
458 (bin_query_duration_done), (bin_query_generic_fold),
460 Some doc and debug updates.
461 Cache previously requested query DURATION for speed. invalidate
462 cached duration if element posts a DURATION message.
464 2005-10-25 Wim Taymans <wim@fluendo.com>
466 * docs/design/part-TODO.txt:
469 * gst/gstbin.c: (message_check), (bin_replace_message),
470 (bin_remove_messages), (is_eos), (gst_bin_add_func),
471 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
472 (bin_query_duration_init), (bin_query_duration_fold),
473 (bin_query_duration_done), (bin_query_generic_fold),
475 Handle SEGMENT_START/DONE messages correctly.
476 More evolved query algorithm that handles duration queries
479 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
480 (gst_element_get_state_func), (gst_element_abort_state),
481 (gst_element_commit_state), (gst_element_lost_state):
487 2005-10-25 Wim Taymans <wim@fluendo.com>
489 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
490 Don't use invalid stream_time.
492 * gst/gstevent.c: (gst_event_new_newsegment):
493 stream_time in newsegment cannot be undefined.
495 2005-10-24 Wim Taymans <wim@fluendo.com>
500 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
502 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
504 2005-10-24 Stefan Kost <ensonic@users.sf.net>
506 * docs/libs/tmpl/gstdparam.sgml:
507 * docs/libs/tmpl/gstdplinint.sgml:
508 * docs/libs/tmpl/gstdpman.sgml:
509 * docs/libs/tmpl/gstdpsmooth.sgml:
510 * docs/libs/tmpl/gstunitconvert.sgml:
513 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
518 === release 0.9.4 ===
520 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
523 releasing 0.9.4, "Tyrannosaurus Rex"
525 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
527 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
528 (gst_file_sink_get_current_offset):
529 Use fseeko() and ftello() if available. When falling back on
530 lseek() to get the current offset, fflush() first to make sure
531 everything is up-to-date and we get the right offset.
533 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
536 * gst/base/gstbasesrc.c: (gst_base_src_loop):
537 * gst/gsterror.c: (_gst_stream_errors_init):
539 * gst/gstqueue.c: (gst_queue_loop):
541 remove prematurely added error category and clean up the instances
543 2005-10-21 Wim Taymans <wim@fluendo.com>
545 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
546 (gst_base_sink_get_position), (gst_base_sink_query),
547 (gst_base_sink_change_state):
548 Simply set the right flag when going to playing, that's all
549 we need to do instead of calling a function inside the object
550 lock (that could take the lock as well and deadlock)
552 2005-10-21 Wim Taymans <wim@fluendo.com>
554 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
556 Don't warn, the peer element knows what to do best when
557 the seek failed, it might try something else.
559 2005-10-21 Wim Taymans <wim@fluendo.com>
561 * gst/base/gstbasesrc.c: (gst_base_src_init),
562 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
565 2005-10-21 Wim Taymans <wim@fluendo.com>
567 * docs/design/part-segments.txt:
570 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
571 Correctly set caps, even on the subbufer.
573 2005-10-21 Wim Taymans <wim@fluendo.com>
575 * docs/gst/gstreamer-docs.sgml:
576 * docs/gst/gstreamer-sections.txt:
583 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
587 And 2% more doc coverage.
589 2005-10-21 Andy Wingo <wingo@pobox.com>
591 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
594 2005-10-20 Wim Taymans <wim@fluendo.com>
596 * gst/gsterror.c: (gst_error_get_message):
599 * gst/gststructure.c:
604 2005-10-20 Wim Taymans <wim@fluendo.com>
609 Another 1% more coverage.
611 2005-10-20 Wim Taymans <wim@fluendo.com>
613 * docs/gst/gstreamer-sections.txt:
614 * gst/gstelement.c: (gst_element_get_state_func),
615 (gst_element_abort_state), (gst_element_commit_state),
616 (gst_element_lost_state):
618 * gst/gstquery.c: (gst_query_set_position),
619 (gst_query_parse_position), (gst_query_set_duration),
620 (gst_query_parse_duration), (gst_query_new_convert):
622 Yay! 1% more docs coverage.
624 2005-10-20 Wim Taymans <wim@fluendo.com>
627 * gst/gstquery.c: (gst_query_set_position),
628 (gst_query_parse_position), (gst_query_set_duration),
629 (gst_query_parse_duration), (gst_query_new_convert):
631 * gst/gstutils.c: (gst_element_query_convert):
633 Docs and consistency fixes.
635 2005-10-20 Wim Taymans <wim@fluendo.com>
641 2005-10-20 Wim Taymans <wim@fluendo.com>
643 * gst/gstbin.c: (message_check), (bin_replace_message),
644 (bin_remove_messages), (is_eos), (gst_bin_add_func),
645 (update_degree), (gst_bin_sort_iterator_next),
646 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
647 Reworked the message handling a bit, cache the messages instead of
648 only the senders. alows us to do more in the future.
650 2005-10-20 Wim Taymans <wim@fluendo.com>
652 * docs/design/part-TODO.txt:
655 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
656 (gst_base_sink_query):
657 Don't use clock time to report position when in EOS.
659 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
661 * tools/gst-inspect.c: (print_interfaces),
662 (print_element_properties_info), (print_element_info):
663 Fix interface output with gst-inspect -a; don't print
664 newlines after double/float properties.
666 2005-10-20 Wim Taymans <wim@fluendo.com>
668 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
669 (gst_base_sink_query):
670 Speed up current position calculation.
672 * gst/base/gstbasesrc.c: (gst_base_src_query),
673 (gst_base_src_default_newsegment):
674 Correctly set stream position in newsegment.
676 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
677 (update_degree), (gst_bin_sort_iterator_next),
678 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
679 * gst/gstmessage.c: (gst_message_new_custom):
680 Clean up debugging info
682 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
683 (gst_queue_loop), (gst_queue_handle_src_query):
686 2005-10-19 Wim Taymans <wim@fluendo.com>
688 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
689 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
690 Fix query handling again.
692 2005-10-19 Wim Taymans <wim@fluendo.com>
694 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
695 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
696 * gst/base/gstbasesrc.c: (gst_base_src_query):
697 * gst/elements/gstfilesink.c: (gst_file_sink_query):
698 * gst/elements/gsttypefindelement.c:
699 (gst_type_find_handle_src_query), (find_element_get_length),
700 (gst_type_find_element_activate):
703 * gst/gstquery.c: (gst_query_new_position),
704 (gst_query_set_position), (gst_query_parse_position),
705 (gst_query_new_duration), (gst_query_set_duration),
706 (gst_query_parse_duration), (gst_query_set_segment),
707 (gst_query_parse_segment):
709 Bundling query position/duration is not a good idea since duration
710 does not change much and we don't want to recalculate it for every
711 position query, so they are separated again..
712 Base value in segment query is not needed.
714 * gst/gstqueue.c: (gst_queue_handle_src_query):
715 * gst/gstutils.c: (gst_element_query_position),
716 (gst_element_query_duration), (gst_pad_query_position),
717 (gst_pad_query_duration):
719 Updates for query API change.
720 Added some docs here and there.
722 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
724 * check/gst/gstbin.c: (GST_START_TEST):
725 * check/gst/gstghostpad.c: (GST_START_TEST):
726 * check/pipelines/cleanup.c: (GST_START_TEST):
727 wait on thread to die so we can check refcount correctly
729 2005-10-18 Wim Taymans <wim@fluendo.com>
731 * check/pipelines/stress.c: (GST_START_TEST):
732 Make check a little more time consuming.
734 2005-10-18 Wim Taymans <wim@fluendo.com>
737 * check/pipelines/stress.c: (GST_START_TEST),
738 (simple_launch_lines_suite), (main):
739 Small state change torture test.
741 * docs/design/part-states.txt:
742 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
743 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
744 (gst_base_sink_change_state):
745 Never take state lock from streaming thread, clean up ugly
746 hacks. Unfortunatly core does not yet support nice ways to
749 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
751 Start state recalc if a STATE_DIRTY message is posted, but only
754 * gst/gstelement.c: (gst_element_sync_state_with_parent),
755 (gst_element_get_state_func), (gst_element_abort_state),
756 (gst_element_commit_state), (gst_element_lost_state),
757 (gst_element_set_state_func), (gst_element_change_state):
759 State variables are now protected with the LOCK, the state
760 lock is only used to serialize _set_state().
762 2005-10-18 Wim Taymans <wim@fluendo.com>
764 * check/gst/gstbin.c: (GST_START_TEST):
765 * check/gst/gstmessage.c: (GST_START_TEST):
766 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
767 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
769 * gst/gstelement.c: (gst_element_abort_state),
770 (gst_element_commit_state), (gst_element_lost_state):
771 * gst/gstmessage.c: (gst_message_new_state_changed),
772 (gst_message_new_state_dirty), (gst_message_new_segment_start),
773 (gst_message_new_segment_done), (gst_message_new_duration),
774 (gst_message_parse_state_changed),
775 (gst_message_parse_segment_start),
776 (gst_message_parse_segment_done), (gst_message_parse_duration):
778 * tools/gst-launch.c: (event_loop):
779 Seriously, this is better than a previous commit as we only need
780 to notify the fact that an element changed state in a streaming
781 thread, marking the state of the parents dirty, hence the
782 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
785 2005-10-18 Wim Taymans <wim@fluendo.com>
787 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
788 (gst_bin_recalc_func):
789 * gst/gstelement.c: (gst_element_set_clock),
790 (gst_element_abort_state), (gst_element_lost_state):
791 Cleanups, prepare for state change fixes.
793 2005-10-18 Wim Taymans <wim@fluendo.com>
796 * gst/gstelement.c: (gst_element_class_init),
797 (gst_element_set_state), (gst_element_set_state_func):
800 GThreadPool in GstBinClass to monitor async state changes.
801 state_cookie in GstElement to detect concurrent gst/set state.
802 set_state is now virtual too in case a very complicated element
803 has to be constructed.
805 2005-10-18 Wim Taymans <wim@fluendo.com>
807 * check/gst/gstbin.c: (GST_START_TEST):
808 * check/gst/gstmessage.c: (GST_START_TEST):
809 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
810 * gst/gstbin.c: (bin_bus_handler):
811 * gst/gstelement.c: (gst_element_commit_state),
812 (gst_element_lost_state):
813 * gst/gstmessage.c: (gst_message_new_state_changed),
814 (gst_message_new_segment_start), (gst_message_new_segment_done),
815 (gst_message_new_duration), (gst_message_parse_state_changed),
816 (gst_message_parse_segment_start),
817 (gst_message_parse_segment_done), (gst_message_parse_duration):
819 * tools/gst-launch.c: (event_loop):
820 Make messages future proof.
821 state-change gets a flag if it was a message comming from the
823 segment-start/stop can also be specified in other formats.
824 A message to notify an app that a pipeline changed playback
826 Also fix a GstMessage leak in -launch
828 2005-10-18 Andy Wingo <wingo@pobox.com>
830 * gst/gstelement.c (gst_element_dispose): More helpful message.
832 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
834 * gst/gstregistry.c: (gst_registry_scan_path_level):
835 unref a plug-in we get that was already initialized
837 2005-10-18 Stefan Kost <ensonic@users.sf.net>
839 * docs/gst/gstreamer-sections.txt:
840 * docs/libs/gstreamer-libs-sections.txt:
845 2005-10-17 Andy Wingo <wingo@pobox.com>
847 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
850 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
852 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
854 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
855 (gst_element_get_state_func): Better debug message.
856 (gst_element_commit_state): s/INFO/DEBUG/.
857 (gst_element_lost_state, gst_element_change_state):
859 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
860 (gst_message_new_custom): s/INFO/LOG/.
862 2005-10-17 Michael Smith <msmith@fluendo.com>
864 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
865 Check if end time is valid using end time, not start time.
867 2005-10-17 Stefan Kost <ensonic@users.sf.net>
869 * check/gst-libs/controller.c: (GST_START_TEST),
870 (gst_controller_suite):
871 * libs/gst/controller/gstcontroller.c:
872 (gst_controlled_property_set_interpolation_mode):
873 * libs/gst/controller/gstcontroller.h:
874 * libs/gst/controller/gstinterpolation.c:
875 * testsuite/controller/.cvsignore:
876 * testsuite/controller/Makefile.am:
877 * testsuite/controller/interpolator.c:
878 merge controller testsuites
880 remove mem-chunk from docs
882 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
886 * gst/gsttrashstack.c:
887 * gst/gsttrashstack.h:
888 out. get out. you're fired. to the Attic !
890 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
892 * gst/gstcaps.c: (gst_caps_intersect):
893 fix signedness issues in a (hopefully) correct way
894 * gst/gstelement.c: (gst_element_pads_activate):
896 * gst/gstobject.c: (gst_object_set_parent):
899 2005-10-17 Julien MOUTTE <julien@moutte.net>
901 * gst/gstvalue.h: Fix prototypes.
903 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
905 * docs/gst/gstreamer-sections.txt:
906 * gst/gst.c: (gst_version_string):
908 * gst/gstversion.h.in:
909 * win32/common/libgstreamer.def:
910 add gst_version_string ()
912 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
916 * gst/gst.c: (init_post):
917 * win32/common/config.h.in:
919 * gst/gstcaps.c: (gst_caps_intersect):
920 use gint64, the range could be bigger than a guint
922 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
925 document potential problem in 2038
927 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
929 * gst/gstcaps.c: (gst_caps_intersect):
930 Fix guint j diving under 0
932 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
935 * win32/common/config.h:
936 * win32/common/config.h.in:
937 check for process.h, declares getpid() on Windows
939 include process.h if we have it
940 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
942 fix signedness issues
943 * win32/common/libgstreamer.def:
946 2005-10-16 Julien MOUTTE <julien@moutte.net>
948 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
949 fix. Because of unsigned ints, caps intersection was going nuts and
950 trying to access structures with G_MAXUINT index. That fixes
951 videotestsrc ! ffmpegcolorspace ! fakesink
952 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
955 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
958 use the gettext macro
959 * gst/elements/gstelements.c:
961 * gst/indexers/gstindexers.c:
962 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
963 * win32/common/config.h:
965 * win32/common/config.h.in:
966 add the template to generate config.h
967 * win32/common/gstenumtypes.c:
968 * win32/common/gstversion.h:
971 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
973 * gst/gst.c: (gst_version):
974 * gst/gstversion.h.in:
977 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
980 Oops, add missing closing bracket.
982 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
985 use common m4's for argument checking
987 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
989 * docs/gst/gstreamer-sections.txt:
991 Add GST_EVENT_TYPE_NAME() macro.
993 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
996 * gst/gstpluginfeature.c:
998 privatize more symbols
1000 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1003 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1004 everything that uses GStreamer API should have the includes
1006 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1008 * docs/gst/gstreamer-sections.txt:
1009 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1011 give each value a _get_type, removes the DATA exports
1013 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1017 remove _gst_registry_auto_load, not used anymore
1018 * gst/gstbin.c: (gst_bin_get_type):
1020 * gst/gstelement.c: (gst_element_get_type):
1022 * gst/gstobject.c: (gst_object_get_type):
1024 * gst/gstpad.c: (gst_pad_get_type):
1026 make _get_type functions similar, fixes data export from library
1028 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1031 correctly make conditionals
1032 * gst/elements/Makefile.am:
1033 * gst/elements/gstelements.c:
1034 fix typo causing fdsrc not to build
1036 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1038 * testsuite/Makefile.am:
1039 * testsuite/bytestream/.cvsignore:
1040 * testsuite/bytestream/Makefile.am:
1041 * testsuite/bytestream/filepadsink.c:
1042 * testsuite/bytestream/gstbstest.c:
1043 * testsuite/bytestream/test1.c:
1044 * testsuite/bytestream/testfile1:
1045 * testsuite/caps/normalisation.c:
1046 * testsuite/caps/random.c: (main):
1047 * testsuite/cleanup/.cvsignore:
1048 * testsuite/cleanup/Makefile.am:
1049 * testsuite/cleanup/cleanup1.c:
1050 * testsuite/cleanup/cleanup2.c:
1051 * testsuite/cleanup/cleanup3.c:
1052 * testsuite/cleanup/cleanup4.c:
1053 * testsuite/cleanup/cleanup5.c:
1054 * testsuite/controller/interpolator.c:
1055 * testsuite/debug/printf_extension.c: (main):
1056 * testsuite/elements/tee.c:
1057 * testsuite/negotiation/.cvsignore:
1058 * testsuite/negotiation/Makefile.am:
1059 * testsuite/negotiation/pad_link.c:
1060 * testsuite/pad/Makefile.am:
1061 * testsuite/pad/chainnopull.c:
1062 * testsuite/pad/getnopush.c:
1063 * testsuite/pad/link.c:
1064 * testsuite/refcounting/sched.c: (create_pipeline):
1065 * testsuite/registry/Makefile.am:
1066 * testsuite/registry/gst-print-formats.c:
1067 * testsuite/schedulers/.cvsignore:
1068 * testsuite/schedulers/142183-2.c:
1069 * testsuite/schedulers/142183.c:
1070 * testsuite/schedulers/143777-2.c:
1071 * testsuite/schedulers/143777.c:
1072 * testsuite/schedulers/147713.c:
1073 * testsuite/schedulers/147819.c:
1074 * testsuite/schedulers/147894-2.c:
1075 * testsuite/schedulers/147894.c:
1076 * testsuite/schedulers/Makefile.am:
1077 * testsuite/schedulers/group_link.c:
1078 * testsuite/schedulers/queue_link.c:
1079 * testsuite/schedulers/relink.c:
1080 * testsuite/schedulers/unlink.c:
1081 * testsuite/schedulers/unref.c:
1082 * testsuite/schedulers/useless_iteration.c:
1083 * testsuite/states/bin.c:
1084 clean out/remove some stuff from the testsuite directories
1086 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1089 check for some headers
1090 * gst/elements/Makefile.am:
1091 * gst/elements/gstelements.c:
1092 don't compile fdsrc without sys/socket.h
1093 * gst/indexers/Makefile.am:
1094 * gst/indexers/gstindexers.c: (plugin_init):
1095 don't compile fileindex without mmap
1097 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1104 * check/Makefile.am:
1105 * docs/gst/Makefile.am:
1106 * examples/helloworld/Makefile.am:
1108 * gst/base/Makefile.am:
1109 * gst/check/Makefile.am:
1110 * gst/elements/Makefile.am:
1111 * gst/indexers/Makefile.am:
1112 * gst/parse/Makefile.am:
1113 * libs/gst/controller/Makefile.am:
1114 * libs/gst/dataprotocol/Makefile.am:
1115 * examples/helloworld/helloworld.c: (event_loop):
1116 compile fixes, though it's not being compiled currently
1118 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1120 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1121 Add some simple tests for the new taglist date API.
1123 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1125 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1126 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1127 Beautify 'last-message' output: print 'none' for buffer timestamps
1128 and durations if none is set; improve alignment with next messages.
1130 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1132 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1133 * gst/gstpluginfeature.h:
1134 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1135 * gst/gstregistry.h:
1136 * docs/gst/gstreamer-sections.txt:
1137 Add new API to check plugin feature version requirements.
1139 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1140 Some basic tests for the above.
1142 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1144 * gst/gststructure.c: (gst_structure_to_string):
1145 guard against NULL printf - happens when for example
1146 a message structure with GstClock gets serialized
1148 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1150 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1151 Fix presumable copy'n'pasto.
1153 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1155 * gst/elements/gstfakesrc.h:
1156 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1157 * gst/elements/gsttypefindelement.c:
1159 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1160 I wonder if this could actually write +2GB files before
1162 2005-10-13 Andy Wingo <wingo@pobox.com>
1164 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1165 Fix Timmeke Waymans bug.
1166 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1167 string of the proper length to gst_caps_from_string. There's a
1168 potential for, before this fix, that this could cause someone
1169 connecting over the network to cause a segfault if the payload is
1172 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1174 * docs/design/draft-push-pull.txt:
1175 * docs/design/part-overview.txt:
1176 * docs/random/TODO-pre-0.9:
1177 * docs/random/old/ChangeLog.gstreamer:
1178 * gst/base/gstpushsrc.c:
1182 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1184 * gst/glib-compat.c: (gst_flags_get_first_value):
1185 * gst/glib-compat.h:
1186 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1187 (gst_value_compare_double), (gst_value_serialize_flags):
1188 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1191 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1193 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1194 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1196 * tools/gst-launch.c: (event_loop):
1197 print out clock nicely
1199 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1201 * docs/gst/gstreamer-sections.txt:
1203 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1204 (gst_tag_list_get_date_index):
1205 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1206 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1208 2005-10-13 Julien MOUTTE <julien@moutte.net>
1210 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1211 (gst_collectpads_chain):
1212 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1215 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1217 * docs/gst/gstreamer-sections.txt:
1220 * tools/gst-inspect.c: (main):
1221 * tools/gst-launch.c: (main):
1222 * tools/gst-run.c: (main):
1223 * tools/gst-xmlinspect.c: (main):
1224 fix GOption context leaks
1227 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1231 * win32/common/config.h:
1233 * win32/vs6/grammar.dsp:
1234 * win32/vs6/libgstelements.dsp:
1235 * win32/vs6/libgstreamer.dsp:
1238 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1241 * gst/base/gstbasesrc.c: (gst_base_src_query):
1242 fix more guint64<->gdouble conversions
1244 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1247 add win32-update target
1248 * win32/common/gstconfig.h:
1249 * win32/common/gstenumtypes.c:
1250 * win32/common/gstenumtypes.h:
1251 * win32/common/gstversion.h:
1252 add files that visual studio can't generate
1254 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1257 add a win32-update target
1260 2005-10-12 Wim Taymans <wim@fluendo.com>
1262 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1263 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1264 * gst/gstelement.c: (gst_element_commit_state),
1265 (gst_element_set_state):
1266 Protect flags with proper lock.
1267 unref provided cached clock in dispose.
1269 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1272 * gst/gstminiobject.h:
1274 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1275 removed unused flags from miniobject
1278 2005-10-12 Wim Taymans <wim@fluendo.com>
1280 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1281 (gst_file_sink_event), (gst_file_sink_render):
1282 Flush before seeking.
1284 2005-10-12 Andy Wingo <wingo@pobox.com>
1286 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1287 always been the case.
1289 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1291 * check/gst/gstbin.c: (GST_START_TEST):
1292 * docs/gst/gstreamer-sections.txt:
1293 * gst/base/gstbasesink.c: (gst_base_sink_init):
1294 * gst/base/gstbasesrc.c: (gst_base_src_init),
1295 (gst_base_src_get_range), (gst_base_src_check_get_range),
1296 (gst_base_src_start), (gst_base_src_stop):
1297 * gst/base/gstbasesrc.h:
1298 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
1299 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1300 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
1304 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
1306 * gst/gstelement.c: (gst_element_is_locked_state),
1307 (gst_element_set_locked_state), (gst_element_commit_state),
1308 (gst_element_set_state):
1310 * gst/gstindex.c: (gst_index_init):
1312 * gst/gstminiobject.h:
1313 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
1314 (gst_object_set_parent):
1316 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
1317 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
1319 * gst/gstpadtemplate.h:
1320 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
1321 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
1322 * gst/gstpipeline.h:
1323 * gst/indexers/gstfileindex.c: (gst_file_index_load),
1324 (gst_file_index_commit):
1325 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
1326 * testsuite/pad/link.c: (gst_test_src_init),
1327 (gst_test_filter_init), (gst_test_sink_init):
1328 * testsuite/states/locked.c: (main):
1329 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
1330 moved bitshift from macro to enum definition
1332 2005-10-12 Wim Taymans <wim@fluendo.com>
1334 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
1335 * gst/elements/gstfilesink.c: (gst_file_sink_event),
1336 (gst_file_sink_render):
1337 Some more debugging info.
1339 2005-10-12 Wim Taymans <wim@fluendo.com>
1341 * docs/design/part-states.txt:
1342 * tools/gst-launch.c: (main):
1344 Revert non-intentional change.
1346 2005-10-12 Wim Taymans <wim@fluendo.com>
1348 * check/gst/gstbin.c: (GST_START_TEST):
1349 * check/gst/gstelement.c: (GST_START_TEST):
1350 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
1351 * check/gst/gstghostpad.c: (GST_START_TEST):
1352 * check/gst/gstpipeline.c: (GST_START_TEST):
1353 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1354 * check/states/sinks.c: (GST_START_TEST):
1355 * gst/elements/gsttypefindelement.c: (stop_typefinding):
1356 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1357 (gst_bin_remove_func), (gst_bin_get_state_func),
1358 (gst_bin_recalc_state), (gst_bin_change_state_func),
1360 * gst/gstelement.c: (gst_element_get_state_func),
1361 (gst_element_get_state), (gst_element_abort_state),
1362 (gst_element_commit_state), (gst_element_set_state),
1363 (gst_element_change_state), (gst_element_change_state_func):
1365 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
1366 (gst_pipeline_provide_clock_func):
1367 * gst/gstutils.c: (gst_element_link_pads_filtered):
1368 * tools/gst-launch.c: (main):
1369 * tools/gst-typefind.c: (main):
1370 Use GstClockTime in _get_state() instead of GTimeVal.
1371 Remove old code in gstutils.c
1373 2005-10-12 Andy Wingo <wingo@pobox.com>
1375 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
1378 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
1379 there is no task. Shouldn't affect any code, as nothing in our
1380 plugins checks this return value.
1381 (gst_pad_stop_task): Also take the stream lock if the pad has no
1384 2005-10-12 Wim Taymans <wim@fluendo.com>
1386 * gst/gstpad.c: (pre_activate), (post_activate),
1387 (gst_pad_activate_pull), (gst_pad_activate_push):
1388 Cleanup activation code. Reset old state if
1391 2005-10-12 Wim Taymans <wim@fluendo.com>
1393 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1394 (gst_base_sink_change_state):
1395 No need to prerol after receiving EOS.
1397 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
1398 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
1399 * gst/elements/gstidentity.c: (gst_identity_event):
1400 Print events more verbosely.
1402 2005-10-12 Wim Taymans <wim@fluendo.com>
1404 * check/Makefile.am:
1405 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
1406 * check/states/sinks2.c:
1407 Moved sinks2 testcode in sinks check.
1409 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
1410 (gst_bin_remove_func), (gst_bin_recalc_state),
1411 (gst_bin_change_state_func), (bin_bus_handler):
1412 Fix potential race condition when _get_state() iterated over an
1413 ASYNC element right before it posted a state completion.
1416 Do proper cast here.
1418 * gst/gstevent.c: (gst_event_new_newsegment),
1419 (gst_event_parse_newsegment):
1420 A playback rate of 0.0 is not allowed.
1422 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1424 * win32/common/config.h:
1425 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
1426 (_trewinddir), (_ttelldir), (_tseekdir):
1427 * win32/common/dirent.h:
1428 * win32/common/gtchar.h:
1429 * win32/common/libgstbase.def:
1430 * win32/common/libgstreamer.def:
1431 * win32/vs6/grammar.dsp:
1432 * win32/vs6/gst_inspect.dsp:
1433 * win32/vs6/gst_launch.dsp:
1434 * win32/vs6/gstreamer.dsw:
1435 * win32/vs6/libgstbase.dsp:
1436 * win32/vs6/libgstelements.dsp:
1437 * win32/vs6/libgstreamer.dsp:
1438 Visual Studio 6 project files, and a new common directory.
1441 2005-10-11 Wim Taymans <wim@fluendo.com>
1443 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1444 (gst_base_sink_do_sync), (gst_base_sink_query),
1445 (gst_base_sink_change_state):
1446 * gst/base/gstbasesink.h:
1447 Correctly parse newsegment info.
1449 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1451 * gst/gst.c: (init_post):
1452 split plugin paths correctly
1454 2005-10-11 Wim Taymans <wim@fluendo.com>
1456 * check/gst/gstevent.c: (GST_START_TEST):
1457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1458 (gst_base_sink_change_state):
1459 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
1460 * gst/base/gstbasetransform.c: (gst_base_transform_event):
1461 * gst/elements/gstfilesink.c: (gst_file_sink_event):
1462 * gst/gstevent.c: (gst_event_new_newsegment),
1463 (gst_event_parse_newsegment):
1465 Added extra flag to newsegment for future API freeze.
1466 Updated check and base elements.
1468 2005-10-11 Julien MOUTTE <julien@moutte.net>
1470 * gst/base/gstcollectpads.c: (gst_collectpads_init),
1471 (gst_collectpads_add_pad), (gst_collectpads_pop),
1472 (gst_collectpads_event), (gst_collectpads_chain):
1473 * gst/base/gstcollectpads.h: Handle EOS correctly.
1475 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1477 * tools/gst-launch.c: (main):
1478 more null protecting
1480 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1482 * gst/gst-i18n-lib.h:
1483 check for ENABLE_NLS, not GETTEXT_PACKAGE
1484 * gst/gstregistry.c: (gst_registry_add_plugin),
1485 (gst_registry_scan_path_level),
1486 (_gst_registry_remove_cache_plugins):
1487 protect possibly NULL strings
1488 * gst/parse/types.h:
1489 config.h already included before
1490 * tools/gst-inspect.c: (main):
1491 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
1492 check for ENABLE_NLS, not GETTEXT_PACKAGE
1493 * tools/gst-launch.c: (main):
1494 check for ENABLE_NLS, not GETTEXT_PACKAGE
1496 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1499 if we don't have glib, fail before testing 2.8
1500 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
1501 fix a leak, should fix plugins-base testsuite
1503 2005-10-11 Andy Wingo <wingo@pobox.com>
1505 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
1506 take the mode we're going to as an arg. Go head and set the mode
1507 and flushing flags now, so that if the activate function starts a
1508 thread all the flags will be in the right state.
1509 (post_activate): Renamed also. Just handle making sure streaming
1510 finishes for the deactivation case, and setting the deactivated
1512 (gst_pad_set_active): Complain loudly if deactivation fails.
1513 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
1514 (gst_pad_activate_push): Adapt to pre/post_activate changes,
1515 remove the terrible hack.
1517 2005-10-11 Wim Taymans <wim@fluendo.com>
1519 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1520 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
1521 (gst_bin_recalc_state), (gst_bin_change_state_func),
1522 (gst_bin_dispose), (bin_bus_handler):
1524 Prepare to make current EOS message queue more generic.
1527 * gst/gstevent.c: (gst_event_new_newsegment),
1528 (gst_event_parse_newsegment):
1530 Rename base to stream_time.
1535 2005-10-11 Wim Taymans <wim@fluendo.com>
1537 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
1538 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
1539 (gst_bin_change_state_func), (bin_bus_handler):
1541 Work on proper clock selection.
1543 2005-10-11 Edward Hervey <edward@fluendo.com>
1545 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
1546 * libs/gst/controller/gstcontroller.h:
1547 Added GList* version of _remove_properties() in order to be able to wrap
1550 2005-10-11 Wim Taymans <wim@fluendo.com>
1552 * docs/design/part-states.txt:
1555 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
1556 (gst_bin_change_state_func), (bin_bus_handler):
1557 Doc updates. Don't distribute the same clock over and over again.
1563 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
1564 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
1565 (gst_pad_send_event):
1567 Make probe emission threadsafe again.
1568 Register quarks and move _get_name() from utils.
1571 * gst/gstpipeline.c: (gst_pipeline_class_init),
1572 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1573 Only redistribute the clock of it changed.
1575 * gst/gstsystemclock.h:
1580 Moved the _flow_get_name() to GstPad.
1582 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1584 * check/gst-libs/gdp.c: (GST_START_TEST):
1585 * check/gst/gstcaps.c: (GST_START_TEST):
1586 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
1587 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
1588 (gst_dp_packet_from_caps):
1589 fix more valgrind warnings before turning up the heat
1591 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
1593 * gst/parse/grammar.y:
1594 some cleanup before the hacking
1596 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1598 * gst/base/gstbasesrc.c: (gst_base_src_query):
1600 * gst/gstutils.c: (gst_guint64_to_gdouble),
1601 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
1603 externalize, basesrc uses it
1604 obviously the implementation needs testing
1606 2005-10-10 Wim Taymans <wim@fluendo.com>
1608 * tests/sched/Makefile.am:
1609 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
1610 (make_pipeline3), (make_pipeline4), (print_elem), (main):
1612 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1614 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
1615 apparently converting from guint64 to double is not implemented
1618 2005-10-10 Wim Taymans <wim@fluendo.com>
1620 * check/Makefile.am:
1621 * check/generic/states.c: (GST_START_TEST):
1622 * check/gst/gstbin.c: (GST_START_TEST):
1623 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1624 * check/states/sinks.c: (GST_START_TEST):
1625 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
1627 Check fixes, use API as stated in design docs, remove hacks.
1629 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1630 (gst_base_sink_change_state):
1631 Catch stopping our task while we're shutting down.
1633 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
1634 (gst_bin_remove_func), (gst_bin_get_state_func),
1635 (gst_bin_recalc_state), (gst_bin_change_state_func),
1638 * gst/gstelement.c: (gst_element_init),
1639 (gst_element_get_state_func), (gst_element_abort_state),
1640 (gst_element_commit_state), (gst_element_lost_state),
1641 (gst_element_set_state), (gst_element_change_state),
1642 (gst_element_change_state_func):
1644 New state change algorithm (see #318116)
1646 * gst/gstpipeline.c: (gst_pipeline_class_init),
1647 (gst_pipeline_init), (gst_pipeline_set_property),
1648 (gst_pipeline_get_property), (do_pipeline_seek),
1649 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
1650 * gst/gstpipeline.h:
1651 Remove crude state change hacks.
1656 * tools/gst-launch.c: (main):
1657 Fixes for state change. Needs some more work to fully use the
1660 2005-10-10 Andy Wingo <wingo@pobox.com>
1662 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
1664 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
1665 this flag, but it's not even in GLib 2.6. Odd. Hack around the
1668 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1670 * gst/gstiterator.c: (gst_iterator_new):
1671 Fix my previous commit: GTypes passed to gst_iterator_new()
1672 can be fundamental types.
1674 2005-10-10 Wim Taymans <wim@fluendo.com>
1676 * gst/gstelement.c: (gst_element_iterate_pad_list),
1677 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
1678 (gst_element_iterate_sink_pads):
1679 Use src/sink pads lists for the respective iterators instead
1682 2005-10-10 Andy Wingo <wingo@pobox.com>
1684 Merged in popt removal + GOption addition patch from Ronald, bug
1687 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
1688 GstElement macros around, remove popt-related symbols, add goption
1691 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
1693 * docs/gst/Makefile.am:
1694 * docs/libs/Makefile.am: No POPT_CFLAGS.
1696 * examples/manual/Makefile.am:
1697 * docs/manual/basics-init.xml: Doc updates with an example.
1699 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1700 (gst_init), (parse_one_option), (parse_goption_arg):
1701 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
1702 bit of hand merging and debugging to get the GOption stuff working
1705 * tests/Makefile.am:
1706 * tools/Makefile.am:
1707 * tools/gst-inspect.c: (main):
1708 * tools/gst-launch.c: (main):
1709 * tools/gst-run.c: (main):
1710 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
1712 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1714 * gst/gstiterator.c: (gst_iterator_new):
1715 Add assertions to make sure passed GType is likely to really
1716 be a GType (as the compiler won't catch it if the size and
1717 GType arguments get mixed up, see #318447).
1719 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
1721 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1723 * gst/gstbin.c: (gst_bin_iterate_sorted):
1724 Pass GType and size arguments to gst_iterator_new() in the right
1725 order (maybe we should make _new() take the GType as first argument
1726 just like _new_list()?) (#318447).
1729 2005-10-10 Wim Taymans <wim@fluendo.com>
1731 * gst/gstelement.c: (gst_element_finalize):
1732 And free the GStaticRecMutex too
1734 2005-10-10 Andy Wingo <wingo@pobox.com>
1736 * gst/gstelement.c (gst_element_init, gst_element_finalize):
1737 Allocate and free the mutex properly.
1739 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
1741 (GstElement): The state_lock is now recursive. Rebuild your
1742 plugins, suckers. Old macros adapted.
1744 * docs/gst/gstreamer-sections.txt: Doc updates.
1747 * gst/gstutils.c (g_static_rec_cond_timed_wait)
1748 (g_static_rec_cond_wait): Ported from state changes patch, while
1749 we wait on bug #317802 to be solved in a well-distributed GLib.
1751 * gst/gstelement.c (gst_element_change_state_func): Renamed from
1752 gst_element_change_state, variable name changes.
1753 (gst_element_change_state): Split out of gst_element_set_state in
1754 preparation for the state change merge. Doesn't pay attention to
1755 the 'transition' argument.
1756 (gst_element_set_state): Updates, hopefully purely cosmetic.
1757 (gst_element_sync_state_with_parent): MT-safety. Ported from the
1759 (gst_element_get_state_func): Renamed from get_state, cosmetic
1762 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1764 * gst/elements/gstelements.c:
1765 * win32/GStreamer.vcproj:
1767 * win32/dirent.c: (_tseekdir):
1768 * win32/gst-inspect.vcproj:
1769 * win32/gst-launch.vcproj:
1770 * win32/gstconfig.h:
1771 * win32/gstelements.vcproj:
1772 * win32/gstenumtypes.c: (gst_object_flags_get_type):
1773 * win32/gstreamer.def:
1775 updates for the win32 build (patch from Sebastien Moutte)
1777 2005-10-10 Andy Wingo <wingo@pobox.com>
1779 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
1780 gst_bin_get_state, cleaned up (but no logic changes).
1781 (bin_element_is_sink): Comment updates.
1782 (sink_iterator_filter): Remove needless cast.
1783 (gst_bin_iterate_sinks): Doc update.
1784 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
1785 cleaned up (but no logic changes).
1787 * check/states/sinks.c (test_src_sink): Cleanups from the state
1789 (test_livesrc_sink): Sync on the state.
1791 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
1792 the state change patch.
1794 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
1797 * check/gst/gstbin.c: Merge in some style fixes and additional
1798 checks from Wim's state change patch.
1800 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
1802 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1803 (gst_type_find_helper):
1804 Check whether we have the requested data already in our list of
1805 cached buffers before pulling a new buffer; also make the buffer
1806 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
1808 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
1813 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
1814 don't use long long, it's not portable. Replacing with
1815 gint64 seems to work; let's hope no skeletons fall out of the closet.
1817 2005-10-10 Andy Wingo <wingo@pobox.com>
1819 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
1821 2005-10-09 Stefan Kost <ensonic@users.sf.net>
1823 * docs/gst/gstreamer-sections.txt:
1828 * gst/gstmessage.c: (gst_message_parse_state_changed):
1831 more docs, fix compilation
1833 2005-10-09 Philippe Khalaf <burger@speedy.org>
1835 Fixed a few forgotten variables on previous commit
1837 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
1839 * gst/base/gsttypefindhelper.c: (helper_find_peek):
1840 Fix evil typefind crasher: getrange() might return a short
1841 buffer at the end of a file, but gst_type_find_peek() must
1842 either return the full data as requested or NULL, but
1843 never a short buffer.
1845 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
1847 * gst/gstmessage.c: (gst_message_new_state_changed),
1848 (gst_message_parse_state_changed):
1850 don't use "new", it's a C++ keyword
1852 2005-10-08 Wim Taymans <wim@fluendo.com>
1854 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
1855 * gst/gstelement.c: (gst_element_post_message):
1856 * gst/gstpipeline.c: (gst_pipeline_change_state):
1857 Small docs and debug updates.
1859 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1861 * docs/gst/gstreamer-sections.txt:
1862 * gst/gstelementfactory.c:
1867 2005-10-08 Wim Taymans <wim@fluendo.com>
1869 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
1870 (gst_bin_dispose), (bin_bus_handler):
1871 Fix typos, add comments.
1872 Clear EOS list when going to PAUSED from any direction and do it
1873 in a threadsafe way.
1874 Get base time in a threadsafe way too.
1875 Fix confusing debug in the change_state function.
1876 Various other small cleanups.
1878 * gst/gstelement.c: (gst_element_post_message):
1879 Fix very verbose bus posting code.
1881 * gst/gstpipeline.c: (gst_pipeline_class_init),
1882 (gst_pipeline_set_property), (gst_pipeline_get_property),
1883 (gst_pipeline_change_state):
1884 Small ARG_ -> PROP_ cleanup
1886 2005-10-08 Wim Taymans <wim@fluendo.com>
1888 * gst/gstbin.c: (is_eos), (bin_bus_handler):
1889 Do a less CPU demanding EOS check because we can.
1891 2005-10-08 Wim Taymans <wim@fluendo.com>
1893 * libs/gst/dataprotocol/dataprotocol.c:
1894 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1895 (gst_dp_packet_from_event):
1896 * libs/gst/dataprotocol/dataprotocol.h:
1897 * libs/gst/dataprotocol/dp-private.h:
1898 It's about time we bump the version number.
1899 Since event types don't fit in the guint8 anymore describing
1900 the payload type, make payload type 16 bits wide.
1902 2005-10-08 Wim Taymans <wim@fluendo.com>
1904 * docs/design/part-TODO.txt:
1905 * docs/design/part-clocks.txt:
1906 * docs/design/part-events.txt:
1907 * docs/design/part-gstbin.txt:
1908 * docs/design/part-gstelement.txt:
1909 * docs/design/part-gstpipeline.txt:
1910 * docs/design/part-live-source.txt:
1911 * docs/design/part-messages.txt:
1912 * docs/design/part-overview.txt:
1913 * docs/design/part-states.txt:
1916 2005-10-08 Wim Taymans <wim@fluendo.com>
1920 Fix event quark registration.
1921 Add some space between events so we can insert them in the
1924 2005-10-08 Wim Taymans <wim@fluendo.com>
1926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1927 (gst_base_sink_handle_buffer):
1934 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
1935 (gst_queue_set_property), (gst_queue_get_property):
1937 Remove old unused properties.
1939 2005-10-08 Stefan Kost <ensonic@users.sf.net>
1940 * docs/gst/gstreamer-sections.txt:
1943 * gst/gstminiobject.c:
1944 * gst/gstminiobject.h:
1948 lots of new docs and doc fixes
1950 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
1952 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
1954 * gst/gstregistry.c: (gst_registry_lookup_locked),
1955 (gst_registry_scan_path_level):
1956 * gst/gstregistryxml.c: (load_plugin):
1957 Only ever load one plugin for a given plugin basename.
1958 This ensures correct overriding of GST_PLUGIN_PATH over
1959 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
1960 system installed plugins.
1962 2005-10-08 Wim Taymans <wim@fluendo.com>
1964 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1965 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
1966 Prepare for doing QOS.
1968 2005-10-08 Wim Taymans <wim@fluendo.com>
1970 * check/gst/gstbin.c: (GST_START_TEST):
1971 * check/pipelines/cleanup.c: (GST_START_TEST):
1972 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1973 Allow new clock message too.
1975 2005-10-08 Wim Taymans <wim@fluendo.com>
1977 * gst/gstmessage.c: (gst_message_new_error),
1978 (gst_message_new_warning), (gst_message_new_tag),
1979 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1980 (gst_message_new_clock_lost), (gst_message_new_new_clock),
1981 (gst_message_new_segment_start), (gst_message_new_segment_done),
1982 (gst_message_parse_state_changed),
1983 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1984 (gst_message_parse_new_clock):
1986 Also carry the clock in question.
1988 2005-10-08 Wim Taymans <wim@fluendo.com>
1990 * gst/gstmessage.c: (gst_message_new_custom),
1991 (gst_message_new_eos), (gst_message_new_error),
1992 (gst_message_new_warning), (gst_message_new_tag),
1993 (gst_message_new_state_changed), (gst_message_new_clock_provide),
1994 (gst_message_new_new_clock), (gst_message_new_segment_start),
1995 (gst_message_new_segment_done), (gst_message_parse_state_changed),
1996 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
1999 Added clock related messages.
2001 * gst/gstpipeline.c: (gst_pipeline_change_state):
2002 Post message when the clock changed.
2004 * tools/gst-launch.c: (event_loop):
2007 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2009 * tools/gst-inspect.c: (print_element_properties_info):
2010 Can't pass NULL strings to g_print() on windows.
2012 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2015 * docs/gst/Makefile.am:
2016 * docs/gst/gstreamer-docs.sgml:
2017 * docs/gst/running.xml:
2018 * docs/version.entities.in:
2019 add a chapter on running GStreamer.
2020 document GST_DEBUG and GST_PLUGIN* env vars
2022 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2027 remove PLUGINS_BUILDDIR stuff
2028 * gst/gst.c: (init_post):
2029 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2031 remove, it was condescending and not needed
2033 2005-10-08 Wim Taymans <wim@fluendo.com>
2035 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2036 (gst_base_sink_handle_object), (gst_base_sink_event),
2037 (gst_base_sink_wait), (gst_base_sink_handle_event),
2038 (gst_base_sink_change_state):
2039 * gst/base/gstbasesink.h:
2040 Repost EOS message while going to PLAYING if still EOS.
2041 Make sure that when receiving a FLUSH_START we don't attempt
2042 to sync on the clock anymore.
2044 2005-10-08 Wim Taymans <wim@fluendo.com>
2046 * tools/gst-launch.c: (event_loop):
2047 Better message printout.
2049 2005-10-08 Wim Taymans <wim@fluendo.com>
2051 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2052 (gst_bin_child_proxy_get_children_count):
2053 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2054 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2055 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2056 (gst_child_proxy_set_valist):
2057 * gst/parse/grammar.y:
2058 Make ChildProxy threadsafe and fix mem leaks.
2060 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2062 * gst/gst.c: (init_post):
2063 debug the GST_PLUGIN_ env vars
2065 2005-10-08 Wim Taymans <wim@fluendo.com>
2067 * check/gst/gstbin.c: (GST_START_TEST):
2068 * check/gst/gstmessage.c: (GST_START_TEST):
2069 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2070 * gst/gstelement.c: (gst_element_commit_state),
2071 (gst_element_lost_state):
2072 * gst/gstmessage.c: (gst_message_new_state_changed),
2073 (gst_message_parse_state_changed):
2075 * tools/gst-launch.c: (event_loop):
2076 Added extra field to STATE_CHANGE message with the pending
2077 state, which will be different from the new state soon.
2079 2005-10-08 Wim Taymans <wim@fluendo.com>
2081 * gst/gstbus.c: (gst_bus_pop):
2083 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2084 Small cleanups and doc updates.
2086 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2088 * gst/gst.c: (init_pre):
2089 * gst/gstbin.c: (gst_bin_add_func):
2090 log distributing clocks and base time
2091 * gst/gstregistry.c: (gst_registry_add_plugin),
2092 (gst_registry_scan_path_level), (gst_registry_scan_path):
2093 clean up the debugging output a little
2094 * gst/gstutils.c: (gst_element_state_get_name):
2095 warn about a memleak (I've actually seen this be used, though
2096 it was probably a bug)
2098 2005-10-07 Wim Taymans <wim@fluendo.com>
2100 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2101 (gst_base_src_init), (gst_base_src_default_newsegment),
2102 (gst_base_src_newsegment), (gst_base_src_do_seek),
2103 (gst_base_src_loop), (gst_base_src_start):
2104 * gst/base/gstbasesrc.h:
2105 Make the newsegment event customizable by subclasses.
2107 2005-10-07 Wim Taymans <wim@fluendo.com>
2109 * gst/gstevent.c: (gst_event_new_buffersize),
2110 (gst_event_parse_buffersize):
2112 New event for future idea.
2114 2005-10-07 Andy Wingo <wingo@pobox.com>
2116 * gst/gstelement.c (gst_element_post_message): Doc update.
2118 * docs/gst/gstreamer-sections.txt: Update.
2120 * gst/gstmessage.c (gst_message_new_application): Made into a
2121 function like honest API calls.
2122 (gst_message_new_element): New message type.
2124 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2126 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2127 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2130 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2131 NO_PREROLL from gst_element_change_state to fall through.
2133 2005-10-07 Wim Taymans <wim@fluendo.com>
2135 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2136 (gst_ghost_pad_do_activate_push):
2137 Activating a ghostpad with no internal pad in push mode
2140 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2143 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2144 Fixes compilation on Windows.
2146 2005-10-07 Michael Smith <msmith@fluendo.com>
2148 * tools/gst-inspect.c:
2149 Print out feature and plugin count at the end when printing out
2152 2005-10-04 Michael Smith <msmith@fluendo.com>
2154 * gst/gsterror.c: (_gst_stream_errors_init):
2155 Add another error string used in a few existing plugins.
2158 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2159 * tools/gst-inspect.c: (print_element_info):
2160 When a feature disappears from a plugin (and the feature exists in
2161 the cached registry file), things went horribly wrong. This isn't a
2162 complete fix, we should actually be removing the 'missing' features
2163 from the features list when we load the actual plugin. That's not
2166 2005-10-04 Johan Dahlin <johan@gnome.org>
2168 * check/gst/gstiterator.c: (GST_START_TEST):
2169 * gst/gstbin.c: (gst_bin_iterate_elements),
2170 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2171 * gst/gstelement.c: (gst_element_iterate_pads):
2172 * gst/gstformat.c: (gst_format_iterate_definitions):
2173 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2174 (gst_iterator_new_list), (gst_iterator_filter):
2175 * gst/gstiterator.h:
2176 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2177 Add a GType to GstIterator, update callsites and tests.
2179 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2181 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2182 give events a chance to be handled by event probes when the pad
2185 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2187 * gst/gstevent.c: (gst_event_type_get_name),
2188 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2190 add string representations for event types
2192 2005-10-06 Wim Taymans <wim@fluendo.com>
2194 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2195 Don't use NULL pointers.
2197 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2199 * gst/gst_private.h:
2203 * gst/gstpluginfeature.c:
2204 widen the debug category in output to fit the biggest one we have
2205 add a bus category and use it
2206 play with the colors
2207 fix up some categories
2209 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2211 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2212 add push activation of sink ghost pads.
2213 Andye, please verify
2215 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2217 * gst/gstutils.c: (gst_element_link_pads):
2218 fix a bug in the case where neither element has a pad
2219 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2220 add a test for that case
2222 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2224 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2225 emit have-data before checking for peers. This allows
2226 for probe handlers to connect elements. This helps autopluggers.
2227 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2229 add six checks, linked/unlinked with no/true/false probe
2231 2005-10-04 Wim Taymans <wim@fluendo.com>
2233 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2234 (gst_fake_sink_event), (gst_fake_sink_preroll),
2235 (gst_fake_sink_render), (gst_fake_sink_change_state):
2236 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2237 (gst_fake_src_get_property), (gst_fake_src_create),
2238 (gst_fake_src_stop):
2239 * gst/elements/gstidentity.c: (gst_identity_stop):
2240 Protect last_message with lock.
2242 2005-10-04 Edward Hervey <edward@fluendo.com>
2245 Added precision in the comments for GST_FORMAT_DEFAULT
2247 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2249 * tools/gst-launch.c: (main):
2250 Don't try to run erroneous pipelines.
2252 2005-10-04 Julien MOUTTE <julien@moutte.net>
2254 * gst/gstbus.c: We don't need this header.
2256 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2261 === release 0.9.3 ===
2263 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2267 Releasing 0.9.3, "Unregistered"
2269 2005-10-03 Andy Wingo <wingo@pobox.com>
2271 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2272 whereby calling a pad's activatepush() function can start a thread
2273 that starts to push or pull before the pad gets the FLUSHING flag
2274 unset. Hack around it by holding the stream lock until the flag is
2275 set. Need to replace this with a proper solution. Together with
2276 the ghost pad fixes, this fixes mp3 playing/tagreading.
2278 * docs/design/part-gstghostpad.txt: Add a note about activation of
2279 proxy pads outside of ghost pads.
2281 * gst/gstghostpad.c: Implement the ghost pad activation design.
2283 2005-10-02 Andy Wingo <wingo@pobox.com>
2285 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2286 It is volatile, after all.
2288 * docs/design/part-gstghostpad.txt: Flesh out activation with
2291 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2294 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2297 Fix (unused) AM_CONDITIONAL tests.
2299 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
2301 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2303 * gst/gstutils.c: (gst_pad_query_convert):
2304 Add assertion that makes sure src_val is >=0, just like
2305 gst_query_new_convert() has. (#315895)
2307 2005-09-30 Edward Hervey <edward@fluendo.com>
2309 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
2310 Let's not iterate pads we're not interested in, it avoids getting
2311 sky-high refcounts on sinkpad.
2313 2005-09-30 Wim Taymans <wim@fluendo.com>
2315 * gst/gstelement.c: (gst_element_set_state),
2316 (gst_element_change_state):
2317 Small tweak, element in ASYNC remains ASYNC.
2319 2005-09-30 Wim Taymans <wim@fluendo.com>
2321 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2322 Only error is an error.
2324 * gst/gstbin.c: (gst_bin_change_state):
2327 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
2328 Also call pad_block in pad alloc.
2330 * gst/gstutils.c: (gst_flow_get_name):
2333 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2335 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2336 (gst_base_src_get_range):
2337 Fix documentation typos. Add some more debug info.
2339 2005-09-29 David Schleef <ds@schleef.org>
2341 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
2342 more end-user friendly.
2343 * tools/gst-inspect.c: (main): Check if command-line argument is
2344 a file and attempt to load that file as a plugin.
2346 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2348 * check/gst/gstbin.c:
2349 * check/states/sinks.c:
2350 fix tests for the new warning
2351 * check/gst/gstpipeline.c:
2352 add a test for pipeline and bus interaction
2354 elements should be NULL if they get disposed; add a warning if not
2356 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2359 for 2.6 refcounting, make debug log more correct by printing
2360 the actual refcounts at the time of swap (Wim)
2362 2005-09-29 Andy Wingo <wingo@pobox.com>
2364 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
2365 removes signal watches previously added via
2366 gst_bus_add_signal_watch.
2367 (gst_bus_add_signal_watch): Don't return the source id, just store
2368 it on the bus if there wasn't an id already.
2370 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
2371 add_signal_watch and remove_signal_watch.
2373 2005-09-29 Edward Hervey <edward@fluendo.com>
2375 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
2376 Better if we actually iterate the list :)
2378 2005-09-29 Wim Taymans <wim@fluendo.com>
2380 * check/gst/gstbin.c: (GST_START_TEST):
2381 Change for new bus API.
2383 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2384 (send_messages), (GST_START_TEST), (gstbus_suite):
2385 Change for new bus signal API.
2387 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
2388 (gst_bus_source_prepare), (gst_bus_source_check),
2389 (gst_bus_create_watch), (gst_bus_add_watch_full),
2390 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
2391 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
2393 Remove support for multiple GSources operating on different
2394 message types as it is too complex and unneeded when using
2396 Added support for receiving signals from the bus.
2398 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
2400 * docs/libs/tmpl/gstdataprotocol.sgml:
2401 * docs/manual/advanced-dataaccess.xml:
2402 * gst/elements/gstcapsfilter.c:
2404 rename filter-caps to caps property
2406 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2408 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2409 More robust fraction string parsing.
2411 * docs/pwg/appendix-porting.xml:
2412 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
2414 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
2416 * gst/gstcaps.c: (gst_caps_do_simplify):
2417 Thou shalt not free a structure and then continue using it
2418 in the next loop iteration.
2420 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
2422 Add test case for caps simplification.
2424 2005-09-29 Wim Taymans <wim@fluendo.com>
2426 * check/gst/gstbin.c: (GST_START_TEST):
2429 2005-09-29 Wim Taymans <wim@fluendo.com>
2431 * check/gst/gstbin.c: (GST_START_TEST):
2434 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2435 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2436 (find_element), (gst_bin_sort_iterator_next),
2437 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2438 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2439 (gst_bin_change_state), (gst_bin_dispose):
2440 A bin does not have a bus, it gets the bus from the parent.
2442 * gst/gstelement.c: (gst_element_requires_clock),
2443 (gst_element_provides_clock), (gst_element_is_indexable),
2444 (gst_element_is_locked_state), (gst_element_change_state),
2445 (gst_element_set_bus_func):
2448 * gst/gstpipeline.c: (gst_pipeline_class_init),
2449 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
2450 The pipeline provides a bus.
2452 2005-09-28 Johan Dahlin <johan@gnome.org>
2454 * gst/gstmessage.c (gst_message_parse_state_changed): Use
2455 gst_structure_get_enum instead of gst_structure_get_int
2457 * gst/gststructure.c (gst_structure_get_enum): Impl.
2459 * gst/gststructure.h (gst_structure_get_enum): Add
2461 * docs/gst/gstreamer-sections.txt: Ditto
2463 * gst/gstmessage.c (gst_message_new_state_changed): Use
2464 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
2465 which does introspection.
2466 Reviewed by Christian Schaller
2468 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2470 * gst/gstinfo.c: (gst_debug_log_default):
2471 don't do dummy g_strdup()s
2472 * libs/gst/controller/gstcontroller.c:
2473 (on_object_controlled_property_changed),
2474 (gst_controlled_property_new), (gst_controller_new_valist),
2475 (gst_controller_new_list),
2476 (gst_controller_remove_properties_valist), (gst_controller_set),
2477 (gst_controller_get), (gst_controller_sync_values),
2478 (gst_controller_get_value_array), (_gst_controller_class_init),
2479 (gst_controller_get_type):
2480 * libs/gst/controller/gstcontroller.h:
2481 * libs/gst/controller/gstinterpolation.c:
2482 (gst_controlled_property_find_timed_value_node):
2483 convert // to /**/ comments
2485 2005-09-28 Wim Taymans <wim@fluendo.com>
2487 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
2488 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
2489 (gst_bus_sync_signal_handler):
2491 Added async-message and sync-message signals to the bus.
2492 Added helper BusFunc to emit signals for all posted messages.
2494 * gst/gstmessage.c: (gst_message_type_get_name),
2495 (gst_message_type_to_quark), (gst_message_get_type):
2497 Register quarks for message names.
2499 2005-09-28 Stefan Kost <ensonic@users.sf.net>
2501 * docs/libs/gstreamer-libs-sections.txt:
2502 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
2503 (gst_controller_new_list):
2504 * libs/gst/controller/gstcontroller.h:
2505 added another constructor for language bindings
2507 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
2509 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2513 * gst/gstinfo.c: (_gst_debug_init):
2514 slightly more readable color for refcount debugging
2516 2005-09-28 Wim Taymans <wim@fluendo.com>
2518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2519 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
2520 (find_element), (gst_bin_sort_iterator_next),
2521 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2522 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2523 (gst_bin_change_state), (gst_bin_dispose):
2524 Small doc fixes. get_clock -> provide_clock.
2526 * gst/gstelement.c: (gst_element_class_init),
2527 (gst_element_provides_clock), (gst_element_provide_clock),
2528 (gst_element_get_clock), (gst_element_commit_state),
2529 (gst_element_lost_state):
2531 Make get/set_clock() symetric. Add provide_clock vmethod since
2532 that is actually what this function does.
2534 * gst/gstpipeline.c: (gst_pipeline_class_init),
2535 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
2536 (gst_pipeline_get_clock):
2537 get_clock -> provide_clock.
2539 2005-09-28 Andy Wingo <wingo@pobox.com>
2541 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
2542 lieu of real docs...
2544 * gst/elements/gstfdsrc.c: Cleaned up a bit.
2546 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
2548 * gst/elements/gstcapsfilter.c:
2549 * gst/elements/gstfakesink.c:
2550 * gst/elements/gstfakesrc.c:
2551 * gst/elements/gstfdsink.c:
2552 * gst/elements/gstfdsrc.c:
2553 * gst/elements/gstfilesink.c:
2554 * gst/elements/gstfilesrc.c:
2555 * gst/elements/gstidentity.c:
2556 * gst/elements/gsttee.c:
2557 * gst/elements/gsttypefindelement.c:
2558 Make element details static.
2560 2005-09-28 Wim Taymans <wim@fluendo.com>
2562 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2563 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2564 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2565 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2566 (gst_bin_change_state), (gst_bin_dispose):
2567 Some documentation updates.
2568 Clean up dispose handlers.
2570 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
2571 * gst/gstpad.c: (gst_pad_dispose):
2572 Clean up dispose handler.
2574 * gst/gstpipeline.c: (gst_pipeline_change_state):
2575 Removed spurious UNLOCK.
2577 2005-09-27 Stefan Kost <ensonic@users.sf.net>
2579 * docs/gst/gstreamer-sections.txt:
2580 * gst/base/gstbasesrc.h:
2585 * gst/gstpipeline.c:
2586 * gst/gstpipeline.h:
2589 added two new functions to the docs
2590 documents all undocumented GstXXXFlags
2591 completed some incomplete docs
2593 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
2595 * gst/gstbin.c: (gst_bin_dispose):
2596 * gst/gstelement.c: (gst_element_dispose):
2597 remove now useless and leaky resurrection code in dispose
2598 * gst/base/gstbasesrc.c: (gst_base_src_init):
2599 * gst/gstelementfactory.c: (gst_element_factory_create):
2600 * gst/gstobject.c: (gst_object_set_parent):
2603 2005-09-27 Wim Taymans <wim@fluendo.com>
2605 * docs/design/part-TODO.txt:
2608 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2609 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2610 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2611 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2612 (gst_bin_change_state):
2614 Remove element variable, we keep element info in the iterator now.
2616 2005-09-27 Andy Wingo <wingo@pobox.com>
2618 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
2621 2005-09-27 Wim Taymans <wim@fluendo.com>
2623 * check/gst/gstbin.c: (GST_START_TEST):
2624 Enable check that works now.
2626 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
2627 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
2628 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
2629 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
2630 (gst_bin_change_state):
2632 Redid the state change algorithm using a topological sort algo.
2633 Handles all cases correctly.
2634 Exposed iterator for state change order.
2637 Temp storage for state changes. Need to get rid of this soon.
2639 2005-09-27 Wim Taymans <wim@fluendo.com>
2641 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
2642 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
2643 (link_fold_func), (gst_pad_proxy_setcaps):
2644 Leak fixes, the fold functions need to unref the passed object and
2645 _get_parent_*() returns ref to parent.
2647 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2649 * check/gst/gstbuffer.c: (test_make_writable):
2650 Plug leak in test case and fix 'make check-valgrind'
2652 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2654 * gst/gstbuffer.c: (gst_subbuffer_init):
2655 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
2656 works correctly in all circumstances (we could have just copied
2657 the parent buffer's readonly flag, but conceptually it seems
2658 cleaner to mark all subbuffers as read-only). (based on patch
2659 by Alessandro Decina, #314710).
2661 * check/gst/gstbuffer.c: (create_read_only_buffer),
2662 (test_make_writable), (test_subbuffer_make_writable),
2664 Add some tests for gst_buffer_make_writable().
2666 2005-09-27 Wim Taymans <wim@fluendo.com>
2668 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
2669 use gst_object_has_ancestor().
2671 * gst/gstobject.c: (gst_object_has_ancestor):
2673 gst_object_has_ancestor() copied from gstbin.c as it is a
2676 * tests/instantiate/create.c: (create_all_elements):
2677 * tests/lat.c: (handoff_src), (handoff_sink):
2678 * tests/sched/runxml.c: (main):
2679 * tests/seeking/seeking1.c: (main):
2680 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2682 Fix compilation of some tests.
2684 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
2687 Remove comment. GST_TYPE_G_ERROR is here to stay,
2688 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
2691 2005-09-26 Wim Taymans <wim@fluendo.com>
2693 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2694 Added check that shows error in state change order.
2696 2005-09-26 Wim Taymans <wim@fluendo.com>
2698 * gst/gstbin.c: (gst_bin_change_state):
2699 Make state change function use 3 queues again, we were
2700 adding elements in the wrong order.
2702 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
2705 * gst/gstpad.c: (gst_pad_dispose):
2706 Added some debug info first.
2708 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
2710 * docs/design/draft-push-pull.txt:
2711 * docs/design/part-events.txt:
2712 * docs/design/part-overview.txt:
2713 * docs/design/part-scheduling.txt:
2714 Replace all _pull_region() with _pull_range()
2716 2005-09-26 Andy Wingo <wingo@pobox.com>
2718 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
2720 * check/gst-libs/controller.c: Update for controller api change.
2723 * tests/Makefile.am:
2724 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
2725 over by GLib bug 118439.
2727 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
2728 routines to a function.
2730 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
2732 * libs/gst/controller/gsthelper.c:
2733 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
2734 (gst_object_sync_values): Renamed from sink_values. Ugh.
2736 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
2738 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
2739 Renamed from controller_key, as it is exported.
2741 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
2743 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
2748 * gst/gstpadtemplate.h:
2751 * gst/gstqueryutils.c:
2752 * gst/gstqueryutils.h:
2753 remove queryutils headers after moving the two used functions
2754 to gstquery. also fixes build problem for gstsiddec
2756 2005-09-26 Michael Smith <msmith@fluendo.com>
2758 * tools/gst-launch.1.in:
2759 Correct documentation in manpage of debug syntax
2761 2005-09-26 Wim Taymans <wim@fluendo.com>
2763 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
2764 (gst_base_src_is_seekable), (gst_base_src_change_state):
2765 Some more debugging info.
2767 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2769 * docs/gst/gstreamer-sections.txt:
2770 * gst/base/gstbasetransform.h:
2774 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2776 * docs/gst/.cvsignore:
2777 * docs/gst/tmpl/.cvsignore:
2778 * docs/gst/tmpl/gstpipeline.sgml:
2779 * docs/gst/tmpl/gstplugin.sgml:
2780 * gst/gstpipeline.c:
2783 inlined the last two docs files
2784 removed the tmpl directory from cvs (no more conflicts here!)
2786 2005-09-25 Stefan Kost <ensonic@users.sf.net>
2788 * docs/gst/gstreamer-sections.txt:
2789 * docs/gst/tmpl/.cvsignore:
2790 * docs/gst/tmpl/gstpad.sgml:
2791 * docs/gst/tmpl/gstpadtemplate.sgml:
2793 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
2794 (gst_pad_finalize), (gst_pad_set_pad_template):
2796 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2797 (gst_pad_template_class_init), (gst_pad_template_init),
2798 (gst_pad_template_dispose), (name_is_valid),
2799 (gst_static_pad_template_get), (gst_pad_template_new),
2800 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
2801 (gst_pad_template_pad_created):
2802 * gst/gstpadtemplate.h:
2803 inlined two more docs
2804 factored gstpadtemplate out of gstpad
2806 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
2808 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2809 (test_children_state_change_order_semi_sink):
2810 Fix test case: we can't rely on a fixed state change order when
2811 going from READY => PAUSED because the sink might commit its
2812 new state first when the first buffer created by the source
2813 reaches the sink before the source has finished its change state.
2814 (Test case still fails at times, see #316856, comment 5 onwards)
2816 2005-09-24 Wim Taymans <wim@fluendo.com>
2818 * docs/design/part-events.txt:
2819 * docs/design/part-gstbus.txt:
2820 * docs/design/part-gstpipeline.txt:
2821 * docs/design/part-messages.txt:
2822 * docs/design/part-overview.txt:
2823 * docs/design/part-segments.txt:
2830 * gst/gstiterator.c:
2831 Various documentation updates.
2833 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
2836 Well, that's embarassing. Luckily we weren't using
2837 GST_CLOCK_DIFF anywhere.
2839 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2841 * common/gtk-doc.mak:
2842 don't fail on building XML, FC4 slave shows a bunch of doc
2843 missing bits that I don't get
2845 * gst/gstpipeline.c:
2846 * gst/gststructure.c:
2849 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2851 * docs/design/part-gstbin.txt:
2852 * docs/design/part-gstbus.txt:
2854 Add blurb about how the bus goes into flushing mode and
2855 drops all messages when its bin goes from READY into NULL
2858 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2860 * docs/gst/gstreamer-sections.txt:
2861 * gst/gststructure.c: (gst_structure_get_clock_time):
2862 * gst/gststructure.h:
2863 add a method to get a GstClockTime out of a structure
2865 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
2867 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
2868 (test_children_state_change_order_semi_sink), (gst_bin_suite):
2869 Added test to check state change order in bins (can still be made
2870 to fail here under heavy disk load; bails out with 'Push on pad
2871 fakesink:sink0, but it was not activated in push mode').
2873 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
2874 Fix state change order when there is only a semi sink (#316856)
2876 * gst/gstbus.c: (gst_bus_class_init):
2877 Use _class_peek_parent(), not _class_ref(); fix docs to say
2878 'default main context' instead of 'mainloop' where that is
2881 * gst/gstelement.c: (gst_element_commit_state),
2882 (gst_element_set_state):
2883 Fix typos in debug messages
2885 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2888 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
2889 * gst/gstpluginfeature.c:
2892 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2893 change an assert into an error until it gets fixed properly
2895 2005-09-23 Stefan Kost <ensonic@users.sf.net>
2897 * docs/gst/gstreamer-sections.txt:
2898 * docs/gst/tmpl/.cvsignore:
2899 * docs/gst/tmpl/gstelement.sgml:
2900 * docs/gst/tmpl/gstinfo.sgml:
2901 * docs/gst/tmpl/gstobject.sgml:
2906 * gst/gstobject.c: (gst_object_class_init):
2908 inlined 3 more biiiig doc files and added some missing docs on the fly
2910 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
2912 * check/gst/.cvsignore:
2913 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
2914 * gst/gstregistryxml.c: (load_plugin),
2915 (gst_registry_xml_save_plugin):
2916 put back source in registry. add checks for find_plugin.
2917 * testsuite/states/bin.c: (assert_state), (empty_bin),
2918 (test_adding_one_element), (main):
2919 * testsuite/states/locked.c: (main):
2920 some compile/run fixes
2922 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
2924 * check/gst/gstvalue.c: (GST_START_TEST):
2925 fix leaks in the test itself
2927 2005-09-22 Wim Taymans <wim@fluendo.com>
2929 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2930 (gst_base_sink_send_event), (gst_base_sink_peer_query),
2931 (gst_base_sink_query):
2932 Prepare for more accurate position reporting and query
2935 * gst/gstelement.c: (gst_element_send_event),
2936 (gst_element_set_state):
2939 2005-09-22 Wim Taymans <wim@fluendo.com>
2941 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
2942 (gst_query_parse_segment):
2945 Add segment query for future use.
2947 2005-09-22 Wim Taymans <wim@fluendo.com>
2949 * gst/gstbin.c: (gst_bin_add_func):
2950 Some more debug info.
2952 * gst/gstelement.c: (gst_element_send_event):
2956 Don't know how flags got broken.
2961 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2963 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
2964 Add simplistic test suite for GST_TYPE_DATE serialisation and
2967 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
2969 * docs/gst/gstreamer-sections.txt:
2970 * gst/gststructure.c: (gst_structure_set_valist),
2971 (gst_structure_get_date):
2972 * gst/gststructure.h:
2973 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
2974 (gst_date_copy), (gst_value_compare_date),
2975 (gst_value_serialize_date), (gst_value_deserialize_date),
2976 (gst_value_transform_date_string),
2977 (gst_value_transform_string_date), (_gst_value_initialize):
2979 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
2980 bunch of utility functions along with a hack that checks that
2981 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
2982 is required. Part of the grand scheme in #170777.
2984 2005-09-22 Andy Wingo <wingo@pobox.com>
2986 * gst/gstconfig.h.in: Psych out gtk-doc.
2988 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
2990 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
2992 * tools/gst-inspect.c (print_element_list): Plug some
2993 inconsequential leaks.
2995 * gst/gstregistry.c (gst_registry_get_default): Doc.
2997 * check/gst/gstplugin.c:
2998 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
2999 * gst/gstelementfactory.c (gst_element_factory_create):
3000 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3003 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3004 (gst_plugin_feature_load): Doc, don't eat refs.
3006 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3007 (gst_plugin_list_free): Doc.
3008 (gst_plugin_load_file): Doc updates.
3010 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3011 accessors returning refcounted objects, return a ref.
3013 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3014 accessor for caps. IDEMPOTENCE. Oh yes.
3016 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3018 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3020 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3021 (_gst_debug_register_funcptr):
3022 Add mutex to serialise access to the hash table with
3023 the function pointer => function name string mapping;
3024 make that hash table static scope (#316809).
3026 * gst/registries/.cvsignore:
3027 Remove left-over file.
3029 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3031 * docs/pwg/appendix-porting.xml:
3032 And something about newsegment events and caps-on-buffers to
3033 the porting guide (feel free to improve).
3035 2005-09-21 Andy Wingo <wingo@pobox.com>
3037 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3038 data and event probes on the same pad.
3039 (test_buffer_probe_once): Test that removing probes from within
3040 the probe functions works.
3042 2005-09-21 Andy Wingo <wingo@pobox.com>
3044 * check/gst/gstutils.c: New file.
3045 (test_buffer_probe_n_times): A simple buffer probe test. More to
3048 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3049 have-data::buffer, not have-data.
3050 (gst_pad_add_event_probe): Likewise for have-data::event.
3051 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3052 peer' isn't quite right yet though.
3053 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3054 (gst_pad_remove_data_probe): Change to take the guint handler_id
3055 as their arg, not the function+data, which is more glib-like.
3057 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3058 the signal emission to indicate if the data is a buffer or an
3060 (gst_pad_get_type): Initialize buffer and event quarks.
3061 (gst_pad_class_init): have-data is now a detailed signal, yes it
3064 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3066 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3067 * gst/gstutils.c: (gst_util_set_value_from_string),
3068 (gst_util_set_object_arg):
3069 Don't put functional code in g_return_if_fail() or
3070 g_return_val_if_fail() statements, otherwise things will
3071 break when G_DISABLE_CHECKS is defined during compilation.
3073 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3075 * docs/gst/tmpl/.cvsignore:
3076 * docs/gst/tmpl/gstvalue.sgml:
3079 inlied another one and added some obvious docs
3081 2005-09-21 Wim Taymans <wim@fluendo.com>
3083 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3084 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3085 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3086 (gst_fdsrc_get_property), (gst_fdsrc_create):
3087 * gst/elements/gstfdsrc.h:
3088 Properly implement fdsrc. Removed signal and timeout,
3089 better implemented somewhere else.
3091 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3093 * docs/gst/tmpl/.cvsignore:
3094 * docs/gst/tmpl/gstimplementsinterface.sgml:
3095 * gst/gstinterface.c:
3098 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3100 * docs/gst/gstreamer-sections.txt:
3101 * docs/gst/tmpl/.cvsignore:
3102 * docs/gst/tmpl/gstenumtypes.sgml:
3103 remove obsolete doc file
3105 2005-09-21 David Schleef <ds@schleef.org>
3107 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3108 little beer, fix a little leak.
3110 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3112 * docs/gst/gstreamer-docs.sgml:
3113 * docs/gst/gstreamer-sections.txt:
3114 * docs/gst/tmpl/.cvsignore:
3119 * gst/gstindex.c: (gst_index_class_init):
3121 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3122 (gst_index_factory_class_init), (gst_index_factory_init),
3123 (gst_index_factory_finalize), (gst_index_factory_new),
3124 (gst_index_factory_destroy), (gst_index_factory_find),
3125 (gst_index_factory_create), (gst_index_factory_make):
3126 * gst/gstindexfactory.h:
3127 * gst/gstpluginfeature.c:
3128 * gst/gstpluginfeature.h:
3129 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3130 more docs inlined, splitted gstindex.{c,h}
3132 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3134 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3137 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3139 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3140 Set sync to FALSE by default.
3142 2005-09-20 Wim Taymans <wim@fluendo.com>
3144 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3145 (gst_base_sink_init):
3146 Make sync property settable from subclass.
3148 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3149 (gst_fake_sink_change_state):
3150 Set sync to FALSE by default.
3152 2005-09-20 Wim Taymans <wim@fluendo.com>
3154 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3155 * tools/gst-launch.c: (main):
3156 The timeout handler should have lower priority than the source
3157 so we don't timeout before popping a message with 0 timeout.
3158 Dump error messages after failed state change.
3160 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3162 * tools/gst-inspect.c: (print_element_properties_info):
3165 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3167 * check/gst/gstevent.c:
3168 * gst/elements/gstfakesink.c:
3169 * gst/elements/gstfakesink.h:
3170 remove the sync property from fakesink.
3171 has the side effect of setting sync TRUE
3172 for fakesink, which is a change. Anyone who knows how
3173 to fix this nicely in a GObject-y way, feel free.
3175 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3177 * docs/gst/gstreamer-docs.sgml:
3178 remove probe refsection
3180 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3182 * check/Makefile.am:
3183 disable valgrinding the controller test again
3184 * docs/gst/gstreamer-sections.txt:
3185 update for api-changes
3187 2005-09-20 Wim Taymans <wim@fluendo.com>
3189 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3190 (gst_base_sink_set_property), (gst_base_sink_get_property),
3191 (gst_base_sink_do_sync):
3192 * gst/base/gstbasesink.h:
3193 Added sync property to basesink to disable clock sync.
3195 2005-09-20 Andy Wingo <wingo@pobox.com>
3197 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3198 eating the caller's refcount.
3200 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3201 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3204 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3205 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3206 of GLib 2.8 public, so we can know which refcount to check in
3209 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3210 (gst_object_init): Only set the gst refcount if we're going ahead
3211 with the refcount hack.
3213 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3215 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3216 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3217 more leaks plumbed, added more debug-logging
3221 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3224 remove include of gstmemchunk.h
3226 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3228 * gst/gstclock.c: (_gst_clock_id_free):
3229 Commit from the Political Party For More Atomic CVS Commits,
3230 so that people don't waste too much of their day fishing
3231 out obvious leaks out of massive commits.
3232 Oh, and fix a pretty damn obvious leak in the memchunk
3235 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3237 * check/Makefile.am:
3238 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3239 plug mem-leak, re-add to valgrindable tests
3241 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3244 unbreak the build for those who have chronic arthritis
3245 and typing "make check" is just too taxing on the hands
3247 2005-09-20 Andy Wingo <wingo@pobox.com>
3249 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3250 really want it out, you should fix plugins at the same time.
3252 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3255 * docs/gst/gstreamer-sections.txt:
3257 added missing symbols to api docs
3258 disable ref-count hack if we have glib >= 2.8
3260 2005-09-19 David Schleef <ds@schleef.org>
3262 * docs/gst/Makefile.am: Ignore a few more internal headers
3263 * docs/gst/gstreamer-docs.sgml: Remove old sections
3264 * docs/gst/gstreamer-sections.txt: Remove old sections
3265 * docs/gst/tmpl/gstobject.sgml: update
3266 * docs/gst/tmpl/gstplugin.sgml: update
3267 * docs/gst/tmpl/gstpluginfeature.sgml: update
3268 * docs/random/ds/0.9-suggested-changes: update.
3269 * gst/Makefile.am: remove memchunk and trashstack, since they're
3271 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3272 * gst/gst.h: don't include some headers
3273 * gst/gstchildproxy.c: add gstmarshal.h
3274 * gst/gstclock.c: Don't use memchunks
3275 * gst/gstminiobject.c: Add some docs
3276 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3277 * gst/gstobject.h: same
3278 * gst/gstplugin.c: include gstmacros.h
3279 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3280 * gst/gstquery.c: don't use memchunks
3281 * gst/gstregistry.c: rename gst_registry_deinit()
3282 * gst/gstregistry.h: same
3284 2005-09-19 David Schleef <ds@schleef.org>
3286 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3287 * docs/libs/gstreamer-libs-sections.txt:
3288 * docs/libs/tmpl/gstgetbits.sgml:
3289 * docs/libs/tmpl/gstputbits.sgml:
3291 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3293 * win32/gstenumtypes.c:
3294 * win32/gstenumtypes.h:
3297 2005-09-19 Wim Taymans <wim@fluendo.com>
3299 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
3300 Automatically PAUSE and RESUME a pipeline when a flushing seek
3303 2005-09-19 Andy Wingo <wingo@pobox.com>
3305 * gst/gstregistry.h: Spacing fixen.
3307 2005-09-19 Wim Taymans <wim@fluendo.com>
3309 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
3310 Handle state change failure more correctly.
3312 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3314 * check/Makefile.am:
3315 * check/pipelines/cleanup.c: (run_pipeline):
3316 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3318 enable cleanup again after fixing the leak
3320 some more info on docs
3322 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3324 * check/Makefile.am:
3325 re-enable tests now that leaks are plugged
3327 * check/gst/gstbin.c:
3328 * check/gst/gstpipeline.c:
3329 add some more tests while fixing leaks
3331 make sure binaries are uptodate when valgrinding/gdbing
3333 * gst/gstelementfactory.c:
3334 remove a ref too many, and add a FIXME for when we get
3335 round to disposing of classes
3337 fix the refcounting when loading a plugin from a file and
3338 the code pretends that the pointer is the same even though
3339 of course it can change
3340 * gst/gstpluginfeature.c:
3341 unref plugins marked cached (a bit confusing as a name)
3342 as the docs state should be done
3343 various doc additions to explain refcounting
3344 * gst/gstregistry.c:
3345 * gst/gstregistryxml.c:
3348 2005-09-19 Wim Taymans <wim@fluendo.com>
3350 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3351 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3352 (send_messages), (GST_START_TEST), (gstbus_suite):
3353 * check/gst/gstpipeline.c: (GST_START_TEST):
3354 * check/pipelines/cleanup.c: (run_pipeline):
3355 * check/pipelines/simple_launch_lines.c: (run_pipeline),
3357 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
3358 (gst_bus_source_check), (gst_bus_source_dispatch),
3359 (gst_bus_create_watch), (gst_bus_add_watch_full),
3360 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
3362 * tools/gst-launch.c: (event_loop):
3363 * tools/gst-md5sum.c: (event_loop):
3364 GstBusHandler -> GstBusFunc, return value has the same meaning as
3365 any other GSource (FALSE == remove source).
3366 _add_watch() and _add_watch_full() now take a MessageType mask to
3367 only handle specific types of messages.
3368 _poll() returns the GstMessage instead of the message type to avoid
3370 _have_pending() takes a MessageType mask now too.
3371 Added testsuite for multiple bus watches.
3372 Fix testsuites and applications for new bus API.
3374 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
3376 * check/Makefile.am:
3377 mark a bunch of the tests as to fix until we fix them
3379 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3382 use GST_PLUGIN settings for valgrind tests as well, so we're
3383 valgrinding the correct thing
3384 * gst/gst.c: (init_post):
3387 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3389 * gst/gst.c: (init_post), (gst_deinit):
3390 * gst/gstelementfactory.c: (gst_element_factory_class_init),
3391 (gst_element_factory_finalize), (gst_element_factory_cleanup):
3392 * gst/gstindex.c: (gst_index_factory_class_init),
3393 (gst_index_factory_finalize):
3394 * gst/gstobject.c: (gst_object_dispose):
3395 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3396 (gst_plugin_load_file), (gst_plugin_desc_free):
3397 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
3398 (gst_plugin_feature_finalize):
3399 * gst/gstregistry.c: (gst_registry_class_init),
3400 (gst_registry_init), (gst_registry_finalize),
3401 (gst_registry_get_default), (gst_registry_deinit):
3402 * gst/gstregistry.h:
3403 * gst/gstregistryxml.c: (load_feature), (load_plugin):
3404 various cleanups and memleak plugging. make valgrind is happy now.
3406 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
3409 add a check-valgrind target
3411 2005-09-18 David Schleef <ds@schleef.org>
3413 * tools/gst-inspect.c: Revert the GOption code.
3415 2005-09-17 David Schleef <ds@schleef.org>
3417 * check/Makefile.am: Fix environment variables.
3418 * check/gst/gstplugin.c: Fix for API changes.
3419 * tools/gst-inspect.c: Fix for API changes.
3420 * tools/gst-xmlinspect.c: Fix for API changes.
3421 * gst/gstelementfactory.c:
3424 * gst/gstpluginfeature.c:
3425 * gst/gstpluginfeature.h:
3426 * gst/gstregistry.c:
3427 * gst/gstregistry.h:
3428 * gst/gstregistryxml.c:
3429 * gst/gsttypefind.c:
3430 * gst/gsttypefindfactory.c:
3431 * gst/indexers/gstfileindex.c:
3432 * gst/indexers/gstmemindex.c:
3433 * gst/schedulers/Makefile.am:
3434 Change registry to keep track of both plugins and features,
3435 removing the feature tracking from plugins themselves.
3437 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
3439 * check/Makefile.am:
3440 * tools/gst-register.1.in:
3443 2005-09-15 David Schleef <ds@schleef.org>
3445 * check/gst/gstplugin.c:
3446 * gst/gstelementfactory.c:
3448 * gst/gstpluginfeature.c:
3449 * gst/gstregistry.c:
3450 Getting tired of debugging. Disabled all the unreffing of
3451 plugins and features, which fixes the segfaults, but of
3452 course leaks like crazy. At least playbin works.
3454 2005-09-15 David Schleef <ds@schleef.org>
3456 * check/gst/gstplugin.c: (register_check_elements),
3457 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
3459 * gst/elements/gsttypefindelement.c: Fix refcounting.
3460 * gst/gsttypefind.c:
3461 * gst/gsttypefindfactory.c:
3462 * gst/gsttypefindfactory.h:
3464 2005-09-15 David Schleef <ds@schleef.org>
3466 * gst/gstindex.c: get refcounting correct.
3467 * gst/gstregistry.c: Handle the case where a feature/plugin is
3470 2005-09-15 David Schleef <ds@schleef.org>
3472 * check/Makefile.am:
3473 * check/gst/gstplugin.c: Add test
3474 * gst/gstplugin.c: Fix problems noticed by testsuite
3476 * gst/gstregistry.c:
3477 * gst/gstregistry.h:
3479 2005-09-15 David Schleef <ds@schleef.org>
3481 * gst/gstplugin.c: Implement semi-decent recounting and locking
3482 in plugins and plugin features.
3484 * gst/gstpluginfeature.c:
3485 * gst/gstpluginfeature.h:
3486 * gst/gstregistry.c:
3488 2005-09-15 Michael Smith <msmith@fluendo.com>
3490 * gst/gstregistry.c: (gst_registry_get_feature_list):
3491 Implement this. Makes oggdemux work; decodebin still broken.
3493 2005-09-14 David Schleef <ds@schleef.org>
3495 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
3497 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
3498 * gst/check/Makefile.am:
3499 * libs/gst/controller/Makefile.am:
3500 * libs/gst/dataprotocol/Makefile.am:
3502 2005-09-14 David Schleef <ds@schleef.org>
3504 * configure.ac: Remove getbits library. Nothing uses it, and
3505 it should be in something like liboil if someone did want
3507 * libs/gst/Makefile.am:
3508 * libs/gst/getbits/Makefile.am:
3509 * libs/gst/getbits/gbtest.c:
3510 * libs/gst/getbits/getbits.c:
3511 * libs/gst/getbits/getbits.h:
3512 * libs/gst/getbits/gstgetbits_generic.c:
3513 * libs/gst/getbits/gstgetbits_i386.s:
3514 * libs/gst/getbits/gstgetbits_inl.h:
3516 2005-09-14 David Schleef <ds@schleef.org>
3518 * gst/Makefile.am: Dist glib-compat.h
3520 2005-09-14 David Schleef <ds@schleef.org>
3522 * configure.ac: Remove gst/registries, since it's no longer used.
3523 * gst/registries/Makefile.am:
3524 * gst/registries/gstlibxmlregistry.c:
3525 * gst/registries/gstlibxmlregistry.h:
3526 * gst/registries/gstxmlregistry.c:
3527 * gst/registries/gstxmlregistry.h:
3528 * gst/registries/registrytest.c:
3530 2005-09-14 David Schleef <ds@schleef.org>
3532 * gst/glib-compat.h:
3533 * gst/gstregistryxml.c:
3534 Convergence is near. Seriously.
3536 2005-09-14 David Schleef <ds@schleef.org>
3538 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3539 * gst/glib-compat.h:
3540 Attempt #4 to appease the buildbots.
3542 2005-09-14 David Schleef <ds@schleef.org>
3544 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3547 2005-09-14 David Schleef <ds@schleef.org>
3549 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3552 2005-09-14 David Schleef <ds@schleef.org>
3554 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
3557 2005-09-14 David Schleef <ds@schleef.org>
3559 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
3560 * gst/glib-compat.h: Add some functions that are in newer versions
3561 of glib than we care to require.
3562 * gst/gstregistryxml.c: Use them.
3564 2005-09-14 David Schleef <ds@schleef.org>
3566 * po/POTFILES.in: remove gst-register.c
3568 2005-09-14 David Schleef <ds@schleef.org>
3570 * docs/gst/gstreamer-docs.sgml:
3571 * docs/gst/gstreamer-sections.txt:
3572 * docs/gst/gstreamer.types:
3573 * docs/gst/tmpl/gstelement.sgml:
3574 * docs/gst/tmpl/gstplugin.sgml:
3575 * docs/gst/tmpl/gstpluginfeature.sgml:
3576 Documentation updates for registry changes.
3578 2005-09-14 David Schleef <ds@schleef.org>
3580 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
3581 because we don't require glib-2.8.
3583 2005-09-14 David Schleef <ds@schleef.org>
3585 * gst/gstregistryxml.c: Added. Essentially moved out of the
3586 registries directory.
3588 2005-09-14 David Schleef <ds@schleef.org>
3590 * check/Makefile.am:
3591 * check/generic/states.c:
3595 * gst/gst_private.h:
3596 * gst/gstelementfactory.c:
3601 * gst/gstpluginfeature.c:
3602 * gst/gstpluginfeature.h:
3603 * gst/gstregistry.c:
3604 * gst/gstregistry.h:
3605 * gst/gstregistrypool.c: remove
3606 * gst/gstregistrypool.h: remove
3607 * gst/gsttypefind.c:
3608 * gst/gsttypefindfactory.c:
3610 * tools/Makefile.am:
3611 * tools/gst-compprep.c:
3612 * tools/gst-inspect.c:
3613 * tools/gst-register.c: remove
3614 * tools/gst-xmlinspect.c:
3615 Registry rewrite. Changes registry from being a file created
3616 by a tool into a simple cache file created automatically by
3617 libgstreamer. Removed gst-register (because it's no longer
3618 needed). Remove registry pools, because we only have one
3619 registry implementation (XML). Fix up other subsystems as
3622 2005-09-13 Michael Smith <msmith@fluendo.com>
3624 * gst/gstconfig.h.in:
3625 Don't Use windows linking attributes for MinGW. Fixes #316157
3627 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
3629 * gst/gstutils.c: (set_state_async_thread_func),
3630 (gst_element_set_state_async):
3631 Apparently people think it's better if this function doesn't
3632 try to set the state to whatever state was asked for on the first
3633 call to this function for any object. Seriously.
3635 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3637 * check/gst/gstpipeline.c: (GST_START_TEST):
3638 * docs/gst/gstreamer-sections.txt:
3639 * gst/gstutils.c: (set_state_async_thread_func),
3640 (gst_element_set_state_async):
3642 add a "gst_element_set_state_async" method that
3643 sets the state and starts a thread to make sure the state
3644 change completes as best as it can
3646 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3648 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3649 codify design+behaviour in testsuite after discussion
3651 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3653 * docs/gst/tmpl/gstelement.sgml:
3654 * docs/manual/appendix-quotes.xml:
3656 * gst/gstelement.c: (gst_element_set_state):
3659 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
3661 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3662 (gst_base_transform_prepare_output_buf),
3663 (gst_base_transform_handle_buffer):
3664 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
3665 (gst_capsfilter_prepare_buf):
3666 Remove the requirement for sub-classes to call the parent
3667 implementation of prepare_output_buffer with a wrapper function.
3670 * gst/gsttagsetter.h:
3673 2005-09-11 Stefan Kost <ensonic@users.sf.net>
3675 * docs/gst/gstreamer-sections.txt:
3678 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3680 * docs/gst/gstreamer-sections.txt:
3681 * docs/gst/tmpl/gstelement.sgml:
3682 * docs/gst/tmpl/gstplugin.sgml:
3683 * gst/gstminiobject.c:
3685 docs now stop throwing warnings
3687 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3689 * docs/gst/gstreamer-sections.txt:
3690 * docs/gst/gstreamer.types:
3691 * docs/gst/tmpl/gstpad.sgml:
3692 * docs/gst/tmpl/gsttypes.sgml:
3693 * gst/base/gstadapter.h:
3694 * gst/base/gstbasesink.h:
3695 * gst/base/gstbasesrc.h:
3705 * gst/gststructure.c:
3706 * gst/registries/gstlibxmlregistry.h:
3707 various documentation fixes
3709 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3711 * docs/gst/gstreamer-sections.txt:
3712 * docs/gst/tmpl/gstvalue.sgml:
3713 rearrange gstvalue section
3714 * gst/gstutils.c: (gst_element_state_get_name):
3716 * gst/gstvalue.c: (_gst_value_initialize):
3720 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
3722 * check/gst-libs/controller.c:
3724 * gst/base/gstbasetransform.c:
3725 (gst_base_transform_default_prepare_buf),
3726 (gst_base_transform_handle_buffer):
3727 * gst/base/gstbasetransform.h:
3728 Some more basetransform changes and fixes to enable sub-classes
3729 that modify buffer metadata only.
3730 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
3731 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
3732 (gst_capsfilter_prepare_buf):
3733 If the output pad has fixed allowed caps and input buffers
3734 don't have any, set the fixed caps on outgoing buffers.
3736 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
3737 * check/elements/identity.c: (GST_START_TEST):
3738 Make the error a little clearer when the test fails because
3739 identity made a copy of the buffer.
3740 * docs/gst/gstreamer-sections.txt:
3741 New symbols in gstbasetransform.h
3742 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3743 (gst_base_transform_init), (gst_base_transform_transform_size),
3744 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3745 (gst_base_transform_default_prepare_buf),
3746 (gst_base_transform_get_unit_size),
3747 (gst_base_transform_buffer_alloc),
3748 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3749 (gst_base_transform_change_state),
3750 (gst_base_transform_set_passthrough),
3751 (gst_base_transform_set_in_place),
3752 (gst_base_transform_is_in_place):
3753 * gst/base/gstbasetransform.h:
3754 Change BaseTransform to separate in_place operate from same_caps
3755 output. in_place implies that the element can perform the transform
3756 on incoming buffers in-place, even if the caps on the output are
3758 Sub-class elements can now implement special buffer allocation
3759 methods for outgoing buffers if they wish to.
3760 Big documentation addition.
3761 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
3762 * gst/elements/gstelements.c:
3763 Changes for basetransform modifications.
3764 * gst/elements/Makefile.am:
3765 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
3766 Compile fix. Extra debug output.
3768 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3770 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
3772 add tests for valid pad naming
3773 * gst/check/gstcheck.c: (gst_check_log_message_func),
3774 (gst_check_log_critical_func):
3776 remove printing of code, it is fragile when the code contains
3777 % and the line number is enough info
3778 * gst/check/gstcheck.h:
3779 * gst/gstpad.c: (gst_pad_template_new):
3782 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3785 say what CHECK flags we use
3786 * docs/libs/gstreamer-libs.types:
3787 * libs/gst/controller/Makefile.am:
3788 * libs/gst/controller/gst-controller.c:
3789 * libs/gst/controller/gst-controller.h:
3790 * libs/gst/controller/gst-helper.c:
3791 * libs/gst/controller/gst-interpolation.c:
3792 * libs/gst/controller/gstcontroller.c:
3793 * libs/gst/controller/gsthelper.c:
3794 * libs/gst/controller/gstinterpolation.c:
3795 * tools/gst-inspect.c: (print_plugin_info):
3796 we don't use dashes in header names
3798 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
3800 * check/Makefile.am:
3801 * check/gst/.cvsignore:
3802 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
3803 (gst_pipeline_suite), (main):
3804 adding a test for pipelines and state changes
3805 * gst/gstutils.c: (get_state_func):
3807 * gstreamer.spec.in:
3810 2005-09-08 Michael Smith <msmith@fluendo.com>
3812 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
3813 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
3814 (gst_file_src_is_seekable), (gst_file_src_get_size),
3815 (gst_file_src_start):
3816 * gst/elements/gstfilesrc.h:
3817 Various fixes for unseekable, unmmapable, and non-normal files, so
3818 that fallback to read() rather than mmap() works.
3819 * gst/gstevent.c: (gst_event_new_newsegment):
3820 Allow newsegment events with segment_start == segment_end, as will
3821 correctly happen if you use filesrc on a zero-size file, for
3824 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3826 * gst/gstplugin.c: (gst_plugin_load_file):
3827 Call g_module_close when we don't load the module
3829 * gst/registries/gstlibxmlregistry.c:
3830 (gst_xml_registry_get_property):
3831 Port leak fix from 0.8
3833 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3835 * docs/gst/gstreamer-docs.sgml:
3836 * docs/gst/tmpl/.cvsignore:
3837 * docs/gst/tmpl/gsttrace.sgml:
3838 * docs/gst/tmpl/gsttrashstack.sgml:
3847 * gst/gsttaginterface.c:
3848 * gst/gsttaginterface.h:
3851 * gst/gsttagsetter.c:
3852 * gst/gsttagsetter.h:
3855 * gst/gsttrashstack.c:
3856 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
3857 inlined docs for gsttrace, gsttrashstack
3859 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3862 * gst/elements/gstbufferstore.h:
3863 * gst/elements/gsttypefindelement.c:
3864 * gst/elements/gsttypefindelement.h:
3866 * gst/gsttypefind.c:
3867 * gst/gsttypefind.h:
3868 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
3869 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
3870 (gst_type_find_factory_dispose),
3871 (gst_type_find_factory_unload_thyself),
3872 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
3873 (gst_type_find_factory_get_caps),
3874 (gst_type_find_factory_get_extensions),
3875 (gst_type_find_factory_call_function):
3876 * gst/gsttypefindfactory.h:
3877 * gst/registries/gstlibxmlregistry.c:
3878 * gst/registries/gstxmlregistry.c:
3879 splitted gsttypefind into gsttypefind, gsttypefindfactory
3881 2005-09-07 Andy Wingo <wingo@pobox.com>
3883 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
3884 condition whereby the pad's task function is entered before the
3885 pad_mode variable was set.
3887 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
3889 * gst/gstpad.c: (gst_pad_alloc_buffer):
3890 Catch misbehaving pad_alloc functions that don't
3891 set up caps and do it for them.
3893 2005-09-07 Stefan Kost <ensonic@users.sf.net>
3895 * check/pipelines/simple_launch_lines.c: (run_pipeline):
3897 * docs/gst/tmpl/.cvsignore:
3898 * docs/gst/tmpl/gstmemchunk.sgml:
3899 * docs/gst/tmpl/gstparse.sgml:
3900 * docs/gst/tmpl/gsttaglist.sgml:
3901 * docs/gst/tmpl/gsttagsetter.sgml:
3902 * docs/gst/tmpl/gsttypefind.sgml:
3903 * docs/gst/tmpl/gsttypefindfactory.sgml:
3904 * gst/gstmemchunk.c:
3907 * gst/gsttaginterface.c:
3908 * gst/gsttypefind.c:
3909 * gst/gsttypefind.h:
3912 === release 0.9.2 ===
3914 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
3919 releasing 0.9.2, "South"
3921 2005-09-05 Andy Wingo <wingo@pobox.com>
3923 * gst/registries/gstxmlregistry.h:
3924 * gst/registries/gstxmlregistry.c: Um... resurrect...
3926 * gst/registries/gstxmlregistry.h:
3927 * gst/registries/gstxmlregistry.c: and update to newer API.
3928 Incidentally they should be a bit faster now that they don't have
3931 2005-09-05 Andy Wingo <wingo@pobox.com>
3933 * gst/registries/gstxmlregistry.h:
3934 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
3935 replaced by the libxml registry a while back
3937 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3939 * docs/gst/tmpl/gstplugin.sgml:
3940 * gst/elements/gstelements.c:
3942 * gst/gstplugin.c: (gst_plugin_register_func),
3943 (gst_plugin_desc_copy), (gst_plugin_desc_free),
3944 (gst_plugin_get_source):
3946 * gst/registries/gstlibxmlregistry.c: (load_plugin),
3947 (gst_xml_registry_save_plugin):
3948 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
3949 (gst_xml_registry_save_plugin):
3950 * tools/gst-inspect.c: (print_plugin_info):
3951 add a "source" plugin description field, to represent the source
3952 module this plugin is a part of. By default GST_PLUGIN_DEFINE
3953 will set it to PACKAGE, which is automake's idea of the name of
3956 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
3962 * docs/faq/Makefile.am:
3963 * docs/gst/tmpl/gstelement.sgml:
3964 * docs/gst/tmpl/gsttypes.sgml:
3965 * docs/htmlinstall.mak:
3966 * docs/manual/Makefile.am:
3967 * docs/pwg/Makefile.am:
3968 reorganize doc build a little
3969 split out docbook and gtk-doc stuff
3970 have two separate --enable's and enable them through autogen
3971 but disable by default in configure (to be similar to other
3973 * gstreamer.spec.in:
3974 clean up docs install
3994 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
3996 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
3999 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4000 (gst_fake_sink_change_state):
4001 Make state change function thread-safe.
4003 * gst/gstpad.c: (gst_pad_alloc_buffer):
4004 Set offset on generic buffer allocated by fallback.
4006 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4008 * docs/gst/gstreamer-sections.txt:
4009 * docs/gst/tmpl/gstelement.sgml:
4011 * libs/gst/controller/gst-controller.c:
4012 (gst_controlled_property_set_interpolation_mode),
4013 (gst_controlled_property_new),
4014 (gst_controller_find_controlled_property):
4015 run the wingo-magic script against the docs
4017 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4019 * docs/gst/gstreamer-docs.sgml:
4020 * docs/gst/gstreamer-sections.txt:
4021 * docs/gst/tmpl/.cvsignore:
4022 * docs/gst/tmpl/gstelementdetails.sgml:
4023 * docs/gst/tmpl/gstelementfactory.sgml:
4026 * gst/gstelementfactory.c:
4027 * gst/gstelementfactory.h:
4028 merged elementdetails docs into elementfactory docs
4031 2005-09-02 Andy Wingo <wingo@pobox.com>
4033 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4034 consider this enum an enum and not a flags.
4036 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4038 * docs/gst/gstreamer-docs.sgml:
4039 * docs/gst/tmpl/.cvsignore:
4040 * docs/gst/tmpl/gstghostpad.sgml:
4041 * docs/gst/tmpl/gstiterator.sgml:
4042 * docs/gst/tmpl/gstmacros.sgml:
4043 * docs/gst/tmpl/gstrealpad.sgml:
4044 * docs/gst/tmpl/gstregistry.sgml:
4045 * docs/gst/tmpl/gstregistrypool.sgml:
4046 * docs/gst/tmpl/gststructure.sgml:
4047 * docs/gst/tmpl/gstsystemclock.sgml:
4048 * docs/gst/tmpl/gsttrace.sgml:
4049 * gst/gstghostpad.c:
4051 * gst/gstmemchunk.c:
4052 * gst/gstmemchunk.h:
4054 * gst/gstregistry.c:
4055 * gst/gstregistrypool.c:
4056 * gst/gststructure.c:
4057 * gst/gstsystemclock.c:
4060 2005-09-02 Andy Wingo <wingo@pobox.com>
4062 * gst/gstelement.h (GstState): Renamed from GstElementState,
4063 changed to be a normal enum instead of flags.
4064 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4065 munged to be GST_STATE_CHANGE_*.
4066 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4067 work with the new state representation.
4068 (GstStateChange): New enumeration of possible state transitions.
4069 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4070 (GstElementClass::change_state): Pass the GstStateChange along as
4071 an argument. Helps language bindings, so they don't have to use
4072 tricky lock-needing macros like GST_STATE_CHANGE ().
4074 * scripts/update-states (file): New script. Run it on a file to
4075 update it for state naming and API changes. Updates files in
4078 * All files updated for the new API.
4080 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4082 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4083 * gst/gstutils.c: (gst_util_set_value_from_string),
4084 (gst_util_set_object_arg):
4085 fix a bunch of unchecked return values
4086 * tools/gst-complete.c: (main):
4087 * gstreamer.spec.in:
4090 2005-09-01 Wim Taymans <wim@fluendo.com>
4092 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4093 (gst_base_sink_event), (gst_base_sink_do_sync),
4094 (gst_base_sink_handle_event):
4095 * gst/base/gstbasesink.h:
4096 Handle newsegments more correctly.
4101 * gst/gstevent.c: (gst_event_new_newsegment):
4102 A newsegment cannot have a start_time of -1
4104 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4106 * win32/gstenumtypes.c:
4107 * win32/gstenumtypes.h:
4110 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4112 * libs/gst/controller/gst-controller.c:
4113 (gst_controlled_property_set_interpolation_mode),
4114 (gst_controlled_property_new):
4117 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4119 * docs/faq/gst-uninstalled:
4124 * gst/gstutils.c: (gst_element_link_filtered):
4126 add gst_element_link_filtered
4128 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4130 * docs/gst/gstreamer-docs.sgml:
4131 * docs/gst/gstreamer-sections.txt:
4132 * docs/gst/tmpl/.cvsignore:
4133 * docs/gst/tmpl/gsterror.sgml:
4134 * docs/gst/tmpl/gstfilter.sgml:
4135 * docs/gst/tmpl/gsturihandler.sgml:
4136 * docs/gst/tmpl/gsturitype.sgml:
4137 * docs/gst/tmpl/gstutils.sgml:
4138 * docs/gst/tmpl/gstxml.sgml:
4146 inlined more docs, fixed double id-ref
4148 2005-08-31 Wim Taymans <wim@fluendo.com>
4150 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4151 (gst_base_transform_handle_buffer):
4152 Passthrough elements don't need the caps as they don't care.
4154 2005-08-31 Wim Taymans <wim@fluendo.com>
4156 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4157 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4158 Don't leak refcounts on buffers.
4160 2005-08-31 Wim Taymans <wim@fluendo.com>
4162 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4163 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4164 (gst_base_transform_chain), (gst_base_transform_change_state):
4165 * gst/base/gstbasetransform.h:
4166 Handle the case where we are not negotiated more gracefully.
4168 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4170 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4171 (gst_file_src_map_region):
4172 Set READONLY flag on mmap'ed buffers, otherwise
4173 gst_buffer_make_writable() won't work properly (#314708).
4175 2005-08-31 Wim Taymans <wim@fluendo.com>
4177 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4178 passthrough elements can even do inplace on non writable
4179 buffers (as they don't touch them).
4181 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4183 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4184 (gst_test_mono_source_set_property),
4185 (gst_test_mono_source_class_init), (GST_START_TEST),
4186 (gst_controller_suite):
4187 more tests (hehe I have the most)
4189 describe popping messages whenusing mulltiple sources
4190 * libs/gst/controller/gst-controller.c:
4191 (gst_controlled_property_set_interpolation_mode),
4192 (gst_controlled_property_new):
4193 * libs/gst/controller/gst-controller.h:
4194 * libs/gst/controller/gst-interpolation.c:
4195 implement boolean properties
4197 2005-08-31 Wim Taymans <wim@fluendo.com>
4199 * gst/gstminiobject.c: (gst_mini_object_ref):
4200 Cannot assert that the refcount has to be positive
4201 since a disposed object can be resurrected.
4203 2005-08-31 Wim Taymans <wim@fluendo.com>
4205 * gst/gstpad.c: (gst_pad_init):
4206 Revert change, need to first fix badly behaving
4209 2005-08-30 Wim Taymans <wim@fluendo.com>
4211 * check/elements/fakesrc.c: (setup_fakesrc):
4212 * check/elements/identity.c: (setup_identity):
4213 Activate pads before using them.
4215 2005-08-30 Wim Taymans <wim@fluendo.com>
4217 * gst/base/gstadapter.c: (gst_adapter_flush):
4218 Flushing out 0 bytes is ok for this function.
4220 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4221 no newsegment gives a warning and sets the start/stop to
4224 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4225 (gst_base_transform_set_passthrough):
4228 * gst/gstminiobject.c: (gst_mini_object_ref):
4229 Check refcount here too.
4231 * gst/gstpad.c: (gst_pad_init):
4232 Pads are initially flushing and refusing data.
4234 * gst/gstutils.c: (gst_element_link_pads_filtered):
4235 When adding a capsfilter element make sure it has the
4236 same state as the parent bin.
4238 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4240 * docs/gst/tmpl/.cvsignore:
4241 * docs/gst/tmpl/gstformat.sgml:
4242 * docs/gst/tmpl/gstversion.sgml:
4246 * gst/gstversion.h.in:
4247 more docs and two more inlined
4249 2005-08-30 Wim Taymans <wim@fluendo.com>
4251 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4252 Don't sync to clock.
4254 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4256 * docs/gst/gstreamer-sections.txt:
4257 ultral33t func10ns deserve to appear in the docs actually
4258 * docs/gst/tmpl/.cvsignore:
4259 * docs/gst/tmpl/gstcompat.sgml:
4260 * docs/gst/tmpl/gstconfig.sgml:
4261 * gst/check/gstcheck.c:
4263 * gst/gstconfig.h.in:
4266 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4268 * docs/gst/tmpl/.cvsignore:
4269 * docs/gst/tmpl/gstquery.sgml:
4270 * docs/gst/tmpl/gstutils.sgml:
4273 inlined and extended docs
4275 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4277 * check/gst-libs/controller.c: (GST_START_TEST),
4278 (gst_controller_suite):
4280 * docs/gst/tmpl/gstutils.sgml:
4281 * docs/libs/gstreamer-libs-sections.txt:
4282 * docs/libs/tmpl/gstdataprotocol.sgml:
4284 * examples/controller/audio-example.c: (main):
4285 controller example works now
4288 * tools/gst-inspect.c: (print_element_properties_info):
4289 show param spec flags
4291 2005-08-29 Andy Wingo <wingo@pobox.com>
4293 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4295 2005-08-28 Andy Wingo <wingo@pobox.com>
4297 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4298 as having two arguments instead of just one. Allows superclasses
4299 to access information on subclasses -- see the terrible for() loop
4300 in gtype.c:g_type_create_instance for the reason why. All callers
4303 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4305 * docs/design/part-messages.txt:
4307 * docs/gst/tmpl/.cvsignore:
4308 * docs/gst/tmpl/gstcaps.sgml:
4309 * docs/gst/tmpl/gstclock.sgml:
4316 added descriptions for bus and message
4317 inline caps and clock docs
4319 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4325 2005-08-27 Stefan Kost <ensonic@users.sf.net>
4327 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
4330 2005-08-26 Andy Wingo <wingo@pobox.com>
4332 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
4333 element_set_state's return val.
4334 (test_2_elements): Add test that's been disabled for months.
4336 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
4337 can-activate-pull properties.
4339 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
4340 can-activate-pull properties. Implement is_seekable so fakesrc can
4341 operate in pull mode.
4343 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
4345 (gst_base_sink_activate, gst_base_sink_activate_pull)
4346 (gst_base_sink_activate_push): Make activation mode choosing work.
4348 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
4349 is right. Make pull mode work. Post an eos before pausing in pull
4351 (gst_base_sink_change_state): Pay attention to the core's
4352 change_state() return val.
4354 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
4355 has-getrange properties. Cleanups.
4357 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
4358 has_getrange and replace with can_activate_pull and
4361 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
4362 locking comments. Remove has_loop, has_chain and replace with
4363 can_activate_pull and can_activate_push.
4365 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
4368 * examples/Makefile.am:
4369 * examples/metadata/Makefile.am:
4370 * examples/metadata/read-metadata.c: (message_loop),
4371 (have_pad_handler), (make_pipeline), (print_tag), (main):
4372 Add metadata reading example that loops over a list of filenames,
4373 dumping any tags found.
4375 * gst/gstbus.c: (gst_bus_dispose):
4376 * gst/gstelement.c: (gst_element_dispose):
4377 Release a few potentially-held references in dispose.
4379 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4381 * docs/gst/tmpl/gstminiobject.sgml:
4382 do *not* add tmpl/*.sgml files to CVS!
4384 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4386 * libs/gst/bytestream/.cvsignore:
4387 * libs/gst/bytestream/Makefile.am:
4388 * libs/gst/bytestream/adapter.c:
4389 * libs/gst/bytestream/adapter.h:
4390 * libs/gst/bytestream/bytestream.c:
4391 * libs/gst/bytestream/bytestream.h:
4392 * libs/gst/bytestream/filepad.c:
4393 * libs/gst/bytestream/filepad.h:
4394 removing obsolete files
4396 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4398 * docs/gst/gstreamer-docs.sgml:
4399 * docs/libs/gstreamer-libs-docs.sgml:
4400 disabed additional index entries again, as this makes docs-gen just
4401 slow and they aren't useful yet
4402 * docs/libs/gstreamer-libs-sections.txt:
4403 little -section.txt cleanup for libs
4405 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
4407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4408 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
4409 fix up some debugging
4410 (gst_base_transform_get_unit_size),
4411 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4412 (gst_base_transform_handle_buffer):
4413 * gst/base/gstbasetransform.h:
4414 handle and store timed NEWSEGMENT events so that subclasses that
4415 calculate time by counting samples have a segment_start time they
4416 need to add to their timestamps - see audioresample
4418 2005-08-26 Stefan Kost <ensonic@users.sf.net>
4421 removed ';' from the end of macro defs
4422 * docs/gst/gstreamer-docs.sgml:
4423 * docs/gst/gstreamer-sections.txt:
4424 * docs/gst/tmpl/.cvsignore:
4426 * gst/gstelement.c: (gst_element_class_init),
4427 (gst_element_set_state), (activate_pads),
4428 (gst_element_save_thyself):
4429 * gst/gstevent.c: (gst_event_new_newsegment):
4431 * gst/gstiterator.c:
4432 * gst/gstiterator.h:
4435 * gst/gstutils.c: (gst_pad_query_convert):
4437 fixed parameter name mismatches between source, header and docs
4438 added some more docs, resolved the last batch of unused elements in
4439 docs (now someone needs to doc them)
4441 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4443 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
4444 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
4445 don't walk through the plugins backwards. Where is all this
4446 reversed logic coming from ?
4448 2005-08-25 Wim Taymans <wim@fluendo.com>
4450 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4451 (gst_base_transform_transform_size),
4452 (gst_base_transform_configure_caps),
4453 (gst_base_transform_get_unit_size),
4454 (gst_base_transform_buffer_alloc),
4455 (gst_base_transform_change_state):
4456 * gst/base/gstbasetransform.h:
4457 Cache caps unit_size.
4458 Make sure we cannot negotiate up and downstream at the
4461 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4463 * gst/gst.c: (init_pre), (init_post):
4464 register the installed plugin path after the env var
4465 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
4466 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
4467 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
4468 directories, so the tests can prefer uninstalled over installed
4470 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
4472 * gst/base/gstbasetransform.h:
4477 2005-08-25 Wim Taymans <wim@fluendo.com>
4479 * gst/gstbin.c: (bin_bus_handler):
4480 Be a bit more conservative about the posted message.
4482 * gst/gstbus.c: (gst_bus_post):
4483 Some cleanups, warn wrong return values.
4485 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
4487 * check/gst/gstbin.c: (GST_START_TEST):
4488 * gst/gstbin.c: (bin_bus_handler):
4489 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4490 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4491 (gst_message_new_warning), (gst_message_new_tag),
4492 (gst_message_new_state_changed), (gst_message_new_segment_start),
4493 (gst_message_new_segment_done), (gst_message_new_custom):
4495 * tools/gst-launch.c: (event_loop):
4496 * tools/gst-md5sum.c: (event_loop):
4497 Revert unpopular change for GST_MESSAGE_SRC to GObject.
4499 2005-08-25 Wim Taymans <wim@fluendo.com>
4501 * check/generic/states.c: (GST_START_TEST):
4502 Cleanup can be done at the end.
4504 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
4505 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4506 (gst_task_get_state), (gst_task_start), (gst_task_pause):
4507 Oh boy.. Thanks for finding this, Thomas.
4509 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4511 * docs/gst/gstreamer.types:
4514 2005-08-25 Stefan Kost <ensonic@users.sf.net>
4516 * docs/gst/gstreamer-docs.sgml:
4517 * docs/gst/gstreamer-sections.txt:
4518 * docs/gst/tmpl/.cvsignore:
4520 * gst/gstiterator.c:
4522 * gst/registries/gstxmlregistry.h:
4523 added missing classes and symbols (123 more to go)
4524 removed removed symbols from section file
4525 fixed many doc-comments
4527 2005-08-24 Wim Taymans <wim@fluendo.com>
4529 * check/generic/states.c: (GST_START_TEST):
4530 Make sure all tasks are stopped.
4532 * check/gst/gstbin.c: (GST_START_TEST):
4533 Unref after usage for proper valgrinding.
4535 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
4536 Really wait for the task to stop before destroying the
4539 * gst/gstqueue.c: (gst_queue_sink_activate_push),
4540 (gst_queue_src_activate_push):
4541 Small cleanups. Don't stop the task when we did not start
4544 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
4545 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
4546 (gst_task_get_state), (gst_task_start), (gst_task_pause),
4549 Protect the stream lock with the object lock.
4550 Disallow setting the stream lock when running.
4551 Add cleanup_all to wait for the threadpool to finish.
4552 Remove code to autoallocate a mutex if none was provided.
4553 Add _join() to wait for a task to stop.
4554 Protect the thread pool with a global lock.
4556 2005-08-24 Wim Taymans <wim@fluendo.com>
4558 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4559 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4560 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
4561 * gst/base/gstbasesink.h:
4562 Handle newsegment events correctly.
4563 Drop buffers out of the segment range.
4565 2005-08-22 Andy Wingo <wingo@pobox.com>
4567 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
4568 macro, implements an interface and gstimplementsinterface for a
4571 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4573 * check/Makefile.am:
4574 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
4575 add a test that does a bunch of state changes on elements
4576 needs some fixing for valgrind
4577 * check/states/sinks.c: (gst_object_suite):
4580 add prototype for gst_caps_is_equal_fixed
4582 * gst/gstregistrypool.c:
4585 2005-08-24 Andy Wingo <wingo@pobox.com>
4587 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
4588 convert a negative value. Doesn't make much sense. Mostly this is
4589 here to force callers to ensure -1 maps to -1.
4591 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4593 * docs/pwg/advanced-types.xml:
4594 Well done to Michael for catching my deliberate introduction
4595 of this spelling mistake.
4596 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
4598 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
4599 unlink pads before removing the element from the bin.
4601 2005-08-24 Andy Wingo <wingo@pobox.com>
4603 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
4604 the same thing as GST_DEBUG=*:4.
4605 (parse_debug_level, parse_debug_category): New helper parsers.
4607 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
4609 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4610 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
4611 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
4612 (gst_base_transform_buffer_alloc),
4613 (gst_base_transform_handle_buffer):
4614 use gboolean return values and pointers to size so we can use the
4615 full GST_BUFFER_SIZE range (guint) for buffer sizes
4616 use GstPadDirection for transform_caps
4617 * gst/base/gstbasetransform.h:
4618 rename get_size to get_unit_size since that's what it is
4619 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
4620 use GstPadDirection for transform_caps
4621 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4623 cleanup and debugging
4625 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4627 * gst/gstelement.c: (gst_element_class_init),
4628 (gst_element_set_state), (activate_pads),
4629 (gst_element_save_thyself):
4630 * tools/gst-compprep.c: (main):
4631 * tools/gst-inspect.c: (print_element_properties_info):
4632 * tools/gst-xmlinspect.c: (print_element_properties):
4633 Fixed long standing mem-leak
4635 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4637 * check/gst/gstbin.c: (GST_START_TEST):
4638 * gst/gstbin.c: (bin_bus_handler):
4639 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
4640 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
4641 (gst_message_new_warning), (gst_message_new_tag),
4642 (gst_message_new_state_changed), (gst_message_new_segment_start),
4643 (gst_message_new_segment_done), (gst_message_new_custom):
4645 * tools/gst-launch.c: (event_loop):
4646 * tools/gst-md5sum.c: (event_loop):
4647 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
4648 that applications can sensibly post custom messages with references
4649 to their own objects.
4651 2005-08-24 Andy Wingo <wingo@pobox.com>
4653 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
4656 2005-08-24 Wim Taymans <wim@fluendo.com>
4658 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4659 (gst_base_transform_transform_caps),
4660 (gst_base_transform_transform_size),
4661 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4662 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4663 (gst_base_transform_handle_buffer):
4664 * gst/base/gstbasetransform.h:
4665 Many fixes and new features added by Thomas. Can now also do
4666 transforms with variable sizes and a custom fixate_caps function.
4668 2005-08-24 Wim Taymans <wim@fluendo.com>
4670 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4674 Cast to ClockTime before formatting to time.
4679 2005-08-24 Stefan Kost <ensonic@users.sf.net>
4681 * check/gst-libs/controller.c: (GST_START_TEST),
4682 (gst_controller_suite):
4683 * docs/gst/tmpl/gstcaps.sgml:
4684 * docs/gst/tmpl/gstghostpad.sgml:
4685 * docs/gst/tmpl/gstquery.sgml:
4686 * docs/gst/tmpl/gstutils.sgml:
4687 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
4688 (gst_object_sink_values), (gst_object_get_value_arrays),
4689 (gst_object_get_value_array):
4690 gracefully handle helper method calls to objects that are not beeing
4691 controlled, added test case for that
4693 2005-08-23 Wim Taymans <wim@fluendo.com>
4695 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
4696 (gst_event_new_newsegment), (gst_event_parse_newsegment),
4697 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
4698 (gst_event_parse_qos), (gst_event_new_seek),
4699 (gst_event_parse_seek):
4701 Some more debugging output and doc cleanups.
4703 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4704 Fix possible deadlock.
4706 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4708 * docs/gst/gstreamer-docs.sgml:
4709 * docs/gst/gstreamer-sections.txt:
4710 * docs/gst/gstreamer.types:
4711 * docs/gst/tmpl/.cvsignore:
4716 added 100 symbols from gstreamer-unused.txt to the right sections
4717 fixed more broken comments
4718 added GstBus to docs
4720 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4722 * docs/gst/gstreamer-sections.txt:
4723 * docs/gst/tmpl/.cvsignore:
4724 * docs/gst/tmpl/gstbin.sgml:
4725 * docs/gst/tmpl/gstbuffer.sgml:
4726 * gst/base/gstbasesrc.c:
4727 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
4730 * tools/gst-launch.1.in:
4731 inlined more doc comments, added missing comments and fixed comments
4734 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
4736 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
4740 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
4742 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
4743 * gst/gststructure.h:
4744 add a fixate function for booleans; add a FIXME that these func
4745 names should probably be gst_structure_fixate_*
4747 2005-08-23 Stefan Kost <ensonic@users.sf.net>
4749 * docs/gst/gstreamer-docs.sgml:
4750 * docs/gst/gstreamer-sections.txt:
4752 * gst/gstbin.c: (gst_bin_get_type),
4753 (gst_bin_child_proxy_get_child_by_index),
4754 (gst_bin_child_proxy_get_children_count),
4755 (gst_bin_child_proxy_init):
4756 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
4757 (gst_child_proxy_get_child_by_index),
4758 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
4759 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
4760 (gst_child_proxy_get), (gst_child_proxy_set_property),
4761 (gst_child_proxy_set_valist), (gst_child_proxy_set),
4762 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
4763 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
4764 * gst/gstchildproxy.h:
4765 * gst/parse/grammar.y:
4766 * tools/gst-inspect.c: (print_interfaces),
4767 (print_element_properties_info), (print_element_info):
4768 ported gstchildproxy over from 0.8
4769 ported gst-inspect fixes and enhancements over from 0.8
4771 2005-08-22 Wim Taymans <wim@fluendo.com>
4773 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4774 (gst_base_transform_handle_buffer):
4775 Also call the transform function if we have ANY caps.
4777 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
4780 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4782 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
4783 Don't pretend to handle seek events if the source is not seekable
4785 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
4787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4788 Remove extra parameter to debug output
4790 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4791 (gst_base_src_do_seek), (gst_base_src_activate_push):
4792 Fix seek event handling.
4794 * gst/gstpipeline.c: (gst_pipeline_change_state):
4795 * gst/gstqueue.c: (gst_queue_handle_sink_event),
4796 (gst_queue_src_activate_push):
4797 Don't start the src pad task on FLUSH_STOP if the pad
4801 2005-08-22 Wim Taymans <wim@fluendo.com>
4803 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
4804 Added check for gst_static_caps_get() refcounting.
4806 2005-08-22 Wim Taymans <wim@fluendo.com>
4808 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
4809 Make _static_caps_get() refcounting sane.
4811 * gst/gstelement.c: (gst_element_set_state):
4812 Add g_return_val_if_fail() to protect against segfaults.
4814 2005-08-22 Stefan Kost <ensonic@users.sf.net>
4816 * docs/gst/tmpl/gstevent.sgml:
4819 inlined remaining docs, added missing doc comments
4821 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
4823 * check/gst/gstbin.c: (GST_START_TEST):
4824 since we don't know when preroll is done, use refcount range
4826 * gst/check/gstcheck.h:
4827 add macro for checking refcount range
4829 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4831 * check/Makefile.am:
4832 clean up environment for when registry gets built versus
4833 when actual tests are run; valgrind seems to not report
4834 leaks if GST_PLUGIN_PATH is set to some specific values
4835 * check/gst/gstbin.c: (GST_START_TEST):
4836 add more refcounting checks; maybe this exposes a
4839 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4840 * gst/check/gstcheck.h:
4841 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
4842 (gst_bin_change_state):
4843 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
4844 add/fix debugging/whitespace
4846 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4848 * check/gst/gstevent.c: (event_probe), (test_event),
4850 Er, don't call gst_bin_watch_for_state_change you idiot.
4852 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
4854 * check/Makefile.am:
4855 Use CHECK_CFLAGS and CHECK_LIBS
4856 * check/gst/gstevent.c: (event_probe), (test_event),
4859 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4860 (gst_base_src_start), (gst_base_src_stop),
4861 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4862 (gst_base_src_change_state):
4863 Sprinkle gst_base_src_stop liberally around error paths to fix
4864 problems reusing a source after failed state changes.
4865 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4866 (helper_find_suggest), (gst_type_find_helper):
4867 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
4869 * docs/gst/tmpl/gstevent.sgml:
4870 Migrate part of the docs from the SGML file. Wait for ensonic to
4871 tell me how I did it wrong ;)
4872 * tools/gst-typefind.c: (main):
4873 Extra robustness to state changes between files.
4875 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
4877 * check/Makefile.am:
4878 don't valgrind the controller test - it's leaking - Stefan, HELP
4879 * gst/check/gstcheck.c: (gst_check_message_error),
4880 (gst_check_chain_func), (gst_check_setup_element),
4881 (gst_check_teardown_element), (gst_check_setup_src_pad),
4882 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
4883 (gst_check_teardown_sink_pad):
4884 * gst/check/gstcheck.h:
4885 add a bunch of methods to set up elements, and src and sink pads
4886 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
4887 * check/elements/identity.c: (setup_identity), (cleanup_identity),
4892 whitespace/doc fixes
4894 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4897 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
4898 be handled by the application and not always printed as well
4900 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4902 * check/Makefile.am:
4904 * gst/check/gstcheck.c: (gst_check_message_error):
4905 * gst/check/gstcheck.h:
4906 add a fail_unless_equals_int
4907 add fail_unless for error messages
4909 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4911 * check/Makefile.am:
4913 * common/Makefile.am:
4916 factor out some of the common stuff so we can use it
4918 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4920 * check/Makefile.am:
4921 * check/gst/gstiterator.c: (GST_START_TEST):
4922 * check/gst/gstsystemclock.c: (GST_START_TEST),
4923 (gst_systemclock_suite):
4924 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
4928 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
4930 * check/elements/.cvsignore:
4931 * check/elements/gstfakesrc.c:
4932 rename to name of element
4933 * check/elements/identity.c: (chain_func), (event_func),
4934 (setup_identity), (cleanup_identity), (GST_START_TEST),
4935 (identity_suite), (main):
4936 add a test for identity
4937 * check/Makefile.am:
4938 * pkgconfig/Makefile.am:
4939 * pkgconfig/gstreamer-check.pc.in:
4940 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4944 move the check stuff to a library that gets installed
4945 * check/gst-libs/controller.c: (GST_START_TEST):
4946 * check/gst-libs/gdp.c:
4947 * check/gst/gst.c: (GST_START_TEST):
4948 * check/gst/gstbin.c:
4949 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4950 * check/gst/gstbus.c:
4951 * check/gst/gstcaps.c: (GST_START_TEST):
4952 * check/gst/gstelement.c:
4953 * check/gst/gstghostpad.c:
4954 * check/gst/gstiterator.c:
4955 * check/gst/gstmessage.c:
4956 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
4957 * check/gst/gstobject.c:
4958 * check/gst/gstpad.c: (GST_START_TEST):
4959 * check/gst/gststructure.c: (GST_START_TEST):
4960 * check/gst/gstsystemclock.c: (GST_START_TEST),
4961 (gst_systemclock_suite):
4962 * check/gst/gsttag.c: (gst_tag_suite):
4963 * check/gst/gstvalue.c:
4964 * check/pipelines/cleanup.c:
4965 * check/pipelines/simple_launch_lines.c:
4966 * check/states/sinks.c:
4967 change include statement
4969 * docs/gst/gstreamer-sections.txt:
4970 * docs/gst/tmpl/gstpad.sgml:
4971 document more pad stuff
4972 * gst/gstminiobject.c: (gst_mini_object_ref),
4973 (gst_mini_object_unref):
4976 2005-08-19 Stefan Kost <ensonic@users.sf.net>
4978 * docs/gst/tmpl/gst.sgml:
4980 eliminate another tmpl file, fix spelling in the long-description
4982 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
4984 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
4985 (test_event), (timediff), (gstevents_suite):
4986 Should fix build on 64-bit arch's
4988 2005-08-18 Andy Wingo <wingo@pobox.com>
4990 Make sure that when a pipeline goes to PLAYING, that data has
4991 actually hit the sink.
4993 * check/states/sinks.c (test_sink): A sink that doesn't get any
4994 data shouldn't return SUCCESS for going to either PLAYING or
4995 PAUSED. Test also the return values on the way back down.
4997 * gst/gstelement.c (gst_element_set_state): When changing the
4998 state of an element currently changing state asynchronously, go to
4999 lost-state after commiting the pending state. Makes future calls
5000 to get_state continue to return ASYNC.
5002 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5003 ASYNC when going to PLAYING if we still don't have preroll, as can
5004 happen with live sources.
5006 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5008 * docs/pwg/advanced-types.xml:
5009 Hack long paragraph into 2 chunks as a workaround for buggy
5010 jadetex version in sid and breezy that loops infinitely and
5013 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5015 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5016 (test_event), (timediff), (gstevents_suite):
5017 Provide more error margin in clock measurements to allow for
5018 g_get_current_time inaccuracies.
5020 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5022 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5023 (test_event), (timediff), (gstevents_suite):
5024 Fix error message output so I might be able to tell why the
5025 test works here but fails on the build farm.
5027 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5029 * check/Makefile.am:
5030 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5031 (test_event), (timediff), (gstevents_suite), (main):
5034 * docs/design/part-seeking.txt:
5037 * docs/gst/tmpl/gstevent.sgml:
5038 * docs/gst/tmpl/gstfakesrc.sgml:
5041 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5042 Treat a buffer-without-newsegment the same as a receiving
5043 a newsegment not in time format, and disable syncing to the clock
5046 * gst/gstbus.c: (gst_bus_set_sync_handler):
5047 Assert if anyone tries to replace the existing sync_handler for bus,
5048 as only the owner should be setting it.
5051 Have a fixed set of custom event enums with events identified by
5052 their structure name (as in 0.8), rather than a free-for-all
5053 allowing collisions between enum values from different plugins.
5055 * gst/gstpad.c: (gst_pad_class_init):
5058 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5059 Handle out-of-band downstream events from the sending thread.
5061 2005-08-17 Andy Wingo <wingo@pobox.com>
5063 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5064 play-timeout==0 to mean no timeout at all. In that case, don't
5065 bother with a get_state or a warning, just return directly, even
5068 * gst/base/gstbasetransform.c: Debug changes.
5071 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5072 ensure bins post state change messages. A bit of a hack but I can't
5073 think of a way to avoid it.
5075 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5077 2005-08-16 Andy Wingo <wingo@pobox.com>
5079 * gst/base/gstadapter.h:
5080 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5081 peek() but you own the data. Not terribly efficient atm.
5083 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5085 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5086 (gst_element_found_tags):
5088 Add two utility functions for tag handling.
5090 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5092 * docs/manual/advanced-dataaccess.xml:
5093 * docs/manual/basics-helloworld.xml:
5094 Fix docs to use _bin_add() before _link(), which fixes the examples
5095 with recent core versions (reported by Madhan Raj M
5096 <raj_madan@rediffmail.com>, #313199).
5098 2005-08-16 Wim Taymans <wim@fluendo.com>
5100 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5101 Added subtract checks.
5103 * docs/design/part-events.txt:
5104 Some more docs about newsegment
5106 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5109 * gst/gstcaps.c: (gst_caps_to_string):
5110 Add comments, cleanups.
5112 * gst/gstelement.c: (gst_element_save_thyself):
5115 * gst/gstvalue.c: (gst_value_collect_int_range),
5116 (gst_string_unwrap), (gst_value_union_int_int_range),
5117 (gst_value_union_int_range_int_range),
5118 (gst_value_intersect_int_int_range),
5119 (gst_value_intersect_int_range_int_range),
5120 (gst_value_intersect_double_double_range),
5121 (gst_value_intersect_double_range_double_range),
5122 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5123 (gst_value_subtract_int_range_int),
5124 (gst_value_subtract_double_range_double),
5125 (gst_value_subtract_double_range_double_range),
5126 (gst_value_subtract_from_list), (gst_value_subtract_list),
5127 (gst_value_can_compare), (gst_value_compare_fraction):
5128 Cleanups, add comments, remove unneeded asserts.
5130 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5132 * tools/gst-launch.c: (event_loop):
5133 don't convert NULL structures to strings
5135 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5137 * docs/gst/gstreamer-sections.txt:
5138 made some defines private
5139 * docs/gst/tmpl/gstconfig.sgml:
5140 * docs/gst/tmpl/gstqueue.sgml:
5141 * docs/gst/tmpl/gsttaglist.sgml:
5142 * docs/gst/tmpl/gsttypes.sgml:
5143 * docs/gst/tmpl/gstutils.sgml:
5144 * docs/pwg/appendix-porting.xml:
5145 * gst/base/gstbasesink.h:
5146 * gst/base/gstbasesrc.c:
5147 * gst/base/gstbasesrc.h:
5148 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5149 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5150 * gst/gstelement.c: (gst_element_class_init):
5151 * gst/gstpad.c: (gst_pad_class_init):
5152 * gst/gstqueue.c: (gst_queue_class_init):
5153 * gst/gstxml.c: (gst_xml_class_init):
5154 documented all undocumented signal inline
5155 * libs/gst/controller/gst-controller.h:
5158 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5160 * docs/pwg/appendix-porting.xml:
5161 Document _set_link_function -> _set_setcaps_function.
5163 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5165 * check/Makefile.am:
5166 add a .check target for running the check
5167 * check/gst-libs/controller.c: (GST_START_TEST):
5169 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5170 complete checks for gstbuffer; would be nice if I could get the
5171 gcov stuff to work so I can see if I actually completed gstbuffer.c
5173 add ASSERT_BUFFER_REFCOUNT
5175 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5177 * docs/gst/gstreamer-sections.txt:
5178 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5180 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5181 spew out a warning if a tag that is already registered
5182 is re-registered, unless it is re-registered with a
5183 different type (#308438).
5185 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5187 * docs/pwg/appendix-porting.xml:
5188 * docs/pwg/building-state.xml:
5189 Add some paragraphs about state changes in 0.9 to the PWG
5190 and the porting guide, in particular about the new meaning
5191 of GST_STATE_PAUSED and how to write state change functions
5192 with concurrent access by multiple threads in mind.
5194 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5196 * docs/gst/gstreamer-docs.sgml:
5197 * docs/libs/gstreamer-libs-docs.sgml:
5198 added deprecation and since indexes
5199 * libs/gst/controller/gst-controller.c:
5200 * libs/gst/controller/gst-helper.c:
5204 2005-08-11 Wim Taymans <wim@fluendo.com>
5206 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5207 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5208 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5209 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5210 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5211 (gst_ghost_pad_set_target):
5212 Actually implement (re)setting the target on a ghostpad
5213 as described in the docs.
5215 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5217 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5218 Check whether GST_DEBUG_NO_COLOR environment variable is
5219 set and disable coloured debug output if that is the case.
5221 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5223 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5224 (gst_type_find_helper):
5225 The memory returned by gst_type_find_peek() needs to
5226 stay valid until the end of a typefind function, and
5227 typefind functions may keep results from different
5228 offsets around, so we can't just unref the buffer from
5229 the previous _peek(), but have to save all buffers
5230 returned by _peek() until typefinding is done and only
5233 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5235 * docs/gst/gstreamer-sections.txt:
5237 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5239 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5241 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5242 Fix a pretty good memleak.
5244 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5246 * gst/gstiterator.h:
5247 Fix wrong include and 'make distcheck'.
5249 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5251 * gst/gstbin.c: (bin_bus_handler):
5252 Use gst_element_post_message() instead.
5254 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5256 * gst/base/gstadapter.h:
5257 * gst/base/gstbasesink.h:
5258 * gst/base/gstbasesrc.h:
5259 * gst/base/gstbasetransform.h:
5260 * gst/base/gstcollectpads.h:
5261 * gst/base/gstpushsrc.h:
5262 * gst/gstiterator.h:
5263 Add padding to our base elements' class and instance structs and
5264 to GstIterator (you will need to rebuild all plugins and apps!)
5266 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5268 * gst/gstbin.c: (bin_bus_handler):
5269 Make default message forwarding from child->bus to bin->bus
5270 threadsafe and make it not emit warnings if the parent has no bus.
5272 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5274 * gst/gstelement.c: (activate_pads):
5275 On paused->ready, set pad->caps to NULL, as is the documented
5276 behaviour in this state change. Fixes playback of series of
5277 media files when visualization is enabled in Totem.
5279 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5281 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5282 Allow NULL as filter-caps (which means "any").
5284 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5286 * docs/libs/gstreamer-libs-sections.txt:
5287 * libs/gst/controller/gst-controller.c:
5288 * libs/gst/controller/gst-controller.h:
5289 * libs/gst/controller/gst-helper.c:
5290 adding more entries to the docs and fix small doc-bugs
5292 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5294 * docs/gst/gstreamer-docs.sgml:
5295 * docs/gst/gstreamer-sections.txt:
5296 * docs/gst/gstreamer.types:
5297 * docs/gst/tmpl/gstbasesink.sgml:
5298 * docs/gst/tmpl/gstbasesrc.sgml:
5299 * docs/gst/tmpl/gstbasetransform.sgml:
5300 * docs/gst/tmpl/gstfakesrc.sgml:
5301 * gst/base/gstcollectpads.c:
5302 * gst/base/gstcollectpads.h:
5303 * libs/gst/controller/gst-controller.c:
5304 * libs/gst/controller/gst-controller.h:
5305 * libs/gst/controller/gst-helper.c:
5306 * libs/gst/controller/gst-interpolation.c:
5307 * libs/gst/controller/lib.c:
5308 added long/short desc for controller docs
5309 added collectpads base class docs
5310 added correct includes to base-class docs
5312 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5314 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
5315 (gst_test_mono_source_set_property),
5316 (gst_test_mono_source_class_init), (GST_START_TEST),
5317 (gst_controller_suite):
5318 * docs/gst/gstreamer-docs.sgml:
5319 * docs/gst/gstreamer-sections.txt:
5320 * docs/gst/gstreamer.types:
5321 * docs/libs/gstreamer-libs-docs.sgml:
5322 * docs/libs/gstreamer-libs-sections.txt:
5323 * gst/base/gstadapter.c:
5324 * libs/gst/controller/gst-controller.c:
5325 (gst_controlled_property_new), (gst_controlled_property_free),
5326 (gst_controller_new_valist),
5327 (gst_controller_remove_properties_valist),
5328 (gst_controller_sink_values), (_gst_controller_finalize):
5329 * libs/gst/controller/gst-controller.h:
5330 * libs/gst/controller/gst-helper.c:
5331 (gst_object_control_properties), (gst_object_uncontrol_properties),
5332 (gst_object_get_controller), (gst_object_set_controller),
5333 (gst_object_sink_values), (gst_object_get_value_arrays),
5334 (gst_object_get_value_array):
5335 more tests (and fixes) for the controller
5336 more docs for the controller
5337 integrated companies docs for the adapter
5339 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
5341 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
5342 (GST_START_TEST), (fakesrc_suite):
5343 add tests for sizetype
5345 2005-08-04 Andy Wingo <wingo@pobox.com>
5347 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
5348 fixes buffer_alloc proxying among other things.
5350 * gst/base/gstbasetransform.c:
5351 * gst/base/gstbasetransform.h:
5352 Revert patch to gstbasetransform from 7-28 removing
5355 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
5356 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
5357 Semantics changed, should return not the size of the output buffer
5358 but the byte size of a buffer with a given caps.
5360 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
5362 (gst_base_transform_configure_caps): Don't set out_size here: (in,
5363 out) are not the pad caps until setcaps finishes.
5364 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
5365 not-in-place case as well. Deal with changing from in-place to
5366 not-in-place within calling pad_alloc_buffer. Still a bit
5367 concerned about the overhead here...
5369 2005-08-03 Andy Wingo <wingo@pobox.com>
5371 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
5372 fixating is an error.
5374 2005-08-04 Edward Hervey <edward@fluendo.com>
5376 * gst/base/gstadapter.h:
5377 Added gst_adapter_get_type() to the header
5379 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5381 * check/Makefile.am:
5382 * check/gst-libs/controller.c:
5383 * libs/gst/controller/gst-controller.c:
5384 (gst_controller_new_valist):
5385 added check test suite for the controller
5386 * gst/base/gstpushsrc.c:
5389 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5391 * docs/gst/Makefile.am:
5392 * docs/gst/gstreamer-docs.sgml:
5393 * docs/gst/gstreamer-sections.txt:
5394 * docs/gst/gstreamer.types:
5395 * docs/gst/tmpl/gstfakesrc.sgml:
5397 * gst/base/gstbasesink.c:
5398 * gst/base/gstbasesink.h:
5399 * gst/base/gstbasesrc.c:
5400 * gst/base/gstbasesrc.h:
5401 * gst/base/gstbasetransform.c:
5402 * gst/base/gstpushsrc.c:
5403 * gst/base/gstpushsrc.h:
5404 add short/long description docs to base classes
5405 add pushsrc to the docs
5406 remove consolidated doc fragments
5408 2005-08-03 Stefan Kost <ensonic@users.sf.net>
5411 * docs/libs/Makefile.am:
5412 * docs/libs/gstreamer-libs-docs.sgml:
5413 * docs/libs/gstreamer-libs-sections.txt:
5414 * docs/libs/gstreamer-libs.types:
5415 * examples/Makefile.am:
5416 * examples/controller/.cvsignore:
5417 * examples/controller/Makefile.am:
5418 * examples/controller/audio-example.c: (main):
5419 * libs/gst/Makefile.am:
5420 * libs/gst/controller/.cvsignore:
5421 * libs/gst/controller/Makefile.am:
5422 * libs/gst/controller/gst-controller.c:
5423 (on_object_controlled_property_changed), (gst_timed_value_compare),
5424 (gst_timed_value_find),
5425 (gst_controlled_property_set_interpolation_mode),
5426 (gst_controlled_property_new), (gst_controlled_property_free),
5427 (gst_controller_find_controlled_property),
5428 (gst_controller_new_valist), (gst_controller_new),
5429 (gst_controller_remove_properties_valist),
5430 (gst_controller_remove_properties), (gst_controller_set),
5431 (gst_controller_set_from_list), (gst_controller_unset),
5432 (gst_controller_get), (gst_controller_get_all),
5433 (gst_controller_sink_values), (gst_controller_get_value_arrays),
5434 (gst_controller_get_value_array),
5435 (gst_controller_set_interpolation_mode),
5436 (_gst_controller_finalize), (_gst_controller_init),
5437 (_gst_controller_class_init), (gst_controller_get_type):
5438 * libs/gst/controller/gst-controller.h:
5439 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
5440 (g_object_uncontrol_properties), (g_object_get_controller),
5441 (g_object_set_controller), (g_object_sink_values),
5442 (g_object_get_value_arrays), (g_object_get_value_array):
5443 * libs/gst/controller/gst-interpolation.c:
5444 (gst_controlled_property_find_timed_value_node),
5445 (interpolate_none_get), (interpolate_trigger_get),
5446 (interpolate_trigger_get_value_array):
5447 * libs/gst/controller/lib.c: (gst_controller_init):
5448 * pkgconfig/Makefile.am:
5449 * pkgconfig/gstreamer-control-uninstalled.pc.in:
5450 * pkgconfig/gstreamer-control.pc.in:
5451 * testsuite/Makefile.am:
5452 * testsuite/controller/.cvsignore:
5453 * testsuite/controller/Makefile.am:
5454 * testsuite/controller/interpolator.c: (main):
5455 added controller code
5456 removed dparam pc files
5458 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5459 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
5460 (gst_collectpads_stop):
5461 Broadcast the condition when shutting down, to make sure we wake all
5462 threads up. Shut down pads on finalize, for safety.
5464 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
5465 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5466 (gst_base_transform_handle_buffer),
5467 (gst_base_transform_change_state):
5468 Handle PAUSED->READY->PAUSED transition after negotiation
5470 * gst/gstmessage.c: (gst_message_init):
5471 Extra piece of debug for new messages.
5473 2005-08-01 Stefan Kost <ensonic@users.sf.net>
5476 * docs/gst/tmpl/gstbasesrc.sgml:
5477 * docs/gst/tmpl/gstelement.sgml:
5478 * docs/gst/tmpl/gstevent.sgml:
5479 * docs/gst/tmpl/gstfakesrc.sgml:
5480 * docs/gst/tmpl/gstformat.sgml:
5481 * docs/gst/tmpl/gstghostpad.sgml:
5482 * docs/gst/tmpl/gstpad.sgml:
5483 * docs/gst/tmpl/gstquery.sgml:
5484 * docs/gst/tmpl/gststructure.sgml:
5485 * docs/gst/tmpl/gsttaglist.sgml:
5486 * docs/gst/tmpl/gstvalue.sgml:
5487 * docs/libs/gstreamer-libs-docs.sgml:
5488 * docs/libs/gstreamer-libs-sections.txt:
5489 * docs/libs/gstreamer-libs.types:
5490 * libs/gst/Makefile.am:
5491 * libs/gst/control/.cvsignore:
5492 * libs/gst/control/Makefile.am:
5493 * libs/gst/control/control.c:
5494 * libs/gst/control/control.h:
5495 * libs/gst/control/dparam.c:
5496 * libs/gst/control/dparam.h:
5497 * libs/gst/control/dparam_smooth.c:
5498 * libs/gst/control/dparam_smooth.h:
5499 * libs/gst/control/dparamcommon.h:
5500 * libs/gst/control/dparammanager.c:
5501 * libs/gst/control/dparammanager.h:
5502 * libs/gst/control/dplinearinterp.c:
5503 * libs/gst/control/dplinearinterp.h:
5504 * libs/gst/control/unitconvert.c:
5505 * libs/gst/control/unitconvert.h:
5506 * testsuite/Makefile.am:
5507 * testsuite/dynparams/.cvsignore:
5508 * testsuite/dynparams/Makefile.am:
5509 * testsuite/dynparams/dparamstest.c:
5510 * tools/Makefile.am:
5511 * tools/gst-inspect.c: (print_element_info), (main):
5512 * tools/gst-xmlinspect.c: (print_element_info), (main):
5513 deactivate and remove dparams (libgstcontrol)
5515 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5517 * gst/elements/gsttypefindelement.c:
5518 (gst_type_find_element_have_type), (gst_type_find_element_init),
5519 (stop_typefinding), (gst_type_find_element_handle_event),
5520 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5521 * gst/elements/gsttypefindelement.h:
5522 Set caps on all outgoing buffers, not just the first one.
5524 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5526 * gst/elements/gsttypefindelement.c:
5527 (gst_type_find_element_have_type),
5528 (gst_type_find_element_check_set_buffer_caps),
5529 (gst_type_find_element_init), (stop_typefinding),
5530 (gst_type_find_element_handle_event),
5531 (gst_type_find_element_chain), (gst_type_find_element_getrange):
5532 * gst/elements/gsttypefindelement.h:
5533 Set caps on first outgoing buffer when we've found the type.
5535 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
5537 * docs/gst/gstreamer-docs.sgml:
5538 * docs/gst/gstreamer-sections.txt:
5539 * docs/gst/tmpl/gstscheduler.sgml:
5540 * docs/gst/tmpl/gstschedulerfactory.sgml:
5541 Remove some old cruft from docs.
5543 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
5546 Fix inline docs for GstPadLinkReturn.
5548 * gst/gststructure.c: (gst_structure_has_name):
5549 * gst/gststructure.h:
5550 * docs/gst/gstreamer-sections.txt:
5551 New API: gst_structure_has_name().
5553 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
5556 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
5557 and _LARGEFILE_SOURCE in config.h as required. Do not
5558 export those flags in our .pc files any longer (#142209).
5560 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
5562 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
5563 (gst_file_sink_do_seek), (gst_file_sink_event),
5564 (gst_file_sink_get_current_offset), (gst_file_sink_render):
5565 Redo seek/tell calls with large file support in mind; add some
5566 debugging messages; add log message that tells us when large
5567 file support is unavailable or not enabled for some reason.
5569 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
5570 Add log message that tells us when large file support
5571 is unavailable or not enabled for some reason.
5573 2005-07-29 Wim Taymans <wim@fluendo.com>
5575 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5576 Added test for removing an element with ghostpad from a bin.
5577 Fixed test as current implementation does the right thing.
5579 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
5580 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
5581 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
5582 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
5583 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
5584 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
5585 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
5586 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
5587 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
5588 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
5589 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
5590 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
5591 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
5592 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
5593 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
5594 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
5595 * gst/gstghostpad.h:
5596 Clean up ghostpads, remove properties for internal stuff.
5599 Prepare for switching targets, not all use cases work yet.
5601 2005-07-29 Wim Taymans <wim@fluendo.com>
5603 * docs/design/part-gstghostpad.txt:
5606 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5607 (gst_bin_remove_func):
5608 Unlinking pads while holding the bin LOCK is not a good
5611 * gst/gstpad.c: (gst_pad_class_init),
5612 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
5613 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
5614 No prob setting template after creating the pad.
5616 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
5618 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
5619 (gst_bus_peek), (gst_bus_source_dispatch),
5620 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
5621 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
5622 gst_bus_poll may be called from other threads. Handle
5623 this nicely by not making poll_data disappear off the
5624 stack once gst_bus_poll returns.
5625 gst_bus_peek now increments the refcount on the returned
5628 2005-07-29 Wim Taymans <wim@fluendo.com>
5630 * docs/design/part-gstghostpad.txt:
5631 Overview of current GhostPad datastructures and use
5632 cases for changing the target.
5634 2005-07-28 Wim Taymans <wim@fluendo.com>
5636 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5637 Added checks for hierarchy consistency whan adding linked
5640 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5641 Added check to test element scheduling without bin/pipeline.
5643 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5644 First add elements to bin, then link.
5646 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
5647 (gst_bin_remove_func):
5648 Unlink pads from elements added/removed from bin to maintain
5649 hierarchy consistency.
5651 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5653 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
5654 (gst_base_transform_handle_buffer):
5655 * gst/base/gstbasetransform.h:
5656 Remove broken delay_configure (fixes renegotiation of software
5657 scaling pipelines); remove some leftover printf()s.
5659 2005-07-28 Wim Taymans <wim@fluendo.com>
5661 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
5662 Added some more tests for wrong hierarchy
5664 * docs/design/part-overview.txt:
5667 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
5670 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
5671 (gst_element_dispose):
5674 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5675 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
5676 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5677 (gst_pad_set_caps), (gst_pad_send_event):
5678 Check for correct hierarchy when linking pads. Moving to
5679 strict requirement for ghostpads when linking elements in
5683 Clean ups. Added WRONG_HIERARCHY return value.
5685 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5687 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5688 Better debug if no transform is possible.
5690 2005-07-27 Wim Taymans <wim@fluendo.com>
5692 * docs/random/wtay/network-transp:
5695 2005-07-27 Wim Taymans <wim@fluendo.com>
5697 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5698 (gst_dp_event_from_packet):
5699 Fix serialization of seek events.
5701 2005-07-27 Wim Taymans <wim@fluendo.com>
5703 * check/gst-libs/gdp.c: (GST_START_TEST):
5704 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5705 Fix compilation and fix event serialization.
5707 2005-07-27 Wim Taymans <wim@fluendo.com>
5710 * docs/design/part-TODO.txt:
5711 * docs/design/part-events.txt:
5714 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5715 (gst_base_sink_event), (gst_base_sink_do_sync),
5716 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5717 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5718 (gst_base_src_do_seek), (gst_base_src_event_handler),
5719 (gst_base_src_loop):
5720 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5721 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5722 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5723 (gst_base_transform_event), (gst_base_transform_handle_buffer),
5724 (gst_base_transform_set_passthrough),
5725 (gst_base_transform_is_passthrough):
5726 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
5727 * gst/elements/gstfilesink.c: (gst_file_sink_event):
5733 * gst/gstelement.c: (gst_element_seek):
5735 Update gst_element_seek.
5737 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
5738 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
5739 (gst_event_new_flush_start), (gst_event_new_flush_stop),
5740 (gst_event_new_eos), (gst_event_new_newsegment),
5741 (gst_event_parse_newsegment), (gst_event_new_tag),
5742 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
5743 (gst_event_parse_qos), (gst_event_new_seek),
5744 (gst_event_parse_seek), (gst_event_new_navigation):
5746 Make GstEvent use GstStructure. Add parsing code, make sure the
5747 API is sufficiently generic.
5748 Mark possible directions of events and serialization.
5750 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
5751 (_gst_message_copy), (gst_message_new_segment_start),
5752 (gst_message_new_segment_done), (gst_message_new_custom),
5753 (gst_message_parse_segment_start),
5754 (gst_message_parse_segment_done):
5757 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5758 (gst_pad_set_caps), (gst_pad_send_event):
5759 Update for new events.
5760 Catch events sent in wrong directions.
5762 * gst/gstqueue.c: (gst_queue_link_src),
5763 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5764 (gst_queue_handle_src_query):
5769 Remove event code from this file.
5771 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
5772 (gst_dp_event_from_packet):
5775 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5777 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
5778 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5779 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
5780 Make debugging actually useful.
5782 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5784 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
5785 (gst_pad_fixate_caps):
5786 Implement default fixation once again, so that gst_pad_fixate()
5787 actually does anything at all. This probably needs to be some
5788 sort of a last resort, and use profile-based fixation first, but
5789 since that doesn't exist yet, this is the best we have. Fixes
5790 visualization in Totem.
5792 2005-07-22 Wim Taymans <wim@fluendo.com>
5794 * docs/design/part-events.txt:
5797 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5798 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
5799 (gst_base_sink_activate_pull):
5802 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
5803 (gst_fake_src_create):
5804 Fix handoff marshall.
5806 * gst/elements/gstidentity.c: (gst_identity_class_init),
5807 (gst_identity_transform_ip):
5808 We're a real inplace element.
5810 * gst/gstbus.c: (gst_bus_post):
5811 Added some comments.
5813 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
5814 * tests/muxing/case1.c: (main):
5815 * tests/sched/dynamic-pipeline.c: (main):
5816 * tests/sched/interrupt1.c: (main):
5817 * tests/sched/interrupt2.c: (main):
5818 * tests/sched/interrupt3.c: (main):
5819 * tests/sched/runxml.c: (main):
5820 * tests/sched/sched-stress.c: (main):
5821 * tests/seeking/seeking1.c: (event_received), (main):
5822 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
5824 * tests/threadstate/threadstate3.c: (main):
5825 * tests/threadstate/threadstate4.c: (main):
5826 * tests/threadstate/threadstate5.c: (main):
5829 2005-07-21 Wim Taymans <wim@fluendo.com>
5831 * docs/design/part-seeking.txt:
5832 Some small additions.
5834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5835 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5836 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
5837 * gst/base/gstbasesink.h:
5838 discont values are gint64, handle the math correctly.
5840 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5841 Make the basesrc report error if the source pad is not linked.
5843 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
5844 (gst_queue_loop), (gst_queue_handle_src_query),
5845 (gst_queue_src_activate_push):
5846 Make queue collect data even if the srcpad is not linked.
5847 Start pushing out data as soon as it is linked.
5849 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
5851 Added gst_flow_get_name() to ease error reporting.
5853 2005-07-20 Wim Taymans <wim@fluendo.com>
5855 * gst/gstmessage.c: (gst_message_new_segment_start),
5856 (gst_message_new_segment_done), (gst_message_parse_segment_start),
5857 (gst_message_parse_segment_done):
5859 Added a bunch of messages for advanced seeking.
5861 * gst/parse/grammar.y:
5862 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
5863 (gst_dpman_state_changed):
5864 Fix some new-pad -> pad-added signals
5866 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5868 * docs/manual/appendix-porting.xml:
5869 * docs/pwg/appendix-porting.xml:
5870 Document new-pad/state-change signal renames and the FixedList
5873 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5875 * docs/manual/advanced-autoplugging.xml:
5876 * docs/manual/basics-helloworld.xml:
5877 * docs/manual/basics-pads.xml:
5878 * docs/random/ds/0.9-suggested-changes:
5879 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
5884 * gst/gststructure.c: (gst_structure_value_get_generic_type),
5885 (gst_structure_parse_array), (gst_structure_parse_value):
5886 * gst/gstvalue.c: (gst_type_is_fixed),
5887 (gst_value_list_prepend_value), (gst_value_list_append_value),
5888 (gst_value_list_get_size), (gst_value_list_get_value),
5889 (gst_value_transform_array_string), (gst_value_serialize_array),
5890 (gst_value_deserialize_array), (gst_value_intersect_array),
5891 (gst_value_is_fixed), (_gst_value_initialize):
5893 GstElement::new-pad -> pad-added, GstElement::state-change ->
5894 state-changed, GstValueFixedList -> GstValueArray, add format and
5895 flags as their own arguments in gst_element_seek() (should improve
5896 "bindeability"), remove function generators since they don't work
5897 under a whole bunch of compilers (they were deprecated already
5900 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5902 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
5903 (_gst_debug_register_funcptr):
5905 Fix illegal cast on some platforms (#309253).
5907 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5909 * gst/gstmessage.c: (gst_message_new_custom):
5911 Add _new_custom, make _new_application a macro to _new_custom.
5913 2005-07-20 Wim Taymans <wim@fluendo.com>
5915 * gst/base/gstbasesrc.c: (gst_base_src_init),
5916 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
5917 * gst/base/gstbasesrc.h:
5918 Add a gboolean to decide when to push out a discont.
5920 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5921 (gst_queue_loop), (gst_queue_handle_src_query),
5922 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
5923 (gst_queue_set_property), (gst_queue_get_property):
5926 * tests/threadstate/threadstate1.c: (main):
5927 Make a thread test compile and run... very silly..
5930 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5932 * docs/manual/appendix-porting.xml:
5933 Mention removal of libgstgconf-0.9.la and existence of gconf
5936 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5938 * docs/pwg/advanced-clock.xml:
5939 * docs/pwg/appendix-porting.xml:
5940 * docs/pwg/intro-preface.xml:
5941 * docs/pwg/other-base.xml:
5942 * docs/pwg/other-manager.xml:
5943 * docs/pwg/other-nton.xml:
5944 * docs/pwg/other-ntoone.xml:
5945 * docs/pwg/other-oneton.xml:
5947 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
5948 demuxer), remove n-to-n (was never written), fix some code examples
5949 and links and update the porting section to include all this.
5951 2005-07-19 Wim Taymans <wim@fluendo.com>
5953 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
5954 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
5955 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
5956 (gst_queue_src_activate_push), (gst_queue_change_state),
5957 (gst_queue_get_property):
5959 Propagate GstFlowReturn more intelligently upstream and output
5960 an ERROR/EOS when streaming stopped due to fatal error.
5962 2005-07-19 Wim Taymans <wim@fluendo.com>
5964 * tools/gst-launch.c: (check_intr), (event_loop), (main):
5965 Don't block forever for the state change to complete, the
5966 pipeline already did with a sensible timeout.
5968 2005-07-19 Wim Taymans <wim@fluendo.com>
5970 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
5971 Make sure we never call the create function is we
5974 2005-07-19 Andy Wingo <wingo@pobox.com>
5976 * gst/parse/parse.l: Attempt to solve bug #172815.
5978 2005-07-19 Wim Taymans <wim@fluendo.com>
5980 * docs/design/part-clocks.txt:
5981 * docs/design/part-events.txt:
5982 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
5984 Only update the seeking values when we are not
5987 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5989 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5990 Oops, ignore the result of gst_pad_push_event here.
5992 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
5994 * gst/base/gstbasesrc.c: (gst_base_src_loop),
5995 (gst_base_src_activate_push):
5996 Send discont event from the loop function, as pads
5997 aren't activated yet in the activate_push handler.
5999 * gst/gstbin.c: (bin_bus_handler):
6000 Don't leak element name.
6002 2005-07-18 Andy Wingo <wingo@pobox.com>
6004 * configure.ac: Use AS_LIBTOOL_TAGS.
6006 2005-07-18 Wim Taymans <wim@fluendo.com>
6008 * docs/gst/gstreamer.types:
6009 Remove deleted types.
6011 2005-07-18 Wim Taymans <wim@fluendo.com>
6013 * check/elements/gstfakesrc.c: (GST_START_TEST):
6016 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6017 (init_popt_callback):
6019 * gst/gst_private.h:
6020 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6021 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6024 * gst/gstconfig.h.in:
6025 * gst/gstelement.c: (gst_element_class_init),
6026 (gst_element_set_base_time), (gst_element_get_base_time),
6027 (iterator_fold_with_resync), (gst_element_change_state),
6028 (gst_element_dispose), (gst_element_get_bus):
6030 * gst/gstelementfactory.h:
6031 * gst/gsterror.c: (_gst_core_errors_init):
6034 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6036 * gst/gstinfo.c: (_gst_debug_init):
6037 * gst/gstmessage.c: (_gst_message_copy):
6039 * gst/gstminiobject.h:
6042 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6043 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6046 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6047 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6048 (gst_pipeline_get_last_stream_time):
6049 * gst/gstpipeline.h:
6050 * gst/gstpluginfeature.h:
6052 * gst/gstscheduler.c:
6053 * gst/gstscheduler.h:
6054 * gst/gststructure.h:
6055 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6056 (gst_task_finalize), (gst_task_func), (gst_task_create),
6057 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6058 (gst_task_stop), (gst_task_pause):
6060 * gst/gsttypefind.h:
6062 * gst/registries/gstlibxmlregistry.c: (load_feature),
6063 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6064 * gst/registries/gstxmlregistry.c:
6065 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6066 * gst/schedulers/threadscheduler.c:
6067 * libs/gst/control/dparammanager.h:
6068 * tools/gst-inspect.c: (print_element_list),
6069 (print_plugin_features), (print_element_features):
6070 * tools/gst-xmlinspect.c: (print_element_list),
6071 (print_plugin_info), (main):
6072 Removed plugable schedulers.
6073 Removed Scheduler/Manager from elements.
6074 Removed gsttypes.h, rearranged includes.
6075 Removed dependency pad<->element, element<>pipeline, and
6076 various others, fix includes.
6077 implement gst_pad_get_parent() with gst_object_get_parent()
6078 Make GstTask sefcontained.
6079 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6081 Fix endless loop in iterator_fold_with_resync.
6084 2005-07-18 Wim Taymans <wim@fluendo.com>
6090 2005-07-18 Wim Taymans <wim@fluendo.com>
6095 2005-07-18 Wim Taymans <wim@fluendo.com>
6101 2005-07-18 Wim Taymans <wim@fluendo.com>
6103 * docs/design/part-dynamic.txt:
6104 * docs/design/part-events.txt:
6105 * docs/design/part-seeking.txt:
6106 Some more docs in the works.
6108 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6109 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6110 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6111 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6112 (gst_base_transform_handle_buffer),
6113 (gst_base_transform_sink_activate_push),
6114 (gst_base_transform_src_activate_pull),
6115 (gst_base_transform_set_passthrough),
6116 (gst_base_transform_is_passthrough):
6119 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6122 * gst/gstevent.c: (gst_event_finalize):
6125 * gst/gstutils.c: (gst_element_unlink),
6126 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6127 (gst_pad_proxy_setcaps):
6129 Add _get_parent_element() to get a pads parent as an element.
6131 2005-07-18 Wim Taymans <wim@fluendo.com>
6133 * check/gst/gstbin.c: (GST_START_TEST):
6136 2005-07-18 Wim Taymans <wim@fluendo.com>
6138 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6139 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6140 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6141 (gst_base_sink_event), (gst_base_sink_do_sync),
6142 (gst_base_sink_chain), (gst_base_sink_loop),
6143 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6144 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6146 Fix logic for returning ASYNC when not prerolled.
6148 2005-07-18 Wim Taymans <wim@fluendo.com>
6150 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6151 Fix nasty refcount bug.
6153 2005-07-16 Philippe Khalaf <burger@speedy.org>
6155 * gst/elements/gstfdsrc.c:
6156 * gst/elements/gstfdsrc.h:
6157 * gst/elements/gstelements.c:
6158 * gst/elements/Makefile.am:
6159 Ported fdsrc to 0.9.
6161 2005-07-16 Wim Taymans <wim@fluendo.com>
6163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6164 (gst_base_sink_do_sync):
6167 2005-07-16 Wim Taymans <wim@fluendo.com>
6169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6170 (gst_base_sink_event), (gst_base_sink_get_times),
6171 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6172 * gst/base/gstbasesink.h:
6173 Store and use discont values when syncing buffers as described
6176 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6177 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6178 (gst_base_src_activate_push):
6179 Push discont event when starting.
6181 * gst/elements/gstidentity.c: (gst_identity_transform):
6184 * gst/gstbin.c: (gst_bin_change_state):
6185 Small cleanups in base_time distribution.
6187 * gst/gstelement.c: (gst_element_set_base_time),
6188 (gst_element_get_base_time), (gst_element_change_state):
6190 Added methods for the base_time of the element.
6193 * gst/gstpipeline.c: (gst_pipeline_send_event),
6194 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6195 (gst_pipeline_get_last_stream_time):
6196 * gst/gstpipeline.h:
6198 Handle seeking as described in design doc, remove stream_time
6200 Cleanups clock and stream_time selection code. Added accessors
6201 for the stream_time.
6204 2005-07-16 Andy Wingo <wingo@pobox.com>
6206 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6209 2005-07-16 Wim Taymans <wim@fluendo.com>
6211 * check/gst/gstbin.c: (GST_START_TEST):
6212 Make elements silent as the deep_notify refs the
6213 parent, which might make the test fail.
6215 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6216 Don't hold the lock for too long.
6218 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6220 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6221 Don't unref the caps we passed to gst_caps_make_writable() after
6222 passing them. gst_caps_make_writable() will do that for us.
6224 2005-07-15 Andy Wingo <wingo@pobox.com>
6226 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6229 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6230 own marshalling function for the handoff signal. Properly type the
6231 buffer as a buffer. Fixes some warnings. Should do a more general
6233 (gst_identity_class_init): Plug into the right marshaller.
6235 2005-07-15 Wim Taymans <wim@fluendo.com>
6237 * docs/design/part-TODO.txt:
6238 * docs/design/part-clocks.txt:
6239 * docs/design/part-element-sink.txt:
6240 * docs/design/part-events.txt:
6241 * docs/design/part-gstpipeline.txt:
6242 Updated docs, mostly DISCONT related.
6244 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6246 * docs/pwg/building-pads.xml:
6247 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6249 2005-07-15 Andy Wingo <wingo@pobox.com>
6251 * tools/gst-typefind.c: Update, add copyright block.
6253 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6254 Normalize and truncate caps before fixation.
6257 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6258 discards all but the first structure from its argument.
6260 2005-07-15 Wim Taymans <wim@fluendo.com>
6262 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6263 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6264 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6265 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6266 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6267 (gst_base_transform_chain), (gst_base_transform_change_state),
6268 (gst_base_transform_set_passthrough),
6269 (gst_base_transform_is_passthrough):
6270 * gst/base/gstbasetransform.h:
6271 Make passthrough work using the bufferpools.
6272 Changed API a bit, subclasses have to write into a buffer
6273 provided by the base class.
6274 More debug info in nego functions.
6276 * gst/elements/gstidentity.c: (gst_identity_init),
6277 (gst_identity_transform):
6278 Port to new base class.
6280 2005-07-15 Wim Taymans <wim@fluendo.com>
6282 * gst/gstmessage.c: (gst_message_new_state_changed):
6283 * tools/gst-launch.c: (event_loop), (main):
6284 Totally dump messages in -launch with the -m option.
6285 Fix message name for State messages,
6287 2005-07-14 Wim Taymans <wim@fluendo.com>
6289 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6290 Post error messages on errors.
6292 2005-07-14 Wim Taymans <wim@fluendo.com>
6294 * gst/gstcaps.c: (gst_caps_do_simplify):
6298 Define error for stream stopped.
6300 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6301 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
6302 Do proper return values.
6304 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6305 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
6306 (gst_pad_get_range):
6307 Better return values.
6310 Reorganise return values, add macro to check for fatal errors.
6312 * gst/gstqueue.c: (gst_queue_chain):
6313 Return proper GstFlowReturn values,
6315 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
6317 * docs/gst/gstreamer-sections.txt:
6318 * docs/gst/gstreamer.types:
6319 * docs/gst/tmpl/gst.sgml:
6320 * docs/gst/tmpl/gstbasesink.sgml:
6321 * docs/gst/tmpl/gstbasesrc.sgml:
6322 * docs/gst/tmpl/gstbasetransform.sgml:
6323 * docs/gst/tmpl/gstbin.sgml:
6324 * docs/gst/tmpl/gstbuffer.sgml:
6325 * docs/gst/tmpl/gstcaps.sgml:
6326 * docs/gst/tmpl/gstclock.sgml:
6327 * docs/gst/tmpl/gstcompat.sgml:
6328 * docs/gst/tmpl/gstconfig.sgml:
6329 * docs/gst/tmpl/gstelement.sgml:
6330 * docs/gst/tmpl/gstelementdetails.sgml:
6331 * docs/gst/tmpl/gstelementfactory.sgml:
6332 * docs/gst/tmpl/gstenumtypes.sgml:
6333 * docs/gst/tmpl/gsterror.sgml:
6334 * docs/gst/tmpl/gstevent.sgml:
6335 * docs/gst/tmpl/gstfakesink.sgml:
6336 * docs/gst/tmpl/gstfakesrc.sgml:
6337 * docs/gst/tmpl/gstfilesink.sgml:
6338 * docs/gst/tmpl/gstfilesrc.sgml:
6339 * docs/gst/tmpl/gstfilter.sgml:
6340 * docs/gst/tmpl/gstformat.sgml:
6341 * docs/gst/tmpl/gstghostpad.sgml:
6342 * docs/gst/tmpl/gstimplementsinterface.sgml:
6343 * docs/gst/tmpl/gstindex.sgml:
6344 * docs/gst/tmpl/gstindexfactory.sgml:
6345 * docs/gst/tmpl/gstinfo.sgml:
6346 * docs/gst/tmpl/gstiterator.sgml:
6347 * docs/gst/tmpl/gstmacros.sgml:
6348 * docs/gst/tmpl/gstmemchunk.sgml:
6349 * docs/gst/tmpl/gstminiobject.sgml:
6350 * docs/gst/tmpl/gstobject.sgml:
6351 * docs/gst/tmpl/gstpad.sgml:
6352 * docs/gst/tmpl/gstpadtemplate.sgml:
6353 * docs/gst/tmpl/gstparse.sgml:
6354 * docs/gst/tmpl/gstpipeline.sgml:
6355 * docs/gst/tmpl/gstplugin.sgml:
6356 * docs/gst/tmpl/gstpluginfeature.sgml:
6357 * docs/gst/tmpl/gstquery.sgml:
6358 * docs/gst/tmpl/gstqueue.sgml:
6359 * docs/gst/tmpl/gstregistry.sgml:
6360 * docs/gst/tmpl/gstregistrypool.sgml:
6361 * docs/gst/tmpl/gstscheduler.sgml:
6362 * docs/gst/tmpl/gstschedulerfactory.sgml:
6363 * docs/gst/tmpl/gststructure.sgml:
6364 * docs/gst/tmpl/gstsystemclock.sgml:
6365 * docs/gst/tmpl/gsttaglist.sgml:
6366 * docs/gst/tmpl/gsttagsetter.sgml:
6367 * docs/gst/tmpl/gsttrace.sgml:
6368 * docs/gst/tmpl/gsttrashstack.sgml:
6369 * docs/gst/tmpl/gsttypefind.sgml:
6370 * docs/gst/tmpl/gsttypefindfactory.sgml:
6371 * docs/gst/tmpl/gsttypes.sgml:
6372 * docs/gst/tmpl/gsturihandler.sgml:
6373 * docs/gst/tmpl/gsturitype.sgml:
6374 * docs/gst/tmpl/gstutils.sgml:
6375 * docs/gst/tmpl/gstvalue.sgml:
6376 * docs/gst/tmpl/gstversion.sgml:
6377 * docs/gst/tmpl/gstxml.sgml:
6378 * docs/libs/tmpl/gstcontrol.sgml:
6379 * docs/libs/tmpl/gstdataprotocol.sgml:
6380 * docs/libs/tmpl/gstdparam.sgml:
6381 * docs/libs/tmpl/gstdplinint.sgml:
6382 * docs/libs/tmpl/gstdpman.sgml:
6383 * docs/libs/tmpl/gstdpsmooth.sgml:
6384 * docs/libs/tmpl/gstgetbits.sgml:
6385 * docs/libs/tmpl/gstunitconvert.sgml:
6386 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
6387 (gst_push_src_base_init), (gst_push_src_class_init),
6388 (gst_push_src_init), (gst_push_src_create):
6389 * gst/base/gstpushsrc.h:
6390 * gst/elements/gstelements.c:
6391 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
6392 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
6393 (gst_fake_sink_init), (gst_fake_sink_set_property),
6394 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
6395 (gst_fake_sink_event), (gst_fake_sink_preroll),
6396 (gst_fake_sink_render), (gst_fake_sink_change_state):
6397 * gst/elements/gstfakesink.h:
6398 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6399 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6400 (gst_fake_src_base_init), (gst_fake_src_class_init),
6401 (gst_fake_src_init), (gst_fake_src_event_handler),
6402 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
6403 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
6404 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
6405 (gst_fake_src_create_buffer), (gst_fake_src_create),
6406 (gst_fake_src_start), (gst_fake_src_stop):
6407 * gst/elements/gstfakesrc.h:
6408 * gst/elements/gstfilesink.c: (_do_init),
6409 (gst_file_sink_base_init), (gst_file_sink_class_init),
6410 (gst_file_sink_init), (gst_file_sink_dispose),
6411 (gst_file_sink_set_location), (gst_file_sink_set_property),
6412 (gst_file_sink_get_property), (gst_file_sink_open_file),
6413 (gst_file_sink_close_file), (gst_file_sink_query),
6414 (gst_file_sink_event), (gst_file_sink_render),
6415 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
6416 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
6417 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
6418 * gst/elements/gstfilesink.h:
6419 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
6420 (gst_file_src_class_init), (gst_file_src_init),
6421 (gst_file_src_finalize), (gst_file_src_set_location),
6422 (gst_file_src_set_property), (gst_file_src_get_property),
6423 (gst_file_src_map_region), (gst_file_src_map_small_region),
6424 (gst_file_src_create_mmap), (gst_file_src_create_read),
6425 (gst_file_src_create), (gst_file_src_is_seekable),
6426 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
6427 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
6428 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
6429 (gst_file_src_uri_handler_init):
6430 * gst/elements/gstfilesrc.h:
6431 more autistic cleanliness in functions/names/defines
6433 2005-07-13 Andy Wingo <wingo@pobox.com>
6435 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
6436 source couldn't negotiate.
6438 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
6442 * gst/gstutils.c (gst_element_link_pads_filtered): New old
6443 function. I am channeling Hades. Put your boots on suckers!!!
6445 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
6447 * testsuite/caps/Makefile.am:
6448 * testsuite/caps/value_compare.c:
6449 * testsuite/caps/value_intersect.c:
6450 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6451 move two testsuite apps over to the check dir
6453 2005-07-12 Wim Taymans <wim@fluendo.com>
6455 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6456 Added more debug info in the negotiate process.
6459 Prepare for segment playback.
6461 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
6467 * tools/gst-launch.c: (main):
6468 NULL pipeline on errors.
6470 2005-07-12 Andy Wingo <wingo@pobox.com>
6472 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
6473 not it comes from a malloc region. Make sure our copy gets freed.
6475 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6477 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6478 * check/gst/gstmessage.c: (GST_START_TEST):
6479 * check/gst/gststructure.c: (GST_START_TEST),
6480 (gst_structure_suite), (main):
6482 * gst/gstelement.c: (gst_element_message_full):
6483 clean up GError and debug string now that they get copied
6484 * gst/gstmessage.c: (gst_message_new_error),
6485 (gst_message_new_warning), (gst_message_parse_error),
6486 (gst_message_parse_warning):
6487 use GST_TYPE_G_ERROR for structure_new, and take copies of
6488 arguments, so that we don't mess up refcounting
6490 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6492 * check/Makefile.am:
6493 add per-test valgrind targets
6494 * check/gst-libs/gdp.c: (GST_START_TEST),
6495 (gst_data_protocol_suite), (main):
6498 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
6500 * check/Makefile.am:
6501 instate more valgrindable tests
6502 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6503 (GST_START_TEST), (fakesrc_suite):
6504 * check/gst/gstpad.c: (GST_START_TEST):
6505 * check/gst/gststructure.c: (GST_START_TEST):
6507 * docs/gst/tmpl/gstminiobject.sgml:
6508 * gst/gstpad.c: (gst_pad_finalize):
6509 fix the static mutex leak
6511 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6513 * check/Makefile.am:
6514 add two more tests for valgrinding
6515 * check/gst/gstvalue.c: (GST_START_TEST):
6516 test refcount of deserialized buffer, found a leak
6517 * docs/gst/gstreamer-docs.sgml:
6518 * docs/gst/gstreamer-sections.txt:
6519 * docs/gst/gstreamer.types:
6520 * docs/gst/tmpl/gstminiobject.sgml:
6521 add miniobject to docs
6522 * gst/gstminiobject.c:
6524 * gst/gstvalue.c: (gst_value_deserialize_buffer),
6525 (gst_string_unwrap):
6526 fix a hard-to-find invalid write for one of the tests
6527 fix a leak for deserialized buffers
6529 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6531 * docs/pwg/advanced-events.xml:
6532 * docs/pwg/advanced-request.xml:
6533 * docs/pwg/advanced-scheduling.xml:
6534 * docs/pwg/appendix-porting.xml:
6535 * docs/pwg/building-boiler.xml:
6536 * docs/pwg/intro-preface.xml:
6537 * docs/pwg/other-ntoone.xml:
6538 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
6539 of example code and explanation for pad activation, loop() and
6540 getrange() functions and a bit more. Remove old comments pointing
6542 * examples/pwg/Makefile.am:
6543 Add loop/getrange examples.
6545 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6548 check for valgrind binary + some fixes
6550 valgrind suppressions for the tests
6551 * check/Makefile.am:
6552 add a valgrind: target that valgrinds the unit tests
6553 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
6554 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6555 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6556 * check/gst/gstghostpad.c:
6558 * check/gst/gstdata.c:
6560 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
6561 (thread_unref), (gst_mini_object_suite), (main):
6563 * gst/gst.c: (gst_deinit):
6565 add a method to clean up.
6566 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6567 (gst_system_clock_obtain):
6568 allow for disposing the system clock.
6569 * tools/gst-launch.c: (main):
6572 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
6574 * docs/gst/tmpl/gstbasesrc.sgml:
6575 * docs/gst/tmpl/gstfakesrc.sgml:
6576 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6577 (gst_base_src_init), (gst_base_src_set_property),
6578 (gst_base_src_get_property), (gst_base_src_get_range),
6579 (gst_base_src_start):
6580 * gst/base/gstbasesrc.h:
6581 add num-buffers property
6582 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6583 (gst_fakesrc_init), (gst_fakesrc_set_property),
6584 (gst_fakesrc_get_property), (gst_fakesrc_create),
6585 (gst_fakesrc_start):
6586 remove num-buffers property
6588 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6590 * docs/gst/gstreamer-sections.txt:
6591 * docs/gst/tmpl/gstbasesink.sgml:
6592 * docs/gst/tmpl/gstbasesrc.sgml:
6593 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6594 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6595 (gst_base_sink_finalize), (gst_base_sink_set_clock),
6596 (gst_base_sink_set_property), (gst_base_sink_get_property),
6597 (gst_base_sink_handle_object), (gst_base_sink_event),
6598 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
6599 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
6600 (gst_base_sink_loop), (gst_base_sink_deactivate),
6601 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
6602 (gst_base_sink_change_state):
6603 * gst/base/gstbasesink.h:
6604 * gst/base/gstbasesrc.h:
6605 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
6606 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6607 (gst_filesink_init):
6608 more macro splitting
6610 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6612 * gst/gstelement.c: (gst_element_get_bus):
6614 * tools/gst-launch.c: (check_intr), (event_loop):
6617 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6619 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6622 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
6624 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6625 (gst_base_src_finalize):
6626 add finalize method and clean up properly
6627 * gst/gstpipeline.c: (gst_pipeline_dispose):
6630 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6632 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
6634 add more things to check
6635 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
6639 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6641 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6642 (GST_START_TEST), (fakesrc_suite):
6643 * check/gst-libs/gdp.c: (GST_START_TEST):
6644 * check/gst/gst.c: (GST_START_TEST):
6645 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6646 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6647 * check/gst/gstbus.c: (GST_START_TEST):
6648 * check/gst/gstcaps.c: (GST_START_TEST):
6649 * check/gst/gstdata.c: (GST_START_TEST):
6650 * check/gst/gstelement.c: (GST_START_TEST):
6651 * check/gst/gstghostpad.c: (GST_START_TEST):
6652 * check/gst/gstiterator.c: (GST_START_TEST):
6653 * check/gst/gstmessage.c: (GST_START_TEST):
6654 * check/gst/gstobject.c: (GST_START_TEST):
6655 * check/gst/gstpad.c: (GST_START_TEST):
6656 * check/gst/gststructure.c: (GST_START_TEST):
6657 * check/gst/gstsystemclock.c: (GST_START_TEST),
6658 (gst_systemclock_suite):
6659 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6660 * check/gst/gstvalue.c: (GST_START_TEST):
6661 * check/pipelines/cleanup.c: (GST_START_TEST):
6662 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6663 * check/states/sinks.c: (GST_START_TEST):
6664 * check/gstcheck.c: (gst_check_init):
6666 add debugging category
6667 use GST_START_TEST now, so we add a debug line
6669 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
6671 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
6672 add test for state change message on a bin
6673 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
6675 * gst/gstbin.c: (gst_bin_init):
6676 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
6677 * gst/gstelement.c: (gst_element_post_message),
6678 (gst_element_set_state):
6679 * gst/gstelementfactory.c: (gst_element_factory_create):
6680 * gst/gstmessage.c: (gst_message_new):
6681 * gst/gstscheduler.c:
6682 various debugging additions and cleanups
6684 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6686 * check/Makefile.am:
6687 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
6689 adding tests for elements
6690 * gst/gstelement.c: (gst_element_dispose):
6692 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6694 * gst/registries/gstlibxmlregistry.c: (load_feature):
6695 plug more leaks. A simple gst_init() now is leakfree, yay.
6697 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6699 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
6700 (gst_xml_registry_load):
6701 plug another memleak
6703 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6706 use GST_SET_ERROR_CFLAGS
6708 change to ERROR_CFLAGS
6710 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
6713 make GST_ERROR_CFLAGS overridable and re-enable Werror
6715 add a note about error CFLAGS
6716 * docs/gst/tmpl/gstfakesrc.sgml:
6717 * gst/elements/gstfakesrc.c:
6718 comment out some unused code
6719 * gst/gst.c: (split_and_iterate):
6720 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
6724 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6726 * common/Makefile.am:
6727 * common/gtk-doc.mak:
6728 * docs/gst/Makefile.am:
6729 factor out gtk-doc.mak
6731 2005-07-07 Wim Taymans <wim@fluendo.com>
6733 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
6734 (gst_thread_scheduler_dispose):
6735 Unlock the STREAM_LOCK completely.
6737 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
6739 * check/Makefile.am:
6740 * check/elements/.cvsignore:
6741 * check/elements/gstfakesrc.c: (chain_func), (event_func),
6742 (START_TEST), (fakesrc_suite), (main):
6743 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6744 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6745 (gst_fakesrc_create), (gst_fakesrc_start):
6746 * gst/elements/gstfakesrc.h:
6747 adding a first element test
6749 2005-07-07 Andy Wingo <wingo@pobox.com>
6751 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
6754 2005-07-07 Wim Taymans <wim@fluendo.com>
6760 2005-07-07 Wim Taymans <wim@fluendo.com>
6762 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6763 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
6764 Allow subclasses to implement their own negotiation.
6766 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6768 * docs/design/part-gstbin.txt:
6769 * docs/design/part-gstpipeline.txt:
6770 Update design notes to reflect the movement of
6771 responsibility for bus handling from GstPipeline to
6774 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6777 Remove unnecessary queue2/3/4 examples.
6779 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
6781 * examples/Makefile.am:
6782 * examples/helloworld/helloworld.c: (event_loop), (main):
6783 * examples/queue/queue.c: (event_loop), (main):
6784 * examples/queue2/queue2.c: (main):
6785 Update a couple of the examples to work again.
6787 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6788 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
6789 Spelling corrections and extra debug.
6791 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
6792 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
6793 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
6795 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6796 (gst_pipeline_change_state):
6797 * gst/gstpipeline.h:
6798 Move the bus handler for children to the GstBin, and create a
6799 separate bus for receiving messages from children to the one the
6800 bus sends 'upwards' on.
6802 2005-07-06 Wim Taymans <wim@fluendo.com>
6805 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
6806 (gst_base_sink_handle_object), (gst_base_sink_loop),
6807 (gst_base_sink_change_state):
6808 * gst/base/gstbasesink.h:
6809 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
6810 (gst_base_src_init), (gst_base_src_setcaps),
6811 (gst_base_src_getcaps), (gst_base_src_loop),
6812 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
6813 (gst_base_src_start), (gst_base_src_change_state):
6814 * gst/base/gstbasesrc.h:
6815 Make basesrc negotiate.
6816 Handle the case where preroll fails in basesink.
6819 2005-07-06 Wim Taymans <wim@fluendo.com>
6821 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
6822 Implement the fixate function.
6823 Clean up acceptcaps.
6825 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6827 * docs/pwg/building-filterfactory.xml:
6829 Remove never-written filter-factory chapter; I'll add the various
6830 base classes to part 4 ("other element types") later on.
6832 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6834 * docs/pwg/advanced-negotiation.xml:
6835 * docs/pwg/building-boiler.xml:
6836 * docs/pwg/building-pads.xml:
6838 * examples/pwg/Makefile.am:
6839 Add a chapter on caps negotiation, simplify the original code
6840 samples a bit w.r.t. caps negotiation, add link to the advanced
6841 section. Add a bunch of examples showing different use cases of
6842 different types of caps negotiation. Upstream renegotiation isn't
6843 fully documented yet since nobody knows how that works.
6845 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
6847 * check/gst/gstpad.c:
6849 * gst/gstpad.c: (gst_pad_get_internal_links_default):
6850 if pad has no parent, return NULL as list of internal links
6852 2005-07-05 Andy Wingo <wingo@pobox.com>
6854 * gst/elements/gstfilesrc.c:
6855 * gst/elements/gstfakesrc.c:
6856 * gst/base/gstpushsrc.c:
6857 * gst/base/gstbasesrc.h:
6858 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
6860 2005-07-05 Stefan Kost <ensonic@users.sf.net>
6863 better report generation target (lcov needs a patch)
6865 2005-07-05 Andy Wingo <wingo@pobox.com>
6867 * gst/elements, testsuite: Null if we got it...
6869 2005-07-05 Wim Taymans <wim@fluendo.com>
6872 * libs/gst/dataprotocol/Makefile.am:
6873 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
6874 * libs/gst/dataprotocol/dataprotocol.h:
6875 * pkgconfig/Makefile.am:
6876 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
6877 * pkgconfig/gstreamer-dataprotocol.pc.in:
6878 Ported dataprotol to 0.9.
6879 Added pkgconfig files.
6881 2005-07-05 Andy Wingo <wingo@pobox.com>
6883 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
6884 Default to returning TRUE for the case when tranform_caps returns
6885 a fixed caps, like for identity or volume.
6887 * check/gst/gstbus.c (pound_bus_with_messages):
6888 * check/gst/gstmessage.c (START_TEST):
6889 * check/pipelines/simple_launch_lines.c (got_handoff): Application
6892 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
6893 logic weaks here: always run transform_caps, trying passthrough
6894 operation only if the original caps intersects with the transform.
6896 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
6897 source and sink caps.
6899 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
6900 Intersect the peer caps with the pad template before going into
6902 (gst_base_transform_transform_caps): More debugging.
6904 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
6907 2005-07-04 Edward Hervey <edward@fluendo.com>
6911 (gst_pad_add_*_probe): now returns the signal id for better wrapping
6914 2005-07-04 Andy Wingo <wingo@pobox.com>
6916 * check/gst/gstpad.c: Only set explicit caps on pads.
6918 2005-07-01 Andy Wingo <wingo@pobox.com>
6920 * tests/network-clock.scm: Commentary update.
6922 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
6923 Didn't really make sense, not implementable with basetransform,
6925 (gst_identity_transform): Unref inbuf via make_writable. Feeble
6926 attempt at implementing the sync property, needs an unlock method.
6928 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
6929 New func, by default returns the same caps (the identity
6931 (gst_base_transform_getcaps): Uses transform_caps to return
6933 (gst_base_transform_setcaps): Complicated logic to get caps on
6934 both pads, even if they are different, and to call set_caps once
6935 for every time both pads get their caps set.
6936 (gst_base_transform_handle_buffer): Give the ref to the transform
6937 function. Allows in-place modification of the buffer.
6939 * gst/base/gstbasetransform.h (transform_caps): New class method.
6940 Given caps on one side, what can I do on the other.
6941 (set_caps): Take two caps, one for each side of the element.
6944 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
6945 caps in place. This is safe because we can check the mutability of
6946 the caps, and a good idea because fixate functions are just called
6947 as a matter of last resort. (Not actually implemented.)
6948 (gst_pad_set_caps): If the caps we're setting is actually the same
6949 as the existing pad caps, just update the pointer without calling
6950 setcaps. Assert that caps is either NULL or fixed, as per the
6953 * gst/gstghostpad.c: Update for fixate changes.
6955 2005-07-02 Andy Wingo <wingo@pobox.com>
6958 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
6959 two refcounts makes it immutable, which is enough. Doc more.
6961 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
6963 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
6964 Put the mini_object into GValue as a mini_object,
6965 not a gpointer, since that's how we declared
6968 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6970 * examples/pwg/Makefile.am:
6973 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6975 * docs/pwg/building-testapp.xml:
6977 * examples/pwg/Makefile.am:
6980 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6983 * examples/Makefile.am:
6984 * examples/pwg/Makefile.am:
6985 * examples/pwg/extract.pl:
6986 Enable building the PWG examples.
6987 * docs/pwg/advanced-interfaces.xml:
6988 Add URI interface stub.
6989 * docs/pwg/advanced-types.xml:
6990 * docs/pwg/other-autoplugger.xml:
6991 * docs/pwg/appendix-porting.xml:
6993 Add porting guide (mostly stubs), remove autoplugging (see ADM).
6994 * docs/pwg/building-boiler.xml:
6995 * docs/pwg/building-chainfn.xml:
6996 * docs/pwg/building-pads.xml:
6997 * docs/pwg/building-props.xml:
6998 * docs/pwg/building-state.xml:
6999 * docs/pwg/building-testapp.xml:
7000 Update the building-*.xml parts for 0.9 changes. All examples
7001 code blocks compile in examples/pwg/*.
7003 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7005 * docs/manual/advanced-autoplugging.xml:
7006 * docs/manual/appendix-checklist.xml:
7007 * docs/manual/appendix-integration.xml:
7008 * docs/manual/highlevel-components.xml:
7009 Fix playbin/decodebin examples, update docs a bit, mention bus
7010 instead of signals in various places, mention kmplayer and
7011 kaffeine since they have a working GStreamer backend in the KDE
7014 2005-06-30 Wim Taymans <wim@fluendo.com>
7017 * docs/design/draft-ghostpads.txt:
7018 * docs/design/draft-push-pull.txt:
7019 * docs/design/draft-query.txt:
7020 * docs/design/part-TODO.txt:
7021 * docs/design/part-query.txt:
7022 Added CHANGES-0.9 doc, updated status of other docs.
7027 2005-06-30 Wim Taymans <wim@fluendo.com>
7029 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7030 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7031 (gst_base_sink_change_state):
7032 * gst/base/gstbasesink.h:
7033 Some tweaks, only EOS and a buffer complete a preroll.
7035 2005-06-30 Andy Wingo <wingo@pobox.com>
7037 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7038 activate_push down to the internal pad as well.
7040 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7042 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7044 * gst/gsttaginterface.c:
7045 Some documentation fixes (#307394 and #307397).
7047 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7049 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7051 * gst/gstvalue.c: (gst_value_intersect_list):
7052 Fix memleak (#309125).
7054 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7056 * docs/manual/advanced-dataaccess.xml:
7057 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7058 * docs/manual/basics-pads.xml:
7059 Add reference for filtered caps to above chapter.
7061 2005-06-30 Wim Taymans <wim@fluendo.com>
7063 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7064 (gst_bin_change_state):
7066 Lame attempt at making the state change function a bit
7069 2005-06-30 Wim Taymans <wim@fluendo.com>
7071 * docs/design/part-clocks.txt:
7072 * docs/design/part-element-sink.txt:
7073 * docs/design/part-events.txt:
7074 * docs/design/part-preroll.txt:
7075 * docs/design/part-states.txt:
7076 Some more tweeks and additions to the docs.
7078 2005-06-30 Wim Taymans <wim@fluendo.com>
7080 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7081 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7082 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7083 (gst_pad_check_pull_range), (gst_pad_get_range),
7084 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7086 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7087 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7088 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7089 (gst_pad_remove_buffer_probe):
7090 Removed atomic operations, use existing LOCK.
7091 Move exception handling out of main code path.
7093 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7095 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7096 (silly_return_true_function), (gst_pad_class_init),
7097 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7098 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7099 (gst_pad_send_event):
7100 Fix accumulator, add default value by using _emitv() instead
7101 of _emit() for signal emission.
7103 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7105 * docs/manual/advanced-dataaccess.xml:
7106 * examples/manual/Makefile.am:
7108 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7111 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7113 * gst/elements/gstfilesink.c: (gst_filesink_render):
7114 Simplify code so that we don't have to handle short
7115 writes and return GST_FLOW_ERROR if an error occured.
7117 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7119 * docs/gst/gstreamer-docs.sgml:
7122 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7124 * docs/gst/gstreamer-sections.txt:
7125 * docs/gst/tmpl/gstpad.sgml:
7126 * docs/gst/tmpl/gstprobe.sgml:
7128 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7129 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7130 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7131 (gst_pad_push_event), (gst_pad_send_event):
7133 * gst/gstutils.c: (gst_pad_add_data_probe),
7134 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7135 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7136 (gst_pad_remove_buffer_probe):
7138 Remove old probes, add new g-signal-based probes and some utility
7141 2005-06-29 Edward Hervey <edward@fluendo.com>
7143 * gst/gstelementfactory.c:
7146 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7147 the definition to the header file.
7149 2005-06-29 Andy Wingo <wingo@pobox.com>
7151 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7152 plugins from the source directory.
7154 2005-06-29 Wim Taymans <wim@fluendo.com>
7156 * docs/gst/tmpl/gstbuffer.sgml:
7157 * docs/gst/tmpl/gstclock.sgml:
7158 Some fixings for blantently wrong text.
7160 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7162 * check/Makefile.am:
7163 * gst/gst.c: (add_path_func), (init_pre):
7164 * gst/gstregistry.c: (gst_registry_add_path):
7165 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7166 only scan the GST_PLUGIN_PATH locations, and not add
7169 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7171 * docs/gst/gstreamer-sections.txt:
7172 * docs/gst/tmpl/gstbasesrc.sgml:
7179 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7181 * docs/manual/advanced-autoplugging.xml:
7182 Fix autoplugging example.
7184 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7186 * docs/manual/advanced-autoplugging.xml:
7187 * docs/manual/mime-world.fig:
7188 Try to get autoplugging working, fix type detection. Fix text
7189 in hello-world image.
7191 2005-06-29 Wim Taymans <wim@fluendo.com>
7193 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7194 (gst_base_sink_change_state):
7198 map SIGNAL and BROADCAST to the right function.
7201 Remove redundant braces.
7203 * gst/gstpad.c: (gst_pad_set_caps):
7204 Don't call setcaps function when reseting caps to NULL.
7206 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7207 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7208 (gst_system_clock_id_unschedule):
7209 Use BROADCAST as this is what we do.
7211 2005-06-29 Wim Taymans <wim@fluendo.com>
7213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7214 We are actually prerolling before commiting the state
7217 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7219 * docs/manual/advanced-clocks.xml:
7220 * docs/manual/advanced-interfaces.xml:
7221 * docs/manual/advanced-metadata.xml:
7222 * docs/manual/advanced-position.xml:
7223 * docs/manual/advanced-schedulers.xml:
7224 * docs/manual/advanced-threads.xml:
7225 * docs/manual/appendix-porting.xml:
7226 * docs/manual/basics-bins.xml:
7227 * docs/manual/basics-bus.xml:
7228 * docs/manual/basics-elements.xml:
7229 * docs/manual/basics-helloworld.xml:
7230 * docs/manual/basics-pads.xml:
7231 * docs/manual/highlevel-components.xml:
7232 * docs/manual/manual.xml:
7233 * docs/manual/thread.fig:
7234 Update (until threads/scheduling) Application Development Manual;
7235 remove GstThread, add GstBus, add simple porting checklist, add
7236 documentation for tag writing, clocks, make all examples until this
7237 part compile and run.
7238 * examples/manual/Makefile.am:
7239 Update from changes to Application Development Manual; add bus
7240 example, remove thread example.
7242 2005-06-28 Wim Taymans <wim@fluendo.com>
7244 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7245 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7246 (gst_bus_source_dispatch):
7247 Add debugging messages.
7248 Make internal methods static.
7249 Handle the case where the bus is flushed in the handler.
7251 * gst/gstelement.c: (gst_element_get_bus):
7252 Fix refcount in _get_bus();
7254 * gst/gstpipeline.c: (gst_pipeline_change_state),
7255 (gst_pipeline_get_clock_func):
7256 Clock refcounting fixes.
7257 Handle the case where preroll timed out more gracefully.
7259 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7260 Clean up the internal thread in dispose. This is needed
7261 for subclasses that actually get disposed.
7263 * gst/schedulers/threadscheduler.c:
7264 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7265 (gst_thread_scheduler_dispose):
7266 Free thread pool in dispose.
7268 2005-06-28 Andy Wingo <wingo@pobox.com>
7270 * tests/network-clock-utils.scm (debug, print-event): New utils.
7272 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7273 (*packet-loss*): Unified loss probability.
7274 (network-time): Report out-of-band events.
7276 * tests/plot-data: Add support for out-of-band events. Hack it
7277 into this script instead of passing it down the pipe; should fix
7280 2005-06-28 Wim Taymans <wim@fluendo.com>
7282 * docs/gst/gstreamer.types:
7283 * docs/gst/tmpl/gstbasesrc.sgml:
7284 * docs/gst/tmpl/gstpad.sgml:
7287 2005-06-28 Wim Taymans <wim@fluendo.com>
7289 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7290 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7291 (gst_proxy_pad_do_fixatecaps):
7292 Correctly proxy the check_pull_range function.
7294 2005-06-28 Andy Wingo <wingo@pobox.com>
7296 * tests/network-clock.scm: Removed need for slib.
7298 2005-06-28 Wim Taymans <wim@fluendo.com>
7300 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
7301 (gst_basesink_preroll_queue_flush):
7302 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
7303 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
7304 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7305 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
7306 (gst_proxy_pad_set_property):
7309 * gst/gstqueue.c: (gst_queue_init):
7310 The deprecated pad loop function is removed now.
7312 2005-06-28 Andy Wingo <wingo@pobox.com>
7314 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
7315 New parameters, simulate network packet loss.
7317 * tests/network-clock-utils.scm: Initialize the RNG.
7319 2005-06-28 Wim Taymans <wim@fluendo.com>
7321 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
7322 (gst_basesink_event), (gst_basesink_deactivate):
7323 Flushing the preroll queue always needs to unlock the waiters.
7325 2005-06-28 Edward Hervey <edward@fluendo.com>
7327 * gst/gstpipeline.c: (gst_pipeline_send_event):
7328 Wheen a seek was successful on a pipeline, set the stream_time to the
7329 seek offset in order to have a synchronized stream_time.
7331 2005-06-28 Wim Taymans <wim@fluendo.com>
7333 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7334 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7335 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
7336 (gst_proxy_pad_do_fixatecaps):
7337 Call wrapper function instead of just calling the function
7338 pointers. This takes care of any locking and whatmore.
7340 2005-06-28 Wim Taymans <wim@fluendo.com>
7342 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
7343 (gst_pad_pull_range):
7345 CONNECTED -> LINKED.
7347 2005-06-28 Andy Wingo <wingo@pobox.com>
7349 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
7350 source-munging commit!!!
7352 * gst/gstobject.c (gst_object_unref, gst_object_ref)
7353 (gst_object_sink): Take gpointer arguments, not GstObject --
7354 avoids casts. Like GLib.
7356 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
7359 2005-06-27 Andy Wingo <wingo@pobox.com>
7361 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
7364 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
7365 returns a sorted copy of the trace list.
7366 (gst_alloc_trace_print_live): New API, only prints traces with
7367 live objects. Sort the list.
7368 (gst_alloc_trace_print_all): Sort the list.
7369 (gst_alloc_trace_print): Align columns.
7371 * gst/elements/gstttypefindelement.c:
7372 * gst/elements/gsttee.c:
7373 * gst/base/gstbasesrc.c:
7374 * gst/base/gstbasesink.c:
7375 * gst/base/gstbasetransform.c:
7376 * gst/gstqueue.c: Adapt for pad activation changes.
7378 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
7380 (gst_pipeline_dispose): Drop ref on sched.
7382 * gst/gstpad.c (gst_pad_init): Set the default activate func.
7383 (gst_pad_activate_default): Push mode by default.
7384 (pre_activate_switch, post_activate_switch): New stubs, things to
7385 do before and after switching activation modes on pads.
7386 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
7387 the pad's activate function to choose which mode to activate.
7388 Shortcut on deactivation and call the right function directly.
7389 (gst_pad_activate_pull): New API, (de)activates a pad in pull
7391 (gst_pad_activate_push): New API, same for push mode.
7392 (gst_pad_set_activate_function)
7393 (gst_pad_set_activatepull_function)
7394 (gst_pad_set_activatepush_function): Setters for new API.
7396 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
7397 Trace all miniobjects.
7398 (gst_mini_object_make_writable): Unref the arg if we copy, like
7399 gst_caps_make_writable.
7401 * gst/gstmessage.c (_gst_message_initialize): No trace init.
7403 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
7404 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
7405 Adapt for new pad API.
7407 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
7410 * gst/gstelement.c (gst_element_iterate_src_pads)
7411 (gst_element_iterate_sink_pads): New API functions.
7413 * gst/gstelement.c (iterator_fold_with_resync): New utility,
7414 should fold into gstiterator.c in some form.
7415 (gst_element_pads_activate): Simplified via use of fold and
7416 delegation of decisions to gstpad->activate.
7418 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
7421 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
7422 class once in init, like gstmessage. Didn't run into this issue
7423 but it seems correct. Don't initialize a trace, gstminiobject does
7426 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
7427 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
7429 (assert_live_count): New util function, uses alloc traces to check
7432 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
7433 To be modified when unlink drops the internal pad.
7435 2005-06-27 Wim Taymans <wim@fluendo.com>
7437 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
7438 (gst_bin_change_state):
7439 Cleanup the get_state() function a little, make sure it
7440 iterates the same set of elements.
7441 Added stub iterate_state_order().
7443 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
7445 * docs/gst/gstreamer-docs.sgml:
7446 * docs/gst/gstreamer-sections.txt:
7447 * docs/gst/gstreamer.types:
7448 * docs/gst/tmpl/gstbasesink.sgml:
7449 * docs/gst/tmpl/gstbasesrc.sgml:
7450 * docs/gst/tmpl/gstbasetransform.sgml:
7451 * docs/gst/tmpl/gstelement.sgml:
7452 * docs/gst/tmpl/gstiterator.sgml:
7453 * gst/base/gstbasesrc.c:
7454 * gst/base/gstbasesrc.h:
7455 * gst/base/gstbasetransform.h:
7457 * gst/gstiterator.h:
7458 adding basetransform and iterator docs
7460 2005-06-27 Andy Wingo <wingo@pobox.com>
7462 * docs/design/part-activation.txt: Notes on how activation should
7463 work -- not quite implemented yet.
7465 2005-06-25 Wim Taymans <wim@fluendo.com>
7467 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
7468 At least get the chain function correct, needs more
7471 2005-06-25 Wim Taymans <wim@fluendo.com>
7473 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7474 (gst_basesink_handle_object), (gst_basesink_event),
7475 (gst_basesink_do_sync), (gst_basesink_handle_event),
7476 (gst_basesink_change_state):
7478 Right, two problems here: ghostpads don't take locks and
7479 glib _rec_mutex_lock_full() with depth==0 still locks.
7480 Catch illegal locking and g_warn them.
7482 2005-06-25 Wim Taymans <wim@fluendo.com>
7484 * check/states/sinks.c: (START_TEST), (gst_object_suite):
7485 Have to check for completion now...
7487 2005-06-25 Wim Taymans <wim@fluendo.com>
7489 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7490 (gst_basesink_handle_object), (gst_basesink_event),
7491 (gst_basesink_do_sync), (gst_basesink_handle_event),
7492 (gst_basesink_change_state):
7494 Unlock STREAM_LOCK whatever the recursion was.
7496 2005-06-25 Wim Taymans <wim@fluendo.com>
7498 * gst/base/gstbasesink.c: (gst_basesink_set_property),
7499 (gst_basesink_preroll_queue_empty),
7500 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
7501 (gst_basesink_event), (gst_basesink_do_sync),
7502 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
7503 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
7504 (gst_basesink_change_state):
7505 Reworked the base sink, handle event and buffer serialisation
7506 correctly and removed possible deadlock.
7507 Handle EOS correctly.
7509 2005-06-25 Wim Taymans <wim@fluendo.com>
7511 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
7512 (gst_pipeline_change_state):
7513 * tools/gst-launch.c: (check_intr), (event_loop), (main):
7514 Allow elements to post EOS in the state change function.
7515 Fix up -launch, make it exit the poll loop when the
7516 pipeline actually changed state.
7517 Fix up warning parsing in -launch.
7519 2005-06-25 Wim Taymans <wim@fluendo.com>
7521 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
7522 (gst_tee_sink_activate):
7523 Core takes STREAM_LOCK for us now.
7525 2005-06-25 Wim Taymans <wim@fluendo.com>
7527 * gst/gstelement.c: (gst_element_get_state_func),
7528 (gst_element_set_state):
7530 * gst/gstmessage.c: (gst_message_parse_error),
7531 (gst_message_parse_warning):
7532 Keep track of current target state while performing a state
7533 change so that subclasses can do something interesting.
7534 Fix parsing of warning/error messages when GError is NULL.
7536 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
7538 * docs/gst/Makefile.am:
7539 * docs/gst/gstreamer-docs.sgml:
7540 * docs/gst/gstreamer-sections.txt:
7541 * docs/gst/gstreamer.types:
7542 * docs/gst/tmpl/gstbasesink.sgml:
7543 * docs/gst/tmpl/gstbasesrc.sgml:
7544 * docs/gst/tmpl/gstbin.sgml:
7545 * docs/gst/tmpl/gstcompat.sgml:
7546 * docs/gst/tmpl/gstfakesink.sgml:
7547 * docs/gst/tmpl/gstfakesrc.sgml:
7548 * docs/gst/tmpl/gstfilesink.sgml:
7549 * docs/gst/tmpl/gstfilesrc.sgml:
7550 * docs/gst/tmpl/gstindex.sgml:
7551 * docs/manual/appendix-quotes.xml:
7552 * gst/base/gstbasesrc.h:
7553 * gst/elements/gstfakesrc.h:
7555 start pulling in base classes and elements in our docs
7557 2005-06-24 Stefan Kost <ensonic@users.sf.net>
7559 * docs/gst/Makefile.am:
7560 * docs/libs/Makefile.am:
7561 fixed make distcheck with gtk-doc 1.3
7563 2005-06-23 Wim Taymans <wim@fluendo.com>
7565 * gst/gstelement.c: (gst_element_get_state_func),
7566 (gst_element_set_state), (gst_element_change_state):
7567 When the state did not change, also report NO_PREROLL
7570 2005-06-23 Wim Taymans <wim@fluendo.com>
7572 * gst/gstpad.c: (gst_pad_event_default):
7573 * gst/gstqueue.c: (gst_queue_loop):
7574 No unsafe task pausing please.
7576 2005-06-23 Wim Taymans <wim@fluendo.com>
7578 * gst/schedulers/threadscheduler.c:
7579 (gst_thread_scheduler_task_start),
7580 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
7581 Ref the task before pushing it on the threadpool. This
7582 makes sure that we have a ref when the threadfunction is
7585 2005-06-23 Andy Wingo <wingo@pobox.com>
7587 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
7588 offset is greater than the file's size.
7590 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
7591 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
7592 * gst/gstobject.c (gst_object_class_init): Make the class lock
7593 recursive. Wim won't let me drop deep_notify. Decodebin works
7596 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
7597 internal pad, and hacks accordingly. Doesn't do it on the target
7598 pad because we change its caps. Probably catches all cases of
7600 (gst_ghost_pad_set_property): Connect to notify::caps as
7603 * tests/network-clock.scm (plot-simulation): Pipe data to the
7604 elite python skript.
7606 * tests/network-clock-utils.scm (define-parameter): New macro,
7607 defines a parameter that can be set via the command line.
7608 (set-parameter!, parse-parameter-arguments): Command line args
7611 * tests/plot-data: Simple matplotlib-based plotter, takes input on
7614 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
7616 * gst/elements/gsttypefindelement.c:
7617 (gst_type_find_element_handle_event):
7618 Don't restart typefinding on a discont.
7619 * gst/gstelement.c: (gst_element_set_state):
7621 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
7622 Allow changing mode of an active pad.
7624 * gst/registries/gstlibxmlregistry.c: (load_feature):
7625 Don't cast a static pad template to a normal pad template.
7627 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
7629 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7630 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7631 remove gst_strtoll completely, since it didn't actually do
7632 anything more than what g_ascii_strtoull already does.
7633 check for range errors when deserializing
7634 do a cast for the unsigned cases; but further fixing needs
7635 a decision on what the interpretation of "(int)" and
7636 deserialization should be for values that fall outside the
7637 type's boundaries (ie, refuse, or interpret as casting)
7639 2005-06-23 Wim Taymans <wim@fluendo.com>
7641 * check/Makefile.am:
7642 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
7643 * docs/design/part-live-source.txt:
7644 * docs/design/part-states.txt:
7645 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7646 (gst_basesrc_set_live), (gst_basesrc_is_live),
7647 (gst_basesrc_get_range), (gst_basesrc_activate),
7648 (gst_basesrc_change_state):
7649 * gst/base/gstbasesrc.h:
7650 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7651 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7652 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
7653 * gst/gstelement.c: (gst_element_get_state_func),
7654 (gst_element_set_state):
7657 * tools/gst-launch.c: (event_loop), (main):
7658 Added support for live sources and other elements that
7660 Updated design docs, added live-source design doc.
7661 Implemented live source functionality in basesrc
7662 Fix error condition in _bin_get_state()
7663 Implement live source handling in -launch.
7664 Added check for live sources.
7665 Fixed case in GstBin where elements were changed state
7669 2005-06-23 Andy Wingo <wingo@pobox.com>
7671 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
7674 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
7675 gst_caps_replace takes care of this for us.
7677 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
7678 gst_pad_set_caps on the target, not just its setcaps() function.
7680 * tests/network-clock.scm:
7681 * tests/network-clock-utils.scm: A network clock simulator.
7682 Something of an algorithmic testbed before doing something in C.
7684 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7686 * check/Makefile.am:
7687 * check/gst/capslist.h:
7688 copy over from 0.8, and add two with bitmasks specified with
7690 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7691 add test to parse everything from capslist.h
7692 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
7694 add test for structure deserialization
7695 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7696 add tests for deserialization of strings to int types
7697 * gst/gststructure.c: (gst_structure_nth_field_name):
7698 * gst/gststructure.h:
7699 add a way to get the name of a field referenced by index
7700 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
7701 instead of checking if the resulting long long lies between
7702 min and max, we check if the long long would fit into
7703 a number of bytes for the final type.
7704 This fixes cases where a string represents 2^32 - 1, which
7705 when cast to int would be the (valid) -1, but is bigger than
7708 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7710 * gst/parse/grammar.y:
7711 add a log line for type deserialization
7713 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
7715 * check/gst/gstvalue.c: (START_TEST):
7716 * gst/gstvalue.c: (gst_value_deserialize):
7717 return long long, not int, so gint64 deserialization actually
7718 works. Is there any flag that makes the compiler check this ?
7721 2005-06-22 Wim Taymans <wim@fluendo.com>
7724 Added convenience macros for setting buffers in GValue.
7726 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7728 * check/gst/.cvsignore:
7729 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
7730 add a test deserializing int64, and comment part out because
7733 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
7735 * check/Makefile.am:
7736 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
7737 * testsuite/Makefile.am:
7738 * testsuite/caps/Makefile.am:
7739 * testsuite/caps/value_serialize.c:
7740 * testsuite/test_gst_init.c:
7741 move a value_serialize test over
7743 2005-06-20 Wim Taymans <wim@fluendo.com>
7748 * gst/gstvalue.c: (gst_value_compare_buffer),
7749 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
7750 (gst_value_compare_flags), (gst_value_serialize_flags),
7751 (gst_value_deserialize_flags), (_gst_value_initialize):
7752 Fix serialisation of buffers, they are not boxed types anymore
7754 2005-06-20 Wim Taymans <wim@fluendo.com>
7756 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
7757 Testcase to show error in buffer-on-caps serialisation.
7759 2005-06-20 Andy Wingo <wingo@pobox.com>
7761 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
7762 will be adding to later.
7764 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
7765 if its socks fill with rocks.
7766 (gst_system_clock_obtain): Set the name on object construction.
7767 Avoid double-checked locking.
7769 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
7771 * gst/gsturi.c: (gst_element_make_from_uri):
7772 Fix potential endless loop.
7774 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7776 * check/Makefile.am:
7778 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
7780 move over from testsuite dir and clean up
7783 * testsuite/Makefile.am:
7784 * testsuite/tags/.cvsignore:
7785 * testsuite/tags/Makefile.am:
7786 * testsuite/tags/merge.c:
7787 remove testsuite/tags
7789 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7791 * docs/gst/gstreamer-sections.txt:
7792 * docs/gst/tmpl/gstenumtypes.sgml:
7793 * win32/gstenumtypes.c:
7794 clean up documentation build a little
7796 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7799 add macros for checking refcounts on objects and caps
7800 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
7801 add some more unit tests
7802 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
7803 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
7804 fix leaked refcounts (I hope :)) so unittest works
7808 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
7810 * configure.ac: back to HEAD
7812 === release 0.9.1 ===
7814 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
7820 2005-06-17 Andy Wingo <wingo@pobox.com>
7822 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
7823 assert; it's always possible that the pad gets deactivated in
7824 between the checks in gstpad.c and the implementation. Rely on
7825 finish_preroll() to return a FLUSHING or similar instead of on the
7828 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
7829 clock and post an EOS message if we come out of finish_preroll in
7832 2005-06-16 David Schleef <ds@schleef.org>
7834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7835 (gst_capsfilter_set_property): Allow NULL as possible value
7836 for filter_caps property, indicating GST_CAPS_ANY.
7838 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7840 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
7842 * gst/schedulers/Makefile.am:
7844 * gstreamer.spec.in:
7847 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
7849 * gstreamer.spec.in:
7852 2005-06-08 Andy Wingo <wingo@pobox.com>
7854 * gst/gstutils.c: RPAD fixes all around.
7855 (gst_element_link_pads): Refcounting fixes.
7857 * tools/gst-inspect.c:
7858 * tools/gst-xmlinspect.c:
7860 * gst/base/gsttypefindhelper.c:
7861 * gst/base/gstbasesink.c:
7862 * gst/gstqueue.c: RPAD fixes.
7864 * gst/gstghostpad.h:
7865 * gst/gstghostpad.c: New ghost pad implementation as full proxy
7866 pads. The tricky thing is they provide both source and sink
7867 interfaces, since they proxy the internal pad for the external
7868 pad, and vice versa. Implement with lower-level ProxyPad objects,
7869 with the interior proxy pad as a child of the exterior ghost pad.
7870 Should write a doc on this.
7872 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
7873 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
7876 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
7877 pads are real pads. No ghost pads in this file. Not documenting
7878 the myriad s/RPAD/PAD/ and REALIZE fixes.
7879 (gst_pad_class_init): Add properties for "direction" and
7880 "template". Both are construct-only, so they can't change during
7881 the life of the pad. Fixes properly deriving from GstPad.
7882 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
7883 derived objects, just set properties when creating the objects via
7885 (gst_pad_get_parent): Implement as a function, return NULL if the
7886 parent is not an element.
7887 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
7888 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
7890 * gst/gstobject.c (gst_object_class_init): Make name a construct
7891 property. Don't set it in the object init.
7893 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
7894 with UNKNOWN direction.
7895 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
7896 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
7897 (gst_element_remove_pad): Remove ghost-pad special cases.
7898 (gst_element_pads_activate): Remove rpad cruft.
7900 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
7901 catch the pad's-parent-not-an-element case.
7903 * gst/gst.h: Include gstghostpad.h.
7905 * gst/gst.c (init_post): No more real, ghost pads.
7907 * gst/Makefile.am: Add gstghostpad.[ch].
7909 * check/Makefile.am:
7910 * check/gst/gstbin.c:
7911 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
7912 into a bin creates ghost pads, and that the refcounts are right.
7913 Partly moved from gstbin.c.
7915 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7917 * check/gst-libs/.cvsignore:
7918 * check/gst/.cvsignore:
7919 * check/pipelines/.cvsignore:
7921 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
7922 (START_TEST), (cleanup_suite), (main):
7923 add some tests related to cleanup after running pipelines
7925 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7927 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
7928 add a testsuite for GstBuffer
7930 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
7932 * gst/gstminiobject.h:
7933 add defines for accessing the refcount
7935 2005-06-03 Stefan Kost <ensonic@users.sf.net>
7937 * Makefile.am: added support for html unit test coverage reports
7939 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
7941 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
7942 Free existing caps if the capsfilter changes. Add a FIXME about
7943 setting those caps on the pads.
7945 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
7946 Before adding a ghost pad to a parent bin, check that there isn't
7947 already one for the element on the bin. Prevents infinite recursion
7948 when using decodebin in parse pipelines. Andy says he'll rewrite the
7949 way this works anyway, so ignore the hack.
7951 2005-06-02 Andy Wingo <wingo@pobox.com>
7953 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
7954 file size, pass it on to the type find helper.
7956 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
7957 segment_start and segment_end properly according to the seek
7958 method. Segment_end is still a bit flaky because offset can be
7959 negative for CUR and END cases, but it takes -1 as an "unset"
7962 2005-06-02 Wim Taymans <wim@fluendo.com>
7964 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
7965 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
7966 (gst_basesink_activate):
7967 * gst/base/gstbasesink.h:
7968 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7969 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
7970 (gst_pad_query), (gst_pad_start_task):
7972 * gst/gstqueue.c: (gst_queue_bufferalloc),
7973 (gst_queue_handle_sink_event), (gst_queue_chain):
7974 Bufferalloc: return GstFlowReturn to more accuratly report
7975 why allocation failed.
7977 2005-06-02 Wim Taymans <wim@fluendo.com>
7979 * gst/gstpipeline.c: (gst_pipeline_send_event):
7980 Take snapshot of state without blocking.
7982 2005-06-02 Wim Taymans <wim@fluendo.com>
7984 * docs/design/part-TODO.txt:
7985 * docs/design/part-caps.txt:
7986 * docs/design/part-clocks.txt:
7987 * docs/design/part-negotiation.txt:
7988 * docs/design/part-preroll.txt:
7991 2005-05-30 Wim Taymans <wim@fluendo.com>
7993 * gst/elements/gstidentity.c: (gst_identity_event),
7994 (gst_identity_transform), (gst_identity_get_property):
7995 Protect last_message property as it is accessed from
7998 2005-05-30 Wim Taymans <wim@fluendo.com>
8000 * gst/gstelement.c: (gst_element_init),
8001 (gst_element_pads_activate), (gst_element_change_state):
8002 Slicker pad activation code.
8004 2005-05-30 Wim Taymans <wim@fluendo.com>
8008 * gst/gstelementfactory.h:
8010 Move elementfactory methods to separate .h file.
8012 2005-05-30 Wim Taymans <wim@fluendo.com>
8014 * docs/design/part-overview.txt:
8015 * gst/gstsystemclock.h:
8016 Small typo fixes, doc updates.
8018 2005-05-30 Wim Taymans <wim@fluendo.com>
8020 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8021 (init_popt_callback):
8022 Remove cpu-opt flag.
8024 2005-05-30 Wim Taymans <wim@fluendo.com>
8026 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8027 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8029 Avoid typechecking in places where not needed.
8030 Added accessor for malloc_data.
8032 2005-05-30 Wim Taymans <wim@fluendo.com>
8034 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8035 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8036 (gst_pad_configure_sink), (gst_pad_configure_src),
8037 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8038 (gst_pad_start_task):
8039 Propagate errors from _set_caps() in configure_src/sink
8040 functions instead of returning TRUE.
8041 FLUSH events can travel up and downstream
8044 2005-05-30 Wim Taymans <wim@fluendo.com>
8046 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8047 (gst_basesink_activate):
8048 Handle EOS in preroll.
8050 2005-05-30 Wim Taymans <wim@fluendo.com>
8052 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8053 (gst_queue_loop), (gst_queue_handle_src_event):
8054 Remove old pieces of code
8055 Flushing the queue in an upstream event is a very bad idea.
8057 2005-05-26 Andy Wingo <wingo@pobox.com>
8059 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8060 gst_value_set_mini_object so as to add a ref on the object (which
8061 will be removed when the value is unset).
8063 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8064 arg type in ::handoff.
8066 * gst/gstelement.c (gst_element_change_state): Also deactivate
8067 pads in READY->NULL, just in case the element didn't make it to
8068 PAUSED. Wingo tested, Wim approved.
8070 2005-05-26 Wim Taymans <wim@fluendo.com>
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_send_event), (gst_pad_start_task):
8075 A flushing pad cannot be used to alloc_buffer from.
8077 2005-05-26 Wim Taymans <wim@fluendo.com>
8079 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8080 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8081 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8082 (gst_bus_create_watch), (gst_bus_add_watch_full):
8084 Implement a real GSource and use g_main_context_wakeup() to
8085 signal new messages instead of the socketpair.
8087 2005-05-25 Wim Taymans <wim@fluendo.com>
8089 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8090 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8092 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8093 (gst_pad_send_event), (gst_pad_start_task):
8094 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8095 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8096 (gst_queue_sink_activate), (gst_queue_src_activate),
8097 (gst_queue_change_state):
8099 Fix state changes for non sinks. We now change sinks, then elements
8100 with unconnected srcpads, then the rest.
8101 More efficient queue unlocking in flush and state changes.
8102 Set the pad activate mode even if it does not have an activate
8105 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8107 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8108 Don't go in pull mode for non-seekable sources.
8109 * gst/elements/gsttypefindelement.h:
8110 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8111 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8112 (free_entry), (stop_typefinding),
8113 (gst_type_find_element_handle_event), (find_peek),
8114 (gst_type_find_element_chain), (do_pull_typefind),
8115 (gst_type_find_element_change_state):
8116 Allow typefinding (w/o seeking) in push-mode, simplified version
8118 * gst/gstutils.c: (gst_buffer_join):
8120 gst_buffer_join() from 0.8.
8122 2005-05-25 Wim Taymans <wim@fluendo.com>
8124 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8125 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8126 (gst_pad_send_event), (gst_pad_start_task):
8127 Disable attempt at mode switching until it is figured out.
8129 2005-05-25 Wim Taymans <wim@fluendo.com>
8131 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8132 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8133 (gst_basesink_finish_preroll), (gst_basesink_chain),
8134 (gst_basesink_loop), (gst_basesink_activate),
8135 (gst_basesink_change_state):
8136 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8137 (gst_basesrc_get_range), (gst_basesrc_loop),
8138 (gst_basesrc_activate):
8139 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8140 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8141 (gst_real_pad_init), (gst_real_pad_set_property),
8142 (gst_real_pad_get_property), (gst_pad_set_active),
8143 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8144 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8145 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8146 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8147 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8148 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8149 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8150 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8151 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8152 (gst_pad_stop_task):
8154 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8155 (gst_queue_loop), (gst_queue_src_activate):
8156 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8157 (gst_task_get_state):
8159 * gst/schedulers/threadscheduler.c:
8160 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8161 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8163 Remove ACTIVE pad flag, use FLUSHING everywhere
8164 Added _pad_chain(), _pad_get_range() to call chain/getrange
8166 Add locks around IS_FLUSHING when reading.
8167 Take STREAM lock in chain(), get_range() functions so plugins
8168 don't need to take it anymore.
8172 2005-05-25 Wim Taymans <wim@fluendo.com>
8174 * tools/gst-launch.c: (event_loop):
8175 Unref message after using its contents instead of
8178 2005-05-24 Wim Taymans <wim@fluendo.com>
8180 * docs/design/draft-ghostpads.txt:
8181 * docs/design/draft-push-pull.txt:
8182 * docs/design/draft-query.txt:
8183 * docs/design/part-overview.txt:
8184 Docs updates, added general overview doc.
8186 2005-05-21 David Schleef <ds@schleef.org>
8188 * docs/gst/tmpl/old/GstBin.sgml:
8189 * docs/gst/tmpl/old/GstBuffer.sgml:
8190 * docs/gst/tmpl/old/GstCaps.sgml:
8191 * docs/gst/tmpl/old/GstClock.sgml:
8192 * docs/gst/tmpl/old/GstCompat.sgml:
8193 * docs/gst/tmpl/old/GstData.sgml:
8194 * docs/gst/tmpl/old/GstElement.sgml:
8195 * docs/gst/tmpl/old/GstEvent.sgml:
8196 * docs/gst/tmpl/old/GstIndex.sgml:
8197 * docs/gst/tmpl/old/GstStructure.sgml:
8198 * docs/gst/tmpl/old/GstTag.sgml:
8199 * docs/gst/tmpl/old/cothreads.sgml:
8200 * docs/gst/tmpl/old/cothreads_compat.sgml:
8201 * docs/gst/tmpl/old/gettext.sgml:
8202 * docs/gst/tmpl/old/gobject2gtk.sgml:
8203 * docs/gst/tmpl/old/grammar.tab.sgml:
8204 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8205 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8206 * docs/gst/tmpl/old/gst_private.sgml:
8207 * docs/gst/tmpl/old/gstaggregator.sgml:
8208 * docs/gst/tmpl/old/gstarch.sgml:
8209 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8210 * docs/gst/tmpl/old/gstbufferstore.sgml:
8211 * docs/gst/tmpl/old/gstdata_private.sgml:
8212 * docs/gst/tmpl/old/gstdisksink.sgml:
8213 * docs/gst/tmpl/old/gstdisksrc.sgml:
8214 * docs/gst/tmpl/old/gstelementfactory.sgml:
8215 * docs/gst/tmpl/old/gstextratypes.sgml:
8216 * docs/gst/tmpl/old/gstfakesink.sgml:
8217 * docs/gst/tmpl/old/gstfakesrc.sgml:
8218 * docs/gst/tmpl/old/gstfdsink.sgml:
8219 * docs/gst/tmpl/old/gstfdsrc.sgml:
8220 * docs/gst/tmpl/old/gstfilesink.sgml:
8221 * docs/gst/tmpl/old/gstfilesrc.sgml:
8222 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8223 * docs/gst/tmpl/old/gstidentity.sgml:
8224 * docs/gst/tmpl/old/gstindexfactory.sgml:
8225 * docs/gst/tmpl/old/gstmarshal.sgml:
8226 * docs/gst/tmpl/old/gstmd5sink.sgml:
8227 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8228 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8229 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8230 * docs/gst/tmpl/old/gstpipefilter.sgml:
8231 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8232 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8233 * docs/gst/tmpl/old/gstshaper.sgml:
8234 * docs/gst/tmpl/old/gstspider.sgml:
8235 * docs/gst/tmpl/old/gstspideridentity.sgml:
8236 * docs/gst/tmpl/old/gststatistics.sgml:
8237 * docs/gst/tmpl/old/gsttee.sgml:
8238 * docs/gst/tmpl/old/gsttimecache.sgml:
8239 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8240 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8241 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8242 * docs/gst/tmpl/old/types.sgml:
8243 I didn't intend to add these or check them in.
8245 2005-05-19 David Schleef <ds@schleef.org>
8247 * configure.ac: Use -no-common everywhere. In a sane world, it
8248 would be the default in libtool, because without it, you can't
8249 build DLLs on Windows.
8250 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8251 * docs/gst/gstreamer-sections.txt:
8252 * docs/gst/tmpl/gstcpu.sgml:
8253 * docs/gst/tmpl/gstdata.sgml:
8254 * docs/gst/tmpl/gstthread.sgml:
8256 2005-05-19 David Schleef <ds@schleef.org>
8258 * gst/gstminiobject.c: (gst_value_set_mini_object),
8259 (gst_value_take_mini_object), (gst_value_get_mini_object):
8260 * gst/gstminiobject.h: Add GValue set/get functions.
8262 2005-05-19 Wim Taymans <wim@fluendo.com>
8264 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8265 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8266 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8268 * gst/gstbus.c: (gst_bus_post):
8269 * gst/gstelement.c: (gst_element_get_random_pad):
8270 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8271 Make subbufer unref the parent in finalize.
8272 some more debugging info.
8275 2005-05-19 Wim Taymans <wim@fluendo.com>
8277 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8278 (gst_basesink_init), (gst_basesink_finalize),
8279 (gst_basesink_activate), (gst_basesink_change_state):
8280 Don't free preroll queue too early.
8282 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8286 Hi, I'm outdated. Please shoot me.
8288 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8290 * gst/gstpipeline.c: (gst_pipeline_send_event):
8291 Do not access variables after they have been deleted.
8293 2005-05-19 Wim Taymans <wim@fluendo.com>
8295 * tools/gst-inspect.c: (print_plugin_features):
8296 A plugin feature does unfortunatly not use the
8299 2005-05-18 Wim Taymans <wim@fluendo.com>
8301 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
8302 Port _span() functions to new subbuffers.
8304 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8306 * gst/gstbin.c: (gst_bin_add_func):
8307 Fix clock settery in bins when adding kids after the clock has
8310 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8312 * gst/elements/gstidentity.c: (gst_identity_class_init):
8313 Workaround until signals support GstMiniObject.
8315 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
8318 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
8320 2005-05-18 Wim Taymans <wim@fluendo.com>
8322 * gst/base/Makefile.am:
8323 * gst/base/gstadapter.c: (gst_adapter_base_init),
8324 (gst_adapter_class_init), (gst_adapter_init),
8325 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
8326 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
8327 (gst_adapter_flush), (gst_adapter_available),
8328 (gst_adapter_available_fast):
8329 * gst/base/gstadapter.h:
8330 Ported and added adapter to the base classes.
8332 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8336 Make sure the class is reffed/unreffed once before threads can be
8337 used. Fixes #304551.
8339 2005-05-17 Wim Taymans <wim@fluendo.com>
8341 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
8342 (gst_basesink_chain_unlocked), (gst_basesink_activate):
8343 * gst/gstminiobject.c: (gst_mini_object_get_type),
8344 (gst_mini_object_free):
8345 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
8346 (gst_pad_push), (gst_pad_push_event):
8347 * gst/gstqueue.c: (gst_queue_change_state):
8348 Don't queue buffers in basesink when we are flushing.
8349 Unref buffer when flushing in basesink.
8350 Flush queue when going to READY
8351 Unref buffer when _push() returns an error.
8352 Don't free MiniObject instance when refcount is incremented
8353 in _finalize() so that we can recover objects.
8355 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
8357 * docs/manual/advanced-schedulers.xml:
8358 * docs/manual/appendix-checklist.xml:
8359 * docs/pwg/advanced-clock.xml:
8360 * docs/pwg/advanced-interfaces.xml:
8361 * docs/pwg/advanced-request.xml:
8362 * docs/pwg/advanced-types.xml:
8363 * docs/pwg/intro-preface.xml:
8364 * examples/plugins/example.c: (gst_example_get_type),
8365 (gst_example_class_init), (gst_example_chain),
8366 (gst_example_set_property), (gst_example_get_property),
8367 (gst_example_change_state), (plugin_init):
8368 * examples/plugins/example.h:
8371 2005-05-17 Wim Taymans <wim@fluendo.com>
8373 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
8374 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
8375 * gst/gstqueue.c: (gst_queue_change_state):
8376 Clear queue when going to READY.
8377 Remove IN_SETCAPS flag too.
8379 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
8381 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
8382 Remove implicit cast from gboolean to GstElementStateReturn;
8383 make sure we still return failure in paused => ready case if
8384 the parent class fails to change state and our own stop
8387 2005-05-17 Wim Taymans <wim@fluendo.com>
8389 * tools/gst-launch.c: (event_loop):
8390 Message was unreffed too soon.
8392 2005-05-16 Andy Wingo <wingo@pobox.com>
8394 * gst/gstbin.c (sink_iterator_filter): Err... um...
8396 * check/gst/gstbin.c (test_ghost_pads): New test for the
8397 ghosting-if-elements-not-in-same-bin behavior.
8399 2005-05-16 David Schleef <ds@schleef.org>
8401 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
8402 accessing refcount directly.
8404 2005-05-15 David Schleef <ds@schleef.org>
8406 * check/Makefile.am: remove GstData checks
8407 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
8408 * gst/Makefile.am: add miniobject, remove data
8409 * gst/gst.h: add miniobject, remove data
8410 * gst/gstdata.c: remove
8411 * gst/gstdata.h: remove
8412 * gst/gstdata_private.h: remove
8413 * gst/gsttypes.h: remove GstEvent and GstMessage
8414 * gst/gstelement.c: (gst_element_post_message): fix for API changes
8415 * gst/gstmarshal.list: change BOXED -> OBJECT
8417 Implement GstMiniObject.
8418 * gst/gstminiobject.c:
8419 * gst/gstminiobject.h:
8421 Modify to be subclasses of GstMiniObject.
8422 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
8423 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
8424 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
8425 (gst_subbuffer_get_type), (gst_subbuffer_init),
8426 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
8429 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
8430 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
8431 (_gst_event_copy), (gst_event_new):
8433 * gst/gstmessage.c: (_gst_message_initialize),
8434 (gst_message_get_type), (gst_message_class_init),
8435 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
8436 (gst_message_new), (gst_message_new_error),
8437 (gst_message_new_warning), (gst_message_new_tag),
8438 (gst_message_new_state_changed), (gst_message_new_application):
8440 * gst/gstprobe.c: (gst_probe_perform),
8441 (gst_probe_dispatcher_dispatch):
8443 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
8444 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
8445 (_gst_query_copy), (gst_query_new):
8447 Update elements for GstData -> GstMiniObject changes
8449 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
8450 (gst_queue_chain), (gst_queue_loop):
8451 * gst/elements/gstbufferstore.c:
8452 (gst_buffer_store_add_buffer_func),
8453 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
8454 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8455 (gst_fakesink_render):
8456 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8457 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
8458 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
8459 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
8460 (gst_filesrc_create_read):
8461 * gst/elements/gstidentity.c: (gst_identity_class_init):
8462 * gst/elements/gsttypefindelement.c:
8463 (gst_type_find_element_src_event), (free_entry_buffers),
8464 (gst_type_find_element_handle_event):
8465 * libs/gst/dataprotocol/dataprotocol.c:
8466 (gst_dp_header_from_buffer):
8467 * libs/gst/dataprotocol/dataprotocol.h:
8468 * libs/gst/dataprotocol/dp-private.h:
8470 2005-05-15 David Schleef <ds@schleef.org>
8472 * gst/elements/gstelements.c: Don't include headers that were
8475 2005-05-15 David Schleef <ds@schleef.org>
8477 * gst/elements/Makefile.am: Remove some elements that don't
8478 need to be in the core (or even exist at all).
8479 * gst/elements/gstaggregator.c:
8480 * gst/elements/gstaggregator.h:
8481 * gst/elements/gstmd5sink.c:
8482 * gst/elements/gstmd5sink.h:
8483 * gst/elements/gstmultifilesrc.c:
8484 * gst/elements/gstmultifilesrc.h:
8485 * gst/elements/gstpipefilter.c:
8486 * gst/elements/gstpipefilter.h:
8487 * gst/elements/gstshaper.c:
8488 * gst/elements/gstshaper.h:
8489 * gst/elements/gststatistics.c:
8490 * gst/elements/gststatistics.h:
8491 * po/POTFILES.in: Remove above files.
8493 2005-05-14 Andy Wingo <wingo@pobox.com>
8495 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
8496 so as to get the refs right.
8497 (sink_iterator_filter): New function, wraps bin_element_is_sink,
8498 unreffing objects that don't pass the filter.
8500 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
8501 gst_element_set_bus.
8502 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
8503 normal cases, this will destroy the bus.
8505 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
8508 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
8511 2005-05-13 Andy Wingo <wingo@pobox.com>
8513 * gst/gstutils.c (gst_element_link_pads): Instead of calling
8514 gst_pad_link, call pad_link_maybe_ghosting,
8515 (pad_link_maybe_ghosting): Links pads, making sure that the
8516 elements being linked are in the same bin.
8517 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
8518 Helpers for pad_link_maybe_ghosting.
8520 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8523 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
8525 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
8527 * docs/design/part-element-source.txt:
8530 2005-05-12 Wim Taymans <wim@fluendo.com>
8532 * gst/base/gstbasesink.c: (gst_basesink_init),
8533 (gst_basesink_activate):
8534 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
8535 (gst_basesrc_is_seekable):
8536 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8537 (bin_element_is_sink), (gst_bin_change_state):
8538 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8540 Identify sinks by their flag to avoid overly complicated
8542 Do state changes even for elements not reachable from the
8544 BaseSink is a sink now :)
8545 Some more debugging info in the basesrc.
8548 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8550 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
8551 Implement _query on a bin, similar to _send_event.
8553 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
8555 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
8556 Discont event offset format should be GST_FORMAT_BYTES,
8557 not GST_FORMAT_TIME.
8559 2005-05-12 Wim Taymans <wim@fluendo.com>
8561 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
8562 Same fix as Ronald's but without the signal.
8564 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8566 * gst/gstutils.c: (gst_element_query_position):
8567 No, an element is not a pad.
8569 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8571 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
8572 (gst_bin_get_state):
8573 If a child is removed from a bin while we remove the child from
8574 the bin and while we're retrieving its state, signal this to the
8575 get_state function so we abort the wait (instead of waiting for
8576 a timeout) and can immediately re-iterate over all other elements.
8578 2005-05-12 Wim Taymans <wim@fluendo.com>
8580 * gst/base/Makefile.am:
8581 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
8582 (gst_basesrc_start):
8583 * gst/base/gstbasesrc.h:
8584 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
8585 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
8586 (gst_pushsrc_init), (gst_pushsrc_create):
8587 * gst/base/gstpushsrc.h:
8588 Added is_seekable to BaseSrc
8589 Added simple PushSrc.
8591 2005-05-11 Wim Taymans <wim@fluendo.com>
8593 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
8594 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8595 (gst_element_link_pads), (gst_element_query_position),
8596 (gst_element_query_convert), (intersect_caps_func),
8597 (gst_pad_query_position), (gst_pad_query_convert):
8598 Fix refcounting in utils function.
8599 No point in trying to activate a pad when it's added, it could
8600 be added from the state change function and then we deadlock, the
8601 element has to decide what to do.
8603 2005-05-10 Andy Wingo <wingo@pobox.com>
8605 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
8606 *all* the arguments.
8608 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
8609 stream lock if it's a FLUSH_DONE; normal flushes don't get the
8610 lock (according to the docs -- if this is wrong change the docs).
8612 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
8613 flush messages in the NULL state.
8615 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
8616 message immediately and return.
8617 (gst_bus_set_flushing): New function. If a bus is flushing, it
8618 flushes out any queued messages and immediately unrefs new
8619 messages. This is so when an element goes to NULL, all of the
8620 unhandled messages coming from it can be freed, and their
8621 references to the element dropped. In other words: message source
8622 ref considered harmful :P
8624 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
8625 we're finished with it.
8627 * gst/gstmessage.c (gst_message_new_state_changed):
8629 2005-05-10 Wim Taymans <wim@fluendo.com>
8631 * gst/gstvalue.c: (gst_value_compare_flags),
8632 (gst_value_serialize_flags), (gst_value_deserialize_flags),
8633 (_gst_value_initialize):
8634 Added flags serialize/deserialize/compare code.
8636 2005-05-09 Andy Wingo <wingo@pobox.com>
8638 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
8639 Intersect the peer's caps with our caps.
8641 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8643 * gst/base/gsttypefindhelper.c: (helper_find_peek):
8644 * gst/elements/gsttypefindelement.c: (find_peek):
8645 Handle negative offsets better. Fixes decodebin.
8647 2005-05-09 Wim Taymans <wim@fluendo.com>
8649 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
8650 (gst_base_transform_event):
8651 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
8652 Implement accept_caps.
8653 Fix silly lock/unlock mismatch in base class.
8655 2005-05-09 Wim Taymans <wim@fluendo.com>
8657 * docs/design/draft-push-pull.txt:
8658 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
8659 * gst/elements/gstfilesink.c: (gst_filesink_init),
8660 (gst_filesink_query):
8661 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8662 (gst_type_find_handle_src_query), (find_element_get_length):
8663 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
8667 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
8668 (gst_real_pad_get_caps_unlocked),
8669 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
8670 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8671 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
8672 (gst_real_pad_dispose), (gst_real_pad_finalize),
8673 (gst_pad_load_and_link), (gst_pad_save_thyself),
8674 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
8675 (gst_pad_check_pull_range), (gst_pad_pull_range),
8676 (gst_pad_template_get_type), (gst_pad_template_class_init),
8677 (gst_pad_template_init), (gst_pad_template_dispose),
8678 (name_is_valid), (gst_static_pad_template_get),
8679 (gst_pad_template_new), (gst_static_pad_template_get_caps),
8680 (gst_pad_template_get_caps), (gst_pad_set_element_private),
8681 (gst_pad_get_element_private), (gst_pad_start_task),
8682 (gst_pad_pause_task), (gst_pad_stop_task),
8683 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
8684 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
8685 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
8686 (gst_ghost_pad_new):
8688 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
8689 (gst_query_new_position), (gst_query_set_position),
8690 (gst_query_parse_position), (gst_query_new_convert),
8691 (gst_query_set_convert), (gst_query_parse_convert):
8693 * gst/gstqueryutils.c:
8694 * gst/gstqueryutils.h:
8695 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8696 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8697 (gst_queue_handle_src_query):
8698 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8699 (gst_element_query_position), (gst_element_query_convert),
8700 (intersect_caps_func), (gst_pad_query_position),
8701 (gst_pad_query_convert):
8703 * tools/gst-inspect.c: (print_pad_info):
8704 * tools/gst-xmlinspect.c: (print_element_info):
8705 Remove old query functions. Ported old code.
8706 Added position/convert helper functions to gstutils.
8707 Reordered gstpad.c code, grouping relevant things.
8708 Remove gst_message_new(), always need to speficy a specific
8712 2005-05-09 Andy Wingo <wingo@pobox.com>
8714 * gst/gstiterator.h: Add some includes.
8716 * gst/gstqueryutils.h: Include more headers.
8719 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
8720 some uses of gst_pad_query.
8722 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
8723 NULL out parameters.
8724 (gst_query_new_position): New proc, allocates a new position
8727 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
8728 gstqueryutils.c to the build.
8730 * gst/gststructure.c (gst_structure_set_valist): Implement with
8731 the generic G_VALUE_COLLECT.
8733 2005-05-08 Edward Hervey <bilboed@bilboed.com>
8735 * gst/Makefile.am: (gst_headers):
8736 Added gstqueryutils.h to the list of headers to install, that was
8737 a 'nachty' move wingo :)
8739 2005-05-06 Andy Wingo <wingo@pobox.com>
8742 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
8743 GstData, init a memchunk.
8744 (standard_definitions): Add a few query types, deprecate a few.
8745 (gst_query_get_type): New proc.
8746 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
8748 (gst_query_new_application, gst_query_get_structure): New public
8751 * docs/design/draft-query.txt: Removed LINKS from the query types,
8752 because all the rest can be dispatched to other pads -- seemed
8753 ugly to have a query that couldn't be dispatched. internal_links
8754 is fine as a pad method.
8756 * gst/gstpad.h: Add query2 as a pad method, add the new functions
8757 in gstpad.c, but maintain binary compatibility for the moment.
8758 Will fix before 0.9 is out.
8760 * gst/gstqueryutils.c:
8761 * gst/gstqueryutils.h: New files, implement 3 methods for each
8762 query type: parse_query, parse_response, and set. Probably need an
8765 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
8767 * gst/elements/gstfilesink.c (gst_filesink_query2):
8768 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
8769 query_types, and formats methods.
8771 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
8772 (gst_pad_set_query2_function): New functions.
8773 (gst_real_pad_init): Set query2_default as the default query2
8774 function. Basically just dispatches to internally linked pads.
8778 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
8779 without using the atomic operations. Only one thread can possibly
8780 be accessing the data at this point. Changed so as to avoid
8781 gst_atomic operations.
8783 2005-05-06 Wim Taymans <wim@fluendo.com>
8785 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
8786 Also set caps if we use the fallback buffer alloc.
8788 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
8790 * docs/gst/Makefile.am:
8791 * docs/gst/gstreamer-docs.sgml:
8792 * docs/gst/gstreamer-sections.txt:
8793 * docs/gst/tmpl/gstatomic.sgml:
8794 * docs/gst/tmpl/gstmemchunk.sgml:
8795 * testsuite/elements/struct_i386.h:
8796 * win32/GStreamer.vcproj:
8798 Purge GstAtomic stuff from docs and win32 makefiles as well
8800 2005-05-06 Wim Taymans <wim@fluendo.com>
8802 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
8803 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
8804 * gst/gstpad.c: (gst_pad_peer_get_caps):
8805 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
8806 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
8807 (gst_queue_src_activate), (gst_queue_change_state):
8809 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8810 (intersect_caps_func):
8811 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
8812 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
8813 Some fixes for the peer_get_caps() change.
8815 2005-05-06 Wim Taymans <wim@fluendo.com>
8817 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8818 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
8819 (gst_basesink_activate):
8820 Actually do something with error codes returned from the push
8823 2005-05-06 Wim Taymans <wim@fluendo.com>
8825 * docs/design/part-element-sink.txt:
8826 * docs/design/part-element-source.txt:
8827 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8828 (gst_basesink_event), (gst_basesink_activate):
8829 * gst/base/gstbasesink.h:
8830 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
8831 (gst_basesrc_activate):
8832 * gst/base/gstbasesrc.h:
8833 * gst/gstelement.c: (gst_element_pads_activate):
8834 Some more documentation.
8835 Fixed scheduling decision in _pads_activate().
8837 2005-05-05 Andy Wingo <wingo@pobox.com>
8839 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
8842 2005-05-05 Wim Taymans <wim@fluendo.com>
8844 * gst/base/Makefile.am:
8845 * gst/base/gstbasesink.h:
8846 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8847 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
8848 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
8849 (gst_collectpads_class_init), (gst_collectpads_init),
8850 (gst_collectpads_finalize), (gst_collectpads_new),
8851 (gst_collectpads_set_function), (gst_collectpads_add_pad),
8852 (find_pad), (gst_collectpads_remove_pad),
8853 (gst_collectpads_is_active), (gst_collectpads_collect),
8854 (gst_collectpads_collect_range), (gst_collectpads_start),
8855 (gst_collectpads_stop), (gst_collectpads_peek),
8856 (gst_collectpads_pop), (gst_collectpads_available),
8857 (gst_collectpads_read), (gst_collectpads_flush),
8858 (gst_collectpads_chain):
8859 * gst/base/gstcollectpads.h:
8860 * gst/elements/Makefile.am:
8861 * gst/elements/gstelements.c:
8862 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8863 (gst_fakesink_get_times), (gst_fakesink_event),
8864 (gst_fakesink_preroll), (gst_fakesink_render):
8865 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
8866 (gst_filesink_init), (gst_filesink_set_location),
8867 (gst_filesink_open_file), (gst_filesink_close_file),
8868 (gst_filesink_pad_query), (gst_filesink_event),
8869 (gst_filesink_render), (gst_filesink_change_state):
8870 * gst/elements/gstfilesink.h:
8871 Added object to help in making collect pad based elements.
8873 Make event function in sink baseclass return gboolean.
8875 2005-05-05 Wim Taymans <wim@fluendo.com>
8877 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
8878 (gst_bin_get_by_name):
8880 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
8881 (gst_clock_finalize):
8882 * gst/gstdata.c: (gst_data_replace):
8884 * gst/gstelement.c: (gst_element_request_pad),
8885 (gst_element_pads_activate):
8886 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
8888 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8889 (gst_pad_set_checkgetrange_function),
8890 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
8891 (gst_pad_check_pull_range), (gst_pad_pull_range),
8892 (gst_static_pad_template_get_caps), (gst_pad_start_task),
8893 (gst_pad_pause_task), (gst_pad_stop_task):
8894 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
8895 (gst_element_request_pad), (gst_pad_proxy_getcaps):
8896 Fix name lookup in GstBin.
8897 Added _data_replace() function and _buffer_replace()
8898 Use finalize method to clean up clock.
8899 Fix refcounting on request pads.
8900 Fix pad schedule mode error.
8901 Some more object refcounting debug info,
8904 2005-05-04 Andy Wingo <wingo@pobox.com>
8906 * check/Makefile.am:
8907 * docs/gst/tmpl/gstatomic.sgml:
8908 * docs/gst/tmpl/gstplugin.sgml:
8909 * gst/base/gstbasesink.c: (gst_basesink_activate):
8910 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
8911 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
8912 (gst_basesrc_query), (gst_basesrc_set_property),
8913 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
8914 (gst_basesrc_activate):
8915 * gst/base/gstbasesrc.h:
8916 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
8917 (gst_base_transform_src_activate):
8918 * gst/elements/gstelements.c:
8919 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8920 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8921 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8922 * gst/elements/gsttypefindelement.c: (find_element_get_length),
8923 (gst_type_find_element_checkgetrange),
8924 (gst_type_find_element_activate):
8925 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
8926 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
8927 (gst_caps_load_thyself):
8928 * gst/gstelement.c: (gst_element_pads_activate),
8929 (gst_element_save_thyself), (gst_element_restore_thyself):
8930 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
8931 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
8933 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
8934 (gst_xml_parse_file), (gst_xml_parse_memory),
8935 (gst_xml_get_element), (gst_xml_make_element):
8936 * gst/indexers/gstfileindex.c: (gst_file_index_load),
8937 (_file_index_id_save_xml), (gst_file_index_commit):
8938 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
8939 (read_enum), (load_pad_template), (load_feature), (load_plugin),
8941 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
8942 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
8943 * tools/gst-complete.c: (main):
8944 * tools/gst-compprep.c: (main):
8945 * tools/gst-inspect.c: (print_element_properties_info):
8946 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
8947 * tools/gst-xmlinspect.c: (print_element_properties):
8950 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
8952 * gst/gstplugin.c: (gst_plugin_check_module),
8953 (gst_plugin_check_file), (gst_plugin_load_file):
8954 apply patch from #172526 to make register work on MacOSX
8956 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8958 * docs/gst/tmpl/gstconfig.sgml:
8959 * gst/gstconfig.h.in:
8960 move documentation for some symbols. Add doc for GST_PTR_FORMAT
8961 * testsuite/debug/printf_extension.c: (main):
8962 Do not use GST_PTR_FORMAT on pointers to types with
8963 sizeof < sizeof(gpointer). Fixes test on 64-bit
8964 * testsuite/elements/property.h:
8965 use correct printf format
8967 2005-05-02 Wim Taymans <wim@fluendo.com>
8969 * docs/design/draft-push-pull.txt:
8970 * docs/design/draft-query.txt:
8971 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
8972 (gst_basesrc_start):
8973 Added draft for new query API.
8974 Added draft for better selecting scheduling methods.
8975 Make basesrc ignore length if the subclass does not support
8978 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8981 possible fixes for automake-1.5 - _LIBADD is reserved
8983 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
8985 * docs/faq/Makefile.am:
8986 * docs/manual/Makefile.am:
8988 * docs/pwg/Makefile.am:
8990 possible fixes for automake-1.5
8992 2005-04-28 Wim Taymans <wim@fluendo.com>
8994 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8995 (gst_basesink_pad_getcaps), (gst_basesink_init),
8996 (gst_basesink_do_sync):
8997 * gst/gstclock.c: (gst_clock_entry_new):
8998 * gst/gstevent.c: (gst_event_discont_get_value):
8999 * gst/gstpipeline.c: (pipeline_bus_handler),
9000 (gst_pipeline_change_state):
9001 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9002 Better debugging of clocking info.
9003 Allow NULL values when getting discont values.
9005 2005-04-27 Wim Taymans <wim@fluendo.com>
9007 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9008 * check/gst/gstpad.c: (gst_pad_suite):
9009 Increase timeout for checks.
9011 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9013 * check/Makefile.am:
9014 fix the broken rule for cleanup. Apparently this rule is
9015 only needed on FC2, so maybe this warrants further autotool
9018 2005-04-26 Wim Taymans <wim@fluendo.com>
9020 * gst/gsttrashstack.h:
9021 Ooohh. a nasty one! After having a failed pop() from the stack,
9022 it's possible that the stack is empty. In that case, don't
9023 follow the NULL pointer.
9025 2005-04-25 Wim Taymans <wim@fluendo.com>
9027 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9028 (gst_pad_set_checkgetrange_function),
9029 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9030 (gst_pad_check_pull_range), (gst_pad_pull_range),
9031 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9032 (gst_pad_pause_task), (gst_pad_stop_task):
9033 * gst/gstplugin.c: (gst_plugin_load):
9035 Remove gst_library_load as it does more harm than good with
9036 the new g_module flags.
9037 Revert bogus caps template check in pad linking, pad caps
9038 are important when linking not the template, which is more
9039 general than the current caps.
9041 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9043 * gst/autoplug/.cvsignore:
9044 * gst/autoplug/Makefile.am:
9045 * gst/autoplug/gstsearchfuncs.c:
9046 * gst/autoplug/gstsearchfuncs.h:
9047 * gst/autoplug/gstspider.c:
9048 * gst/autoplug/gstspider.h:
9049 * gst/autoplug/gstspideridentity.c:
9050 * gst/autoplug/gstspideridentity.h:
9051 * gst/autoplug/spidertest.c:
9054 2005-04-25 Wim Taymans <wim@fluendo.com>
9056 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9057 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9058 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9059 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9061 Added stubs for unimplemented functions.
9063 2005-04-24 David Schleef <ds@schleef.org>
9065 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9068 2005-04-24 David Schleef <ds@schleef.org>
9070 Convert everything from GstAtomicInt to g_atomic_int_*, and
9075 * gst/gstatomic_impl.h:
9083 * gst/gstdata_private.h:
9090 * gst/gststructure.c:
9091 * gst/gststructure.h:
9092 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9095 2005-04-24 David Schleef <ds@schleef.org>
9097 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9098 make the regressions tests work. Remove some code that is no
9100 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9101 Disable warning for pads without templates.
9103 2005-04-24 David Schleef <ds@schleef.org>
9105 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9106 functions that handle filtered links.
9107 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9109 * gst/gstutils.c: Fix/remove utility functions that handle
9112 * gst/gstvalue.c: Add serialization/deserialization of caps
9113 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9114 requires fixing so that the filter caps notation creates
9115 a capsfilter element and sets the filter_caps property. I
9116 think everyone probably wants to keep the shorthand notation.
9117 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9118 * docs/gst/tmpl/gstpad.sgml:
9120 * gst/elements/gstelements.c: Register capsfilter element.
9121 * gst/Makefile.am: fix spacing
9122 * docs/random/ds/0.9-suggested-changes: random
9124 2005-04-23 David Schleef <ds@schleef.org>
9126 * gst/elements/Makefile.am:
9127 * gst/elements/gstcapsfilter.c: New element that acts like an
9128 identity, but filters caps. Will eventually replace filtered
9129 caps in pad linking.
9130 * gst/gstutils.c: (gst_element_create_all_pads): New function
9131 to create all the ALWAYS pads that are registered with an
9132 element class. This functionality should eventually be
9133 merged in with GstElement initialization.
9135 * testsuite/trigger/README: part of trigger test code that should
9136 have been checked in a long time ago.
9138 2005-04-23 David Schleef <ds@schleef.org>
9140 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9141 needed with new versions of libtool (nobody will confirm this),
9142 and hard to carry around.
9143 * gst/autoplug/Makefile.am:
9144 * gst/base/Makefile.am:
9145 * gst/elements/Makefile.am:
9146 * gst/indexers/Makefile.am:
9147 * gst/schedulers/Makefile.am:
9148 * libs/gst/bytestream/Makefile.am:
9149 * libs/gst/control/Makefile.am:
9150 * libs/gst/dataprotocol/Makefile.am:
9151 * libs/gst/getbits/Makefile.am:
9153 2005-04-21 Wim Taymans <wim@fluendo.com>
9155 * docs/design/draft-push-pull.txt:
9156 * docs/design/part-MT-refcounting.txt:
9157 * docs/design/part-TODO.txt:
9158 * docs/design/part-caps.txt:
9159 * docs/design/part-events.txt:
9160 * docs/design/part-gstbus.txt:
9161 * docs/design/part-gstpipeline.txt:
9162 * docs/design/part-messages.txt:
9163 * docs/design/part-push-pull.txt:
9164 * docs/design/part-query.txt:
9167 2005-04-21 Wim Taymans <wim@fluendo.com>
9169 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9170 (gst_message_new), (gst_message_new_error),
9171 (gst_message_new_warning), (gst_message_new_tag),
9172 (gst_message_new_state_changed), (gst_message_new_application),
9173 (gst_message_get_structure):
9175 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9176 (gst_structure_copy_conditional):
9177 Use parent refcount in GstMessage to ensure GstStructure
9179 Cleaned up headers a bit.
9182 2005-04-20 Wim Taymans <wim@fluendo.com>
9184 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9185 (gst_basesink_pad_getcaps), (gst_basesink_init),
9186 (gst_basesink_chain_unlocked):
9187 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9188 (gst_type_find_helper):
9189 * gst/elements/gsttypefindelement.c:
9190 (gst_type_find_element_have_type), (gst_type_find_element_init),
9191 (stop_typefinding), (gst_type_find_element_handle_event),
9192 (find_suggest), (gst_type_find_element_chain),
9193 (gst_type_find_element_checkgetrange),
9194 (gst_type_find_element_getrange), (do_typefind),
9195 (gst_type_find_element_activate):
9196 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9197 (gst_buffer_default_free), (gst_buffer_default_copy),
9198 (gst_buffer_set_caps):
9199 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9201 * gst/gstmessage.c: (gst_message_new),
9202 (gst_message_new_state_changed):
9203 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9204 (gst_pad_set_checkgetrange_function),
9205 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9206 (gst_pad_set_caps), (gst_pad_check_pull_range),
9207 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9209 * gst/gsttypefind.c: (gst_type_find_register):
9210 Make gst_caps_replace() work like other _replace() functions.
9211 Use _caps_replace() where possible.
9212 Make sure _message_new() initialises its field.
9213 Add gst_static_pad_template_get_caps()
9216 2005-04-18 Andy Wingo <wingo@pobox.com>
9218 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9219 on the peer, not the pad. I think that was a typo. Pass an extra
9220 arg to see if random access is possible. Activate the pads as
9221 PULL_RANGE if possible.
9223 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9225 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9226 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9229 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9231 * docs/faq/using.xml:
9232 Add note on gstreamer-properties (#154996).
9234 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9236 * docs/random/bbb/optional-properties:
9237 Some analysis on optional properties.
9239 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9241 * docs/gst/tmpl/gstelementfactory.sgml:
9243 * gst/gstelementfactory.c: (gst_element_factory_init),
9244 (gst_element_factory_cleanup), (gst_element_register),
9245 (__gst_element_factory_add_static_pad_template),
9246 (gst_element_factory_get_static_pad_templates),
9247 (gst_element_factory_can_src_caps),
9248 (gst_element_factory_can_sink_caps):
9249 * gst/registries/Makefile.am:
9250 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9251 (gst_xml_registry_class_init), (gst_xml_registry_init),
9252 (gst_xml_registry_new), (gst_xml_registry_set_property),
9253 (gst_xml_registry_get_property), (get_time), (make_dir),
9254 (gst_xml_registry_get_perms_func),
9255 (plugin_times_older_than_recurse), (plugin_times_older_than),
9256 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9257 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9258 (add_to_char_array), (read_string), (read_uint), (read_enum),
9259 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9260 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9261 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9262 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9263 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9264 (gst_xml_registry_rebuild):
9265 * gst/registries/gstlibxmlregistry.h:
9266 * tools/gst-compprep.c: (main):
9267 * tools/gst-inspect.c: (print_pad_templates_info):
9268 * tools/gst-xmlinspect.c: (print_element_info):
9269 Use libxml2 for registry parsing, use staticpadtemplates in
9270 elementfactories. Makes gst_init() +/- 10x faster.
9272 2005-04-12 Wim Taymans <wim@fluendo.com>
9274 * gst/base/Makefile.am:
9275 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9276 (gst_basesink_pad_getcaps), (gst_basesink_init),
9277 (gst_basesink_event), (gst_basesink_change_state):
9278 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9279 (gst_basesrc_init), (gst_basesrc_query),
9280 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9281 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9282 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9283 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9284 (gst_basesrc_stop), (gst_basesrc_activate),
9285 (gst_basesrc_change_state):
9286 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9287 (helper_find_suggest), (gst_type_find_helper):
9288 * gst/base/gsttypefindhelper.h:
9289 * gst/elements/Makefile.am:
9290 * gst/elements/gstelements.c:
9291 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9292 (gst_fakesink_get_times), (gst_fakesink_event),
9293 (gst_fakesink_preroll), (gst_fakesink_render):
9294 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9295 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9296 (gst_fakesrc_get_property), (gst_fakesrc_create),
9297 (gst_fakesrc_start), (gst_fakesrc_stop):
9298 * gst/elements/gstfakesrc.h:
9299 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
9300 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9301 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9302 (gst_filesrc_create_read), (gst_filesrc_create),
9303 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
9304 (gst_filesrc_start):
9305 * gst/elements/gsttypefindelement.c:
9306 (gst_type_find_element_have_type), (gst_type_find_element_init),
9307 (start_typefinding), (stop_typefinding), (push_buffer_store),
9308 (gst_type_find_element_handle_event),
9309 (gst_type_find_element_chain),
9310 (gst_type_find_element_checkgetrange),
9311 (gst_type_find_element_getrange), (do_typefind),
9312 (gst_type_find_element_activate),
9313 (gst_type_find_element_change_state):
9314 * gst/elements/gsttypefindelement.h:
9315 * gst/gstpipeline.c: (pipeline_bus_handler):
9316 Added typefind helper.
9317 Small preroll fix in the base sink.
9318 Disable typefind code in basesrc.
9319 Crude port of typefindelement.
9323 2005-04-11 Wim Taymans <wim@fluendo.com>
9325 * check/gst/gstbus.c: (gstbus_suite):
9326 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
9328 Fix up the timeout so that the test does not fail.
9330 2005-04-06 Wim Taymans <wim@fluendo.com>
9333 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9334 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
9335 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9336 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9337 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9338 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9339 (gst_basesrc_stop), (gst_basesrc_activate),
9340 (gst_basesrc_change_state), (basesrc_find_peek),
9341 (basesrc_find_suggest), (gst_basesrc_type_find):
9342 * gst/base/gstbasesrc.h:
9343 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
9344 (gst_filesrc_class_init), (gst_filesrc_init),
9345 (gst_filesrc_finalize), (gst_filesrc_set_location),
9346 (gst_filesrc_set_property), (gst_filesrc_get_property),
9347 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
9348 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
9349 (gst_filesrc_create_read), (gst_filesrc_create),
9350 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
9351 * gst/elements/gstfilesrc.h:
9352 * gst/gstelement.c: (gst_element_get_state_func),
9353 (gst_element_lost_state), (gst_element_pads_activate):
9354 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9355 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9356 (gst_pad_pull_range):
9358 More work on the generic source base class, implement seeking,
9360 Make filesrc extend the base source class.
9361 Added gst_pad_set_checkgetrange_function to GstPad.
9363 2005-04-06 Andy Wingo <wingo@pobox.com>
9365 * pkgconfig/gstreamer-base.pc.in:
9366 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
9368 * pkgconfig/Makefile.am:
9369 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
9371 2005-04-04 Wim Taymans <wim@fluendo.com>
9373 * gst/base/Makefile.am:
9375 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9376 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9377 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9378 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
9379 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9380 (gst_basesrc_base_init), (gst_basesrc_class_init),
9381 (gst_basesrc_init), (gst_basesrc_get_formats),
9382 (gst_basesrc_get_query_types), (gst_basesrc_query),
9383 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
9384 (gst_basesrc_set_property), (gst_basesrc_get_property),
9385 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
9386 (gst_basesrc_loop), (gst_basesrc_activate),
9387 (gst_basesrc_change_state):
9388 * gst/base/gstbasesrc.h:
9389 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
9390 (gst_fakesrc_class_init), (gst_fakesrc_init),
9391 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
9392 (gst_fakesrc_get_property), (gst_fakesrc_create):
9393 * gst/elements/gstfakesrc.h:
9394 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
9395 (gst_filesrc_open_file), (gst_filesrc_loop),
9396 (gst_filesrc_activate), (filesrc_find_peek),
9397 (gst_filesrc_type_find):
9398 Made base source class, make fakesrc extend it.
9399 Add comments to basesink class.
9400 Some filesrc cleanup.
9402 2005-03-31 David Schleef <ds@schleef.org>
9404 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
9405 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
9406 expected to link against libgstreamer.
9407 * gst/base/Makefile.am: link against libgstreamer
9408 * gst/elements/Makefile.am: same
9410 2005-03-31 Andy Wingo <wingo@pobox.com>
9412 * tests/instantiate/Makefile.am:
9413 * tests/instantiate/caps.c: Add test to test speed of caps copy
9416 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
9417 GMemChunk to be fair.
9419 * gst/gsttrashstack.h: Remove warning about using the fallback
9420 trash stack implementation, it's still faster than malloc.
9422 2005-03-30 Andy Wingo <wingo@pobox.com>
9424 * tests/complexity.c: Add a copyright.
9426 2005-03-31 Wim Taymans <wim@fluendo.com>
9428 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
9429 (gst_base_transform_class_init), (gst_base_transform_init),
9430 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
9431 (gst_base_transform_get_property),
9432 (gst_base_transform_sink_activate),
9433 (gst_base_transform_src_activate),
9434 (gst_base_transform_change_state):
9435 * gst/base/gstbasetransform.h:
9436 * gst/elements/gstidentity.c: (gst_identity_class_init),
9437 (gst_identity_event), (gst_identity_check_perfect),
9438 (gst_identity_transform), (gst_identity_start),
9439 (gst_identity_stop):
9440 Added start/stop methods to transform base class so subclasses
9441 don't need to deal with state changes even.
9443 2005-03-31 Wim Taymans <wim@fluendo.com>
9445 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
9446 (gst_event_new_discontinuous), (gst_event_discont_get_value):
9448 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9449 (gst_pad_pull_range):
9450 Added rate to the discont event to prepare for variable speed
9451 and reverse playback.
9453 2005-03-29 David Schleef <ds@schleef.org>
9456 * testsuite/trigger/Makefile.am:
9457 * testsuite/trigger/trigger.c: A little example program to show
9458 how trigger-based elements can work.
9460 2005-03-29 Wim Taymans <wim@fluendo.com>
9462 * gst/base/Makefile.am:
9464 * gst/base/gstbasesink.c: (gst_basesink_get_type),
9465 (gst_basesink_base_init), (gst_basesink_class_init),
9466 (gst_basesink_pad_getcaps), (gst_basesink_init),
9467 (gst_basesink_activate), (gst_basesink_change_state):
9468 * gst/base/gstbasesink.h:
9469 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
9470 (gst_base_transform_base_init), (gst_base_transform_finalize),
9471 (gst_base_transform_class_init), (gst_base_transform_init),
9472 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
9473 (gst_base_transform_event), (gst_base_transform_getrange),
9474 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
9475 (gst_base_transform_set_property),
9476 (gst_base_transform_get_property),
9477 (gst_base_transform_sink_activate),
9478 (gst_base_transform_src_activate),
9479 (gst_base_transform_change_state):
9480 * gst/base/gstbasetransform.h:
9481 * gst/elements/gstidentity.c: (gst_identity_finalize),
9482 (gst_identity_class_init), (gst_identity_init),
9483 (gst_identity_event), (gst_identity_check_perfect),
9484 (gst_identity_transform), (gst_identity_set_property),
9485 (gst_identity_get_property), (gst_identity_change_state):
9486 * gst/elements/gstidentity.h:
9487 * gst/gstelement.c: (gst_element_get_state_func),
9488 (gst_element_lost_state), (gst_element_pads_activate):
9489 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9490 (gst_pad_check_pull_range), (gst_pad_pull_range):
9492 Simplify pad activation.
9493 Added function to check if pull_range can be performed.
9494 Error out when pulling inactive or flushing pads.
9495 Removed const from refcounted types as it does not make sense.
9496 Simplify pad templates in basesink
9497 Added base class for simple 1-to-1 transforms.
9498 Make identity subclass the base transform.
9500 2005-03-29 Andy Wingo <wingo@pobox.com>
9502 * docs/libs/gstreamer-libs-overrides.txt:
9503 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
9504 really don't understand what's going on, but like whatever. I want
9507 * docs/gst/Makefile.am:
9508 * docs/libs/Makefile.am: Dist the overrides files.
9510 * check/Makefile.am (clean-local): Remove .libs directories.
9512 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
9513 elements to EXTRA_DIST, so po/ files are happy.
9515 * po/POTFILES.in: Er, remove it here.
9517 * po/POTFILES: Remove gstspider.c.
9519 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
9521 * docs/libs/gstreamer-libs-docs.sgml:
9522 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
9525 * tests/complexity.c (main): Set the length of the preroll queue
9526 on the sinks to prevent a lockup.
9528 * libs/gst/dataprotocol/Makefile.am:
9529 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
9530 the same as the one in check/gst-libs/gdp.c.
9532 * po/, docs/gst/: Commit automatic changes to docs and po files.
9534 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
9535 the versioned libgstbase.
9537 * check/Makefile.am: Depend on an unversioned gst-register, seems
9538 to make autoconf happier.
9540 * gst/base/Makefile.am: Make libgstbase a versioned lib.
9542 2005-03-28 Wim Taymans <wim@fluendo.com>
9545 * docs/design/part-gstelement.txt:
9546 * docs/design/part-negotiation.txt:
9547 * docs/design/part-preroll.txt:
9548 * docs/design/part-scheduling.txt:
9549 * docs/design/part-states.txt:
9551 * gst/base/Makefile.am:
9553 * gst/base/gstbasesink.c: (gst_basesink_get_template),
9554 (gst_basesink_base_init), (gst_basesink_class_init),
9555 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
9556 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
9557 (gst_basesink_set_pad_functions),
9558 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
9559 (gst_basesink_set_property), (gst_basesink_get_property),
9560 (gst_base_sink_get_template), (gst_base_sink_get_caps),
9561 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
9562 (gst_basesink_preroll_queue_push),
9563 (gst_basesink_preroll_queue_empty),
9564 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
9565 (gst_basesink_event), (gst_basesink_get_times),
9566 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
9567 (gst_basesink_chain_unlocked), (gst_basesink_chain),
9568 (gst_basesink_loop), (gst_basesink_activate),
9569 (gst_basesink_change_state):
9570 * gst/base/gstbasesink.h:
9571 * gst/elements/Makefile.am:
9572 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
9573 (gst_fakesink_class_init), (gst_fakesink_init),
9574 (gst_fakesink_set_property), (gst_fakesink_get_property),
9575 (gst_fakesink_get_times), (gst_fakesink_event),
9576 (gst_fakesink_preroll), (gst_fakesink_render),
9577 (gst_fakesink_change_state):
9578 * gst/elements/gstfakesink.h:
9579 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9580 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
9581 * gst/gstelement.c: (gst_element_add_pad),
9582 (gst_element_get_state_func), (gst_element_abort_state),
9583 (gst_element_commit_state), (gst_element_lost_state),
9584 (gst_element_set_state), (gst_element_pads_activate):
9585 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
9586 * gst/gstpipeline.c: (gst_pipeline_send_event),
9587 (gst_pipeline_change_state):
9588 Added state change code.
9590 Added sink base class, make fakesink extend the base class.
9591 Small cleanups in GstPipeline.
9593 2005-03-26 David Schleef <ds@schleef.org>
9595 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
9596 is broken and should be implemented in a different library.
9597 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
9598 * gst/gst.h: remove gstcpu.h
9599 * gst/gstcpu.c: remove
9600 * gst/gstcpu.h: remove
9601 * gst/Makefile.am.future: Remove this file. It's ancient.
9603 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9605 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
9606 (gst_bin_send_event):
9607 Add default event/set_manager handlers. The set_manager handler
9608 takes care that the manager is distributed over kids that were
9609 already in the bin before the manager was set. The event handler
9610 is a utility virtual function that sends the event over all sinks,
9611 so that gst_element_send_event (bin, event); has the expected
9613 * gst/gstpad.c: (gst_pad_event_default):
9614 Re-install default event handling for discontinuities, so that
9615 seeking works without requiring hacks in applications or extra
9617 * gst/gstpipeline.c: (gst_pipeline_class_init),
9618 (gst_pipeline_send_event):
9619 Half hack, half utility: set a pipeline to PAUSED for seek events,
9620 since that is the only way we can guarantee a/v sync. Means that
9621 you can do gst_element_seek (pipeline, method, pos); on a pipeline
9622 and it "just works".
9624 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9626 * gst/gstpipeline.c: (gst_pipeline_use_clock):
9627 Lock/unlock mismatch.
9629 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
9631 * docs/faq/gst-uninstalled:
9632 add gst-plugins-base
9633 * docs/gst/Makefile.am:
9634 don't error out until docs are fixed
9635 * docs/gst/gstreamer.types:
9638 2005-03-22 Wim Taymans <wim@fluendo.com>
9640 * check/Makefile.am:
9641 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
9642 * gst/gststructure.c: (gst_structure_set_valist),
9643 (gst_structure_copy_conditional):
9644 Activated more tests.
9646 Added G_TYPE_POINTER to GstStructure.
9649 2005-03-22 Wim Taymans <wim@fluendo.com>
9651 * docs/design/part-TODO.txt:
9652 * docs/design/part-events.txt:
9653 * docs/design/part-gstbin.txt:
9654 * docs/design/part-gstbus.txt:
9655 * docs/design/part-gstpipeline.txt:
9656 * docs/design/part-messages.txt:
9661 2005-03-21 Wim Taymans <wim@fluendo.com>
9663 * gst/gstbus.c: (gst_bus_post):
9664 Fix copy-and-paste error.
9666 2005-03-21 Wim Taymans <wim@fluendo.com>
9668 * check/Makefile.am:
9670 * gst/elements/Makefile.am:
9671 * gst/elements/gstelements.c:
9672 * gst/elements/gstfakesink.c: (gst_fakesink_init),
9673 (gst_fakesink_event), (gst_fakesink_chain):
9674 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9675 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
9676 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
9677 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
9678 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
9679 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
9680 (gst_fakesrc_loop), (gst_fakesrc_activate),
9681 (gst_fakesrc_change_state):
9682 * gst/elements/gstfakesrc.h:
9683 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9684 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
9685 (gst_filesrc_open_file), (gst_filesrc_loop),
9686 (gst_filesrc_activate), (gst_filesrc_change_state),
9687 (filesrc_find_peek), (filesrc_find_suggest),
9688 (gst_filesrc_type_find):
9689 * gst/elements/gstidentity.c: (gst_identity_finalize),
9690 (gst_identity_class_init), (gst_identity_init),
9691 (gst_identity_proxy_getcaps), (identity_queue_push),
9692 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
9693 (gst_identity_getrange), (gst_identity_chain),
9694 (gst_identity_sink_loop), (gst_identity_src_loop),
9695 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
9696 (gst_identity_set_property), (gst_identity_get_property),
9697 (gst_identity_change_state):
9698 * gst/elements/gstidentity.h:
9699 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9700 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
9701 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
9702 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
9703 (gst_tee_sink_activate):
9704 * gst/elements/gsttee.h:
9705 * gst/gst.c: (gst_register_core_elements), (init_post):
9707 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
9708 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
9709 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
9710 (gst_bin_change_state):
9712 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
9713 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
9714 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
9715 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
9716 (gst_bus_set_sync_handler), (gst_bus_create_watch),
9717 (bus_watch_callback), (bus_watch_destroy),
9718 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
9719 (poll_timeout), (gst_bus_poll):
9723 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9724 (gst_element_post_message), (gst_element_message_full),
9725 (gst_element_get_state_func), (gst_element_get_state),
9726 (gst_element_abort_state), (gst_element_commit_state),
9727 (gst_element_lost_state), (gst_element_set_state),
9728 (gst_element_pads_activate), (gst_element_change_state),
9729 (gst_element_dispose), (gst_element_set_manager_func),
9730 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
9731 (gst_element_set_manager), (gst_element_get_manager),
9732 (gst_element_set_bus), (gst_element_get_bus),
9733 (gst_element_set_scheduler), (gst_element_get_scheduler):
9735 * gst/gstevent.c: (gst_event_new_segment_seek),
9736 (gst_event_new_flush):
9738 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
9739 (_gst_message_free), (gst_message_get_type), (gst_message_new),
9740 (gst_message_new_eos), (gst_message_new_error),
9741 (gst_message_new_warning), (gst_message_new_tag),
9742 (gst_message_new_state_changed), (gst_message_new_application),
9743 (gst_message_get_structure), (gst_message_parse_tag),
9744 (gst_message_parse_state_changed), (gst_message_parse_error),
9745 (gst_message_parse_warning):
9747 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
9748 (gst_real_pad_set_property), (gst_pad_set_active),
9749 (gst_pad_is_active), (gst_pad_set_blocked_async),
9750 (gst_pad_set_blocked), (gst_pad_is_blocked),
9751 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
9752 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
9753 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9754 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
9755 (gst_pad_link_filtered), (gst_pad_relink_filtered),
9756 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
9757 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
9758 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
9759 (gst_pad_set_caps), (gst_pad_configure_sink),
9760 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
9761 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
9762 (gst_real_pad_dispose), (gst_real_pad_finalize),
9763 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
9764 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9765 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
9767 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
9768 (pipeline_bus_handler), (gst_pipeline_change_state),
9769 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
9770 * gst/gstpipeline.h:
9772 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9773 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
9774 (gst_queue_link_src), (gst_queue_bufferalloc),
9775 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
9776 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
9777 (gst_queue_loop), (gst_queue_handle_src_event),
9778 (gst_queue_handle_src_query), (gst_queue_src_activate),
9779 (gst_queue_change_state):
9781 * gst/gstscheduler.c: (gst_scheduler_init),
9782 (gst_scheduler_dispose), (gst_scheduler_create_task),
9783 (gst_scheduler_factory_create):
9784 * gst/gstscheduler.h:
9785 * gst/gststructure.c: (gst_structure_get_type),
9786 (gst_structure_copy_conditional):
9787 * gst/gststructure.h:
9788 * gst/gsttaginterface.h:
9789 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9790 (gst_task_init), (gst_task_dispose), (gst_task_create),
9791 (gst_task_get_state), (gst_task_start), (gst_task_stop),
9797 * gst/schedulers/Makefile.am:
9798 * gst/schedulers/cothreads_compat.h:
9799 * gst/schedulers/entryscheduler.c:
9800 * gst/schedulers/faircothreads.c:
9801 * gst/schedulers/faircothreads.h:
9802 * gst/schedulers/fairscheduler.c:
9803 * gst/schedulers/gstbasicscheduler.c:
9804 * gst/schedulers/gstoptimalscheduler.c:
9805 * gst/schedulers/gthread-cothreads.h:
9806 * gst/schedulers/threadscheduler.c:
9807 (gst_thread_scheduler_task_get_type),
9808 (gst_thread_scheduler_task_class_init),
9809 (gst_thread_scheduler_task_init),
9810 (gst_thread_scheduler_task_start),
9811 (gst_thread_scheduler_task_stop),
9812 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
9813 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
9814 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
9815 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
9817 * libs/gst/Makefile.am:
9818 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
9819 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
9820 (gst_file_pad_parent_set):
9821 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9822 (gst_dp_event_from_packet):
9823 * tests/complexity.c: (main):
9824 * tests/mass_elements.c: (main):
9825 * testsuite/states/locked.c: (message_received), (main):
9826 * testsuite/states/parent.c: (main):
9827 * tools/gst-inspect.c: (print_element_flag_info),
9828 (print_implementation_info), (print_pad_info):
9829 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
9831 * tools/gst-md5sum.c: (event_loop), (main):
9832 * tools/gst-typefind.c: (main):
9833 * tools/gst-xmlinspect.c: (print_element_info):
9835 Added GstBus for mainloop integration.
9836 Added GstMessage for sending notifications on the bus.
9837 Added GstTask as an abstraction for pipeline entry points.
9840 Simplified GstQueue for multithreaded core.
9841 Made _link threadsafe, removed old capsnego.
9842 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
9843 Added pad blocking functions.
9844 Reworked scheduling functions in GstPad to prepare for
9845 scheduling updates soon.
9846 Moved events out of data stream.
9847 Simplified GstEvent types.
9848 Added return values to push/pull.
9849 Removed clocking from GstElement.
9850 Added prototypes for state change function for next merge.
9851 Removed iterate from bins and state change management.
9852 Fixed some elements, disabled others for now.
9853 Fixed -inspect and -launch.
9854 Added check for GstBus.
9856 2005-03-10 Wim Taymans <wim@fluendo.com>
9858 * docs/design/part-MT-refcounting.txt:
9859 * docs/design/part-clocks.txt:
9860 * docs/design/part-gstelement.txt:
9861 * docs/design/part-gstobject.txt:
9862 * docs/design/part-standards.txt:
9863 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9864 (gst_bin_remove_func), (gst_bin_remove):
9868 * testsuite/clock/clock1.c: (main):
9869 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
9871 * testsuite/dlopen/loadgst.c: (do_test):
9872 * testsuite/refcounting/bin.c: (add_remove_test1),
9873 (add_remove_test2), (main):
9874 * testsuite/refcounting/element.c: (main):
9875 * testsuite/refcounting/element_pad.c: (main):
9876 * testsuite/refcounting/pad.c: (main):
9877 * tools/gst-launch.c: (sigint_handler_sighandler):
9878 * tools/gst-typefind.c: (main):
9880 Added doc about clock.
9881 removed gst_bin_iterate_recurse_up(), marked methods
9883 Fix more testsuites.
9885 2005-03-09 Wim Taymans <wim@fluendo.com>
9887 * gst/gstpad.c: (gst_pad_get_direction),
9888 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
9889 (gst_pad_collect_valist):
9890 * testsuite/bins/interface.c: (main):
9891 * testsuite/caps/audioscale.c: (test_caps):
9892 * testsuite/caps/caps.c: (test1), (test2), (test3):
9893 * testsuite/caps/deserialize.c: (main):
9894 * testsuite/caps/enumcaps.c: (main):
9895 * testsuite/caps/filtercaps.c: (main):
9896 * testsuite/caps/intersect2.c: (main):
9897 * testsuite/caps/random.c: (main):
9898 * testsuite/caps/renegotiate.c: (my_fixate), (main):
9899 * testsuite/caps/sets.c: (check_caps):
9900 * testsuite/caps/simplify.c: (check_caps), (main):
9901 * testsuite/caps/subtract.c: (check_caps):
9902 Fix _pad_get_direction wrt ghostpads.
9905 2005-03-09 Wim Taymans <wim@fluendo.com>
9907 * check/Makefile.am:
9908 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
9909 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
9910 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
9911 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
9912 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
9913 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
9914 (gst_bin_remove), (gst_bin_iterate_recurse_up),
9915 (bin_element_is_sink), (gst_bin_iterate_sinks),
9916 (gst_bin_iterate_all_by_interface):
9918 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
9919 (gst_element_change_state), (gst_element_dispose),
9920 (gst_element_finalize), (gst_element_set_loop_function):
9922 * gst/gstiterator.c: (find_custom_fold_func):
9923 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9924 (gst_pad_collectv), (gst_pad_collect_valist),
9925 (gst_pad_template_new):
9926 * gst/gstpipeline.c: (gst_pipeline_class_init),
9927 (gst_pipeline_dispose), (gst_pipeline_set_property),
9928 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
9929 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
9930 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
9932 * gst/schedulers/entryscheduler.c:
9933 * gst/schedulers/gstbasicscheduler.c:
9934 (gst_basic_scheduler_cothreaded_chain),
9935 (gst_basic_scheduler_chain_add_element):
9936 * testsuite/bins/interface.c: (main):
9938 Added GstSystemClock test.
9939 Implemented clock distribution code in GstBin.
9940 Implemented iterate sinks method for future use.
9941 Rearranged gstelement.h
9942 Fix GstIterator comparison bug.
9943 Moved some code to GstPipeline, mostly clocking related.
9945 2005-03-09 Wim Taymans <wim@fluendo.com>
9948 * gst/gst_private.h:
9949 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
9950 (gst_bin_remove_func), (gst_bin_remove),
9951 (gst_bin_get_by_name_recurse_up):
9952 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
9953 (gst_clock_id_compare_func), (gst_clock_id_wait),
9954 (gst_clock_id_wait_async), (gst_clock_init),
9955 (gst_clock_adjust_unlocked), (gst_clock_get_time):
9957 * gst/gstinfo.c: (_gst_debug_init):
9959 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
9960 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
9962 Bump version number, we're now 0.9.0
9963 Add future debugging category.
9964 Fix NULL _unref() in _get_by_name_recurse_up
9968 2005-03-08 Wim Taymans <wim@fluendo.com>
9970 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
9971 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
9972 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9973 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
9974 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
9975 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
9976 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
9977 * gst/elements/gstidentity.c: (gst_identity_class_init):
9978 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
9979 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
9980 * gst/elements/gstshaper.c: (gst_shaper_class_init):
9981 * gst/elements/gststatistics.c: (gst_statistics_class_init):
9982 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
9984 * gst/gstelement.c: (gst_element_class_init),
9985 (gst_element_base_class_init), (gst_element_init),
9986 (gst_element_get_random_pad), (gst_element_wait_state_change),
9987 (gst_element_change_state), (gst_element_dispose),
9988 (gst_element_finalize), (gst_element_set_loop_function):
9990 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
9991 * gst/gstthread.c: (gst_thread_class_init),
9992 (gst_thread_release_children_locks), (gst_thread_change_state):
9993 * gst/schedulers/gstbasicscheduler.c:
9994 (gst_basic_scheduler_loopfunc_wrapper),
9995 (gst_basic_scheduler_chain_wrapper),
9996 (gst_basic_scheduler_src_wrapper),
9997 (gst_basic_scheduler_remove_element):
9998 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
9999 Remove threadsafe properties. Fix elements because GObject
10000 complains when installing a property before declaring a
10001 set/get_property handler.
10002 Rearrange gstelement.h file, use STATE macros for state locks.
10003 Free mutexes in the finalize method instead of dispose.
10005 2005-03-08 Wim Taymans <wim@fluendo.com>
10007 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10008 * gst/gstthread.c: (gst_thread_release_children_locks):
10009 Added parentage check.
10010 Fix build og GstThread again.
10012 2005-03-08 Wim Taymans <wim@fluendo.com>
10014 * docs/design/part-MT-refcounting.txt:
10015 * docs/design/part-conventions.txt:
10016 * docs/design/part-gstobject.txt:
10017 * docs/design/part-relations.txt:
10018 * docs/design/part-standards.txt:
10019 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10020 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10021 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10022 (gst_bin_iterate_all_by_interface):
10025 * gst/gstelement.c: (gst_element_class_init),
10026 (gst_element_change_state), (gst_element_set_loop_function):
10027 * gst/gstelement.h:
10028 * gst/gstiterator.c:
10029 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10030 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10031 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10032 (gst_object_set_parent), (gst_object_unparent),
10033 (gst_object_check_uniqueness):
10035 Docs updates, clean up some headers.
10037 2005-03-07 Wim Taymans <wim@fluendo.com>
10039 * check/.cvsignore:
10040 * check/Makefile.am:
10041 * check/gst-libs/.cvsignore:
10042 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10043 * check/gst/.cvsignore:
10044 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10045 (START_TEST), (gstbus_suite), (main):
10046 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10047 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10048 (gst_data_suite), (main):
10049 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10050 (add_fold_func), (gstiterator_suite), (main):
10051 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10052 (thread_name_object), (thread_name_object_default),
10053 (gst_object_name_compare), (gst_object_suite), (main):
10054 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10055 (gst_pad_suite), (main):
10056 * check/gstcheck.c: (gst_check_log_message_func),
10057 (gst_check_log_critical_func), (gst_check_init):
10058 * check/gstcheck.h:
10059 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10060 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10063 2005-03-07 Wim Taymans <wim@fluendo.com>
10065 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10066 (gst_list_iterator_next), (gst_list_iterator_resync),
10067 (gst_list_iterator_free), (gst_iterator_new_list),
10068 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10069 (gst_iterator_free), (gst_iterator_push), (filter_next),
10070 (filter_resync), (filter_uninit), (filter_free),
10071 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10072 (gst_iterator_foreach), (find_custom_fold_func),
10073 (gst_iterator_find_custom):
10074 * gst/gstiterator.h:
10075 Added missing files.
10077 2005-03-07 Wim Taymans <wim@fluendo.com>
10081 * docs/design/part-MT-refcounting.txt:
10082 * docs/design/part-conventions.txt:
10083 * docs/design/part-gstobject.txt:
10084 * docs/design/part-relations.txt:
10085 * examples/mixer/mixer.c: (main):
10086 * examples/thread/thread.c: (eos), (main):
10088 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10089 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10090 (gst_spider_plug_from_srcpad):
10091 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10092 (gst_spider_identity_change_state),
10093 (gst_spider_identity_sink_loop_type_finding):
10094 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10095 * gst/elements/gstidentity.c: (gst_identity_init):
10096 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10097 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10098 * gst/elements/gsttypefindelement.c: (free_entry):
10101 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10102 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10103 (gst_bin_set_index), (gst_bin_set_element_sched),
10104 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10105 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10106 (gst_bin_iterate_elements), (iterate_child_recurse),
10107 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10108 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10109 (compare_interface), (gst_bin_get_by_interface),
10110 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10112 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10113 (gst_buffer_default_free), (gst_buffer_default_copy),
10114 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10115 (gst_buffer_create_sub):
10117 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10118 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10119 (gst_caps_unref), (gst_static_caps_get),
10120 (gst_caps_remove_and_get_structure), (gst_caps_append),
10121 (gst_caps_append_structure), (gst_caps_remove_structure),
10122 (gst_caps_copy_nth), (gst_caps_set_simple),
10123 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10124 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10125 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10126 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10127 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10128 (gst_caps_structure_figure_out_union),
10129 (gst_caps_switch_structures), (gst_caps_do_simplify),
10130 (gst_caps_replace), (gst_caps_from_string),
10131 (gst_caps_copy_conditional):
10133 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10134 (_gst_clock_id_free), (gst_clock_id_unref),
10135 (gst_clock_id_compare_func), (gst_clock_id_wait),
10136 (gst_clock_id_wait_async), (gst_clock_class_init),
10137 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10138 (gst_clock_get_time), (gst_clock_set_time_adjust),
10139 (gst_clock_set_property), (gst_clock_get_property):
10142 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10143 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10145 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10146 (gst_element_requires_clock), (gst_element_provides_clock),
10147 (gst_element_set_clock), (gst_element_clock_wait),
10148 (gst_element_wait), (gst_element_set_time_delay),
10149 (gst_element_is_indexable), (gst_element_add_pad),
10150 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10151 (pad_compare_name), (gst_element_get_static_pad),
10152 (gst_element_request_pad), (gst_element_get_request_pad),
10153 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10154 (gst_element_class_get_pad_template_list),
10155 (gst_element_class_get_pad_template), (gst_element_error_func),
10156 (gst_element_get_random_pad), (gst_element_get_event_masks),
10157 (gst_element_send_event), (gst_element_seek),
10158 (gst_element_get_query_types), (gst_element_query),
10159 (gst_element_get_formats), (gst_element_convert),
10160 (gst_element_is_locked_state), (gst_element_set_locked_state),
10161 (gst_element_sync_state_with_parent), (gst_element_change_state),
10162 (gst_element_finalize), (gst_element_yield),
10163 (gst_element_interrupt), (gst_element_set_scheduler),
10164 (gst_element_get_scheduler), (gst_element_set_loop_function):
10165 * gst/gstelement.h:
10167 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10168 (gst_format_get_by_nick), (gst_format_get_details),
10169 (gst_format_iterate_definitions):
10171 * gst/gstindex.c: (gst_index_gtype_resolver):
10174 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10175 (gst_mem_chunk_free):
10176 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10177 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10178 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10179 (gst_object_dispatch_properties_changed),
10180 (gst_object_set_name_default), (gst_object_set_name),
10181 (gst_object_get_name), (gst_object_set_name_prefix),
10182 (gst_object_get_name_prefix), (gst_object_set_parent),
10183 (gst_object_get_parent), (gst_object_unparent),
10184 (gst_object_check_uniqueness), (gst_object_save_thyself),
10185 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10186 (gst_object_set_property), (gst_object_get_property),
10187 (gst_object_get_path_string):
10189 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10190 (gst_real_pad_init), (gst_real_pad_get_property),
10191 (gst_pad_custom_new), (gst_pad_get_direction),
10192 (gst_pad_set_active), (gst_pad_is_active),
10193 (gst_pad_set_event_function), (gst_pad_is_linked),
10194 (gst_pad_link_free), (gst_pad_link_intersect),
10195 (gst_pad_link_fixate), (gst_pad_set_caps),
10196 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10197 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10198 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10199 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10200 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10201 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10202 (gst_pad_realize), (gst_pad_get_allowed_caps),
10203 (gst_real_pad_dispose), (gst_real_pad_finalize),
10204 (gst_pad_collectv), (gst_pad_collect_valist),
10205 (gst_pad_template_dispose), (gst_pad_template_new),
10206 (gst_pad_get_internal_links):
10208 * gst/gstpipeline.c: (gst_pipeline_dispose),
10209 (gst_pipeline_change_state):
10210 * gst/gstpipeline.h:
10212 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10213 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10214 * gst/gstpluginfeature.h:
10215 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10216 * gst/gstquery.c: (_gst_query_type_initialize),
10217 (gst_query_type_register), (gst_query_type_get_by_nick),
10218 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10220 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10221 * gst/gstscheduler.c: (gst_scheduler_add_element),
10222 (gst_scheduler_factory_create):
10223 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10224 (gst_structure_free), (gst_structure_set_name),
10225 (gst_structure_id_set_value), (gst_structure_set_value),
10226 (gst_structure_set_valist), (gst_structure_remove_field),
10227 (gst_structure_remove_fields),
10228 (gst_structure_remove_fields_valist),
10229 (gst_structure_remove_all_fields), (gst_structure_foreach),
10230 (gst_structure_map_in_place),
10231 (gst_caps_structure_fixate_field_nearest_int),
10232 (gst_caps_structure_fixate_field_nearest_double):
10233 * gst/gststructure.h:
10234 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10235 (gst_system_clock_init), (gst_system_clock_dispose),
10236 (gst_system_clock_async_thread),
10237 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10238 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10239 * gst/gstsystemclock.h:
10240 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10241 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10242 * gst/gsttaginterface.c:
10243 * gst/gstthread.c: (gst_thread_dispose),
10244 (gst_thread_release_children_locks), (gst_thread_change_state),
10245 (gst_thread_main_loop):
10246 * gst/gsttrashstack.h:
10247 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10249 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10250 (gst_element_request_pad), (gst_element_get_pad_from_template),
10251 (gst_element_request_compatible_pad),
10252 (gst_element_get_compatible_pad_filtered),
10253 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10254 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10255 (gst_element_link_many), (gst_element_link),
10256 (gst_element_link_pads), (gst_element_unlink_pads),
10257 (gst_element_unlink_many), (gst_element_unlink),
10258 (gst_pad_can_link_filtered), (gst_pad_can_link),
10259 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10260 (gst_object_default_error), (gst_bin_add_many),
10261 (gst_bin_remove_many), (gst_element_populate_std_props),
10262 (gst_element_class_install_std_props), (gst_buffer_merge),
10263 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10264 (link_fold_func), (gst_pad_proxy_setcaps):
10266 * gst/gstvalue.c: (gst_value_deserialize_string):
10267 * gst/parse/grammar.y:
10268 * gst/schedulers/gstbasicscheduler.c:
10269 (gst_basic_scheduler_cothreaded_chain),
10270 (gst_basic_scheduler_chain_recursive_add),
10271 (gst_basic_scheduler_pad_link):
10272 * gst/schedulers/gstoptimalscheduler.c:
10273 (get_group_schedule_function),
10274 (gst_opt_scheduler_state_transition),
10275 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10276 * libs/gst/bytestream/bytestream.c:
10277 * libs/gst/dataprotocol/dataprotocol.c:
10278 (gst_dp_header_from_buffer):
10281 * tests/threadstate/threadstate2.c: (eos):
10282 * tools/gst-compprep.c: (main):
10283 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10284 (print_pad_info), (print_children_info):
10285 * tools/gst-launch.c: (idle_func), (main):
10286 * tools/gst-md5sum.c: (idle_func), (main):
10287 * tools/gst-xmlinspect.c: (print_element_info):
10288 First THREADED backport attempt, focusing on adding locks and
10289 making sure the API is threadsafe. Needs more work. More docs
10292 2005-02-24 Andy Wingo <wingo@pobox.com>
10294 * tests/bench-complexity.scm:
10295 * tests/complexity.gnuplot: New files, good for running complexity
10298 * tests/Makefile.am:
10299 * tests/complexity.c: New test, sets up N elements, at each level
10300 teeing into M streams per element. Eeeenteresting.
10302 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
10303 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
10304 running bench-mass_elements.scm.
10306 * tests/bench-mass_elements.scm: New script, runs mass_elements
10307 for various numbers of identities, outputting the results to a
10308 file. Requires guile 1.6. Just for testing.
10310 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
10312 * gst/schedulers/fairscheduler.c:
10313 compile with debug disabled
10315 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
10318 hunting season on 0.9 is now OPEN